View previous topic :: View next topic |
Author |
Message |
mw007 Apprentice
Joined: 08 Nov 2004 Posts: 260
|
Posted: Mon Dec 11, 2006 2:34 am Post subject: supertux: No video device [solved] |
|
|
I have been trying to get supertux to run and always get this error:
Code: |
Datadir: /usr/share/games/supertux
Error: I could not initialize video!
The Simple DirectMedia error that occured was:
No available video device
|
I have searched the official supertux page as well as various distro forums and have not found a working solution. I think the problem is due to my card not having 3D hardware acceleration. Can anyone confirm if this is a requirement to run supertux? I am using the standard nvidia driver installed by portage.
EDIT: All I needed to do was compile libsdl with the directfb use flag.
Last edited by mw007 on Tue Dec 12, 2006 2:17 am; edited 1 time in total |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1709
|
Posted: Mon Dec 11, 2006 5:05 am Post subject: |
|
|
Two things. First lets see what acceleration we do have:
Code: |
glxinfo | grep direct
|
Let us know what that puts out. Secondly,l run:
Code: |
emerge supertux -pv
|
Post this as well. I don't think that hardware acceleration is REQUIRED for supertux to run (as it can also run under SDL), but if you compiled it in a certain way, then it may need 3D acceleration until you change the settings elsewhere. |
|
Back to top |
|
|
mw007 Apprentice
Joined: 08 Nov 2004 Posts: 260
|
Posted: Mon Dec 11, 2006 6:58 pm Post subject: |
|
|
First off, nice signature
Here is the information you requested:
glxinfo | grep direct yields:
Code: |
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect |
emerge -pv supertux gives me:
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] games-arcade/supertux-0.1.3 USE="opengl" 0 kB
Total size of downloads: 0 kB
|
One thing I forgot to mention before is that I tried building supertux without OpenGL support first. Got the no screen error. Then tried building with OpenGL support. Same error occurred. I still have the opengl use flag set in my package.use.
Thanks for your help! |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1709
|
Posted: Tue Dec 12, 2006 5:11 pm Post subject: |
|
|
891 posts (well, now 892) and you're the first to comment on the signature. Thanks! |
|
Back to top |
|
|
|