You are not logged in.

#1 2022-02-09 16:49:07

neerkoli
Member
Registered: 2022-02-09
Posts: 15

[SOLVED] Steam reporting wrong GPU when launched through prime-run

Hi, I'm new to Arch. I have an Asus R558UQ laptop with hybrid graphics (Intel HD 620 and GeForce 940MX), so I followed the Nvidia Optimus Prime render offload method as per wiki. I ran one or two games with it and it was properly running on the Nvidia card because I was able to notice the performance improvement.

I recently created a ProtonDB account and they had a requirement to fill out my System Info. I followed the link mentioned there and I copied the data from Steam client --> Help --> System Information and pasted it in ProtonDB. But when they parsed it, the GPU is shown to be Intel HD:

OS: Arch Linux
KERNEL: 5.16.7-arch1-1
CPU: Intel Core i5-7200U @ 2.50GHz
GPU: Intel Mesa Intel HD 620 (KBL GT2)
GPU DRIVER: 4.6 Mesa 21.3.5
RAM: 12 GB

So I ran the Steam client itself through prime-run, but still it was reporting the Intel HD graphics. I wanted to show the proper graphic card that my games will run in the ProtonDB profile, instead of what the Steam client is running on. So my question is why is Steam not choosing the Nvidia graphics when I launched it through prime-run?

In the System Info data of Steam, there is an entry like this:

"architectures" : {
    "i386-linux-gnu" : {
      "can-run" : true,
      "libdl-LIB" : "lib32",
      "libdl-PLATFORM" : "i686",
      "runtime-linker" : {
        "path" : "/lib/ld-linux.so.2",
        "resolved" : "/usr/lib32/ld-2.33.so"
      },
      "library-issues-summary" : [
      ],
      "graphics-details" : {
        "x11/vulkan" : {
          "messages" : [
            "MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0"
          ],
          "renderer" : "Intel(R) HD Graphics 620 (KBL GT2)",
          "version" : "Mesa 21.3.5",
          "devices" : [

And below that there is an entry for the Nvidia card:

"x86_64-linux-gnu" : {
      "can-run" : true,
      "libdl-LIB" : "lib",
      "libdl-PLATFORM" : "haswell",
      "runtime-linker" : {
        "path" : "/lib64/ld-linux-x86-64.so.2",
        "resolved" : "/usr/lib/ld-2.33.so"
      },
      "library-issues-summary" : [
      ],
      "graphics-details" : {
        "x11/vulkan" : {
          "messages" : [
            "MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0"
          ],
          "renderer" : "NVIDIA GeForce 940MX",
          "version" : "510.47.03",
          "devices" : [
            {
              "name" : "NVIDIA GeForce 940MX",

Last edited by neerkoli (2022-02-10 07:17:54)

Offline

#2 2022-02-09 16:58:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] Steam reporting wrong GPU when launched through prime-run

One is the 32bit and the other the 64bit resolver. Is lib32-nvidia-utils installed ? Alternatively just "manipulate" the above output to the same one you have in the lower part, as it's just about properly showing the information on protondb.

Offline

#3 2022-02-10 07:14:14

neerkoli
Member
Registered: 2022-02-09
Posts: 15

Re: [SOLVED] Steam reporting wrong GPU when launched through prime-run

V1del wrote:

One is the 32bit and the other the 64bit resolver. Is lib32-nvidia-utils installed ? Alternatively just "manipulate" the above output to the same one you have in the lower part, as it's just about properly showing the information on protondb.

I hadn't installed lib32-nvidia-utils package, now it is solved. Thank you!

Offline

Board footer

Powered by FluxBB