Jump to content
Double Fine Action Forums
Sign in to follow this  
Andreas Thalhammer

[linux] immediate crash due to MESA error

Recommended Posts

~/Steam/SteamApps/common/Broken Age $ ./run.sh

BrokenAge: ../../src/mesa/main/texstorage.c:345: texstorage: Assertion `texFormat != MESA_FORMAT_NONE' failed.

./run.sh: line 10:  $PID Aborted             LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib ./BrokenAge

My system:

Gentoo Linux, ARCH=amd64

AMD Phenom II X6 1090T

AMD Radeon HD 6670

16 GB RAM

The MESA installation is media-libs/mesa-9.2.4, but I will update to 9.2.5 today and report back.

Share this post


Link to post
Share on other sites

Sadly, the error message persists; I found a line in MESA texstorage.c that may be the line in question, line 365, but I don't know what to do about it:

assert(texFormat != MESA_FORMAT_NONE);

This is now with media-libs/mesa-9.2.5. My graphics drivers are the open source radeon drivers with gallium and r600-llvm-compiler from mesa:

~ glxinfo

direct rendering: Yes

server glx vendor string: SGI

server glx version string: 1.4

GLX version: 1.4

OpenGL vendor string: X.Org

OpenGL renderer string: Gallium 0.4 on AMD TURKS

OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.5

OpenGL core profile shading language version string: 1.40

OpenGL core profile context flags: (none)

OpenGL version string: 3.0 Mesa 9.2.5

OpenGL shading language version string: 1.30

OpenGL context flags: (none)

Help appreciated! Anything I should try?

Share this post


Link to post
Share on other sites

I can start the game, but when I want to start a new game or load a game saved game (which I never was able to).

[crazy@tuxgaming ~]$ cd "/home/crazy/.steam/steam/SteamApps/common/Broken Age/"

[crazy@tuxgaming Broken Age]$ ./run.sh

BrokenAge: /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaiext-fmod-designer/Source/EventManager.cpp:2765: void FMODDesigner::EventManager::ClearDefaultReverb(): Assertion `m_aReverbInstances.size() > 0' failed.

./run.sh: Zeile 10: 1224 Abgebrochen (Speicherabzug geschrieben) LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib ./BrokenAge

(Speicherabzug geschrieben) = memory dump written

Processor Information:

Vendor: GenuineIntel

CPU Family: 0x6

CPU Model: 0xf

CPU Stepping: 0xb

CPU Type: 0x0

Speed: 3000 Mhz

4 logical processors

4 physical processors

HyperThreading: Unsupported

FCMOV: Supported

SSE2: Supported

SSE3: Supported

SSSE3: Supported

SSE4a: Unsupported

SSE41: Unsupported

SSE42: Unsupported

Network Information:

Network Speed:

Operating System Version:

"Arch Linux" (64 bit)

Kernel Name: Linux

Kernel Version: 3.12.7-2-ARCH

X Server Vendor: The X.Org Foundation

X Server Release: 11500000

X Window Manager: Xfwm4

Steam Runtime Version: steam-runtime-release_2013-10-23

Video Card:

Driver: NVIDIA Corporation GeForce GTX 560 Ti/PCIe/SSE2

Driver Version: 4.4.0 NVIDIA 331.38

OpenGL Version: 4.4

Desktop Color Depth: 24 bits per pixel

Monitor Refresh Rate: 60 Hz

VendorID: 0x10de

DeviceID: 0x1200

Number of Monitors: 1

Number of Logical Video Cards: 1

Primary Display Resolution: 1920 x 1080

Desktop Resolution: 1920 x 1080

