You are not logged in.

#1 2019-11-06 14:28:48

bbaserdem
Member
Registered: 2017-07-27
Posts: 31

Steam crashes on Navi 10

I recently built a pc with AMD radeon rx 5700 xt. Had trouble getting graphics working until I followed the guide here; https://wiki.archlinux.org/index.php/Navi_10

I have the mesa-git version packages as listed in the . Recently, after an update, steam stopped working. Trying to run steam and steam-runtime, with LD_PRELOAD set or unset (I have it as an environment variable to fix issues with MATLAB) results in a X failure with steam. Everything else works fine.

Here is my LD_PRELOAD, though I doubt this is the culprid.

/usr/lib/libstdc++.so:/usr/lib/libfreetype.so.6:/usr/lib/libgio-2.0.so.0:/usr/lib/libglib-2.0.so.0

because when I run

unset LD_PRELOAD ; steam

I still get the crash. Would appreciate if anyone can help me decipher what is causing the crash, and is it safe to move on to the non-git version of the packages I have from mesa-git.

Here is the console log of steam;

$ steam-native
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1572467527)
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1572467527)
Installing breakpad exception handler for appid(steam)/version(1572467527)

(steam:571739): Gtk-WARNING **: 09:20:40.131: Unable to locate theme engine in module_path: "adwaita",

(steam:571739): Gtk-WARNING **: 09:20:40.131: Unable to locate theme engine in module_path: "adwaita",

(steam:571739): Gtk-WARNING **: 09:20:40.133: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.133: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.133: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.134: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.134: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.134: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.134: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.135: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.135: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.135: Unable to locate theme engine in module_path: "murrine",

(steam:571739): Gtk-WARNING **: 09:20:40.135: Unable to locate theme engine in module_path: "murrine",
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  152
Serial number of failed request:  51
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  152
Value in failed request:  0x0
Serial number of failed request:  50
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  152
Serial number of failed request:  52
xerror_handler: X failed, continuing
assert_20191106092038_1.dmp[571750]: Uploading dump (out-of-process)
/tmp/dumps/assert_20191106092038_1.dmp
/home/sbp/.local/share/Steam/steam.sh: line 720: 571739 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20191106092038_1.dmp[571750]: Finished uploading minidump (out-of-process): success = yes
assert_20191106092038_1.dmp[571750]: response: CrashID=bp-bc48024d-2300-4ba6-af9a-a98a02191106
assert_20191106092038_1.dmp[571750]: file ''/tmp/dumps/assert_20191106092038_1.dmp'', upload yes: ''CrashID=bp-bc48024d-2300-4ba6-af9a-a98a02191106''

Offline

#2 2019-11-10 19:52:16

neutronst4r
Member
Registered: 2016-02-25
Posts: 28

Re: Steam crashes on Navi 10

This is your actual problem:

libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib32/dri)
libGL error: failed to load driver: radeonsi

I get the same error when I try to use the normal arch repo mesa implementation. It seems you did not install the mesa-git packages correctly, because they work on my system.
I couple weeks ago they were broken to and I had to roll back the llvm-git package.
Maybe try again?


makepkg not war

Offline

#3 2019-11-11 12:17:41

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,467

Re: Steam crashes on Navi 10

run

glxinfo -B # comes with mesa-demos package

If that also fails you don't have a steam-specfic problem but a graphics problem.
In that case post the output of

LIBGL_DEBUG=verbose glxinfo

Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#4 2019-12-01 12:52:21

neutronst4r
Member
Registered: 2016-02-25
Posts: 28

Re: Steam crashes on Navi 10

I gave this another shot and I still cannot get steam and wine games to work with the standard repo drivers. Both work fine with mesa-git packages.

Here is the output of

$  LIBGL_DEBUG=verbose steam-runtime
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/neutronst4r/.local/share/Steam/ubuntu12_32/steam
Installing breakpad exception handler for appid(steam)/version(1574989267)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/neutronst4r/.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/neutronst4r/.drirc: No such file or directory.
libGL: pci id for fd 8: 1002:731f, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: libLLVM-9.so: wrong ELF class: ELFCLASS64
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/neutronst4r/.drirc: No such file or directory.
libGL: pci id for fd 8: 1002:731f, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: libLLVM-9.so: wrong ELF class: ELFCLASS64
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: libLLVM-9.so: wrong ELF class: ELFCLASS64
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1574989267)
Installing breakpad exception handler for appid(steam)/version(1574989267)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/neutronst4r/.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/neutronst4r/.drirc: No such file or directory.
libGL: pci id for fd 23: 1002:731f, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: libLLVM-9.so: wrong ELF class: ELFCLASS64
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/neutronst4r/.drirc: No such file or directory.
libGL: pci id for fd 23: 1002:731f, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib32/dri/radeonsi_dri.so: libLLVM-9.so: wrong ELF class: ELFCLASS64
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: libLLVM-9.so: wrong ELF class: ELFCLASS64
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  152
Serial number of failed request:  51
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  152
Value in failed request:  0x0
Serial number of failed request:  50
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  152
Serial number of failed request:  52
xerror_handler: X failed, continuing
assert_20191201134057_1.dmp[29439]: Uploading dump (out-of-process)
/tmp/dumps/assert_20191201134057_1.dmp
/home/neutronst4r/.local/share/Steam/steam.sh: line 722: 29432 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20191201134057_1.dmp[29439]: Finished uploading minidump (out-of-process): success = yes
assert_20191201134057_1.dmp[29439]: response: CrashID=bp-0cdad47f-821b-428f-b2e6-e1f002191201
assert_20191201134057_1.dmp[29439]: file ''/tmp/dumps/assert_20191201134057_1.dmp'', upload yes: ''CrashID=bp-0cdad47f-821b-428f-b2e6-e1f002191201''

