Champions of Regnum display deteriorates with mesa 20.1.7 and further
Occasionally the native linux 64-bit client of the mmorpg Champions of Regnum becomes unuseable with a messed-up display (no/transparent walls, invisible characters, grey backgrounds...) after a libgl1-mesa-dri upgrade.
Currently, the last working release is 20.0.7-1 and I have to revert and downgrade to it as soon as I try a more recent release for no other further version is able to make the game work correctly.
Downgrading only the following 5 Debian packages solves the problem entirely.
=> aptitude :
[DOWNGRADE] libegl-mesa0:amd64 20.1.7-1 -> 20.0.7-1
[DOWNGRADE] libgbm1:amd64 20.1.7-1 -> 20.0.7-1
[DOWNGRADE] libgl1-mesa-dri:amd64 20.1.7-1 -> 20.0.7-1
[DOWNGRADE] libglapi-mesa:amd64 20.1.7-1 -> 20.0.7-1
[DOWNGRADE] libglx-mesa0:amd64 20.1.7-1 -> 20.0.7-1
And the game cannot be played at all with 20.2.x (crash/segfault on welcome screen after entering game login credentials).
=> inxi -GSC -xx :
System: Host: jupiter Kernel: 5.4.71-tz28811 x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: MATE 1.24.1 wm: marco
dm: LightDM Distro: Debian GNU/Linux 10 (buster)
CPU: Info: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 102253
Speed: 2509 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 1: 3245 2: 2785 3: 2939 4: 2931 5: 2951
6: 2789 7: 2796 8: 3111 9: 2396 10: 2393 11: 2400 12: 2396 13: 2394 14: 2665 15: 2725 16: 2660
Graphics: Device-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] vendor: Hightech Information System
driver: amdgpu v: kernel bus ID: 06:00.0 chip ID: 1002:67ef
Display: x11 server: X.Org 1.20.9 compositor: marco driver: amdgpu resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: AMD Radeon RX 460 Graphics (POLARIS11 DRM 3.35.0 5.4.71-tz28811 LLVM 10.0.0) v: 4.6 Mesa 20.0.7
direct render: Yes
=> Game crash backtrace :
./game(_ZN10ClientBase14save_backtraceEv+0x55) [0x743965]
./game(_ZN10ClientBase12client_crashEi+0x8) [0x743a48]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bcc0) [0x7f0824f85cc0]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x136012) [0x7f0822033012]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x1a37ef) [0x7f08220a07ef]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x1a6a6b) [0x7f08220a3a6b]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x38d4bd) [0x7f082228a4bd]
./game(_ZN8Engine3D14VertexBufferGL6createERKNS_10StreamInfoEPKvb+0x177) [0xe30587]
./game(_ZN6Effect18BeamEffectRenderer27create_random_vertex_bufferEv+0x241) [0x8211f1]
./game(_ZN6Effect18BeamEffectRendererC1Ev+0x1c7) [0x821427]
./game(_ZN6Effect9FXManager15creation_notifyEP7Message+0x21a) [0x8136aa]
./game(_ZN13EntityManager32initialize_entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x771) [0x974fe1]
./game(_ZN7GameApp15creation_notifyEP7Message+0x74c) [0x75661c]
./game(_ZN13RegnumGameApp15creation_notifyEP7Message+0x15) [0x6b8e95]
./game(_ZN13EntityManager32initialize_entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x771) [0x974fe1]
./game(_ZN13EntityManager27register_initialized_entityEPKciP6EntityP7Message+0x11) [0x976911]
./game(_ZN24ApplicationManagerEntity34start_application_entity_with_infoEPN17ApplicationEntity4DataEP7MessageP10EntityInfo+0x8d) [0x736bad]
./game(_ZN24ApplicationManagerEntity18launch_applicationEP7Message+0x585) [0x737195]
./game(_ZN6Entity22input_message_internalEP7Message+0xaf7) [0x97d0d7]
./game(_ZN18EntityMessageQueue17process_a_messageEP7Message+0xc4) [0x99f984]
./game(_ZN18EntityMessageQueue16process_messagesEv+0xf1) [0x9a2c81]
./game(_ZN12EntitySystem10poll_frameEv+0x1e) [0x99bc2e]
./game(_ZN10GameClient7iterateEv+0x2b) [0x6942db]
./game(_ZN8MainLoop7iterateEv+0xd) [0x75702d]
./game(main+0x130) [0x68af80]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f0824f70cca]
./game() [0x693d99]
Regards, VB