Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X extreme slow with lot's of lag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
white_tiger
n00b
n00b


Joined: 04 Oct 2011
Posts: 40

PostPosted: Thu Mar 16, 2017 10:30 pm    Post subject: X extreme slow with lot's of lag Reply with quote

I am using awesome wm as main desktop which I start with startx (again) since I had lots of lag and other issues with the display rendering in Gnome in the hope that this will make the desktop somewhat faster, but no it did not.

I cant figure out why my desktop is so slow and laggy at the moment, the only thing that seems odd is a constant relative high cpu use of X even with an idle desktop (no running apps on it). This seems to apply when my second screen is which is connected over HDMI is active, as soon as I unplug the HDMI kabel or turn of the second screen all seems normal and the cpu use is round 0,7% instead of round 17% in idle.

Info:

Code:

 uname -r
4.5.2-gentoo


Code:

nvidia-debugdump -l
Found 1 NVIDIA devices
        Device ID:              0
        Device name:            GeForce GTX 660 Ti   (*PrimaryCard)
        GPU internal ID:        GPU-2a551a71-6dd0-4d0b-cc38-767f7b30fbb4


I am using nvidia-drivers 378.13, douwngrade did not help. Xorg-server is 1.19.3


This is with the second screen active.
Code:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND   
  347 root      20   0  237732  50052  31464 S  16.3  0.4  13:54.39 X 


Code:

$glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 660 Ti/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 378.13
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 378.13
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 378.13
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:


xrand shows:

Code:

$xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x279 cap: 0x1, Source Output crtcs: 4 outputs: 6 associated providers: 0 name:NVIDIA-0


I am running an systemd system I can provide the journalctl since my last boot.

Code:

Mar 16 21:25:04 localhost systemd[1]: Starting User Manager for UID 1000...
Mar 16 21:25:04 localhost systemd-logind[292]: New session 1 of user name.
Mar 16 21:25:04 localhost systemd[1]: Started Session 1 of user name.
Mar 16 21:25:04 localhost systemd[313]: pam_unix(systemd-user:session): session
Mar 16 21:25:04 localhost systemd[313]: Reached target Timers.
Mar 16 21:25:04 localhost systemd[313]: Reached target Sockets.
Mar 16 21:25:04 localhost systemd[313]: Reached target Paths.
Mar 16 21:25:04 localhost systemd[313]: Reached target Basic System.
Mar 16 21:25:04 localhost systemd[313]: Reached target Default.
Mar 16 21:25:04 localhost systemd[313]: Startup finished in 14ms.
Mar 16 21:25:04 localhost systemd[1]: Started User Manager for UID 1000.
Mar 16 21:25:08 localhost kernel: nvidia-modeset: Allocated GPU:0 (GPU-2a551a71-
Mar 16 21:25:09 localhost kernel: usb 3-4: reset high-speed USB device number 2
Mar 16 21:25:10 localhost pulseaudio[389]: [pulseaudio] source.c: Default and al
Mar 16 21:25:10 localhost dbus[289]: [system] Activating via systemd: service na
Mar 16 21:25:10 localhost dbus[289]: [system] Activation via systemd failed for
Mar 16 21:25:10 localhost pulseaudio[389]: [pulseaudio] bluez5-util.c: GetManage
Mar 16 21:25:18 localhost systemd-timesyncd[286]: Synchronized to time server 19
Mar 16 21:25:04 localhost systemd[1]: Starting User Manager for UID 1000...
Mar 16 21:25:04 localhost systemd-logind[292]: New session 1 of user name.
Mar 16 21:25:04 localhost systemd[1]: Started Session 1 of user name.
Mar 16 21:25:04 localhost systemd[313]: pam_unix(systemd-user:session): session opened for user name by (uid=0)
Mar 16 21:25:04 localhost systemd[313]: Reached target Timers.
Mar 16 21:25:04 localhost systemd[313]: Reached target Sockets.
Mar 16 21:25:04 localhost systemd[313]: Reached target Paths.
Mar 16 21:25:04 localhost systemd[313]: Reached target Basic System.
Mar 16 21:25:04 localhost systemd[313]: Reached target Default.
Mar 16 21:25:04 localhost systemd[313]: Startup finished in 14ms.
Mar 16 21:25:04 localhost systemd[1]: Started User Manager for UID 1000.
Mar 16 21:25:08 localhost kernel: nvidia-modeset: Allocated GPU:0 (GPU-2a551a71-6dd0-4d0b-cc38-767f7b30fbb4) @ PCI:0000:01:00.0
Mar 16 21:25:09 localhost kernel: usb 3-4: reset high-speed USB device number 2 using xhci_hcd
Mar 16 21:25:10 localhost pulseaudio[389]: [pulseaudio] source.c: Default and alternate sample rates are the same.
Mar 16 21:25:10 localhost dbus[289]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Mar 16 21:25:10 localhost dbus[289]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
Mar 16 21:25:10 localhost pulseaudio[389]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Mar 16 21:25:18 localhost systemd-timesyncd[286]: Synchronized to time server 192.168.178.1:123 (192.168.178.1).
Mar 16 21:37:07 localhost kernel: kworker/dying (110) used greatest stack depth: 11864 bytes left
Mar 16 21:40:03 localhost systemd[1]: Starting Cleanup of Temporary Directories...
Mar 16 21:40:03 localhost systemd[1]: Started Cleanup of Temporary Directories.
Mar 16 22:45:54 localhost dbus[289]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Mar 16 22:45:54 localhost dbus[289]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.


What is going on here. What am I missing?

tnx in advanced
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Mar 17, 2017 10:19 pm    Post subject: Reply with quote

You should ask if your glx is correctly configured.

This is the desired output:
Code:
ASUS-G75VW roman # glxinfo|grep Yes
direct rendering: Yes


No idea on the output when it is not regarding the output of OPENGL...

Please provide:

Code:
wgetpaste /var/log/Xorg.0.log


you can run nvidia-settings and

check

gpu temperature / speed / timings

other info there.

--

I usually set up HDMI, vga for my external screens with nvidia-settings only in i3wm.

--

You should run top / htop and see what consumes all those cpu cycles.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum