SuperTuxKart 0.8.1 crashes

SuperTuxKart 0.8.1 crashes

Postby darkness3560 » 09 Jan 2014, 07:28

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.
Last edited by darkness3560 on 09 Oct 2017, 21:18, edited 1 time in total.
darkness3560
 
Posts: 1
Joined: 09 Nov 2013, 07:17

Re: SuperTuxKart 0.8.1 crashes

Postby hiker » 09 Jan 2014, 11:32

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: SuperTuxKart 0.8.1 crashes

Postby Calinou » 09 Jan 2014, 12:10

Nouveau is slower than an Intel IGP, so why use the dedicated card if you're not going to use the proprietary driver?
User avatar
Calinou
 
Posts: 171
Joined: 22 Jan 2010, 21:43
Location: France

Re: SuperTuxKart 0.8.1 crashes

Postby vlj » 11 Jan 2014, 03:26

Use the environment variable specified, LIBGL_DEBUG=verbose to have a better report.
vlj
 
Posts: 58
Joined: 27 Dec 2013, 04:22

Re: SuperTuxKart 0.8.1 crashes

Postby vlj » 11 Jan 2014, 03:26

Use the environment variable specified, LIBGL_DEBUG=verbose to have a better report.
vlj
 
Posts: 58
Joined: 27 Dec 2013, 04:22

Re: SuperTuxKart 0.8.1 crashes

Postby vlj » 11 Jan 2014, 03:26

Use the environment variable specified, LIBGL_DEBUG=verbose to have a better report.
vlj
 
Posts: 58
Joined: 27 Dec 2013, 04:22

Re: SuperTuxKart 0.8.1 crashes

Postby deve » 23 Jan 2014, 14:06

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).
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Who is online

Users browsing this forum: Bing [Bot] and 1 guest