Steam will not launch

I am running Fedora 36 - XFCE and I installed steam using the DNF command.

When I try to run Steam either via the Applications menu or via CLI it doesn’t launch. I have updated the system and I am running 5.17.6-300.fc36.x86_64.

This is the error I get if I try to launch Steam via CLI:

2022-05-15 10:21:14] Manifest download: waiting for download to finish
[2022-05-15 10:21:14] Manifest download: finished
[2022-05-15 10:21:14] Download skipped: /client/steam_client_ubuntu12 version 1652488014, installed version 1652488014, existing pending version 0
[2022-05-15 10:21:14] Nothing to do
[2022-05-15 10:21:14] Verifying installation...
[2022-05-15 10:21:14] Performing checksum verification of executable files
[2022-05-15 10:21:15] Verification complete
Loaded SDL version 2.0.22-7215337
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
steamwebhelper.sh[22243]: Runtime for steamwebhelper: defaulting to /home/MYUSERNAME/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[22243]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Installing breakpad exception handler for appid(steam)/version(1652488014)
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
Installing breakpad exception handler for appid(steam)/version(1652488014)
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

No minidump written, nothing to upload.
/home/MYUSERNAME/.local/share/Steam/steam.sh: line 794: 22222 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

What is your system specs? Do you have the GPU drivers installed?
I see libGL error: failed to load driver: nouveau

I have NVIDIA Geforce 1050 TI and modinfo -F version nvidia gives me 510.68.02

Do you need the 32 bit version of the libraries/driver for this?

Did you install the nvidia driver as per Howto/NVIDIA - RPM Fusion ? I guess you did. If you edit the latest boot entry you can check for the presence of Howto/NVIDIA - RPM Fusion

(I’ve only installed the Nvidia driver as per that wik article’s steps for my rtx 2060 and dnf Steam doesn’t mention noveau, nothing mentions noveau, I guess the modprobe lines are in the boot entry and would verify stat except I thought copying 1,2TB from one mechanical USB 3 drive to another would take less than 40hrs :slight_smile: )

I installed the 32 bit libs and driver and I removed the nouveau driver. I am out of ideas of what else to do.

I was able to launch it by typing DRI_PRIME=1 steam in CLI. Is there a way to add this to Steam in order to not having to write this every time in CLI for it to run?

Note, in general, that you can also try using/running the Steam flatpak from Flathub. After you have added Flathub as a software/flatpak source, you can also just search and install it from GNOME Software.

I had steam installed and functional on my machine with GTX 1050 Ti when I was running fedora 34.
I just did an update to fedora 36 and it still works.
I installed steam from rpmfusion and it shows this as installed

$ dnf list installed *steam*
Installed Packages
steam.i686                                                      1.0.0.74-2.fc36                                               @rpmfusion-nonfree
steam-devices.i686                                              1.0.0.74-2.fc36                                               @rpmfusion-nonfree

I have this for the nvidia drivers.

$ dnf list installed *nvidia*
Installed Packages
akmod-nvidia.x86_64                                               3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
kmod-nvidia-5.17.4-300.fc36.x86_64.x86_64                         3:510.68.02-1.fc36                          @@commandline                     
kmod-nvidia-5.17.5-300.fc36.x86_64.x86_64                         3:510.68.02-1.fc36                          @@commandline                     
kmod-nvidia-5.17.6-300.fc36.x86_64.x86_64                         3:510.68.02-1.fc36                          @@commandline                     
nvidia-modprobe.x86_64                                            3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
nvidia-persistenced.x86_64                                        3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
nvidia-settings.x86_64                                            3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
nvidia-xconfig.x86_64                                             3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia.x86_64                                        3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-cuda.x86_64                                   3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-cuda-libs.i686                                3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-cuda-libs.x86_64                              3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-devel.x86_64                                  3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-kmodsrc.x86_64                                3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-libs.i686                                     3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-libs.x86_64                                   3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing
xorg-x11-drv-nvidia-power.x86_64                                  3:510.68.02-1.fc36                          @rpmfusion-nonfree-updates-testing

Notice that I have both the nvidia-libs.i686 and nvidia-cuda-libs.i686 installed.

Steam is 32 bit only at present and IIRC it installed the nvidia-libs.i686 package when it was installed.

These are the repos I have installed and active

