AdnanHodzic / displaylink-debian

DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
https://foolcontrol.org/?p=1777
GNU General Public License v3.0
1.26k stars 230 forks source link

High CPU ussage on Kubuntu 18.10? #196

Closed killmasta93 closed 5 years ago

killmasta93 commented 5 years ago

Hi, I was wondering if someone could shed some light on the issue im having. Sometimes when i connect i get high CPU usage not sure why. Here is a screen shot. Only happens when i connect the plugable

screenshot at 2019-01-07 16-00-01

AdnanHodzic commented 5 years ago

It's seems like a problem with upstream driver, especially since even I remember reporting one last year.

Hence I would suggest your report an issue there.

killmasta93 commented 5 years ago

Thanks for the reply I posted the issue there. so as for the fix there is none? What i have been doing is rebooting wait till the OS boots up and then connect sometimes the CPU does not go UP and sometimes it does very odd

MrMEEE commented 5 years ago

Same problem here...

AdnanHodzic commented 5 years ago

As part of https://github.com/AdnanHodzic/displaylink-debian/commit/b57cea89cc2e97de071e417bdd39ddd374072dbd commit udl/udlf will be added to blacklist.conf automatically if >= 4.14.9 is detected.

Since I never got output of sudo ./displaylink-debian.sh --debug I'm not sure if this will fix your problem, but I'd definetely advise you to pull the latest changes and perform reinstall.

AdnanHodzic commented 5 years ago

I've just merged displaylink-5 branch with master which introduces big changes, among which are support for yesterday released DisplayLink 5.1 driver. Disabling modesetting as part of displaylink-debian as now all of it should be happening on EVDI level. I've included few more changes.

Regardless, please pull latest (git pull) changes on master and run sudo ./displaylink-debian.sh --install

After this everything should be working as expected and with this said I'm closing the issue. If the issue still persists, re-open the issue and include output of sudo ./displaylink-debian.sh --debug command.

hookumsnivy commented 4 years ago

I'm having a similar issue on Kubuntu 18.04

Just having some windows open and running top, I typically see DisplayLinkManager using between 20 and 25% of a cpu. If I start making circles with my mouse, it jumps to over 70%. If there's a video playing, it jumps to over 100% (obviously meaning it's using more than 1). The more I do, the more CPU it demands. This is after a fresh install and reboot. Simple things such as opening a new browser tab spikes the cpu usage of DisplayLinkManager. It seems anything I do is causing the CPU to go wild. I will be creating a ticket with evdi as well, but since I found this first I thought I would share. Also, every once in a while, it will just fail. The monitors will just go blank and I have unplug the usb and reconnect it. Sometimes that works just fine and other times it messes up my desktop config.

This is the result of running the script with the debug flag:



Did you read Post Installation Guide? http://bit.ly/2TbZleK [y/N] y

Did you read Troubleshooting most common issues? http://bit.ly/2Rofd0x [y/N] y

--------------- Linux system info ----------------

Distro: Ubuntu
Release: bionic
Kernel: 5.0.0-37-generic

---------------- DisplayLink info ----------------

Driver version: 5.2.14
DisplayLink service status: up and running
EVDI service version: 1.6.1

------------------ Graphics card -----------------

Vendor: i915
Subsystem: 620
VGA: Intel Corporation HD Graphics 620 (rev 02)
VGA (3D): 
X11 version: 1.20.4-1ubuntu3~18.04.1
X11 configs: /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------                                                                                                                         

File: /etc/X11/xorg.conf.d/20-displaylink.conf                                                                                                                             
Contents:                                                                                                                                                                  
 Section "OutputClass"                                                                                                                                                     
    Identifier  "DisplayLink"
    MatchDriver "evdi"
    Driver      "modesetting"
    Option      "AccelMethod" "none"
EndSection

-------------------- Monitors --------------------

Providers: number : 3
Provider 0: id: 0xa1 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 5 associated providers: 2 name:modesetting
Provider 1: id: 0x79 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x41 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting```
killmasta93 commented 4 years ago

what i did was downgrade to ubuntu 18.04 but with kernel 4.15.0-72-generic is working flawless