Closed ReneNyffenegger closed 2 months ago
After removing /etc/X11/xorg.conf.d/20-displaylink.conf
in recovery mode, the notebook does boot again. Of course, I am not sure if the install script messed up other parts of the OS as well.
So, is there a possibility to revert the changes of the script?
If you run the script it asks you, if you want to install or uninstall the driver. This way you can revert the changes.
I'm having the exact same problem. After installing and rebooting, the computer get a black screen.
My laptop has hybrid graphics, with a integrated Radeon GPU and a dedicated NVIDIA GTX 1650, not sure if this is the problem.
It looks like it is working, although I haven't tested yet. I'm getting this message DisplayLink service status: up and running
Here is the output of my --debug
command:
--------------- Linux system info ----------------
Distro: Debian
Release: trixie
Kernel: 6.6.15-amd64
---------------- DisplayLink info ----------------
Driver version: 1.14.1
1.14.2
1.14.2+dfsg
DisplayLink service status: up and running
EVDI service version: 1.14.2
------------------ Graphics card -----------------
Vendor: amdgpu
Subsystem: Vega
VGA: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)
VGA (3D): NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
X11 version: 21.1.11-2
-------------- DisplayLink xorg.conf -------------
File: /etc/X11/xorg.conf.d/20-displaylink.conf
cat: /etc/X11/xorg.conf.d/20-displaylink.conf: No such file or directory
Contents:
-------------------- Monitors --------------------
Providers: number : 6
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 4 name:AMD Radeon Graphics @ pci:0000:05:00.0
Provider 1: id: 0x27c cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x25b cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 3: id: 0x23a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 4: id: 0x219 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 5: id: 0x1f8 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0
-------------------------------------------------------------------
output of /etc/X11/xorg.conf.d/20-displaylink.conf
:
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
Option "AccelMethod" "None"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "ConstrainCursor" "off"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
Okay, I've managed to make it boot (kudos to chat GPT). I've changed the conf file to
Section "ServerLayout"
Identifier "layout"
Screen 0 "radeon"
Inactive "nvidia"
EndSection
Section "Device"
Identifier "radeon"
Driver "amdgpu"
Option "AccelMethod" "glamor"
EndSection
Section "Screen"
Identifier "radeon"
Device "radeon"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "ConstrainCursor" "off"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
What I don't understand is what difference this conf file is supposed to make. Looks like it is pretty much the same configuration as the system default.
No evdi errors are being shown on dmesg
anymore, though.
Tomorrow I'll test it against a DELL UD22 dock and a WAVLINK WL-UG3501HPDX adapter.
Okay, I've tested the adapters that I've mentioned earlier
xrandr
dmesg
when I connect it to the laptop
[ 355.034154] usb 2-1: new SuperSpeed USB device number 13 using xhci_hcd
[ 355.054831] usb 2-1: New USB device found, idVendor=17e9, idProduct=4301, bcdDevice=36.05
[ 355.054845] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 355.054851] usb 2-1: Product: USB3 to HDMI
[ 355.054855] usb 2-1: Manufacturer: DisplayLink
[ 355.054858] usb 2-1: SerialNumber: U3HD338915852
[ 355.187287] usb 2-1: Warning! Unlikely big volume range (=511), cval->res is probably wrong.
[ 355.187304] usb 2-1: [15] FU [USB AUDIO Playback Volume] ch = 6, val = -8176/0/16
[ 355.188821] usb 2-1: Warning! Unlikely big volume range (=767), cval->res is probably wrong.
[ 355.188832] usb 2-1: [12] FU [Mic Capture Volume] ch = 2, val = -4592/7680/16
[ 355.714453] evdi: [I] (card2) Opened by Task 4724 (DesktopManagerE) of process 4711 (DisplayLinkMana)
[ 355.716158] evdi: [I] (card2) Added i2c adapter bus number 8
[ 355.716166] evdi: [I] (card2) Connected with Task 4724 (DesktopManagerE) of process 4711 (DisplayLinkMana)
[ 355.716174] evdi: [I] (card2) Connector state: connected
[ 355.735393] evdi: [I] (card2) Connector state: connected
[ 355.735601] evdi: [I] (card2) Edid property set
[ 355.735795] evdi: [I] (card2) Connector state: connected
[ 355.735986] evdi: [I] (card2) Edid property set
[ 355.774524] evdi: [I] (card2) Notifying display power state: on
[ 355.774546] evdi: [I] (card2) Notifying mode changed: 1366x768@60; bpp 32; pixel format XR24 little-endian (0x34325258)
[ 355.774554] evdi: [I] (card2) Notifying display power state: on
[ 355.831006] evdi: [W] evdi_painter_connect:886 (card2) Double connect - replacing 00000000124e4824 with 00000000124e4824
[ 355.831019] evdi: [I] (card2) Connected with Task 4724 (DesktopManagerE) of process 4711 (DisplayLinkMana)
[ 355.831026] evdi: [I] (card2) Connector state: connected
[ 355.894294] evdi: [I] (card2) Connector state: connected
[ 355.894495] evdi: [I] (card2) Edid property set
[ 355.919914] evdi: [I] (card2) Notifying mode changed: 1366x768@60; bpp 32; pixel format XR24 little-endian (0x34325258)
dmesg
as well:
[ 630.284620] usb 1-1: new high-speed USB device number 19 using xhci_hcd
[ 630.440144] usb 1-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice=37.64
[ 630.440163] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 630.440169] usb 1-1: Product: USB2.0 Hub
[ 630.440173] usb 1-1: Manufacturer: VIA Labs, Inc.
[ 630.440177] usb 1-1: SerialNumber: 000000001
[ 630.501103] hub 1-1:1.0: USB hub found
[ 630.501518] hub 1-1:1.0: 5 ports detected
[ 630.563996] usb 2-1: new SuperSpeed USB device number 14 using xhci_hcd
[ 630.716461] usb 2-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice=37.64
[ 630.716475] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 630.716481] usb 2-1: Product: USB3.1 Hub
[ 630.716485] usb 2-1: Manufacturer: VIA Labs, Inc.
[ 630.716489] usb 2-1: SerialNumber: 000000001
[ 630.740210] hub 2-1:1.0: USB hub found
[ 630.740615] hub 2-1:1.0: 4 ports detected
[ 631.310398] usb 1-1.3: new high-speed USB device number 20 using xhci_hcd
[ 631.465401] usb 1-1.3: New USB device found, idVendor=2109, idProduct=2822, bcdDevice=38.23
[ 631.465418] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 631.465424] usb 1-1.3: Product: USB2.0 Hub
[ 631.465429] usb 1-1.3: Manufacturer: VIA Labs, Inc.
[ 631.465432] usb 1-1.3: SerialNumber: 000000001
[ 631.524985] hub 1-1.3:1.0: USB hub found
[ 631.525285] hub 1-1.3:1.0: 5 ports detected
[ 631.555994] usb 2-1.3: new SuperSpeed USB device number 15 using xhci_hcd
[ 631.725351] usb 2-1.3: New USB device found, idVendor=2109, idProduct=0822, bcdDevice=38.23
[ 631.725365] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 631.725370] usb 2-1.3: Product: USB3.1 Hub
[ 631.725374] usb 2-1.3: Manufacturer: VIA Labs, Inc.
[ 631.725378] usb 2-1.3: SerialNumber: 000000001
[ 631.748308] hub 2-1.3:1.0: USB hub found
[ 631.748476] hub 2-1.3:1.0: 4 ports detected
[ 631.859054] usb 1-1.4: new high-speed USB device number 21 using xhci_hcd
[ 632.014918] usb 1-1.4: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=37.23
[ 632.014932] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 632.014938] usb 1-1.4: Product: USB2.0 Hub
[ 632.014942] usb 1-1.4: Manufacturer: VIA Labs, Inc.
[ 632.014946] usb 1-1.4: SerialNumber: 000000000
[ 632.069026] hub 1-1.4:1.0: USB hub found
[ 632.069511] hub 1-1.4:1.0: 5 ports detected
[ 632.100336] usb 2-1.4: new SuperSpeed USB device number 16 using xhci_hcd
[ 632.273641] usb 2-1.4: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=37.23
[ 632.273655] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 632.273661] usb 2-1.4: Product: USB3.0 Hub
[ 632.273665] usb 2-1.4: Manufacturer: VIA Labs, Inc.
[ 632.273669] usb 2-1.4: SerialNumber: 000000000
[ 632.279730] usb 1-1.3.5: new high-speed USB device number 22 using xhci_hcd
[ 632.292259] hub 2-1.4:1.0: USB hub found
[ 632.292516] hub 2-1.4:1.0: 4 ports detected
[ 632.397285] usb 1-1.3.5: New USB device found, idVendor=2109, idProduct=8822, bcdDevice= 0.01
[ 632.397301] usb 1-1.3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 632.397307] usb 1-1.3.5: Product: USB Billboard Device
[ 632.397311] usb 1-1.3.5: Manufacturer: VIA Labs, Inc.
[ 632.397315] usb 1-1.3.5: SerialNumber: 0000000000000001
[ 632.398845] evdi: [I] Detached from parent device
[ 632.472392] usb 1-1.5: new high-speed USB device number 23 using xhci_hcd
[ 632.586721] usb 1-1.5: New USB device found, idVendor=2109, idProduct=8884, bcdDevice= 0.01
[ 632.586736] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 632.586741] usb 1-1.5: Product: USB Billboard Device
[ 632.586746] usb 1-1.5: Manufacturer: VIA Labs, Inc.
[ 632.586750] usb 1-1.5: SerialNumber: 0000000000000001
[ 632.824810] usb 1-1.4.5: new high-speed USB device number 24 using xhci_hcd
[ 632.931030] usb 1-1.4.5: New USB device found, idVendor=2109, idProduct=8817, bcdDevice= 0.01
[ 632.931049] usb 1-1.4.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 632.931055] usb 1-1.4.5: Product: USB Billboard Device
[ 632.931059] usb 1-1.4.5: Manufacturer: VIA Labs, Inc.
[ 632.931063] usb 1-1.4.5: SerialNumber: 0000000000000001
[ 633.013010] usb 2-1.4.1: new SuperSpeed USB device number 17 using xhci_hcd
[ 633.033769] usb 2-1.4.1: New USB device found, idVendor=17e9, idProduct=6013, bcdDevice=30.09
[ 633.033780] usb 2-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 633.033786] usb 2-1.4.1: Product: Dell Universal Hybrid Video Dock
[ 633.033790] usb 2-1.4.1: Manufacturer: DisplayLink
[ 633.033794] usb 2-1.4.1: SerialNumber: 23011289D3
[ 633.172779] usb 2-1.4.1: Warning! Unlikely big volume range (=767), cval->res is probably wrong.
[ 633.172792] usb 2-1.4.1: [4] FU [Mic Capture Volume] ch = 2, val = -4592/7680/16
[ 633.174265] usb 2-1.4.1: Warning! Unlikely big volume range (=672), cval->res is probably wrong.
[ 633.174271] usb 2-1.4.1: [7] FU [Dell USB Audio Playback Volume] ch = 6, val = -10752/0/16
[ 633.193695] cdc_ncm 2-1.4.1:1.5: MAC-Address: 0c:37:96:a5:86:7d
[ 633.193706] cdc_ncm 2-1.4.1:1.5: setting rx_max = 16384
[ 633.193797] cdc_ncm 2-1.4.1:1.5: setting tx_max = 16384
[ 633.194288] cdc_ncm 2-1.4.1:1.5 eth0: register 'cdc_ncm' at usb-0000:05:00.3-1.4.1, CDC NCM (SEND ZLP), 0c:37:96:a5:86:7d
[ 633.233127] cdc_ncm 2-1.4.1:1.5: setting rx_max = 65535
[ 633.233544] cdc_ncm 2-1.4.1:1.5: setting tx_max = 65535
[ 633.233854] cdc_ncm 2-1.4.1:1.5 enx0c3796a5867d: renamed from eth0
[ 635.701086] usb 1-1.4.3: new full-speed USB device number 25 using xhci_hcd
[ 635.876034] usb 1-1.4.3: New USB device found, idVendor=28e9, idProduct=0380, bcdDevice= 1.00
[ 635.876049] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 635.876055] usb 1-1.4.3: Product: GD32-USB_Keyboard
[ 635.876060] usb 1-1.4.3: Manufacturer: GigaDevicq
[ 635.876063] usb 1-1.4.3: SerialNumber: 697FE56A0839
[ 635.949582] input: GigaDevicq GD32-USB_Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0/0003:28E9:0380.000A/input/input21
[ 636.010103] hid-generic 0003:28E9:0380.000A: input,hidraw2: USB HID v1.11 Keyboard [GigaDevicq GD32-USB_Keyboard] on usb-0000:05:00.3-1.4.3/input0
[ 636.010243] evdi: [I] Detached from parent device
[ 645.413331] usb 1-1.4.3: USB disconnect, device number 25
[ 645.778048] usb 1-1.4.3: new full-speed USB device number 26 using xhci_hcd
[ 645.952863] usb 1-1.4.3: New USB device found, idVendor=413c, idProduct=b06e, bcdDevice=d0.34
[ 645.952875] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 645.952881] usb 1-1.4.3: Product: Fischer Cos-2 Controller
[ 645.952885] usb 1-1.4.3: Manufacturer: BizLink
[ 645.952888] usb 1-1.4.3: SerialNumber: VMM_6.05.000
[ 646.093627] hid-generic 0003:413C:B06E.000B: hiddev1,hidraw2: USB HID v1.11 Device [BizLink Fischer Cos-2 Controller] on usb-0000:05:00.3-1.4.3/input0
[ 646.101490] hid-generic 0003:413C:B06E.000C: hiddev2,hidraw3: USB HID v1.11 Device [BizLink Fischer Cos-2 Controller] on usb-0000:05:00.3-1.4.3/input1
[ 646.150856] hid-generic 0003:413C:B06E.000D: hiddev1,hidraw2: USB HID v1.11 Device [BizLink Fischer Cos-2 Controller] on usb-0000:05:00.3-1.4.3/input0
The funny part is that if I connect the WAVLINK into the dock, it works
It's a known displaylink bug, but unrelated to this project. You'll have to take it up with them.
When using wget to download
displaylink-debian.sh
and executing this script, I get an error message about a missing patch file (see https://github.com/AdnanHodzic/displaylink-debian/issues/907). I don't encounter this error when cloning the github repository and executing the script in the repository. However, with this approach, the notebook won't boot anymore. So, is there a possibility to revert the changes of the script?