Steam error when using nvidia from optimus manager

Im new to manjaro. I installed drivers from the manjaro settings. When i run steam from nvidia of optimus manager i get this error

SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)

Is there a reason you want to go full nvidia instead of hybrid? Maybe hybrid is more ideal for you,everything render on your intel/amd and when you want to game is render on the nvidia,maybe that also can fix that error.

For example to use the nvidia card in hybrid mode,you type prime-run [name of the app]

prime-run steam

But I recommend you go to the game on steam,right click on the game and in the launch options you type

prime-run %command%

,that way the game will automatically use the nvidia card,quit the window and try launching the game,that way the game wil auto the nvidia card automatically.

1 Like

it still gives me the same error tho

Type in the terminal inxi -Fazy and give me your output.

and xrandr --listproviders as well.

apologies for late reply. Here is the output

Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:1616 class-ID: 0300
Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT
vendor: Dell driver: nvidia v: 390.141 alternate: nouveau,nvidia_drm
bus-ID: 08:00.0 chip-ID: 10de:1140 class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-1.5:3 chip-ID: 0c45:670b class-ID: 0e02
Display: x11 server: X.Org 1.20.11 compositor: picom v: git-9cb55 driver:
loaded: modesetting,nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP-1-1 res: 1366x768 hz: 60 dpi: 101 size: 344x194mm (13.5x7.6")
diag: 395mm (15.5")
OpenGL: renderer: GeForce 820M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.141
direct render: Yes


Providers: number : 2
Provider 0: id: 0x279 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x29e cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 1 name:modesetting