|
This thread is locked; no one can reply to it. |
1
2
|
Overlays problem |
Gerardo Romero
Member #4,794
July 2004
|
Hi I have the following problem: message box: Code: set_color_depth(16); what happens? Sorry for my english. Gerardo. |
ReyBrujo
Moderator
January 2001
|
Are you using Linux? Can you set another graphic mode? Do you have the latest drivers for your card? Which is yours? -- |
Gerardo Romero
Member #4,794
July 2004
|
No, I am using win98. Gerardo |
Oscar Giner
Member #2,207
April 2002
|
What video card do you have? Because even my old voodoo3 supports overlay surfaces. I'm surprissed [edit] -- |
LSd016
Member #3,561
May 2003
|
Quote: even my old voodoo3 supports overlay surfaces mine doesn't... ____________________________________________ |
Gerardo Romero
Member #4,794
July 2004
|
I have a Cirrus Logic 5436 PCI, 1MB of memory, without Direct 3D. |
Cody Harris
Member #4,406
March 2004
|
What exactly is overlay anyways? --------------------------------- |
Gerardo Romero
Member #4,794
July 2004
|
I don't know. |
Cody Harris
Member #4,406
March 2004
|
Try setting something like 24 or 32 bitdepths... --------------------------------- |
Oscar Giner
Member #2,207
April 2002
|
Quote: I said: even my old voodoo3 supports overlay surfaces mine doesn't... Only at 16bpp. -- |
Cody Harris
Member #4,406
March 2004
|
Hey you, why havn't you posted about my problem? I'm dumb!... What's only at 16? What if you turned off overlay and tried something from http://alleg.sourceforge.net/onlinedocs/en/index035.html like: GFX_DIRECTX_WIN --------------------------------- |
Gerardo Romero
Member #4,794
July 2004
|
set_color_depth(24 or 32), it does not work, sorry. |
Kitty Cat
Member #2,815
October 2002
|
I believe the Voodoo cards only support 16-bit overlays. So as Oscar said, try 16-bit color. -- |
Cody Harris
Member #4,406
March 2004
|
He did that at the beginning, and it failed. --------------------------------- |
Gerardo Romero
Member #4,794
July 2004
|
ok, Cody, I try with GFX_DIRECTX_WIN, it didn't work either |
Cody Harris
Member #4,406
March 2004
|
Try GFX_SAFE --------------------------------- |
Kitty Cat
Member #2,815
October 2002
|
Oh wait, he's using a 1MB Cirrus Logic. No, I doubt that would have any overlays. Create an allegro.cfg file and add this to it: [graphics] gfx_card = DXAC
-- |
Gerardo Romero
Member #4,794
July 2004
|
it didn't work either, sorry |
Richard Phipps
Member #1,632
November 2001
|
Do any of the Allegro examples work? |
Kitty Cat
Member #2,815
October 2002
|
if GFX_SAFE isn't getting you a graphics mode, there's a problem. What resolution is your desktop? -- |
Gerardo Romero
Member #4,794
July 2004
|
800x600, 16 bits. |
ReyBrujo
Moderator
January 2001
|
Have you updated your monitor drivers? What does repairing a monitor mean? Changing some inner chipset, replacing it, changing the Windows configuration? Can you play any commercial game, or any of the games downloaded from the Depot? -- |
Gerardo Romero
Member #4,794
July 2004
|
yes, only with my allegro progs. |
Bob
Free Market Evangelist
September 2000
|
With only 1 MB of Video RAM, you likely don't have enough memory to hold the framebuffer at all. Allegro will create 3 screen-sized pages in video RAM. This means that in 640x480x16, you'll need 640*480*(16/8)*3 == 1.75 MB of VRAM. I'm not sure what Allegro does in that case. Does it just abort, or prevent page flipping/triple buffering? Try a lower resolution, like 320x200. Quote: Before repairing the monitor, worked well; This is odd. I suppose you didn't change your drivers / Allegro version? I guess something in your (fixed) monitor affected / broke your video card. -- |
ReyBrujo
Moderator
January 2001
|
Yeah, that is CRT in english (though I like you speak spanish, we are more and more!). Cannot think about a solution right now. -- |
|
1
2
|