Why nvidia-inst wants to remove nvidia prime?

nvidia-inst                                        
2023-02-22 21:45:24: Info: Running: nvidia-inst v1.13-1
2023-02-22 21:45:24: Info: Command line: nvidia-inst 
2023-02-22 21:45:24: Info: Selected mode: nvidia
NVIDIA card id: 25a0
Fetching driver data from nvidia.com ...
2023-02-22 21:45:27: Info: Removing packages: nvidia-prime
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
    pacman -Rs --noconfirm --noprogressbar --nodeps nvidia-prime
    nvidia-installer-kernel-para nvidia-drm.modeset=1 add
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==> NOTE: running the commands may take several minutes...

Root Contraseña: 

@joekamprad @manuel :face_with_raised_eyebrow:

1 Like

Give option --prime to use prime, otherwise it will uninstall it.

For example, try

nvidia-inst --prime --test
2 Likes

nvidia-inst --prime --test
2023-02-22 23:21:06: Info: Running: nvidia-inst v1.13-1
2023-02-22 23:21:06: Info: Command line: nvidia-inst --prime --test
2023-02-22 23:21:06: Info: Selected mode: prime
NVIDIA card id: 25a0
Fetching driver data from nvidia.com

COMMANDS TO RUN:
    nvidia-installer-kernel-para nvidia-drm.modeset=1 add
1 Like

If that’s what you want, drop the --test option.

1 Like

I’m still curious why it’s requiring nvidia DRM for the nvidia-prime, I was able to use prime-run without it. And why without it nvidia-inst wanted to remove prime.
But ok.
Anyway, I’m fine with DRM enabling, as I understand it’s generally making nvidia GPUs to work better under X11.

1 Like
nvidia-drm.modeset=1

is mainly needed for hybrid graphics to be able to switch, and it is as you say also good if you are not running hybrid system as it is known to be better to load GPU stuff early on boot process.

about why nvidia-inst is going to add nvidia-prime to the removal list:
because if you run it without mentioning prime it assumes you want to not have it and cleans up to bare nvidia driver handling which is the default. same if you add -n to reset to nouveau open-source, it will remove all nvidia packages and set to only have nouveau.

2 Likes

Thanks for the explanation.

2 Likes

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