Supertuxkart on openSuse 12.3

Just upgraded to 12.3 from 12.2 via zypper dup. Everything works fine, except when trying to start Supertuxkart, which worked fine on 12.2 I get the following console ouput:

Irrlicht Engine version 1.8.0
Linux 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64
[FileManager] Data files will be fetched from: ‘/usr/share/supertuxkart’
[FileManager] Addons files will be stored in ‘/home/nick/.local/share/supertuxkart/addons’.
[translate] Env var LANGUAGE = ‘en_GB.UTF-8’
[translate] Env var LANGUAGE = ‘en_GB.UTF-8’, which corresponds to ‘English (Great Britain)’
Adding language fallback en
[IrrDriver] Trying OpenGL rendering.
Segmentation fault

Video card is Nvidia GeForce 9500GT using the latest Nvidia drivers.

Anyone got an idea what’s wrong?
Thanks in advance for all replies.

Nick

Your Compositing type in KDE may not be set to OpenGL: This is in menu / Configure Desktop / Desktop Effects:

http://paste.opensuse.org/view/download/86184234

I use an nVIDIA card also and I had to upgrade the kernel to 3.8 to even get OpenGL to stick. By that I mean I could select OpenGL, but on return, you would find it is still set at XRender. For info on a kernel update, have a look here:
openSUSE and Installing New Linux Kernel Versions - Blogs - openSUSE Forums

Thank You,

Thanks for your reply, James. I’m using xfce, not KDE, so I couldn’t carry out your tip. The Nvidia X Server Settings imply that OpenGL is in use.

Your blog entry on New Kernel Versions was very interesting. I installed the 3.8 kernel, but then my display stopped working completely so I went back to 3.7. I guess the Nvidia drivers are not compatible or something.

Guess my kids are going to have to wait for new Nvidia drivers before they can start driving again …

Nick

Could you check if your user is in the video group?
Type “groups” in a terminal window to see.

On 12.3 you don’t get added to that group by default any more, but the proprietary nvidia driver needs that to work correctly.
Don’t know about supertuxkart, but GNOME for example only shows a blank screen if thats not the case… Could well be that supertuxkart crashes.

Well, you said you upgraded from 12.2 (or did you do a fresh install with just keeping your home?), so I think you should actually still be in the video group, but at least it’s worth to check.

nwlord, can you post the output from the command


rpm -qa '*nvidia*'

on some systems the zypper dup seems to mess up with an incompatible
combination of nvidia drivers which may have weird side effects.
And also check that this user with the problem is member of the video
group (which I expect since it was an upgrade which does not change it).


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.2 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

Thanks wolfi. All users are in the video group. Everything else works fine - it’s only supertuxkart that crashes.

Nick

Thanks, Martin. Output from rpm -qa ‘nvidia’:

nvidia-gfxG03-kmp-desktop-310.44_k3.7.10_1.1-11.1.x86_64
nvidia-computeG03-310.44-11.1.x86_64
x11-video-nvidiaG03-310.44-11.1.x86_64

Zypper dup did cause me problems with the nvidia drivers but I reinstalled the correct ones (I hope). Everything else works OK. It’s just supertuxkart which crashes. All users are in the video group.

Nick

So you have the driver installed, but that doesn’t necessarily mean it’s working…
What’s the output of

glxinfo | grep render

(For this to work, you have to install the package Mesa-demo-x first…)

But I don’t really think you’re having a driver problem.
Maybe it’s a general problem with the supertuxkart package or one of it’s dependencies?

I’m not near my linux system right now, but I will check if it works for me tomorrow evening…

Test first what wolfi323 gave you.

I can see nothing wrong with your output, there is of course a
possibility which is a blind shot to try the G02 drivers instead (after
all that nvidia model is a bit older).
If you want to try it uninstall first the G03 drivers with yast, close
yast and start it again now installing the G02 ones.

But wait with that if someone else has a better idea (maybe a 9500 GT
user comes along).

