Skip to content

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.

25 points16 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
25 · 100% up
Kind
Text
ID
dabmib

Author

14
posts
35
comments
0
media
View profile

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 nvidia or nouveau drivers, or if the modules aren't loaded, then you will encounter this situation on your system.

29 points

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?

1 points

Installing the DKMS drivers and the Linux LTS headers fixed it. Thank you for your help.

1 points

DKMS should trigger rebuilds on kernel updates too, so that might be misconfiguration too

1 points

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).

1 points

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.

0 points
unknown author

Deleted before we saved it.

0 points

Don't buy nvidia.

-15 points

Doesn’t really help someone who already did

5 points

It's also the most stable GPU along with Intel if you can deal with the limitations.

1 points

Did you like check the wiki?

Under NVIDIA?

No. No you didn't.

Do that next time

-26 points

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.

3 points

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.