Nvidia card doesn't want to be used?

I did ask a similar question before but that was for a different laptop with an AMD GPU.

Hello, I have an ASUS TUF GAMING F15 laptop, which has an NVIDIA GeForce RTX 3050 Mobile, and a 12th Gen Intel i5.

I cannot get any apps to use or recognize my GPU. It shows up in neofetch, but any app like vkcube, steam, nvtop and even the Nvidia X server settings app doesn't work!! They all just use the integrated GPU and Nvidia settings doesnt even show any settings for my card.

I've tried running apps with the __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia environment variables,
I've tried changing the driver in the sofware updater,
I've tried installing the nvidia-driver-535 and nvidia-dkms-535 packages,
I've tried these in both Xorg and Wayland,
and I've tried disabling secure boot. (the options greyed out in my bios if anyone knows how to please tell me)

Also, when I installed Zorin I used the modern Nvida graphics option.

any help is appreciated, I had the same problem with my previous laptop so i'm just tired of dealing with this.

First: Is Your System running in Wayland or Xorg? To check that, go to Settings>About and there look for a Line called ''Window Manager'' or ''Display Manager'' or similar and check if there stands Wayland or X11. If there stands Wayland, try it with switching to X11.

To do that, go to the Login Screen (not the Lock Screen). Simply reboot Your System and when You are on the Login Screen click on Your Profile so that the Password Field appears. It has to be appeared. When it is appeared, You should see in the bottom right Corner a Gear Icon. Click on it and choose the Option ''Zorin Desktop on Yorg'' and log in.

Another Thing to try: Type in the Terminal sudo prime-select nvidia to set Your Nvidia Graphics to default. But do set up Xorg as default before like I wrote above.

You can check if Your Nvidia Card is detected with the Command nvidia-smi

:point_down:

:sunglasses:


hello, I have these issues in xorg and wayland, running sudo prime-select nvidia doesn't do anything for some reason, and nvidia-smi returnsNVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. I have the driver installed though, i double checked.

i have done this. when i installed zorin i selected modern nvidia drivers, and i double checked the menu.

So, You have installed Zorin directly with Nvidia Drivers ... Okay, I have an Idea. You could try the Following:

  1. Uninstall the Nvidia Drivers with the Terminal Command:
sudo apt purge nvidia* libnividia*
  1. Make a sudo apt autoremove to remove the Rests of the Uninstallation. But please look what will be removed.

  2. Install the Nvidia Driver again with the Command:

sudo apt install nvidia-driver-550

Instead of the 550 Driver, You could try it with the 545 Driver or the 535 Driver, too. then simply repeat the Steps above. And please stay on Xorg, not on Wayland.

that worked! tysm

1 Like