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 Thanks, ~Jeff |
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
~Jeff |
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?
~Jeff |
sounds like nvidia drivers either not installed or not configured. i wonder whats ur xorg.conf says?
sudo gedit etc/X11/xorg.conf |
xorg.conf output:
Code:
# nvidia-settings: X configuration file generated by nvidia-settings ~Jeff |
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.
Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9500M GS" EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9500M GS" BusID "PCI:1:0:0" Screen 1 EndSection |
Removing the second device does not change anything :( any other ideas?
~Jeff |
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.
~Jeff |
All times are GMT -5. The time now is 09:46 PM. |