SVGALib Problems

Good Morning,

I’m having some difficulties with SDL and SVGALIB under Linux. I’ve got a machine with a S3 Trio64 card in it. Under the vgatest demo that comes with SVGALib, I can get resolutions upto 640x480x32 which is exactly what I want. However, under SDL a list_modes returns only 320x200. Does SDL only support certain SVGALib video modes? Do these higher modes use different addressing from the lower res ones and therefore are not compatable with SDL? I would appreciate a hand with this if anyone knows.

Thanks,
Jeff

Good Morning,

I’m having some difficulties with SDL and SVGALIB under Linux. I’ve got a machine with a S3 Trio64 card in it. Under the vgatest demo that comes with SVGALib, I can get resolutions upto 640x480x32 which is exactly what I want. However, under SDL a list_modes returns only 320x200. Does SDL only support certain SVGALib video modes? Do these higher modes use different addressing from the lower res ones and therefore are not compatable with SDL? I would appreciate a hand with this if anyone knows.

Are you using SVGALIB 1.x or 2.x? Are the modes reported as linear modes?

Try remote debugging and stepping through the SDL SVGAlib initialization code
and see what’s happening…

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment