You are not logged in.

#1 2019-12-16 08:01:16

66.exe
Member
Registered: 2016-06-14
Posts: 18

[SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

I have a fully updated arch system. But when I recently updated mesa (32bit and 64bit) to 19.3.0 steam segfaulted on every startup. Rolling mesa back to 19.2.7 fixed the issue. But I'm not sure why it crashes on the latest mesa.

I have an AMD RX580 as a GPU.

My issue is similar to this thread: https://bbs.archlinux.org/viewtopic.php?id=250523 but I am not using the -git version of mesa so I don't know if it is the same thing.

Here is the console output if I run steam with 19.3.0

That crash dump is a binary file, so I didn't upload it.

And here is the strace output if I run steam with 19.3.0

Last edited by 66.exe (2019-12-18 18:19:52)

Offline

#2 2019-12-16 11:36:35

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

Please post the output of

$ LIBGL_DEBUG=verbose glxinfo32      # glxinfo32 comes with lib32-mesa-demos

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2019-12-16 16:34:43

66.exe
Member
Registered: 2016-06-14
Posts: 18

Re: [SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

Thanks for the response.

Note: original version of this post had the glxinfo32 output for the rolled back version of mesa. Below is the correct output:

name of display: :0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/username/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/username/.drirc: No such file or directory.
libGL: pci id for fd 4: 1002:67df, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: /usr/lib32/dri/radeonsi_dri.so: undefined symbol: amdgpu_cs_query_reset_state2
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/username/.drirc: No such file or directory.
libGL: pci id for fd 4: 1002:67df, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: /usr/lib32/dri/radeonsi_dri.so: undefined symbol: amdgpu_cs_query_reset_state2
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/swrast_dri.so: /usr/lib32/dri/swrast_dri.so: undefined symbol: amdgpu_cs_query_reset_state2
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  60
  Current serial number in output stream:  59

Last edited by 66.exe (2019-12-16 16:39:27)

Offline

#4 2019-12-16 22:11:24

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: /usr/lib32/dri/radeonsi_dri.so: undefined symbol: amdgpu_cs_query_reset_state2

The amdgpu_cs_query_reset_state2 symbol was added in libdrm 2.4.100 [1].

post pacman -Qs libdrm .



[1] https://lists.x.org/archives/xorg-annou … 03028.html


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2019-12-17 17:50:50

66.exe
Member
Registered: 2016-06-14
Posts: 18

Re: [SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

Here is the output:

local/lib32-libdrm 2.4.100-1
    Userspace interface to kernel DRM services (32-bit)
local/lib32-libdrm-amdgpu 19.30_838629-1 (Radeon_Software_for_Linux)
    Userspace interface to amdgpu-specific kernel DRM services -- runtime (32-bit)
local/libdrm 2.4.100-1
    Userspace interface to kernel DRM services
local/libdrm-amdgpu 19.30_838629-1 (Radeon_Software_for_Linux)
    Userspace interface to amdgpu-specific kernel DRM services -- runtime

And I see on the output of pacman -Qi libdrm that this version of libdrm was installed on 20 Oct 2019, which is long before I started having this issue.

Last edited by 66.exe (2019-12-17 17:53:57)

Offline

#6 2019-12-17 18:01:25

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

local/lib32-libdrm-amdgpu 19.30_838629-1 (Radeon_Software_for_Linux)
    Userspace interface to amdgpu-specific kernel DRM services -- runtime (32-bit)
local/libdrm-amdgpu 19.30_838629-1 (Radeon_Software_for_Linux)
    Userspace interface to amdgpu-specific kernel DRM services -- runtime

looks like those are the culprit.
They don't come from https://aur.archlinux.org/pkgbase/amdgpu-pro-installer/ or any other aur/repo package.

Where did you get them and why ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2019-12-18 18:12:30

66.exe
Member
Registered: 2016-06-14
Posts: 18

Re: [SOLVED] Steam segfaults on lib32-mesa version 19.3.0 but not 19.2.7

I installed the propriety driver a while ago, but then I removed it. I guess it didn't uninstall correctly. I followed the advice here https://wiki.archlinux.org/index.php/AMDGPU_PRO to remove the remaining packages. I did a full system update (back to mesa 19.3.0) and rebooted. That solved the issue.

Thanks so much for your assistance.

Offline

Board footer

Powered by FluxBB