protonscr

[Optimus Manager] Steam doesn't launch on NVIDIA GPU

steamopen NVIDIA driversSteam clientDistro Family: Arch
ValveSoftware/steam-for-linux#7749 · opened 2021-04-12 by hohenheim1618 · updated 2022-09-01 · 3 comments · github
Hhohenheim1618 2021-04-12 github

Your system information

  • Steam client version (build number or date): steam-manjaro 1.0.0.69-1
  • Distribution (e.g. Ubuntu): Manjaro x86_64 (XFCE 4.16, Linux Kernel 5.11.10)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

  • Context: Optimus Manager is installed on my machine, and is running on NVIDIA-only mode.

  • Expected: Steam should launch in NVIDIA-only mode.

  • Actual: Steam doesn't launch. Trying to launch it via terminal leads to this output. Meanwhile, Steam does open as intended after switching out of NVIDIA and back into Integrated (i.e. Intel-only) mode.

What I've already tried: I've installed lib32-nvidia-utils in case this was caused by missing utils, but the issue persists.

Steps for reproducing this issue:

  1. Install Optimus-Manager on a Manjaro machine running both an Intel & NVIDIA graphics card (in this case, Intel Haswell-ULT and NVIDIA GeForce GT 740M)
  2. Switch to NVIDIA GPU by typing optimus-manager --switch nvidia on the terminal. Log back in after the auto logout.
  3. Try launching Steam by typing steam on the terminal.
Kkisak-valve maintainer 2021-04-12 github

Hello @hohenheim1618, in the failing configuration, does any 32 bit OpenGL application like glxinfo32 from lib32-mesa-demos work?

Hhackerncoder 2021-04-15 github

I have a similar issue and running glxinfo32 returns:

name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  152 (GLX)
Minor opcode of failed request:  24 (X_GLXCreateNewContext)
Value in failed request:  0x0
Serial number of failed request:  110
Current serial number in output stream:  111

Edit: Wouldn't you know it, I just updated nvidia(-dkms), nvidia-utils and opencl-nvida, suddenly everything works.

PPixsaOJ 2022-09-01 github

But I have the same problem. This is from 2021, and many similar issues were reported after. I am on Manjaro Gnome, same everything else.

Nothing extracted yet.