In my nvidia-settings, the PRIME profile shows that NVIDIA graphics card is being used, but in the system setting it's still showing that Intel UHD is being used. Running graphics card in glxgears command also shows that Intel is being used and not the Nvidia one.
nvidia-smi gives an error that it cannot communicate with the device. I have purged and re-installed it completely several times now. I am gone through all most all links I can find about Nvidia and tried everything, nothing seems to work. Help!
Asked
Active
Viewed 1,038 times
0
-
1Disable Secure Boot in BIOS. – Pilot6 Dec 03 '19 at 15:40
-
Awesome! Thanks it worked. – Aayog Koirala Dec 04 '19 at 04:40
2 Answers
1
Ensure you are not logging in using Wayland. At the login screen, click on the little gear icon to select Xorg, for example.
Look also at the last answer (with two upvotes) in: How to enable NVIDIA?

FedKad
- 10,515
-
Did a combination of your solution along with disabling the Secure Boot and it worked. Thanks! – Aayog Koirala Dec 04 '19 at 04:40
0
Try using the mate-optimus tool (https://github.com/ubuntu-mate/mate-optimus), I am using this with gnome session and using it has gotten rid of these problems for me. You don't have to install it from git as it should just be in the normal repos
NOTE: Ubuntu runs a patched version of GDM to make this function properly, it is not (to my knowledge) being carried by upstream Gnome project

stratus
- 599
- 2
- 5