Primary Display Size: 20,04" x 11,26" (22,95" diag)

50,9cm x 28,6cm (58,3cm diag)

Primary Bus: PCI Express 16x

Primary VRAM: 1024 MB

Supported MSAA Modes: 2x 4x 8x 16x

Sound card:

Audio device: Realtek ALC889A

Memory:

RAM: 3956 Mb

Miscellaneous:

UI Language: English

LANG: de_DE.UTF-8

Microphone: Not set

Total Hard Disk Space Available: 230566 Mb

Largest Free Hard Disk Block: 146941 Mb

Installed software:

Recent Failure Reports:

Share this post


Link to post
Share on other sites
Sadly, the error message persists; I found a line in MESA texstorage.c that may be the line in question, line 365, but I don't know what to do about it:

assert(texFormat != MESA_FORMAT_NONE);

This is now with media-libs/mesa-9.2.5. My graphics drivers are the open source radeon drivers with gallium and r600-llvm-compiler from mesa:

~ glxinfo

direct rendering: Yes

server glx vendor string: SGI

server glx version string: 1.4

GLX version: 1.4

OpenGL vendor string: X.Org

OpenGL renderer string: Gallium 0.4 on AMD TURKS

OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.5

OpenGL core profile shading language version string: 1.40

OpenGL core profile context flags: (none)

OpenGL version string: 3.0 Mesa 9.2.5

OpenGL shading language version string: 1.30

OpenGL context flags: (none)

Help appreciated! Anything I should try?

My wild guess is that there is a problem with texture compression (S3TC?). Do you have libtxc_dxtn or lib32-libtxc_dxtn installed? Also when you run "glxinfo | grep s3tc" does it show that you have GL_EXT_texture_compression_s3tc and GL_S3_s3tc?

Share this post


Link to post
Share on other sites
I can start the game, but when I want to start a new game or load a game saved game (which I never was able to).
[crazy@tuxgaming ~]$ cd "/home/crazy/.steam/steam/SteamApps/common/Broken Age/"

[crazy@tuxgaming Broken Age]$ ./run.sh

BrokenAge: /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaiext-fmod-designer/Source/EventManager.cpp:2765: void FMODDesigner::EventManager::ClearDefaultReverb(): Assertion `m_aReverbInstances.size() > 0' failed.

./run.sh: Zeile 10: 1224 Abgebrochen (Speicherabzug geschrieben) LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib ./BrokenAge

(Speicherabzug geschrieben) = memory dump written

Processor Information:

Vendor: GenuineIntel

CPU Family: 0x6

CPU Model: 0xf

CPU Stepping: 0xb

CPU Type: 0x0

Speed: 3000 Mhz

4 logical processors

4 physical processors

HyperThreading: Unsupported

FCMOV: Supported

SSE2: Supported

SSE3: Supported

SSSE3: Supported

SSE4a: Unsupported

SSE41: Unsupported

SSE42: Unsupported

Network Information:

Network Speed:

Operating System Version:

"Arch Linux" (64 bit)

Kernel Name: Linux

Kernel Version: 3.12.7-2-ARCH

X Server Vendor: The X.Org Foundation

X Server Release: 11500000

X Window Manager: Xfwm4

Steam Runtime Version: steam-runtime-release_2013-10-23

Video Card:

Driver: NVIDIA Corporation GeForce GTX 560 Ti/PCIe/SSE2

Driver Version: 4.4.0 NVIDIA 331.38

OpenGL Version: 4.4

Desktop Color Depth: 24 bits per pixel

Monitor Refresh Rate: 60 Hz

VendorID: 0x10de

DeviceID: 0x1200

Number of Monitors: 1

Number of Logical Video Cards: 1

Primary Display Resolution: 1920 x 1080

Desktop Resolution: 1920 x 1080

Primary Display Size: 20,04" x 11,26" (22,95" diag)

50,9cm x 28,6cm (58,3cm diag)

Primary Bus: PCI Express 16x

Primary VRAM: 1024 MB

Supported MSAA Modes: 2x 4x 8x 16x

Sound card:

Audio device: Realtek ALC889A

Memory:

RAM: 3956 Mb

Miscellaneous:

UI Language: English

LANG: de_DE.UTF-8

Microphone: Not set

Total Hard Disk Space Available: 230566 Mb

Largest Free Hard Disk Block: 146941 Mb

Installed software:

Recent Failure Reports:

Well ClearDefaultReverb() seems like something to control the sound. I actually got the same error as you when I tried to launch the game from Steam. It launched the game with no sound but when I clicked on "New Game" it crashed. The 2nd time it crashed I saw this error:

"ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave".

However, I was lucky and the sound worked when I launched it from the command line.

Are you using Pulseaudio?

Share this post


Link to post
Share on other sites

Hi guys.

Sorry about the inconvenience! Fixing these start-up issues are one of our top priorities right now.

I think there are two separate issues going on in this case.

As far as the MESA issue goes the game requires S3TC support, so wagner17 is totally right:

My wild guess is that there is a problem with texture compression (S3TC?). Do you have libtxc_dxtn or lib32-libtxc_dxtn installed? Also when you run "glxinfo | grep s3tc" does it show that you have GL_EXT_texture_compression_s3tc and GL_S3_s3tc?

As far as the audio issue goes that is very strange. Can you run the game directly (aka w/o the shell script)? Maybe the linked libraries are somehow not compatible...

Share this post


Link to post
Share on other sites
Hi guys.

Sorry about the inconvenience! Fixing these start-up issues are one of our top priorities right now.

I think there are two separate issues going on in this case.

As far as the MESA issue goes the game requires S3TC support, so wagner17 is totally right:

My wild guess is that there is a problem with texture compression (S3TC?). Do you have libtxc_dxtn or lib32-libtxc_dxtn installed? Also when you run "glxinfo | grep s3tc" does it show that you have GL_EXT_texture_compression_s3tc and GL_S3_s3tc?

As far as the audio issue goes that is very strange. Can you run the game directly (aka w/o the shell script)? Maybe the linked libraries are somehow not compatible...

Nope you can not run the game without the shell script because the shell script sets the LD_LIBRARY_PATH without I get:

./BrokenAge: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

Share this post


Link to post
Share on other sites

Nope you can not run the game without the shell script because the shell script sets the LD_LIBRARY_PATH without I get:

./BrokenAge: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

Ah sadness. I assume running 'LD_LIBRARY_PATH=./lib ./BrokenAge' doesn't get you much further right?

Share this post


Link to post
Share on other sites

Nope you can not run the game without the shell script because the shell script sets the LD_LIBRARY_PATH without I get:

./BrokenAge: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

Ah sadness. I assume running 'LD_LIBRARY_PATH=./lib ./BrokenAge' doesn't get you much further right?

No that command works fine.

Share this post


Link to post
Share on other sites
Hi guys.

Sorry about the inconvenience! Fixing these start-up issues are one of our top priorities right now.

As far as the MESA issue goes the game requires S3TC support, so wagner17 is totally right:

My wild guess is that there is a problem with texture compression (S3TC?). Do you have libtxc_dxtn or lib32-libtxc_dxtn installed? Also when you run "glxinfo | grep s3tc" does it show that you have GL_EXT_texture_compression_s3tc and GL_S3_s3tc?

First of all: thanks for looking into it!

I have to check for s3tc, partly. I do have libtxc_dxtn installed for the amd64 part (i.e. "lib64", which is my /lib and /usr/lib). Other games that require it work well with Steam on Linux, so I know it works. I have to check if it is also available for 32 bit programs. I'll report back when I'm home at my desktop…

I think thou that the other games that require s3tc are also 32-bit binaries, so I fear that this is not the fault that causes it…

Share this post


Link to post
Share on other sites

 ~ glxinfo | grep s3tc

   GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, 

   GL_OES_read_format, GL_S3_s3tc

   GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, 

   GL_OES_read_format, GL_S3_s3tc, GL_SGIS_generate_mipmap, 

This was for amd64. Now I have to find out if s3tc is also available for x86… But how?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...