Steam does not see GPU

OK, I have not gotten any results yet from my earlier post regarding this matter, and this thread has been inactive for almost a month.

In the mean time I have moved from GNOME to KDE. I am however still having the same problem. Steam just doesn’t notice my GPU.
I installed sudo mhwd -i pci video-hybrid-intel-nvidia-450xx-prime, sudo mhwd -i pci video-modesetting in terminal and gdm-prime in pamac.

I start Steam from Lutris with these settings:

Steam - System Information (copied the graphic part):

Video Card:
    Driver:  Intel Mesa Intel(R) UHD Graphics 630 (CFL GT2)
    Driver Version:  4.6 (Compatibility Profile) Mesa 20.1.7
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x1c8d
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  2
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 13.54" x 7.60" (15.51" diag)
                                            34.4cm x 19.3cm (39.4cm diag)
    Primary VRAM Not Detected

Now my GPU works fine, I have used CatBoost with Anaconda, and that fires up the GPU just fine (no heavy usage though).

nvidia-smi and nvidia-settings works just fine, only steam that is buggy.

inxi F-azy
[olividir@HP ~]$ inxi -Fzay
System:
  Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=f90c1ec5-7cd7-47fb-bf4b-d2eb2320d764 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.0 wm: kwin_x11 dm: GDM 3.36.3, SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-cx0xxx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 8478 v: 70.57 serial: <filter> UEFI: Insyde v: F.22 
  date: 04/21/2020 
Battery:
  ID-1: BAT1 charge: 36.0 Wh condition: 38.0/52.8 Wh (72%) volts: 12.8/11.6 
  model: Hewlett-Packard PABAS0241231 type: Li-ion serial: <filter> 
  status: Unknown 
CPU:
  Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: A (10) microcode: D6 
  L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 36812 
  Speed: 3404 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 3404 2: 2578 
  3: 3740 4: 1737 5: 1781 6: 1669 7: 2019 8: 2085 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard 
  driver: nvidia v: 450.66 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1c8d 
  Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD 
  Integrated Webcam 
  type: USB driver: uvcvideo bus ID: 1-5:5 chip ID: 05c8:03bc 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 
  driver: modesetting,nvidia unloaded: intel,nouveau alternate: fbdev,nv,vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") 
  diag: 394mm (15.5") 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.7 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci 
  bus ID: 00:1f.3 chip ID: 8086:a348 
  Sound Server: ALSA v: k5.8.6-1-MANJARO 
Network:
  Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  vendor: Hewlett-Packard driver: rtw_8822be v: N/A modules: rtw88_8822be 
  port: 4000 bus ID: 02:00.0 chip ID: 10ec:b822 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 05:00.0 
  chip ID: 10ec:8168 
  IF: eno1 state: down mac: <filter> 
Drives:
  Local Storage: total: 1.60 TiB used: 282.21 GiB (17.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-000H1 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: CXB73H1Q scheme: GPT 
  ID-2: /dev/sda type: USB vendor: Toshiba model: External USB 3.0 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B serial: <filter> 
  rev: 5438 scheme: MBR 
  ID-3: /dev/sdb type: USB vendor: Western Digital model: WD My Passport 0740 
  size: 465.73 GiB block size: physical: 512 B logical: 512 B serial: <filter> 
  rev: 1007 scheme: GPT 
Partition:
  ID-1: / raw size: 238.17 GiB size: 233.43 GiB (98.01%) 
  used: 64.92 GiB (27.8%) fs: ext4 dev: /dev/nvme0n1p2 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 55.0 C mobo: 29.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 286 Uptime: 2h 20m Memory: 15.53 GiB used: 4.05 GiB (26.1%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 alt: 9 clang: 10.0.1 
  Packages: 1366 pacman: 1343 lib: 371 flatpak: 13 snap: 10 Shell: Bash 
  v: 5.0.18 running in: konsole inxi: 3.1.05 

I have not been able to use GPU in games after I started using nvidia450xx driver. Was getting fine performance with prime-run %command% with nvidia440xx driver.

[olividir@HP ~]$ inxi -G
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 450.66 
           Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Integrated 
           Webcam 
           type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia 
           unloaded: intel,nouveau resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.7 

Maybe it is possible to make nvidia as device-1??? (prime-select does not work) Laptop is always plugged in, so I am not worried about battery life.

So confused… why are you using Lutris to launch Steam? Why not just use the native version of Steam?

2 Likes

In the old thread it was suggested to me.

But the problem persist, no matter how I start steam

That description with the chaotic info provided made my head hurt. You have mixed Lutris which runs Steam which doesn’t run prime which doesn’t know if it uses the GPU which doesn’t run games, because… old thread and nvidia device-1. Also please don’t post the same thing 3 times in wrong categories in a day, but take things from the start and decide first what your real problem is. Is it Lutris, is it prime, is it driver, is it Optimus method or is it Steam? And if so back it up with all the info needed, not random stuff thrown here and there for the sake of it.

I would suggest since you said your laptop is always plugged in to

a) forget everything
b) revert everything to default (/was: undo everything)
c) use Optimus-Manager which imo is the most straight-forward solution for those cases and switch permanently to the Nvidia GPU with the --switch
d) run Steam games from inside Steam
e) run other non-Steam games through Lutris.

