It now should be working with the nvidia driver and “lsmod | grep nvidia” should show the modules in use.
This is all that should need be done. However, if you are using a laptop and are having issues with the display & external monitor not showing correctly then that seems to be fixed by copying /usr/share/X11/xorg.conf.d/nvidia.conf to /etc/X11/xorg.conf.d/nvidia.conf and once again restarting.
Hi @computersavvy , I did everything you recommend but still does not work is there any way to validate if my graphics card is compatible I have a NVIDIA® GeForce® GTX 1650 With Max-Q Design, 4GB GDDR6 in a notebook MSI Prestige 15 A11SCX.
When I reboot I get the message shown in the following image:
One more thing to look at.
The kernel is protected from out-of-tree unsigned modules when secure boot is enabled.
Check the bios and make sure secure boot is disabled. That may be the only remaining blocker since all the packages are there and the kmod-nvidia package shows it was built by the system for your kernel.
I assume you verified the booted kernel is 5.13.13 as indicated there.
I just did a new install on a system for a friend and saw the same message but after doing a reinstall of all the packages it then loaded the modules and booted with the nvidia drivers. His was a Dell laptop.
That shows the driver is properly loaded.
Please, in the future do a copy and paste of the screen text into code tags. It is usually easier to read for us and it retains the formatting seen on the screen.
Code tags are done as
Your text here
Did you copy the nvidia.conf file as I suggested earlier?
Do you want the nvidia card to be used 100% of the time.
if no, then do nothing else.
if yes, then add 2 lines to the nvidia.conf file in /etc/X11/xorg.conf.d.
Paste the following in both stanzas within that file.
Option "Primary" "yes"
Once done and you have restarted the nvidia gpu will become the primary GPU and the intel IGP will be ignored as long as the nvidia drivers are used.
If you do not make it the primary then you can always use it for specific apps by right clicking on the app icon and choosing to start with discrete gpu.
Hi computersavvy. Thank you very much for your help. New to the community so I am much grateful for receiving your prompt reply.
I might be acting silly but I have convinced myself that I have enabled the non-free repos for 34. I list my repolist as below (I have to say it is a bit spaghetti). Still, I have the error xorg-x11-drv-nvidia 470 is not provided. (kernel had updated)
Hi computersavvy. Sorry, I should have paid more attention to your early post about posting code format.
The reason why I used dnf search is that the package xorg-x11-drv-nvidia does not present in the package manager. This issue persists after I include the non-free-update repo which I believe is the source of the driver.
I spawned a fedora workstation VM, in which the desired driver indeed is listed after porting the repo. So, this looks bizarre to me that I could not fetch the package from my native machine.
In order to verify/debug, I have tried you suggestions to disable unused repors. On top of that I’ve taken the following mitigations
dnf remove rpmfusion-nonfree-release-noarch.
checked it is removed from /etc/yum.repos.d
dnf clean all
manually remove the rpmfusion-nonfree* from /var/cache/dnf
reinstall the nonfree repo
checked /etc/dnf/dnf.conf. Looks normal.
Still, the package is not found. For instance, if I do
yum list xorg-x11-drv-navidia
Error: No matching Packages to list
Whereas in the VM, it shows
yum list xorg-x11-drv-navidia
xorg-x11-drv-nvidia.x86_64 3:470.63.01-3.fc34 rpmfusion-nonfree-updates
My question is, is that possible to prevent dnf from fetching packages?
The major difference between my native machine and the VM is the kernel versions. The former is on 5.13.8, the latter is on 5.13.14. That said, I don’t think the kernel is the culprit for such issue.
You should not have the ** entries on those lines
They should read
Option "Primary" "yes"
**Option "Primary" "yes"**
Also, try using dnf instead of yum.
This should work (use sudo if not doing that as root)
dnf list installed '*nvidia*'
and you can just copy/paste that command into your command line.
Then please post the entire output here.
Remember that conflicting repos can cause problems and your error messages above indicate a modular conflict. You may need to fix that first.
Try doing “dnf clean all” and “dnf update --refresh” before you do anything more with the drivers on your host machine.
Although they can be installed, the VM can never load the nvidia drivers since it only uses a virtual GPU and not a physical one.
Also, I cannot be more detailed in the response since you never post the screen output of the commands used nor the response seen. Without the detailed info it is difficult to guess exactly where your error appears or what it is. The more info you provide the more help is possible.
The display setting there, and the next to last line of your screenfetch post clearly shows the nvidia driver is being used with the GeForce card.
To verify you might open the nvidia settings panel and look but to me that seems the nvidia is the one that is active. I don’t think the nvidia settings panel will open if the GPU is not active. The driver will always be loaded for the intel GPU even when it is not active.