Video Info

hi all,

I am using SDL 1.2.3 with GeForce2 on a RH 7.3 system. when i get
SDL_VideoInfo() after SDL_SetVideoMode()

it gives me this info:
info->wm_available: 1
info->vfmt->BytesPerPixel: 2
All other values in the SDL_VideoInfo structure are 0.

I’ve installed new driver of nVidia but no change. I also tried to find out whether GeForce MX 200 support
these features or not, but could find the proper documentation.

I guessed this card is pretty good and it should work fine. Assuming that there isn’t support for HW surfaces,
blitting etc. but why is the video mem shown to be 0?

What am I missing?

thanks for help in advance.

Arslan

I’m not sure if this has been asnwered, but here’s my stab at it:
Assuming you’re under X11, SDL will report video mem as zero, and that’s
normal. It’s an opinion, but the GF2 is a good card, and it’s not that
the driver doesn’t do hardware acceleration, it’s just that hardware
acceleration isn’t available under X11 unless you’re using DRI. You
could try using OpenGL with SDL or run your application through the
framebuffer. Correct anything I got wrong there, but, does anybody know
if nVidia made, or if anybody else has made, a DirectFB driver for
nVidia cards like the GF2?

– chris (@Christopher_Thielen)On Thu, 2002-08-08 at 15:26, Arslan Basharat wrote:

I am using SDL 1.2.3 with GeForce2 on a RH 7.3 system. when i get
SDL_VideoInfo() after SDL_SetVideoMode()

it gives me this info:
info->wm_available: 1
info->vfmt->BytesPerPixel: 2
All other values in the SDL_VideoInfo structure are 0.

I’ve installed new driver of nVidia but no change. I also tried to find out whether GeForce MX 200 support
these features or not, but could find the proper documentation.

I guessed this card is pretty good and it should work fine. Assuming that there isn’t support for HW surfaces,
blitting etc. but why is the video mem shown to be 0?

What am I missing?

I am using SDL 1.2.3 with GeForce2 on a RH 7.3 system. when i get
SDL_VideoInfo() after SDL_SetVideoMode()

it gives me this info:
info->wm_available: 1
info->vfmt->BytesPerPixel: 2
All other values in the SDL_VideoInfo structure are 0.

This is in the FAQ:
http://www.libsdl.org/faq.php?action=listentries&category=2#20

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