When providing info about GPU and Optimus-laptop always include:
inxi -Fazy (as you did)
mhwd-l and mhwd-li
your Optimus-laptop method logs, it’s service status and your DM’s status and config.

1 Like

Sorry about how the post is build up. I shall try to make it better.

I actually didn’t remember optimus-manager… will work on that and see if that doesn’t work.

I usually run steam from inside of steam, like I said, this was a suggestion (an answer if you like) from the old post, and I figured “why not try it”.

Regarding mhwd -l and mhwd -li I was looking for it the correct command, didn’t find it.

[olividir@HP ~]$ mhwd -l 
> 0000:01:00.0 (0300:10de:1c8d) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-450xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2019.10.25               false            PCI
    video-nvidia-450xx            2019.10.25               false            PCI
    video-nvidia-440xx            2019.10.25               false            PCI
    video-nvidia-435xx            2019.10.25               false            PCI
    video-nvidia-430xx            2019.10.25               false            PCI
    video-nvidia-418xx            2019.10.25               false            PCI
    video-nvidia-390xx            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-450xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI
[olividir@HP ~]$ mhwd -li 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-intel-nvidia-450xx-prime            2019.10.25               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

Have installed optimus-manager the correct way (delete files before install etc). Have rebooted, set nvidia as GPU, run steam natively, and GPU is still not detected by steam.

Games won’t launch but that is a different problem.

[olividir@HP ~]$ mhwd -l
> 0000:01:00.0 (0300:10de:1c8d) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-450xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2019.10.25               false            PCI
    video-nvidia-450xx            2019.10.25               false            PCI
    video-nvidia-440xx            2019.10.25               false            PCI
    video-nvidia-435xx            2019.10.25               false            PCI
    video-nvidia-430xx            2019.10.25               false            PCI
    video-nvidia-418xx            2019.10.25               false            PCI
    video-nvidia-390xx            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-450xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2019.10.25               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.10.25               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI
[olividir@HP ~]$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-intel-nvidia-450xx-prime            2019.10.25               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

It is late, tomorrow is a better day.

I use a Nvidia Geforce 940MX in my notebook. I simply type prime-run COMMAND to run anything i want with my nvidia graphic card, and it’s the same on steam (you can type prime-run %command%)

I don’t know how i can help you here because i’m a little bit noob yet haha, but you can ask me to run commands and print my output here

I also use driver video-hybrid-intel-nvidia-440xx-prime and i also have video-linux activated for nvidia graphic card

