Fedora 17 segmentation fault

For discussion about Trine 2, released in December 2011 on Windows, Mac, Xbox, PlayStation Network and later on Linux and Wii U.
pseudo
Posts: 6
Joined: Wed Aug 08, 2012 10:30 pm

Fedora 17 segmentation fault

Postby pseudo » Wed Aug 08, 2012 10:41 pm

Hi, I've recently purchased both Trine games. After discovering that Trine is not working on Intel hd graphics under linux, I'm having problems with Trine 2 as well. When I try to run trine2.sh the game starts with black screen and then crashes. Running trine2_linux_32bit directly will provide following output

Code: Select all

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
SDL error (SDL_x11touch): Failed to open "/dev/input/event3".
This could indicate an access permission problem. This may affect some input functionality or stability.


I'm running 64 version of Fedora so problem might be in some libraries (for some libs I have installed both 32 and 64 bit version, but according to google, it should be fine). Can you provide some hints to this problem?

Thanks for your hep, it is very appreciated.

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Fedora 17 segmentation fault

Postby FB_JussiE » Thu Aug 09, 2012 9:46 am

Hello pseudo!

Sorry to hear you're having troubles with the game.

Quickly looking at the output you included, have you tried running the game as root ?
It appears there's some problems with opening the input device.

If this does not help either check that the game actually finds all the libraries needed.
Open up termianl and go to the directory where you installed Trine 2.

There type
"export LD_LIBRARY_PATH=./lib/lib32"
and
"ldd ./bin/trine2_linux_32bit"

Check the output if there's any lines that say "=> not found" or if there's mentions of "mesa" then the issue is with your graphics drivers (possibly 32-bit version missing as you're running 64bit version of Fedora).


Let us know if it still won't work and we'll look further in to it.

pseudo
Posts: 6
Joined: Wed Aug 08, 2012 10:30 pm

Re: Fedora 17 segmentation fault

Postby pseudo » Thu Aug 09, 2012 7:01 pm

Running game as root fixes the SDL error however game will still crush with segmentation fault

Code: Select all

# bin/trine2_linux_32bit
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream


Segmentation fault (core dumped)


Library listing

Code: Select all

# ldd ./bin/trine2_linux_32bit
   linux-gate.so.1 =>  (0xf77fd000)
   libz.so.1 => /lib/libz.so.1 (0x45a59000)
   libSDL-1.3.so.0 => ./lib/lib32/libSDL-1.3.so.0 (0xf76f1000)
   libGLU.so.1 => /lib/libGLU.so.1 (0xf767a000)
   libfreetype.so.6 => /lib/libfreetype.so.6 (0x45df0000)
   libCg.so => ./lib/lib32/libCg.so (0xf6d99000)
   libCgGL.so => ./lib/lib32/libCgGL.so (0xf6d2c000)
   libopenal.so.1 => /lib/libopenal.so.1 (0xf6cd7000)
   libogg.so.0 => /lib/libogg.so.0 (0xf6ccf000)
   libvorbis.so.0 => /lib/libvorbis.so.0 (0xf6ca2000)
   libvorbisfile.so.3 => /lib/libvorbisfile.so.3 (0xf6c97000)
   libdl.so.2 => /lib/libdl.so.2 (0x45a11000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x45a18000)
   libGL.so.1 => /lib/libGL.so.1 (0xf6c1c000)
   libasound.so.2 => /lib/libasound.so.2 (0xf6b36000)
   libPhysXLoader.so.1 => ./lib/lib32/libPhysXLoader.so.1 (0xf6b25000)
   libstdc++.so.6 => /lib/libstdc++.so.6 (0xf6a3c000)
   libm.so.6 => /lib/libm.so.6 (0x45a71000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf6a1f000)
   libc.so.6 => /lib/libc.so.6 (0x456cf000)
   librt.so.1 => /lib/librt.so.1 (0x45a06000)
   /lib/ld-linux.so.2 (0x456ac000)
   libglapi.so.0 => /lib/libglapi.so.0 (0xf69e9000)
   libXext.so.6 => /lib/libXext.so.6 (0x465df000)
   libXdamage.so.1 => /lib/libXdamage.so.1 (0x45f63000)
   libXfixes.so.3 => /lib/libXfixes.so.3 (0x46516000)
   libX11-xcb.so.1 => /lib/libX11-xcb.so.1 (0xf69e6000)
   libX11.so.6 => /lib/libX11.so.6 (0x45c1b000)
   libxcb-glx.so.0 => /lib/libxcb-glx.so.0 (0xf69cc000)
   libxcb.so.1 => /lib/libxcb.so.1 (0x45da1000)
   libXxf86vm.so.1 => /lib/libXxf86vm.so.1 (0xf69c6000)
   libdrm.so.2 => /lib/libdrm.so.2 (0xf69b9000)
   libselinux.so.1 => /lib/libselinux.so.1 (0x45bf7000)
   libXau.so.6 => /lib/libXau.so.6 (0x45f5d000)


If I'm right the linux-gate.so.1 is provided by linux kernel so I should have it.

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Fedora 17 segmentation fault

Postby FB_JussiE » Fri Aug 10, 2012 7:18 am

Hello again

As there is only ALSA error messages left and you seem to have all the libraries I suppose its safe to assume its an issue with ALSA :).

