I switched to EndeavourOS from Manjaro Linux which had mhwd as a driver manager, in that utility it had the option to install video-hybrid-amd-nvidia-driver-450x-prime which worked perfectly for my laptop. How would I do that same thing on EndeavourOS?
Laptop Asus TUF FX505DT. Kernel 5.10.7-arch1-1 DE Plasma 5.20.5 CPU AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8) @ 2.100GHz GPU NVIDIA GeForce GTX 1650 Mobile / Max-Q
welcome at the purple side of Linux!
We do not have tools from Manjaro here, but we have some wiki to a first read, and a friendly bunch of users will join to help here:
So try that first and if you are stuck or have any question ask we will be happy to help.
I looked into the wiki. Problem is I do not have an AMD dedicated graphics card, it is an nVidia one. I know you do not have the tools from Manjaro, that’s why I said:
Manjaro Linux which had mhwd as a driver manager
you might want to re-read my question, I want to have a hybrid setup that would use integrated Vega IGP for most application but I want to be able to use prime-run to offload to the dedicated nVidia GPU. Thank you for the response!
2021-01-18 18:18:07 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
2021-01-18 18:18:07 [INFO]: Running the installer in testing mode...
2021-01-18 18:18:07 [INFO]: Updating Nvidia graphics cards database...
2021-01-18 18:18:07 [INFO]: nvidia-installer-update-db --tmpdb
Fetching NVIDIA graphics card ids from nvidia.com ...
==> Latest Production Branch Version: found!
==> Latest Legacy GPU version: found!
Adding NVIDIA graphics card ids to a temporary local database.
2021-01-18 18:18:10 [INFO]: Installing nvidia-dkms driver...
2021-01-18 18:18:10 [INFO]: Removing conflicting packages...
2021-01-18 18:18:10 [INFO]: pacman -Rs --noconfirm --noprogressbar --nodeps xf86-video-nouveau
2021-01-18 18:18:10 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
2021-01-18 18:18:10 [INFO]: pacman -Sqy --noconfirm --noprogressbar nvidia-dkms libvdpau nvidia-settings lib32-nvidia-utils lib32-libvdpau
2021-01-18 18:18:10 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-01-18 18:18:10 [INFO]: Installation finished. Nothing has been modified as testing mode was ON.
Looks like it should work, I did this before installing it initially too. I know for a fact that when I was using Manjaro Linux, it was also pulling nvidia-prime as part of the video-hybrid-amd-nvidia-driver-450x-prime driver.
This is where it gets stuck. Also, I do not think installing optimus-manager will work, because afaik this laptop is not considered an optimus laptop. The way it works as far as I got it is that it starts by using the IGP then offloads to the dedicated GPU, this being called “AMD switchable graphics”. I recall asking a dev of optimus-manager if I remember correctly, and he told me it does not support AMD-nVidia configurations, only Intel-nVidia or Intel-AMD.
I mean, I saw most “solutions” had a step that requires the user to remove that file anyway, so it might not, I really do not know. Manjaro was doing this for me so now I am left in the dark.
Well I would try the setup that i posted the link to above. Just to see as he is using two files one for the amd and one for the nvidia. Don’t give up too easily.
I’m not sure why but if you don’t try it i guess you won’t know.
Edit: This is the explanation i see.
The main difference is that Device sections are used for static configuration (e.g. “here’s the configuration for a specific piece of hardware”) while the *Class sections are used for dynamic configuration (e.g. "here’s the configuration for any device that has these properties).