Outlast and ETS2 not using NVIDIA GPU

Hello everybody.
I have been using/trying to use EndeavorOS for a while. As I mentioned in the title, I have gpu problems in these 2 games that I have tried. Nvidia GPU does not work during the game. GPU usage is 0%. However, in Counter Strike2, Farming Simulator22(Heroic Games Launcher), Fall Guys(steam), GPU works normally. I have no problems. I know that Outlast and ETS2 are native in Linux. I think there should be no problems, but I couldn’t make sense of it. I completely uninstalled NVIDIA drivers and reinstalled them with nvidia-inst, nothing changed.
Device: Gaming Laptop

[mrbcksz@ABRA ~]$ inxi -G
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia
    v: 555.58.02
  Device-3: Chicony HD Webcam driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.1
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915,nvidia resolution: 1600x900
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.4-arch1.2
    renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
  API: Vulkan v: 1.3.279 drivers: nvidia,intel surfaces: xcb,xlib,wayland
[mrbcksz@ABRA ~]$ neofetch
                     ./o.                  mrbcksz@ABRA 
                   ./sssso-                ------------ 
                 `:osssssss+-              OS: EndeavourOS Linux x86_64 
               `:+sssssssssso/.            Host: ABRA A5 V15.2 Standard 
             `-/ossssssssssssso/.          Kernel: 6.6.40-1-lts 
           `-/+sssssssssssssssso+:`        Uptime: 52 mins 
         `-:/+sssssssssssssssssso+/.       Packages: 1255 (pacman) 
       `.://osssssssssssssssssssso++-      Shell: bash 5.2.26 
      .://+ssssssssssssssssssssssso++:     Resolution: 1920x1080 
    .:///ossssssssssssssssssssssssso++:    DE: Plasma 6.1.3 
  `:////ssssssssssssssssssssssssssso+++.   WM: kwin 
`-////+ssssssssssssssssssssssssssso++++-   Theme: Breeze-Dark [GTK2], Breeze [GTK3] 
 `..-+oosssssssssssssssssssssssso+++++/`   Icons: breeze-dark [GTK2/3] 
   ./++++++++++++++++++++++++++++++/:.     Terminal: konsole 
  `:::::::::::::::::::::::::------``       CPU: Intel i7-9750H (12) @ 4.500GHz 
                                           GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q 
                                           GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630] 
                                           Memory: 5830MiB / 15848MiB

I am relatively new to GNU Linux systems. Please excuse me.

Install nvidia-prime and:

  • try to open up Steam with prime-run steam OR
  • use this launch option for the games on Steam:
    __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

I tried both ways and got the same performance. FPS is indeed back to normal. But ETS2 has problems. Random screen flashes and blackouts, also strange color shifts and sometimes fps drops. Outlast has no problems at all.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.