Prime-Run Not Found

Hi All,

For the life of me I can’t figure out why prime-run isn’t being found on my device. I have installed:
nvidia-utils
linux69-nvidia
mhwd-nvidia-470xx

mhwd output:

> 0000:01:00.0 (0302:10de:28a0) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
          video-nvidia            2024.05.03               false            PCI
           video-linux            2024.05.06                true            PCI


> 0000:00:02.0 (0300:8086:a7a0) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
           video-linux            2024.05.06                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

inxa -Fza output:

Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Dell driver: i915
    v: kernel alternate: xe arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Dell
    driver: nvidia v: 550.107.02 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-09) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:28a0 class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:2 chip-ID: 0c45:6748
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3456x2160 s-dpi: 96 s-size: 914x571mm (35.98x22.48")
    s-diag: 1078mm (42.43")
  Monitor-1: eDP-1 model: Samsung 0x414d built: 2020 res: 3456x2160 hz: 60
    dpi: 261 gamma: 1.2 size: 336x210mm (13.23x8.27") diag: 396mm (15.6")
    ratio: 16:10 modes: 3456x2160
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: iris
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RPL-P)
    device-ID: 8086:a7a0 memory: 15.15 GiB unified: yes
  API: Vulkan v: 1.3.279 layers: 11 device: 0 type: integrated-gpu
    name: Intel Graphics (RPL-P) driver: mesa intel v: 24.1.6-arch1.1
    device-ID: 8086:a7a0 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: NVIDIA GeForce RTX 4060 Laptop GPU driver: nvidia v: 550.107.02
    device-ID: 10de:28a0 surfaces: xcb,xlib

Think you need nvidia-prime installed?

This does not tell us anything about what is installed or active.
What is

mhwd -li

?

If these are the only ‘nvidia’ related packages installed then you are missing a lot.
Including the definitions for mhwd profiles besides only video-nvidia-470xx.

This will install those … though who knows how you got here and what else may be wrong.

sudo pacman-mirrors -f && sudo pacman -Syu mhwd mhwd-db mhwd-amdgpu mhwd-ati mhwd-nvidia mhwd-nvidia-390xx mhwd-nvidia-470xx

This will (force, re?) install the correct driver profile now that you have the definitions.

sudo mhwd -f -i pci video-hybrid-intel-nvidia-prime
mhwd -li                                                                                                                                                                 INT ✘ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

Running those other commands now. Will report back as soon as it’s done.

sudo mhwd -f -i pci video-hybrid-intel-nvidia-prime                                                                                                               ✔  6m 16s  
> Installing video-hybrid-intel-nvidia-prime...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
warning: nvidia-utils-550.107.02-1 is up to date -- skipping
warning: linux66-nvidia-550.107.02-4 is up to date -- skipping
error: target not found: linux67-nvidia
error: target not found: linux68-nvidia
warning: linux69-nvidia-550.107.02-3 is up to date -- skipping
Error: pacman failed!
Error: script failed!

Ran the first command, worked fine, second command spits out script failed. Prime-Run still not working.

Because you have EOL (end-of-life), or just dead, kernels.
You should remove those.
(make sure to be booted into another working kernel first)
Actually, while we are here … you should do the same with 6.9 because it is EOL too. Its currently still supported in the Stable Branch, but wont be come next update.
Install an LTS like 6.6, and maybe a newer one like 6.10, boot into one and then remove everything having to do with all other kernels.

ex:

sudo pacman -Rns $(pacman -Qsq linux67) $(pacman -Qsq linux68) $(pacman -Qsq linux69)

Then you may resume attempting to install your drivers.

Bingo. Thanks! I removed 66, 67, 68,69, installed 610, re-ran your commands, things seem to be working now. Thanks!

Just so you can laugh a bit - I’ve been playing Resident Evil 2 in Steam…apparently completely on my intel card . . . you’ve changed my gaming experience. THANKS AGAIN.

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