You are not logged in.

#1 2023-09-08 19:37:09

jan.hradek
Member
Registered: 2015-09-14
Posts: 2

[SOLVED] Borderlands The Presequel via Steam crashes after alsa update

Full title: Borderlands The Presequel (native Steam Linux Runtime, not Windows version running via Proton) launched via Steam crashes on start after alsa update.

Borderlands the Presequel stopped working after upgrading these packages (current $pikaur -Syu output after working downgrade):

 alsa-lib                              1.2.9-1              -> 1.2.10-1
 alsa-ucm-conf                         1.2.9-1              -> 1.2.10-2
 alsa-utils                            1.2.9-1              -> 1.2.10-1
 lib32-alsa-lib                        1.2.9-1              -> 1.2.10-1

The error in dmesg is:

[ +10.066989] BorderlandsPreS[1923]: segfault at 148 ip 00000000f7537229 sp 00000000ffb4f550 error 4 in libasound.so.2.0.0[f751e000+93000] likely on CPU 3 (core 3, socket 0)
[  +0.000013] Code: 93 fc ff ff 8d 74 26 00 90 83 7c 24 08 01 0f 84 15 fd ff ff e9 09 fd ff ff 8d b4 26 00 00 00 00 90 8b 4e 1c 8d 7a ff 8d 6b 24 <8b> 89 0c 01 00 00 85 d7 0f 85 7b 01 00 00 8b 7b 28 31 d2 85 ff 0f

Just to be sure, I did a fresh installation of Steam and the game, and the behaviour is the same.

So I'm absolutely not sure where to report a bug as I am a bit confused of what is happening here. I am NOT running steam-native-runtime so I assume(d) the ('scout'?) Steam Linux Runtime is used, where the libraries should be present, most likely not the same as those installed in the system:

[jh@leviathan ~]$ plocate libasound.so.2 | grep -v "OLD"
/home/twider/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasound.so.2
/home/twider/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasound.so.2.0.0
/home/twider/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libasound.so.2
/home/twider/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
/home/twider/.local/share/Steam/ubuntu12_64/steam-runtime-heavy/usr/lib/x86_64-linux-gnu/libasound.so.2
/home/twider/.local/share/Steam/ubuntu12_64/steam-runtime-heavy/usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
/usr/lib/libasound.so.2
/usr/lib/libasound.so.2.0.0
/usr/lib32/libasound.so.2
/usr/lib32/libasound.so.2.0.0