@wolfi323: I gave supertuxkart a run on my PC with nvidia card (G03
drivers), it works just fine, I use the one from the games repository
supertuxkart-data-0.8-11.1.noarch
supertuxkart-0.8-11.1.x86_64


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.2 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

So you’re lucky! :wink:
I just tried it on my system (radeon, same supertuxkart packages, haven’t tried to run it since upgrading to 12.3), and it segfaults as well…
So I guess this rules out driver problems.:expressionless:

I’m going to investigate this later, have to update KDE to 4.10.2 first! :shame:

Am 07.04.2013 17:26, schrieb wolfi323:
> So I guess this rules out driver problems.:expressionless:
Probably yes, this points to the application.
But I tried also on the thinkpad with intel graphics and it also runs
well without segfault.


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.2 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

Output from glxinfo | grep render:

direct rendering: Yes
OpenGL renderer string: GeForce 9500 GT/PCIe/SSE2
GL_NV_complex_primitives, GL_NV_conditional_render,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

I went back to the G02 drivers but this made no difference. The description of the G03 package says it’s for GeForce 8xxx and newer GPUs.

Thanks for trying it out, Wolfi. As you say, it now looks like it’s not down to a driver problem. Should I post a bug report to supertuxkart? And if so, where and with what information?

Again, thanks to everyone for their time and support.

I haven’t found out yet what’s the problem, but I have gotten the static 32bit binary to work on my system, which can be downloaded here:
Downloads - Supertuxkart (the second one from the top).
The static 64bit binary and the 32bit package from the games repo crashed as well.

If you want to try it, I had to do the following to make it run:

sudo zypper in libvorbis0-32bit
sudo ln -s  /usr/lib/libgnutls.so.28 /usr/lib/libgnutls.so.26

(could be that there are more 32bit dependencies needed, but that’s the only one I had to install on my system)
You can extract the game to anywhere you want, then cd into the directory and run it with “./run_game.sh”.

But I will continue to look for the issue…

OK, I found out it crashes while opening the sound device!:sarcastic:

It (package from games repo) works for me when I start it like this:

aoss supertuxkart

@nwlord: Could you try that, so we can be sure you’re having the same problem that I have? (aoss is part of the alsa-oss package)

@both:
Are you using pulseaudio?
I have it disabled. Maybe that makes the difference between working and not working?

Am 08.04.2013 09:26, schrieb wolfi323:
> @both:
> Are you using pulseaudio?
> I have it disabled. Maybe that makes the difference between working and
> not working?
>
I use pulseaudio on all machines.


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.2 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

Yeah, I enabled pulseaudio now on my system, and supertuxkart works!:slight_smile:
OK, I have no sound, but that’s a pulseaudio setup issue I think since I only have a “Dummy output device” (although KDE’s system sounds work fine…)

So this definitely seems to be a bug in libopenal’s alsa support. (“openal-info” segfaults as well without pulseaudio here)

I don’t use pulseaudio.

Starting with “aoss supertuxkart” works fine. I’m happy with this as a work-around while I think about reinstating pulseaudio. IIRC I disabled it years ago because of problems recording with audacity but maybe things have changed in the meantime.

Thanks again for your help.

Nick

Thanks for confirming!

I also disabled pulseaudio years ago because it didn’t work too well on my system and never bothered to try it out again since I was satisfied with plain alsa… (although some of pulseaudio’s concepts did sound nice to me)

Well, upto now I could narrow the crash down to libopenal’s ALCdevice_OpenPlayback() function, which crashes with alsa.
But it clearly is an upstream bug, because I downloaded the latest sources and compiled them, the crash still is there.

I will investigate this further and open a bugreport if needed, but it will take some time I guess…:expressionless:

You can also try to install the older libopenal1-soft from here:
software.opensuse.org:
(for 12.3 you have to click on “Show unstable packages”)

That one works fine here! :slight_smile:

I opened a bugreport:
https://bugzilla.novell.com/show_bug.cgi?id=814250