ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried to get info from the video system with the SDL_GetVideoInfo , and the only field that gives an acceptable value is the one concerning the windows manager (it finds one).But every other field in the SDL_ViedoInfo is zero. This is the code I use:
Which driver are you using? SVGA, VESA, the NVidia driver? There is
certainly no hw acceleration with SVGA and probably not with the
VESA driver, so 0 in these fields would be a reasonable value.
I'm using the NVidia driver. All the applications that use graphics run fine, also opengl is working perfectly.
So I asume that the hardware is capable of accelerating graphic operation, but I'm not able to check this.
The Video Card is GeForce2 with 32mb (Teppro)
I think maybe the NVidia driver is not giving the right information.
SDL will always report No hardware accelaration except for certain drivers it's tuned for ( DGA ).
OpenGL will be accelerated ( with the NVidia drivers ) despite what SDL reports, as what SDL is reporting on is its ability to accelarate 2D graphics ( blitting and stuff ). The HW Acceleration for 3D is handled by OpenGL and has very littile to do with SDL directly.
I think thats accurate, its what I've been lead to believe when using SDL.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.