Nvidia GPU not being recognized in Steam

Hi,
I’m a linux newbie who just installed Manjaro on a Zephyrus G15. The laptop has both an AM iGPU as well as a discrete Nvidia rtx 3070. I downloaded the ‘non-free’ drivers (video-hybrid-amd-nvidia-prime).

I tried playing Resident Evil Village via Steam (used Proton GE). As per the Proton website it’s compatibility is Gold and it should work ok. However, it doesn’t start on my pc. Is this because of a graphics card issue?

The Nvidia GPU doesn’t show up in the Steam hardware info:

Welcome to the forum! :wave:

Please post your system info as outlined here:

Looks like you forgot something. :wink:

Your using a laptop so to make steam run on your dedicated gpu you need to use prime-run. There’s plenty of guides on steam/optimus laptops but the easiest option is to launch all your games through lutris and just toggle prime render offload to on

Right now Proton doesn’t have the feature to use your NVIDIA card automatically yet,so you need to tell the game to use the NVIDIA card as right now is using your AMD card,to do this right click on the game on steam and in the launch options type

prime-run %command%

Close the window and start the game,the game should now use your NVIDIA card.

Thanks! This is my inxi output:

System:
  Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=204b0052-8066-40da-86a7-9d5ae9fa51de rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G15 GA503QR_GA503QR 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: GA503QR v: 1.0 serial: <filter> 
  UEFI: American Megatrends LLC. v: GA503QR.404 date: 02/08/2021 
Battery:
  ID-1: BAT0 charge: 55.7 Wh (59.9%) condition: 93.0/90.0 Wh (103.3%) 
  volts: 15.9 min: 15.9 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
  status: Not charging 
Memory:
  RAM: total: 15.13 GiB used: 9.15 GiB (60.5%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: AMD Ryzen 9 5900HS with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen 3 family: 19 (25) model-id: 50 (80) stepping: 0 
  microcode: A50000B cache: L2: 4 MiB bogomips: 105455 
  Speed: 1397 MHz min/max: 1200/3300 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1198 4: 1197 5: 1197 6: 1197 7: 1197 8: 1197 9: 1197 
  10: 1197 11: 1197 12: 1197 13: 1197 14: 1197 15: 1198 16: 1198 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c 
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs 
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor 
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw 
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core 
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rdpid rdpru 
  rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd 
  sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce 
  topoext tsc tsc_scale umip v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall 
  vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  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 AMD retpoline, IBPB: conditional, IBRS_FW, 
  STIBP: always-on, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: ASUSTeK 
  driver: nvidia v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:249d class-ID: 0300 
  Device-2: AMD vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 07:00.0 
  chip-ID: 1002:1638 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati,nvidia unloaded: modesetting,nouveau 
  alternate: fbdev,nv,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") 
  s-diag: 777mm (30.6") 
  Monitor-1: eDP res: 2560x1440 hz: 165 dpi: 189 size: 344x193mm (13.5x7.6") 
  diag: 394mm (15.5") 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.42-1-MANJARO LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 07:00.1 
  chip-ID: 1002:1637 class-ID: 0403 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK 
  driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 07:00.5 
  chip-ID: 1022:15e2 class-ID: 0480 
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus-ID: 03:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp3s0 state: down mac: <filter> 
  Device-2: MEDIATEK vendor: AzureWave driver: N/A port: d000 bus-ID: 04:00.0 
  chip-ID: 14c3:7961 class-ID: 0280 
  Device-3: Ralink RT5572 Wireless Adapter type: USB driver: rt2800usb 
  bus-ID: 1-1.4:8 chip-ID: 148f:5572 class-ID: 0000 serial: <filter> 
  IF: wlp7s0f3u1u4 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB 
  driver: btusb v: 0.8 bus-ID: 1-1.2:6 chip-ID: 0a12:0001 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends 
  Device-2: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8 
  bus-ID: 1-4:7 chip-ID: 13d3:3563 class-ID: e001 serial: <filter> 
  Report: ID: hci1 rfk-id: 1 state: up address: N/A 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 1.84 TiB used: 87.92 GiB (4.7%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 1TB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: RKT401.2 temp: 51.9 C 
  scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: SK Hynix model: HFM001TD3JX013N 
  size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: 41000C20 temp: 44.9 C 
  scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) 
  used: 87.92 GiB (9.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: 204b0052-8066-40da-86a7-9d5ae9fa51de 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 300 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: 269A-4A04 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme1n1p1 maj-min: 259:4 size: 260 MiB fs: <superuser required> 
  label: SYSTEM uuid: 1AA3-CC69 
  ID-2: /dev/nvme1n1p2 maj-min: 259:5 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-3: /dev/nvme1n1p3 maj-min: 259:6 size: 933.27 GiB 
  fs: <superuser required> label: N/A uuid: N/A 
  ID-4: /dev/nvme1n1p4 maj-min: 259:7 size: 650 MiB fs: <superuser required> 
  label: RECOVERY uuid: 2280B90380B8DE8B 
  ID-5: /dev/nvme1n1p5 maj-min: 259:8 size: 19.5 GiB fs: <superuser required> 
  label: RESTORE uuid: 160C12270C120283 
  ID-6: /dev/nvme1n1p6 maj-min: 259:9 size: 200 MiB fs: <superuser required> 
  label: MYASUS uuid: 0812-407F 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Hitachi ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip-ID: 045b:0209 class-ID: 0900 
  Hub-3: 1-1.1:4 info: Hitachi ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip-ID: 045b:0209 class-ID: 0900 
  Device-1: 1-1.2:6 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 0a12:0001 class-ID: e001 
  Device-2: 1-1.4:8 info: Ralink RT5572 Wireless Adapter type: Network 
  driver: rt2800usb interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 450mA 
  chip-ID: 148f:5572 class-ID: 0000 serial: <filter> 
  Device-3: 1-2:3 info: Logitech G502 Mouse type: Mouse,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 300mA chip-ID: 046d:c07d class-ID: 0300 serial: <filter> 
  Device-4: 1-3:5 info: ASUSTek N-KEY Device type: Keyboard 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 0b05:19b6 class-ID: 0301 
  Device-5: 1-4:7 info: IMC Networks Wireless_Device type: Bluetooth 
  driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA 
  chip-ID: 13d3:3563 class-ID: e001 serial: <filter> 
  Hub-4: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 2-1:2 info: Hitachi ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 045b:0210 class-ID: 0900 
  Hub-6: 2-1.1:3 info: Hitachi ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 045b:0210 class-ID: 0900 
  Hub-7: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-3:2 info: Shenzhen Goodix FingerPrint type: <vendor specific> 
  driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 27c6:521d class-ID: ff00 
  Hub-8: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A gpu: amdgpu temp: 51.0 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 383 Uptime: 22h 13m wakeups: 5 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1279 lib: 387 
  flatpak: 0 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.04 

Have you tried that?