Author Topic: 13db9cf: black/blank screen when starting, game freezes  (Read 4151 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
After deleting my old 'build' directory, I built a fesh copy of 13db9cf today, renamed all my .ini files to *.orig and ran it. Unfortunately I did not get very far: I ended up with a black screen right after starting it up, and a frozen game which would not react to anything (tried Enter, Alt-Enter, Alt-F4, kill -1) but kill -9. It did write a gae-crash.txt file, though:

Code: [Select]
$ cat gae-crash.txt
Crash
Version: Advanced Engine 0.3.93+git_13db9cf 0.3-994-g13db9cf
Built: Fri Jul  6 13:25:42 CEST 2012
Time: Fri Jul  6 17:35:57 2012
Description: SIGSEGV: address not mapped to object
Address: 0x1b85000
Backtrace:
./build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x1b7) [0x6bcc97]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f696fbc9cb0]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(rgb565_image+0x7d0) [0x7f69656c7e60]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(tx_compress_dxtn+0x329) [0x7f69656c8d29]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_texstore_rgb_dxt1+0xf0) [0x7f6967e25150]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xe15b0) [0x7f6967e435b0]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_store_teximage2d+0xed) [0x7f6967e438bd]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xcfd6b) [0x7f6967e31d6b]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_TexImage2D+0x54) [0x7f6967e32364]
./build/source/game/glestadv(_ZN6Shared8Graphics2Gl11Texture2DGl4initENS0_7Texture6FilterEi+0x274) [0x6ad3e4]
./build/source/game/glestadv(_ZN6Shared8Graphics14TextureManager4initEv+0x43) [0x695123]
./build/source/game/glestadv(_ZN5Glest8Graphics8Renderer4initEv+0x255) [0x540a35]
./build/source/game/glestadv(_ZN5Glest7Widgets12WidgetWindowC1Ev+0xfcd) [0x64658d]
./build/source/game/glestadv(_ZN5Glest4Main7ProgramC2ERNS0_7CmdArgsE+0x1c) [0x56c93c]
./build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2d8) [0x5671b8]
./build/source/game/glestadv(main+0x2d) [0x4b55fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f696dde876d]
./build/source/game/glestadv() [0x4b8bb1]

=======================

I'm on (K)Ubuntu 12.04, using the default (open source) r300 (radeon) graphics drivers. More hardware details about this 'atibox' can be found in my forum signature below.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: 13db9cf: black/blank screen when starting, game freezes
« Reply #1 on: 6 July 2012, 15:57:12 »
Looks like libtxc_dxtn crashes. Not sure how we trigger that. Try disabling texture compression with the following option in ~/.glestadv/glestadv.ini:
Code: [Select]
RenderCompressTextures=false
Add it if it's not there already.

I think they changed something in newer mesa versions (8.x) which breaks it for us. It worked for me before but doesn't anymore. I have a closer look this weekend.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 13db9cf: black/blank screen when starting, game freezes
« Reply #2 on: 10 July 2012, 17:58:14 »
Hmm, adding RenderCompressTextures=false doesn't seem to have helped much, the behaviour is, as far as I can tell, the same. Here's the latest crash log with a full rebuild of 0.3-994-g13db9cf:

Code: [Select]
Crash
Version: Advanced Engine 0.3.93+git_13db9cf 0.3-994-g13db9cf
Built: Tue Jul 10 19:45:49 CEST 2012
Time: Tue Jul 10 19:53:55 2012
Description: SIGSEGV: address not mapped to object
Address: 0x1ef3000
Backtrace:
./build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x1b7) [0x6bcc97]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f38689aecb0]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(rgb565_image+0x7d0) [0x7f385e4ace60]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(tx_compress_dxtn+0x329) [0x7f385e4add29]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_texstore_rgb_dxt1+0xf0) [0x7f3860c0a150]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xe15b0) [0x7f3860c285b0]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_store_teximage2d+0xed) [0x7f3860c288bd]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xcfd6b) [0x7f3860c16d6b]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_TexImage2D+0x54) [0x7f3860c17364]
./build/source/game/glestadv(_ZN6Shared8Graphics2Gl11Texture2DGl4initENS0_7Texture6FilterEi+0x274) [0x6ad3e4]
./build/source/game/glestadv(_ZN6Shared8Graphics14TextureManager4initEv+0x43) [0x695123]
./build/source/game/glestadv(_ZN5Glest8Graphics8Renderer4initEv+0x255) [0x540a35]
./build/source/game/glestadv(_ZN5Glest7Widgets12WidgetWindowC1Ev+0xfcd) [0x64658d]
./build/source/game/glestadv(_ZN5Glest4Main7ProgramC2ERNS0_7CmdArgsE+0x1c) [0x56c93c]
./build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2d8) [0x5671b8]
./build/source/game/glestadv(main+0x2d) [0x4b55fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f3866bcd76d]
./build/source/game/glestadv() [0x4b8bb1]
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 13db9cf: black/blank screen when starting, game freezes
« Reply #3 on: 28 August 2012, 00:34:23 »
Just for referecne, I had previously discussed a similar or possibly the same issue.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·