Doom (2016) (Steam) vulkan and video-hybrid-amd-nvidia-prime

Hi,

Hoping someone has/knows the magic sauce needed. Basically ever other game works just fine but on my system I cannot get Doom 2016 to run on my nvidia 4060ti in vulkan mode. It always defaults to RADV. If I force it to openGL, it runs fine, but I have to set change the setting every startup. I dug around a bit elsewhere and could not find a soution for this, other than to just run pure nvidia instead of hybrid mode like this. Tho I’d really like to let the AMD APU just manage the desktop. Its helped a bit on performance with other things like Starfield where its a bit more VRAM intensive and the 4060 only has 8G of vram to have the extra ram available to games. What am I missing here?

System:
  Host: fury-ryzen Kernel: 6.1.53-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.8 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI) v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 4403
    date: 04/27/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 3378 min/max: 1400/4672 cores: 1: 2996 2: 2998 3: 3800
    4: 3800 5: 2994 6: 3800 7: 2998 8: 2998 9: 2999 10: 3800 11: 2999 12: 3800
    13: 3800 14: 3471 15: 3800 16: 2997
Graphics:
  Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti] driver: nvidia v: 535.43.10
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0 driver: X:
    loaded: modesetting,nvidia dri: radeonsi gpu: amdgpu resolution:
    1: 1920x1080 2: 1680x1050~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms: gbm
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: amd mesa v: 23.1.7-1
    renderer: AMD Radeon Graphics (renoir LLVM 16.0.6 DRM 3.49
    6.1.53-1-MANJARO)
  API: Vulkan v: 1.3.264 drivers: radv,nvidia surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA driver: snd_hda_intel
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Device-4: ASUSTek Xonar SoundCard driver: hid-generic,snd-usb-audio,usbhid
    type: USB
  Device-5: SteelSeries ApS Arctis Nova 7X
    driver: hid-generic,snd-usb-audio,usbhid type: USB
  Device-6: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  API: ALSA v: k6.1.53-1-MANJARO status: kernel-api
  Server-1: PipeWire v: 0.3.80 status: active
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi
  IF: wlp6s0 state: down mac: f6:17:c2:0a:ab:5c
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: f0:2f:74:ce:df:9b
  IF-ID-1: br0 state: up speed: 1000 Mbps duplex: unknown
    mac: 36:14:48:e5:62:2f
  IF-ID-2: virbr0 state: down mac: 52:54:00:0b:c2:f3
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: 94:E7:0B:D4:BC:36 bt-v: 5.1
Drives:
  Local Storage: total: 16.37 TiB used: 6.52 TiB (39.8%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P5PSSD8 size: 1.82 TiB
  ID-2: /dev/nvme1n1 vendor: Crucial model: CT4000P3PSSD8 size: 3.64 TiB
  ID-3: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
  ID-4: /dev/sdb vendor: Seagate model: ST31000524AS size: 931.51 GiB
    type: USB
  ID-5: /dev/sdc vendor: Western Digital model: WD101EDBZ-11B1DA0
    size: 9.1 TiB type: USB
Partition:
  ID-1: / size: 98.73 GiB used: 76.57 GiB (77.6%) fs: ext4 dev: /dev/nvme1n1p4
  ID-2: /boot/efi size: 96 MiB used: 33.4 MiB (34.8%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 3.39 TiB used: 763.81 GiB (22.0%) fs: ext4
    dev: /dev/nvme1n1p5
Swap:
  ID-1: swap-1 type: zram size: 13.6 GiB used: 1.88 GiB (13.8%)
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 55.9 C mobo: 41.0 C gpu: amdgpu temp: 42.0 C
  Fan Speeds (rpm): fan-1: 1219 fan-2: 978 fan-3: 1140 fan-4: 1162
    fan-5: 2818 fan-6: 0 fan-7: 0
Info:
  Processes: 459 Uptime: 1d 32m Memory: total: 28 GiB note: est.
  available: 27.2 GiB used: 11.62 GiB (42.7%) Shell: Bash inxi: 3.3.30
0000:0c:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:

--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:01:00.0 (0300:10de:2803) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
          video-nvidia            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

-f

So …
Are you using prime-run ?

And what is this from? showing everything available? (thats not helpful on its own)

I have tried with both prime-run and without it to no avail.

This is my present steam command line:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command% +com_skipIntroVideo 1 +set m_smooth 0 +com_skipKeyPressOnLoadScreens 1

When I had prime-run it preceeded the %command%

This is the same as prime-run, minus the GLX env var;

To clear up the mhwd bit please return
mhwd -li

That is from mwhd --list.

and I want list installed…

Doh,

Sorry,

here is mwhd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI

I just went back to running pure nvidia since this is probably more of a Doom issue than manjaro. Naturally it just works fine on nvidia drivers only and vulkan.

-f