Here is the output of:

$ glxinfo

Last edited by neutronst4r (2019-12-01 13:21:19)


makepkg not war

Offline

#5 2019-12-01 13:26:36

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,467

Re: Steam crashes on Navi 10

The glxinfo output shows no problems with the 64-bit envirorment.

This matches with logs of earlier posts that mention lib32 specifically (seems I overlooked that).
Steam-runtime output indicates you're missing the lib32 version of llvm.

post pacman -Qs llvm .


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#6 2019-12-01 17:30:35

neutronst4r
Member
Registered: 2016-02-25
Posts: 28

Re: Steam crashes on Navi 10

Yes, lib32-llvm and lib32-llvm-libs were missing. Installing those fixed it.

Thanks!


makepkg not war

Offline

#7 2019-12-02 11:07:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,467

Re: Steam crashes on Navi 10

Glad you found the cause, please prepend [Solved] to the thread ttitle ( edit first post)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#8 2019-12-12 23:50:42

faceyneck
Member
Registered: 2017-12-16
Posts: 34

Re: Steam crashes on Navi 10

The user who had the issue fixed was not the original poster. Hence why it's not listed as [SOLVED]

Hopefully this isn't considered necro-bumping! I didn't see a point in starting my own thread for this simple question:

I'm curious; why won't Steam work with lib32-llvm-git + lib32-llvm-libs-git, need to have the non-git versions? (AKA; lib32-llvm and lib32-llvm-libs)

I've spent the past 2 or more hours getting this to work. Now that it does, I don't want to bother with getting the git versions to work.

However, if I had simply created a symbolic link, would I have avoided this problem? From the wiki:

Note: It may be necessary to symlink LibLLVM for X to start. eg. ln -s /usr/lib/libLLVM-10git.so /usr/lib/libLLVM-10svn.so

Offline

#9 2019-12-13 11:34:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,467

Re: Steam crashes on Navi 10

faceyneck wrote:

However, if I had simply created a symbolic link, would I have avoided this problem? From the wiki:

Note: It may be necessary to symlink LibLLVM for X to start. eg. ln -s /usr/lib/libLLVM-10git.so /usr/lib/libLLVM-10svn.so

Symlinking libraries is usually a bad idea.
There are no more llvm/clang svn packages in aur as far as I know, that note probaly needs updating.
(It lists the wrong reason for using the symlink so would need changes anyway) .

where did you find it ?


faceyneck wrote:

I'm curious; why won't Steam work with lib32-llvm-git + lib32-llvm-libs-git, need to have the non-git versions? (AKA; lib32-llvm and lib32-llvm-libs)

I've spent the past 2 or more hours getting this to work. Now that it does, I don't want to bother with getting the git versions to work.

The question is simple, the answer is rather complicated but i'll give it a try.

llvm / clang is  a compiler suite that produces binaries.
Those binaries can't run stand alone, but require a small part of the compiler suite to be installed.

That small part is provided by packages like llvm-libs and gcc-libs .
The way the binaries and *-libs interact is usually referred to as Application Binary Interface or ABI .
It can (and often will) change often, binaries need the ABI version they're compiled with or they'll break .


llvm / clang upstream keeps the ABI version of libs static in between major relases .
Unfortunately there's no such rule for trunk .

Trunk comits can change ABI easy and there's nothing that indicates it has changed until something breaks.
(I've seen llvm trunk break ABI 4 times in 10 days)

llvm/clang have no clean way to have multiple versions installed at the same time, the mechanism used by llvm-libs is  a hack with limitations.

Steam complicates things further by using their own versions of libraries.

If steam uses systemwide graphics stack, it uses arch libglvnd to communicate with systemwide mesa.
mesa needs the correct llvm ABI version for many things.

When steam takes its own version of the graphics stack it needs to have whichever llvm version it was built with.
That can be a stable llvm from repos, or steams own version (if that still exists)do they .

Troubleshooting steam graphics issues requires a good knowledge of how things work together or conflict.

Last edited by Lone_Wolf (Yesterday 13:47:08)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#10 Today 07:01:14

faceyneck
Member
Registered: 2017-12-16
Posts: 34

Re: Steam crashes on Navi 10

faceyneck wrote:

    I'm curious; why won't Steam work with lib32-llvm-git + lib32-llvm-libs-git, need to have the non-git versions? (AKA; lib32-llvm and lib32-llvm-libs)

Note: It may be necessary to symlink LibLLVM for X to start. eg. ln -s /usr/lib/libLLVM-10git.so /usr/lib/libLLVM-10svn.so

Lone_Wolf wrote:

Where did you find it?

That's actually from the wiki, regarding the AMDGPU driver:

https://wiki.archlinux.org/index.php/AM … perimental

The "Note" listed there talks about making a symbolic link. I tried it, and it didn't have any effect, so I'll remove it.

Thanks for the detailed explanation. Much appreciated :-)

Offline

Board footer

Powered by FluxBB