Page 1 of 1

SuperTuxKart 0.8.1 crashes

PostPosted: 09 Jan 2014, 07:28
by darkness3560
I downloaded the static binary of STK 0.8.1 for my Ubuntu 13.04 (I'll upgrade "later"), and tried to run it with my NVIDIA graphics card using Bumblebee (my system has 2 graphics cards: a regular Intel graphics card for everyday things, and an NVIDIA high-performance one for gaming). I have the Nouveau drivers installed. The game made the screen go black for a second (it's normal), but seemed to flicker a bit before changing the resolution to 800x600 from the native 1366x768 and exiting. I found this when running STK in the terminal:

{l Code}: {l Select All Code}
Irrlicht Engine version 1.8.0
Linux 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64
[info   ] FileManager: Data files will be fetched from: ''
[info   ] FileManager: User directory is '/home/[username]/.config/supertuxkart/'.
[info   ] FileManager: Addons files will be stored in '/home/[username]/.local/share/supertuxkart/addons/'.
[info   ] FileManager: Screenshots will be stored in '/home/[username]/.cache/supertuxkart/screenshots/'.
[debug  ] translation: Env var LANGUAGE = 'en_AU:en'.
[debug  ] translation: Language 'English (Australia)'.
Adding language fallback en
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
[IrrDriver Temp Logger] Level 2: No doublebuffering available.
[IrrDriver Temp Logger] Level 3: Fatal error, could not get visual.
[IrrDriver Temp Logger] Level 2: No doublebuffering available.
[IrrDriver Temp Logger] Level 3: Fatal error, could not get visual.
[IrrDriver Temp Logger] Level 2: No doublebuffering available.
[IrrDriver Temp Logger] Level 3: Fatal error, could not get visual.
[IrrDriver Temp Logger] Level 2: No doublebuffering available.
[IrrDriver Temp Logger] Level 3: Fatal error, could not get visual.
[fatal  ] irr_driver: Couldn't initialise irrlicht device. Quitting.


If you need more info, just ask. Any help would be greatly appreciated. Thank you.

Re: SuperTuxKart 0.8.1 crashes

PostPosted: 09 Jan 2014, 11:32
by hiker
Hi,

it's certainly a driver problem. So first make sure that you have the latest official drivers installed. Googling for the error message gave me:
https://ask.fedoraproject.org/question/ ... er-swrast/
Does this help?

Cheers,
Joerg

Re: SuperTuxKart 0.8.1 crashes

PostPosted: 09 Jan 2014, 12:10
by Calinou
Nouveau is slower than an Intel IGP, so why use the dedicated card if you're not going to use the proprietary driver?

Re: SuperTuxKart 0.8.1 crashes

PostPosted: 11 Jan 2014, 03:26
by vlj
Use the environment variable specified, LIBGL_DEBUG=verbose to have a better report.

Re: SuperTuxKart 0.8.1 crashes

PostPosted: 11 Jan 2014, 03:26
by vlj
Use the environment variable specified, LIBGL_DEBUG=verbose to have a better report.

Re: SuperTuxKart 0.8.1 crashes

PostPosted: 11 Jan 2014, 03:26
by vlj
Use the environment variable specified, LIBGL_DEBUG=verbose to have a better report.

Re: SuperTuxKart 0.8.1 crashes

PostPosted: 23 Jan 2014, 14:06
by deve
If you really use nouveau (what is strange IMO), you should be able to use it without bumblebee. Though in ubuntu 13.04 it would be probably too much work.

Check if you have acceleration at all - mesa tries to use software acceleration and returns error. Look at this:
optirun glxinfo | grep -i direct
optirun glxinfo | grep -i opengl

Bumblebee works pretty well with proprietary drivers. If using closed-source software is not a problem for you, I suggest to change drivers. In ubuntu raring you may need packages from external repo (official bumblebee repository):
https://launchpad.net/~bumblebee/+archive/stable

For nvidia you need: bumblebee, bumblebee-nvidia, bbswitch-dkms, primus (virtualgl is optional). And nvidia drivers from ubuntu repo (nvidia-304 package or so). You need to remove all gl-alternatives glx-alternatives etc. packages and you should be sure that nouveau module is blacklisted (or simply removed).