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.28k stars 229 forks source link

Asus MB168b and Ubuntu 19.10 #316

Closed chilcano closed 4 years ago

chilcano commented 5 years ago

Hi there, Just installed Ubuntu 19.10 and I'm trying to use my Asus MB168b through an USB cable, but that doesn't work. Everytime I connect the Asus MB168b to Laptop, the Asus MB168b starts but seconds later the screen turn black and the laptop is frozen. Below the logs:

$ sudo ./displaylink-debian.sh 
[sudo] password for chilcano: 

--------------------------- displaylink-debian -------------------------------

DisplayLink driver installer for Debian and Ubuntu based Linux distributions:

* Debian, Ubuntu, Elementary OS, Mint, Kali, Deepin and many more!
* Full list of all supported platforms: http://bit.ly/2zrwz2u
* When submitting a new issue, include Debug information

Options:

[I]nstall
[D]ebug
[R]e-install
[U]ninstall
[Q]uit

Select a key: [i/d/r/u/q]: d

-------------------------------------------------------------------

Starting Debug ...

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

cat: /sys/devices/evdi/version: No such file or directory
--------------- Linux system info ----------------

Distro: Ubuntu
Release: eoan
Kernel: 5.3.0-19-generic

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

Driver version: 
DisplayLink service status: 
EVDI service version: 

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

Vendor: i915
Subsystem: UHD
VGA: Intel Corporation UHD Graphics 620 (rev 07)
VGA (3D): 
X11 version: 1.20.5+git20191008-0ubuntu1
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 : 0

-------------------------------------------------------------------

Use this information when submitting an issue (http://bit.ly/2GLDlpY)

-------------------------------------------------------------------

$ xrandr --listactivemonitors 
Monitors: 1
 0: +XWAYLAND0 1920/310x1080/170+0+0  XWAYLAND0
$ xrandr --listproviders

I tried this and this according to post installation guide.

The only difference is when logging I select "Ubuntu on Wayland". You can see it above Monitors: 1 0: +XWAYLAND0 1920/310x1080/170+0+0 XWAYLAND0

Any help is welcome. Regards.

kopax commented 5 years ago

I've got that a lot and maybe you are using cinnamon, this is what I do :

CTRL+ALT+F5 when it get frozon, login as root, run:

ps aux | grep cinnamon | awk -F ' ' '{print $2}' | xargs kill -9

It should restart cinnamon with the new ecran connected and without bug.

chilcano commented 5 years ago

Thanks @kopax, but unfortunately it didn't work.

I re-installed Ubuntu 19.10, re-run displaylink-debian.sh and re-install DisplayLink drivers for ubuntu 19.04 (it is only available) and everything worked !!.

I had to login selecting "Ubuntu" instead of "Ubuntu on Wayland". Below my log details.

The unique thing to fix is the lag and mouse flickering on the MB168b screen and main screen.

I hope this helps.

$ sudo ./displaylink-debian.sh 
[sudo] password for chilcano: 

--------------------------- displaylink-debian -------------------------------

DisplayLink driver installer for Debian and Ubuntu based Linux distributions:

* Debian, Ubuntu, Elementary OS, Mint, Kali, Deepin and many more!
* Full list of all supported platforms: http://bit.ly/2zrwz2u
* When submitting a new issue, include Debug information

Options:

[I]nstall
[D]ebug
[R]e-install
[U]ninstall
[Q]uit

Select a key: [i/d/r/u/q]: d

-------------------------------------------------------------------

Starting Debug ...

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: eoan
Kernel: 5.3.0-19-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: UHD
VGA: Intel Corporation UHD Graphics 620 (rev 07)
VGA (3D): 
X11 version: 1.20.5+git20191008-0ubuntu1
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 : 1
Provider 0: id: 0x46 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting

-------------------------------------------------------------------

Use this information when submitting an issue (http://bit.ly/2GLDlpY)

-------------------------------------------------------------------

$ xrandr --listactivemonitors 
Monitors: 1
 0: +*eDP-1 1920/309x1080/173+0+0  eDP-1

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting

After plugging the Asus MB168b to the Laptop I'm having this:

$ xrandr --listactivemonitors 
Monitors: 2
 0: +*eDP-1 1920/309x1080/173+0+0  eDP-1
 1: +DVI-I-1-1 1366/344x768/194+1920+0  DVI-I-1-1

$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x46 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 1: id: 0x1cf cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
chilcano commented 5 years ago

Hi there,

I'm having annoying lag and mouse flickering on the external MB168b screen and main screen.

I have the following:

Any help is welcome. Regards.

chilcano commented 5 years ago

I fixed this!.

I re-installed the mouse's drivers while Asus MB168b screen was connected. I fused these as references:

I hope this helps.

Barabazs commented 4 years ago

Closing this issue due to inactivity.

Please reopen this issue if it still persists.