Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-08-2018, 07:38 PM   #1
madscientist
Junior Member
 
Join Date: Sep 2018
Posts: 4
Default DisplayLinkManager high CPU usage (Ubuntu 18.04)

I am seeing very high (30-50%) CPU usage from DisplayLinkManager on my Dell Precision 5520 running Ubuntu 18.04 with Gnome on X.org (not Wayland). This happens even if I don't have my laptop plugged into the DisplayLink!

By accident I seem to have discovered the culprit: if I have the Slack client running then DisplayLinkManager uses 50% CPU. As soon as I stop the Slack client, DisplayLinkManager CPU usage drops to 2-3%. If I start Slack again, it jumps back up immediately. Note if my screen locks and the displays go to sleep, then CPU usage goes back down even if Slack is running.

This is completely reproducible. I've not found any other software that does this (Chrome, Spotify, normal Linux apps) but that's not to say there aren't any! My laptop is at work so I won't be able to do more investigation this weekend, this is just an initial report.

I honestly can't understand why Slack would cause this problem, unless there's something odd/unique about the way it's using the display.

Anyway, I'd be interested to know if anyone else sees this issue with the Slack client. FWIW I installed the latest DEB version, not the Snap version, from https://slack.com/downloads/linux
madscientist is offline   Reply With Quote
Old 09-10-2018, 04:31 PM   #2
madscientist
Junior Member
 
Join Date: Sep 2018
Posts: 4
Default

OK I configured my system as described in these two FAQ links:

https://support.displaylink.com/know...hen-displaylin

and:

https://support.displaylink.com/know...plication-only

Note that (a) I don't have an NVIDIA card, and (b) I'm using Ubuntu 18.04 while the latter FAQ entry says the screen freeze was in Ubuntu 17.10 and fixed in 18.04. Indeed I didn't have the screen freeze problem but that fix also appears to solve the flickering mouse issue.

Anyway, after rebooting with the above two changes, Slack no longer causes DisplayLinkManager to chew up my CPU like it did before.

I have not fully tested things but I'm hopeful things work now.
madscientist is offline   Reply With Quote
Old 12-04-2018, 07:06 AM   #3
razcakappa
Junior Member
 
Join Date: Dec 2018
Posts: 1
Thumbs up Thanks for sharing cand caring for keep the others updated

Quote:
Originally Posted by madscientist View Post
OK I configured my system as described in these two FAQ links:

https://support.displaylink.com/know...hen-displaylin

and:

https://support.displaylink.com/know...plication-only

Note that (a) I don't have an NVIDIA card, and (b) I'm using Ubuntu 18.04 while the latter FAQ entry says the screen freeze was in Ubuntu 17.10 and fixed in 18.04. Indeed I didn't have the screen freeze problem but that fix also appears to solve the flickering mouse issue.

Anyway, after rebooting with the above two changes, Slack no longer causes DisplayLinkManager to chew up my CPU like it did before.

I have not fully tested things but I'm hopeful things work now.
Thank you very much for posting the findings. I'm also using DisplayLink device with ElementaryOS (Ubuntu Xenial based release) installed on a Macbook Air, and faced to the same issue set.
And noticed the miracle when killing the Slack and the CPU clams down.

Also followed the FAQ solutions and AFAIK the issue is gone for good. Lets see on future.
razcakappa is offline   Reply With Quote
Old 12-07-2018, 05:33 PM   #4
fightling
Junior Member
 
Join Date: Aug 2015
Posts: 9
Default

Thank you so much for this fix, madscientist!!!! Displaylink was burning my CPU since I updated to Ubuntu 18.04. Now CPU consumption seems to be on a reasonable level again.
fightling is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.