gnome-shell high cpu usage

Begonnen von terroreek, 2018/06/25, 02:19:33

Vorheriges Thema - Nächstes Thema

terroreek

Hi All,
I am wondering if anyone else has noticed this but I have noticed recently but when I watch videos in gnome, gnome-shells cpu usage jumps up.  htop will show gnome-shell go from 0-10% and as soon as I start a video, either from VLC, a youtube video in either chrome or firefox I find cpu usage for gnome-shell jumps up to 220-260%. 

I've tried disabling all extensions, and I can't seem to find a bug report.  Has anyone else noticed this problem??
output from inxi
CPU: Quad Core Intel Core i7-4790K (-MT MCP-)
speed/min/max: 1600/800/4400 MHz
Kernel: 4.17.2-towo.2-siduction-amd64 x86_64 Up: 7m
Mem: 4800.8/32118.0 MiB (14.9%) HDD: 1.14 TiB (28.1% used) Procs: 330
Shell: zsh 5.5.1 inxi: 3.0.13


inxi -GxGraphics:
  Card-1: NVIDIA GP104 [GeForce GTX 1080] driver: nvidia v: 390.59
  bus ID: 01:00.0
  Display: x11 server: X.Org 1.20.0 driver: nvidia
  resolution: 2560x1600~60Hz
  OpenGL: renderer: llvmpipe (LLVM 6.0 256 bits) v: 3.3 Mesa 18.1.2
  direct render: Yes

hmm ... if I were to take a guess I am thinking its because the OpenGL renderer isn't my GTX 1080?

terroreek

Ok I think the problem is the GLX module isn't loading;
[     6.759] (**) NVIDIA(0): Enabling 2D acceleration
[     6.759] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[     6.759] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[     6.759] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[     6.759] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[     6.759] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

So I the logs I see its trying to load libglx.so

[     6.666] (II) LoadModule: "glx"
[     6.667] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     6.668] (II) Module glx: vendor="X.Org Foundation"
[     6.668]     compiled for 1.20.0, module version = 1.0.0
[     6.668]     ABI class: X.Org Server Extension, version 10.0

That said shouldn't  /usr/lib/xorg/modules/extensions/libglx.so be a symlink to /usr/lib/nvidia/current/libglx.so.390.59 ??
Also mods I think this is probably a hardware issue not software as it looks like my nvidia-drivers aren't installed correctly, maybe it should be moved?


melmarker

Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

terroreek

Yep thats exactly what the problem is. 

melmarker

Zitat von: terroreek in 2018/06/25, 21:18:38
Yep thats exactly what the problem is.

The solution is in the bug report -- one of the methods to solve that problem should work - i use the nvidia.conf :)
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

terroreek

Yep thats exactly what I used thank you so much melmarker!!!