GPU not being used?
Hi, I have an Nvidia GPU (GTX 980) and no integrated GPU (i7 5820k). Somehow my system has begun using only the CPU to render 3D.
I've tested with the fire command, Blender 2.80 and Quake 2. All of them run at low FPS and the CPU utilization spikes to around 80-90%.
I have the Nvidia LTS drivers to go along with the LTS kernel and all three monitors work at full resolution. I've updated and rebooted as well as recreating my xorg and xinit files. I can't use the non LTS kernel due to KVM instability which corrupted several of my virtual machines.
Has anyone seen this before? The only posts I can find are related to people who have an IGPU and a DGPU. If it's worth noting, I do have a secondary GPU (a GTX 980 ti) blacklisted to use for VFIO. Thank you for your help.
Quick edit: even Doom runs very slowly in the menus. Final edit: Installing the Nvidia DKMS package fixed it. Must have been something to do with my recent kernel update.
Edited 28 Sep 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 25 · 100% up
- Kind
- Text
- ID
- dabmib
17 comments
This is because you are using llvmpipe (software rasterizer), which is what you are stuck with for an OpenGL implementation if your current driver does not provide one.
If you never installed the
nvidiaornouveaudrivers, or if the modules aren't loaded, then you will encounter this situation on your system.im guessing this doesnt happen when you install nvidia-dkms and the opencl packages for nvidia?
No, just
nvidiaalone is enough for OpenGL (what OP is using), but something could be stopping the kernel module from loading (ie. blacklisted).u/betstick probably ended up blacklisting the
nvidiadriver entirely for VFIO or as mentioned here in the arch wiki incorrectly.One thing I started doing is using the DKMS nvidia packages instead of the normal built modules. I’ve found that sometimes a kernel update can leave me without my nvidia drivers for a bit until those packages are updated.
Are the modules loaded?
Installing the DKMS drivers and the Linux LTS headers fixed it. Thank you for your help.
No problem. Gotta love driver issues.
DKMS should trigger rebuilds on kernel updates too, so that might be misconfiguration too
FWIW to provide some context:
The nvidia-lts package was not being updated in lockstep with the linux-lts package and was thus effectively broken for a few days. It did get updated recently so just running another update would at that point likely have been fine as well, but since this is not the first time this has happened, you are likely better off using DKMS variant ("officially" the maintainer of linux-lts and nvidia-lts is not the same person, so it does sometimes get forgotten).
hello, my suggestion is to use nvidia-smi and intel-top (or similar name) that will give you information about how much you are using the GPU.
Deleted before we saved it.
Don't buy nvidia.
Doesn’t really help someone who already did
It's also the most stable GPU along with Intel if you can deal with the limitations.
Did you like check the wiki?
Under NVIDIA?
No. No you didn't.
Do that next time
Yeah I did. That's how I got this working the first time about a year ago and how I kept it working until now.
Jesus man. People like you are cancer to the Linux community. Let's try to get people interested in Linux by trying to make them feel stupid. Great idea.