For my HD Graphics 620, i have activated video-linux , video-modesetting and video-vesa

When i type mhwd -li, it appears (different from your output):

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI


Warning: No installed USB configs!

inxi -G:

[pedroegg@Manjaro-Egg crda-3.18]$ inxi -G
Graphics:  Device-1: Intel HD Graphics 620 driver: i915 v: kernel 
           Device-2: NVIDIA GM107 [GeForce 940MX] driver: nvidia v: 440.100 
           Device-3: Chicony HD WebCam type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.1.7

inxi -Fazy:

System:
  Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=1928fcc4-df84-4c74-a8e6-1cc8f9e17568 rw loglevel=3 quiet 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Acer product: Aspire F5-573G v: V1.25 serial: <filter> 
  Mobo: Acer model: Captain_SK v: V1.25 serial: <filter> UEFI [Legacy]: Insyde 
  v: 1.25 date: 03/03/2017 
Battery:
  ID-1: BAT1 charge: 17.3 Wh condition: 17.3/41.4 Wh (42%) volts: 16.9/14.8 
  model: PANASONIC AS16A5K type: Li-ion serial: <filter> status: Full 
CPU:
  Topology: Dual Core model: Intel Core i5-7200U bits: 64 type: MT MCP 
  arch: Amber Lake family: 6 model-id: 8E (142) stepping: 9 microcode: D6 
  L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 21607 
  Speed: 800 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Acer Incorporated ALI driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:5916 
  Device-2: NVIDIA GM107 [GeForce 940MX] vendor: Acer Incorporated ALI 
  driver: nvidia v: 440.100 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:179c 
  Device-3: Chicony HD WebCam type: USB driver: uvcvideo bus ID: 1-7:4 
  chip ID: 04f2:b573 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 
  driver: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa 
  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 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6") 
  diag: 394mm (15.5") 
  OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.1.7 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus ID: 00:1f.3 
  chip ID: 8086:9d71 
  Sound Server: ALSA v: k5.4.64-1-MANJARO 
Network:
  Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter 
  vendor: Lite-On driver: ath9k v: kernel port: 4000 bus ID: 03:00.0 
  chip ID: 168c:0036 
  IF: wlp3s0 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000 
  bus ID: 04:00.1 chip ID: 10ec:8168 
  IF: enp4s0f1 state: up speed: 100 Mbps duplex: full mac: <filter> 
  Device-3: Lite-On Qualcomm Atheros Bluetooth type: USB driver: btusb 
  bus ID: 1-5:5 chip ID: 04ca:3014 
Drives:
  Local Storage: total: 931.51 GiB used: 225.65 GiB (24.2%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-22JC3T0 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: GPT 
Partition:
  ID-1: / raw size: 112.25 GiB size: 109.99 GiB (97.98%) 
  used: 65.71 GiB (59.7%) fs: ext4 dev: /dev/sda5 
  ID-2: /home raw size: 204.95 GiB size: 201.48 GiB (98.31%) 
  used: 159.95 GiB (79.4%) fs: ext4 dev: /dev/sda7 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 244 Uptime: 15h 04m Memory: 7.65 GiB used: 4.52 GiB (59.1%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 clang: 10.0.1 Packages: 1596 
  pacman: 1576 lib: 486 flatpak: 6 snap: 14 Shell: Bash v: 5.0.18 
  running in: konsole inxi: 3.1.05

That is the difference, I am using nvidia 450xx driver, not 440xx. I used your setup until the 450xx driver came about. The comand prime-run %command% does not seem to work with nvidia450 driver.

Thanks anyway.

I just learned that Optimus does not switch to my GPU. I have logged out twice now, and the switch is still pending.

I will go through installation better and see if I messed up somewhere.

@tuxmanjarino It was the optimus-manager that was missing. Got GPU working on steam now. Thanks for the help, ans sorry for weird post.

1 Like

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