$ dnf repolist
repo id                                                        repo name
PlexRepo                                                       PlexRepo
fedora                                                         Fedora 36 - x86_64
fedora-cisco-openh264                                          Fedora 36 openh264 (From Cisco) - x86_64
google-chrome                                                  google-chrome
phracek-PyCharm                                                Copr repo for PyCharm owned by phracek
rpmfusion-free                                                 RPM Fusion for Fedora 36 - Free
rpmfusion-free-tainted                                         RPM Fusion for Fedora 36 - Free tainted
rpmfusion-free-updates                                         RPM Fusion for Fedora 36 - Free - Updates
rpmfusion-nonfree                                              RPM Fusion for Fedora 36 - Nonfree
rpmfusion-nonfree-nvidia-driver                                RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                                        RPM Fusion for Fedora 36 - Nonfree - Steam
rpmfusion-nonfree-updates                                      RPM Fusion for Fedora 36 - Nonfree - Updates
updates                                                        Fedora 36 - x86_64 - Updates

After a reboot, Steam still doesn’t launch. It gives me this error:

(steam:3673): Gtk-WARNING **: 15:40:57.216: gtk_disable_setlocale() must be called before gtk_init()
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
Installing breakpad exception handler for appid(steam)/version(1652488014)
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

roaming config store loaded successfully - 242 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 8ms
Installing breakpad exception handler for appid(steam)/version(1652488014)
Failed to init SteamVR because it isn't installed
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
ExecCommandLine: "'/home/MYUSERNAME/.local/share/Steam/ubuntu12_32/steam'"
System startup time: 3.24 seconds
No minidump written, nothing to upload.
/home/MYUSERNAME/.local/share/Steam/steam.sh: line 794:  3673 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

I have the following drivers:

dnf list installed *nvidia*

akmod-nvidia.x86_64                           3:510.68.02-1.fc36      @rpmfusion-nonfree
kmod-nvidia.x86_64                            3:510.68.02-1.fc36      @rpmfusion-nonfree
kmod-nvidia-5.17.6-300.fc36.x86_64.x86_64     3:510.68.02-1.fc36      @@commandline
nvidia-modprobe.x86_64                        3:510.68.02-1.fc36      @rpmfusion-nonfree
nvidia-persistenced.x86_64                    3:510.68.02-1.fc36      @rpmfusion-nonfree
nvidia-settings.x86_64                        3:510.68.02-1.fc36      @rpmfusion-nonfree
nvidia-xconfig.x86_64                         3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64                    3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda.x86_64               3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.i686            3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64          3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-devel.x86_64              3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64            3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.i686                 3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64               3:510.68.02-1.fc36      @rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64              3:510.68.02-1.fc36      @rpmfusion-nonfree

For Steam:

steam.i686                          1.0.0.74-2.fc36                   @rpmfusion-nonfree
steam-devices.i686                  1.0.0.74-2.fc36                   @rpmfusion-nonfree

My repos:

fedora                     Fedora 36 - x86_64
fedora-cisco-openh264      Fedora 36 openh264 (From Cisco) - x86_64
fedora-modular             Fedora Modular 36 - x86_64
rpm.librewolf.net          created by dnf config-manager from https://rpm.librewolf.net
rpmfusion-free             RPM Fusion for Fedora 36 - Free
rpmfusion-free-updates     RPM Fusion for Fedora 36 - Free - Updates
rpmfusion-nonfree          RPM Fusion for Fedora 36 - Nonfree
rpmfusion-nonfree-updates  RPM Fusion for Fedora 36 - Nonfree - Updates
updates                    Fedora 36 - x86_64 - Updates
updates-modular            Fedora Modular 36 - x86_64 - Updates

If I start Steam via the Terminal with DRI_PRIME=1 steam, it works perfectly.

How can I fix this issue?

This package should not be there

kmod-nvidia.x86_64                            3:510.68.02-1.fc36      @rpmfusion-nonfree

If you look there is a kmod-nvidia package that was built specifically for that kernel by the akmod-nvidia package and depending upon which was created/installed first there may very well be conflicts between the provided modules.

You do not have the rpmfusion-nonfree-steam repo enabled, which may contribute to the problem

You can modify the steam.desktop file, it should be under /usr/share/applications
You’ll want to copy that file to /home/$USER/.local/share/applications
Modify the Exec line for steam to:
Exec=env DRI_PRIME=1 /usr/bin/steam %U

I also install steam with sudo dnf install steam, but in my repolist there is available rpmfusion-nonfree-steam and my steam installed from there. Maybe you must uinstalled current steam and re-install from that repo.

You can enable 3rd party repository in software->repository->enable 3rd party repository

sudo dnf update
sudo dnf install steam