Have you tried running the game with different audio backend, like Pulse or OSS ?
You can configure OpenAL to use specific driver from "/etc/openal/alsoft.conf" and modifying the "drivers = " line to the form "drivers = oss,pulseaudio".

pseudo
Posts: 6
Joined: Wed Aug 08, 2012 10:30 pm

Re: Fedora 17 segmentation fault

Postby pseudo » Fri Aug 10, 2012 4:51 pm

That doesn't seem to work. Pulse should be default driver for OpenAL but I've tried to explicitly specify it anyway - same result. Using alsa driver is the same. In theory I could try to get rid of pulse and use alsa as my system audio drive, although it could be complicated because of gnome

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Fedora 17 segmentation fault

Postby FB_JussiE » Sun Aug 12, 2012 8:44 am

Hello again

Few similar crashes has been fixed buy installing the 32bit nvidia libs, assuming you have NVidia graphics card try installing them. You can install the package from terminal by typing:

Code: Select all

yum install xorg-x11-drv-nvidia-libs.i686


Hopefully this helps

pseudo
Posts: 6
Joined: Wed Aug 08, 2012 10:30 pm

Re: Fedora 17 segmentation fault

Postby pseudo » Sun Aug 12, 2012 8:47 pm

Well, unfortunately I do not have nvidia. As I indirectly mentioned in first post, I'm running the ivy bridge integrated graphic card- Intel HD 3000 and I've already tried to install 32 bit Intel drivers with no success.

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Fedora 17 segmentation fault

Postby FB_JussiE » Mon Aug 13, 2012 7:16 am

Don't know how I managed to miss you mentioning the Intel 3000 sorry about that :)

For Intels graphics drivers to have support for EXT_texture_compression_s3tc extension which is needed by the game, you need to install "libtxc-dxtn0". I'm not sure if this is provided by Fedoras own repos.

If this is what causes the crash its quite odd, as usually crashes related to this extension missing have been able to create the window and play sounds, but not render anything.

Let us know if this helps.

Borc
Posts: 65
Joined: Mon Dec 19, 2011 8:28 pm

Re: Fedora 17 segmentation fault

Postby Borc » Mon Aug 13, 2012 2:21 pm

pseudo wrote:Well, unfortunately I do not have nvidia. As I indirectly mentioned in first post, I'm running the ivy bridge integrated graphic card- Intel HD 3000 and I've already tried to install 32 bit Intel drivers with no success.



HD3000= Sandy Bridge
HD4000= Ivy Bridge

pseudo
Posts: 6
Joined: Wed Aug 08, 2012 10:30 pm

Re: Fedora 17 segmentation fault

Postby pseudo » Mon Aug 13, 2012 3:57 pm

Borc wrote:HD4000= Ivy Bridge


Edit: Well it's still sandy and HD 3000 then

pseudo
Posts: 6
Joined: Wed Aug 08, 2012 10:30 pm

Re: Fedora 17 segmentation fault

Postby pseudo » Wed Aug 15, 2012 1:05 am

FB_JussiE wrote:Don't know how I managed to miss you mentioning the Intel 3000 sorry about that :)

For Intels graphics drivers to have support for EXT_texture_compression_s3tc extension which is needed by the game, you need to install "libtxc-dxtn0". I'm not sure if this is provided by Fedoras own repos.

If this is what causes the crash its quite odd, as usually crashes related to this extension missing have been able to create the window and play sounds, but not render anything.

Let us know if this helps.


Hi again, sorry for a late answer (had a lot of work stuff to do)
This in fact could be it. The game is able to create window but the content is a black screen. The missing sound will be another problem here. Unfortunately I cant find any package which provides "libtxc-dxtn0" library. However the "libtxc_dxtn" package provides "libtxc_dxtn.so" library file. Sadly installing it didn't help either.

Anyway thanks for your help, it's really appreciated. I will probably install windows on my other machine (which is currently unused) to play the game. .


Return to “Trine 2”

Who is online

Users browsing this forum: No registered users and 3 guests