Ok, I finally solved it. This is how I did it:
(1) echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor(2) export STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 (This is important, you have to set that environment to 1)
(3) LD_PRELOAD='/usr/$LIB/libpulse.so.0 /usr/$LIB/libpulse-simple.so.0 '${LD_PRELOAD}
(4) steam&
(5) Start Rise of the Tomb Raider
Believe it or not after a lot of digging on the internet, at least in my case fedora the issue is that there is no executable pulseaudio available, it happens on modern systems that use pipewire (see https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/562).
Summmary:
- Check if there is a executable pulseaudio in the path
- if not then:
touch /usr/local/bin/pulseaudio
chmod 755 /usr/local/bin/pulseaudio
Edit the file /usr/local/bin/pulseaudio and write (yes it does nothing):
#!/bin/sh
exit 0
And done, the game starts.
Summmary:
- Check if there is a executable pulseaudio in the path
- if not then:
touch /usr/local/bin/pulseaudio
chmod 755 /usr/local/bin/pulseaudio
Edit the file /usr/local/bin/pulseaudio and write (yes it does nothing):
#!/bin/sh
exit 0
And done, the game starts.
systemctl --user unmask pulseaudio
Disable the pipewire-pulse service:
systemctl --user --now disable pipewire-pulse
Re-enable the PulseAudio services:
systemctl --user --now enable pulseaudio.service pulseaudio.socket
Brak komentarzy:
Prześlij komentarz