The officially official Devuan Forum!

You are not logged in.

#1 2022-06-09 12:52:36

devian
Member
Registered: 2019-11-08
Posts: 27  

External monitor on laptop results in high CPU usage for Xorg

As soon as I attach an external HDMI monitor to my laptop, the CPU usage for Xorg jumps to 100% and stays there.  I have KDE running and all widgets and GUI applications closed.

Edit: xembedsniproxy also suddenly has high CPU usage as soon as the monitor is plugged in so I suspect this is the culprit.

Second edit: a workaround to solve this is simply "killall xembedsniproxy"

Third edit: this removes all my application system tray icons (not normal KDE ones) but I can do "wmsystemtray --non-wmaker --bgcolor white" to see them appear in a new window.

This is a Lenovo laptop with Intel graphics. What info do I need to provide to help debug this?  Thanks.

Last edited by devian (2022-06-09 13:01:37)

Offline

#2 2022-06-09 13:20:41

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,386  

Re: External monitor on laptop results in high CPU usage for Xorg

Check the X.Org log. If you're using GDM I think it will be under ~/.local/share/xorg/ or /var/log/ otherwise. ~/.xsession-errors might also have some clues.

If you have xserver-xorg-video-intel installed then try removing that package to force modesetting instead, which is reported to be less buggy.


To obtain a root shell use su -. Using just su will result in "command not found" messages.

Offline

#3 2022-06-09 14:42:08

devian
Member
Registered: 2019-11-08
Posts: 27  

Re: External monitor on laptop results in high CPU usage for Xorg

.xsession_errors has 400,000 lines of this:

Container window visible, stack below

!!!

I think I'm happy with doing killall for now.

Offline

#4 2022-06-09 16:27:41

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,386  

Re: External monitor on laptop results in high CPU usage for Xorg

Entering the error message into a search engine throws up https://bugs.kde.org/show_bug.cgi?id=425271 so this is a known bug.

The suggested workaround is given here but it's rubbish.


To obtain a root shell use su -. Using just su will result in "command not found" messages.

Offline

#5 2022-06-09 17:06:06

devian
Member
Registered: 2019-11-08
Posts: 27  

Re: External monitor on laptop results in high CPU usage for Xorg

Head_on_a_Stick wrote:

Entering the error message into a search engine throws up https://bugs.kde.org/show_bug.cgi?id=425271 so this is a known bug.

The suggested workaround is given here but it's rubbish.

Nice spot. I didn't come across that page.

Offline

Board footer