(plocate's updatedb called just before that)

I thought that Steam Linux Runtime should basically just "talk" to the kernel/system/HW directly and not use (most) libraries installed on the system to achieve binary compatibility with the game's executable.

So I am not sure where to look for a more permanent solution, than downgrading those packages: report an issue against the ArchLinux packages, report an issue against the library, ask Steam for support or dig some more.

Also I am a bit confused by the Steam/Troubleshooting Archlinux wiki page about "Debugging shared libraries". How do I run ldd in the same environment Steam uses to run the game?

BTW These games work even after alsa upgrade: Factorio, Stardew Valley, Terraria and Prison Architect.

I am not using PulseAudio, just ALSA.

#lshw -short

H/W path            Device        Class       Description
=========================================================
                                  system      MS-7C91 (To be filled by O.E.M.)
/0                                bus         MAG B550 TOMAHAWK (MS-7C91)
/0/0                              memory      64KiB BIOS
/0/10                             memory      32GiB System Memory
/0/10/0                           memory      3600 MHz (0.3 ns) [empty]
/0/10/1                           memory      16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 3600 MHz (0.3 ns)
/0/10/2                           memory      3600 MHz (0.3 ns) [empty]
/0/10/3                           memory      16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 3600 MHz (0.3 ns)
/0/13                             memory      384KiB L1 cache
/0/14                             memory      3MiB L2 cache
/0/15                             memory      32MiB L3 cache
/0/16                             processor   AMD Ryzen 5 5600X 6-Core Processor
/0/100                            bridge      Starship/Matisse Root Complex
/0/100/0.2                        generic     Starship/Matisse IOMMU
/0/100/1.1                        bridge      Starship/Matisse GPP Bridge
/0/100/1.1/0        /dev/nvme0    storage     KINGSTON SKC2500M8500G
/0/100/1.1/0/0      hwmon0        disk        NVMe disk
/0/100/1.1/0/2      /dev/ng0n1    disk        NVMe disk
/0/100/1.1/0/1      /dev/nvme0n1  disk        500GB NVMe disk
/0/100/1.1/0/1/1                  volume      58GiB EFI GPT partition
/0/100/1.2                        bridge      Starship/Matisse GPP Bridge
/0/100/1.2/0                      bus         500 Series Chipset USB 3.1 XHCI Controller
/0/100/1.2/0/0      usb1          bus         xHCI Host Controller
/0/100/1.2/0/0/2                  bus         USB2.0 Hub
/0/100/1.2/0/0/5    input14       input       Microsoft Comfort Curve Keyboard 3000
/0/100/1.2/0/0/6    input16       input       Razer Razer Basilisk V3
/0/100/1.2/0/0/8    input19       input       MSI MYSTIC LIGHT
/0/100/1.2/0/1      usb2          bus         xHCI Host Controller
/0/100/1.2/0.1                    storage     500 Series Chipset SATA Controller
/0/100/1.2/0.2                    bridge      500 Series Chipset Switch Upstream Port
/0/100/1.2/0.2/7                  bridge      Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/7/0  enp4s0        network     RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1.2/0.2/9                  bridge      Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/9/0  enp42s0       network     RTL8125 2.5GbE Controller
/0/100/3.1                        bridge      Starship/Matisse GPP Bridge
/0/100/3.1/0                      display     GM204 [GeForce GTX 970]
/0/100/3.1/0.1      card0         multimedia  GM204 High Definition Audio Controller
/0/100/3.1/0.1/0    input3        input       HDA NVidia HDMI/DP,pcm=3
/0/100/3.1/0.1/1    input4        input       HDA NVidia HDMI/DP,pcm=7
/0/100/3.1/0.1/2    input5        input       HDA NVidia HDMI/DP,pcm=8
/0/100/3.1/0.1/3    input6        input       HDA NVidia HDMI/DP,pcm=9
/0/100/7.1                        bridge      Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
/0/100/7.1/0                      generic     Starship/Matisse PCIe Dummy Function
/0/100/8.1                        bridge      Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
/0/100/8.1/0                      generic     Starship/Matisse Reserved SPP
/0/100/8.1/0.1                    generic     Starship/Matisse Cryptographic Coprocessor PSPCPP
/0/100/8.1/0.3                    bus         Matisse USB 3.0 Host Controller
/0/100/8.1/0.3/0    usb3          bus         xHCI Host Controller
/0/100/8.1/0.3/1    usb4          bus         xHCI Host Controller
/0/100/8.1/0.4      card1         multimedia  Starship/Matisse HD Audio Controller
/0/100/8.1/0.4/0    input10       input       HD-Audio Generic Line Out Front
/0/100/8.1/0.4/1    input11       input       HD-Audio Generic Line Out Surround
/0/100/8.1/0.4/2    input12       input       HD-Audio Generic Line Out CLFE
/0/100/8.1/0.4/3    input13       input       HD-Audio Generic Front Headphone
/0/100/8.1/0.4/4    input7        input       HD-Audio Generic Front Mic
/0/100/8.1/0.4/5    input8        input       HD-Audio Generic Rear Mic
/0/100/8.1/0.4/6    input9        input       HD-Audio Generic Line
/0/100/14                         bus         FCH SMBus Controller
/0/100/14.3                       bridge      FCH LPC Bridge
/0/100/14.3/0                     system      System Board
/0/100/14.3/1                     system      Motherboard registers
/0/100/14.3/2                     system      AT Real-Time Clock
/0/100/14.3/3                     system      Motherboard registers
/0/100/14.3/4                     system      Motherboard registers
/0/101                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/102                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/103                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/104                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/105                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/106                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/107                            bridge      Starship/Matisse PCIe Dummy Host Bridge
/0/108                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 0
/0/109                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 1
/0/10a                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 2
/0/10b                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 3
/0/10c                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 4
/0/10d                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 5
/0/10e                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 6
/0/10f                            bridge      Matisse/Vermeer Data Fabric: Device 18h; Function 7
/1                  /dev/fb0      display     EFI VGA
/2                  input0        input       Power Button
/3                  input1        input       Power Button
/4                  input2        input       PC Speaker

Last edited by jan.hradek (2023-09-20 13:51:29)

Offline

#2 2023-09-20 13:50:00

jan.hradek
Member
Registered: 2015-09-14
Posts: 2

Re: [SOLVED] Borderlands The Presequel via Steam crashes after alsa update

It works again after an upgrade of alsa-lib to 1.2.10-2. Apparently it was this bug: [https://bugs.archlinux.org/task/79628]. It affected any 32-bit application.

Offline

Board footer

Powered by FluxBB