SDL Initialization has Failed - Stopping many Games from Loading
Linux - GamesThis forum is for all discussion relating to gaming in Linux.
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.
SDL Initialization has Failed - Stopping many Games from Loading
I have a large number of games installed via the repositories on Ubuntu 8.10 how ever many of them throw an error similar to this upon trying to load them:
Code:
Error : SDL initialization failed
Reason : No available video device
I have a NVidia 9500M GS Graphics card and I am running the 180.xx drivers. Any one have ideas ideas how I can correct this error?
I found this thread which appears to be the same issue I am having... how ever I do not under stand the solution that was posted anyone mind explaining how I can apply this to Ubuntu 8.10
well, in the most layman terms i can come up with (because its all i know!) whatever points SDL to your video card, has gone amuck. and is no longer pointing to the correct (or any) thing. it suggests reading the documentation provided on the sdl website to determine what files those are, and how to point it back to the right thing.
Yea I understood thats what it was saying... how ever all the guides on the SDL site are about programing not about reconfiguring it on Linux/Ubuntu. Short of formatting is there any easy way to reconfigure this?
I guess SDL fails to pick one device out of two, maybe, back up xorg.conf and remove section Device1 - which will probably will be you video out, see if 3d acceleration comes back.
Funny enough, just last nite i got the same problem - suddenly no 3D acceleration at all anywere. Fixed it by installing latest kernel - 2.6.27-13-generic. 'course had to reinstall nvidia drivers. Lost sound too, but reinstalled ALSA. Now everything's back up running. Doom3,Quake4, UT2004 have no probs. Even had a good 2 hour session playing Enemy territoy.
That got me thinking, the way Ubuntu updater handles new kernel versions, if choosing all default options while updating, some users might well end up booting updated kernel thus breaking thier nvidia module. As a relatively newbie myself nowhere did i see warnings for this.
Maybe that's the case for your system too?
The thing is my 3D acceleration is working just fine for all non-SDL apps. (Thusly why this thread is titled "SDL Initialization has Failed" not "3D not working" I'll try updating my Kernel later and see if that helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.