Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I connect 2 external screens via DisplayLink?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dmaendlen
n00b
n00b


Joined: 26 Nov 2017
Posts: 3

PostPosted: Sat Dec 14, 2019 5:46 am    Post subject: How do I connect 2 external screens via DisplayLink? Reply with quote

Hello,

since it has been a very long time since I had to last muck around with Xorg stuff I'm a little out of my league here.

The scenario is: I have a Thinkpad L460, a Dell D6000 Docking station and 2 HDMI monitors which I'd like to plug into the docking station. All hardware works fine, I confirmed this already (we use Windows at the office, the docking station worked there. The screens were tested by plugging them individually into my Thinkpad.)

I looked around on the internet and found this wiki page as well as several rather old forum entries where I'm not entirely certain if they're still relevant, especially this post.

I tried to use the fbdev path in the wiki article but while the X server starts just fine the connected screen (D6000 has 2 Displayports, only 1 HDMI port so I'm waiting for the correct adapters to attach the second one) stays dark.

I altered the xorg.conf.DL from the wiki page a bit to match my screens.

Code:
cat /etc/X11/xorg.conf.DL
Section "Device"
    Identifier "DisplayLinkDevice"
    driver "fbdev"         # Or fbdev depending on what you installed
    Option "fbdev" "/dev/fb0"    # You have to use the correct framebuffer device here
EndSection

Section "Monitor"
    Identifier "DisplayLinkMonitor"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "DisplayLinkDevice"
    Monitor "DisplayLinkMonitor"
    SubSection "Display"
        Depth 24         # 24bit works fine but for USB 2.0 a lot of data
        Modes "1920x1080"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "Server Layout"
    Screen 0 "Default Screen" 0 0
    Option "AllowMouseOpenFail" "True"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowEmptyInput" "false"
    Option "AutoAddDevices" "false"
    Option "AutoEnableDevices" "false"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "void"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "void"
EndSection


As I mentioned above I don't really do a lot with Xorg so I don't have an idea what a helpful log message might be here.

I'm attaching some log output from Xorg.1.log, please tell me if there is anything else I can do to help you help me.
Code:
head -n 150 /var/log/Xorg.1.log
[  3747.976]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[  3747.976] Build Operating System: Linux 5.3.8-gentoo x86_64 Gentoo
[  3747.976] Current Operating System: Linux loki 5.4.3-gentoo #1 SMP Fri Dec 13 19:46:27 CET 2019 x86_64
[  3747.976] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-5.4.3-gentoo root=/dev/mapper/root ro crypt_root=UUID=d013b9b3-6d97-477c-a0d3-909b0ad64fbc root=UUID=5d9ac14f-db5b-4a1c-b60c-4b8ac6a49a12 root_trim=yes
[  3747.976] Build Date: 07 November 2019  09:37:49PM
[  3747.976] 
[  3747.976] Current version of pixman: 0.38.4
[  3747.976]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  3747.976] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3747.976] (==) Log file: "/var/log/Xorg.1.log", Time: Sat Dec 14 06:13:54 2019
[  3747.977] (++) Using config file: "/etc/X11/xorg.conf.DL"
[  3747.977] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3747.977] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3747.977] (==) ServerLayout "Server Layout"
[  3747.977] (**) |-->Screen "Default Screen" (0)
[  3747.977] (**) |   |-->Monitor "DisplayLinkMonitor"
[  3747.977] (**) |   |-->Device "DisplayLinkDevice"
[  3747.977] (**) |-->Input Device "Keyboard0"
[  3747.977] (**) |-->Input Device "Mouse0"
[  3747.977] (**) Option "AllowMouseOpenFail" "True"
[  3747.977] (**) Option "AutoAddDevices" "false"
[  3747.977] (**) Option "AutoEnableDevices" "false"
[  3747.977] (**) Not automatically adding devices
[  3747.977] (**) Not automatically enabling devices
[  3747.977] (==) Automatically adding GPU devices
[  3747.977] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3747.977] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  3747.977]    Entry deleted from font path.
[  3747.978] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  3747.978]    Entry deleted from font path.
[  3747.978] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3747.978]    Entry deleted from font path.
[  3747.978] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  3747.978]    Entry deleted from font path.
[  3747.978]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  3747.978] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  3747.978]    Entry deleted from font path.
[  3747.978]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  3747.978] (==) FontPath set to:
   /usr/share/fonts/misc/
[  3747.978] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  3747.978] (II) Loader magic: 0x5569a33c0c60
[  3747.978] (II) Module ABI versions:
[  3747.978]    X.Org ANSI C Emulation: 0.4
[  3747.978]    X.Org Video Driver: 24.0
[  3747.978]    X.Org XInput driver : 24.1
[  3747.978]    X.Org Server Extension : 10.0
[  3747.978] (II) xfree86: Adding drm device (/dev/dri/card1)
[  3747.978] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
[  3747.978] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3747.978] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  3747.981] (--) PCI:*(0@0:2:0) 8086:1916:17aa:5052 rev 7, Mem @ 0xf0000000/16777216, 0xd0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[  3747.981] (--) PCI: (4@0:0:0) 1002:6660:17aa:5052 rev 131, Mem @ 0xe0000000/268435456, 0xf1000000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[  3747.981] (II) LoadModule: "glx"
[  3747.982] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  3747.983] (II) Module glx: vendor="X.Org Foundation"
[  3747.983]    compiled for 1.20.5, module version = 1.0.0
[  3747.983]    ABI class: X.Org Server Extension, version 10.0
[  3747.983] (II) LoadModule: "fbdev"
[  3747.983] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[  3747.983] (II) Module fbdev: vendor="X.Org Foundation"
[  3747.983]    compiled for 1.20.5, module version = 0.5.0
[  3747.983]    Module class: X.Org Video Driver
[  3747.983]    ABI class: X.Org Video Driver, version 24.0
[  3747.983] (II) LoadModule: "void"
[  3747.983] (II) Loading /usr/lib64/xorg/modules/input/void_drv.so
[  3747.983] (II) Module void: vendor="X.Org Foundation"
[  3747.983]    compiled for 1.20.5, module version = 1.4.1
[  3747.983]    Module class: X.Org XInput Driver
[  3747.983]    ABI class: X.Org XInput driver, version 24.1
[  3747.983] (II) FBDEV: driver for framebuffer: fbdev
[  3747.983] (--) using VT number 7

[  3747.983] (II) Loading sub module "fbdevhw"
[  3747.984] (II) LoadModule: "fbdevhw"
[  3747.984] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[  3747.984] (II) Module fbdevhw: vendor="X.Org Foundation"
[  3747.984]    compiled for 1.20.5, module version = 0.0.2
[  3747.984]    ABI class: X.Org Video Driver, version 24.0
[  3747.984] (**) FBDEV(0): claimed PCI slot 0@0:2:0
[  3747.984] (II) FBDEV(0): using /dev/fb0
[  3747.984] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[  3747.984] (==) FBDEV(0): RGB weight 888
[  3747.984] (==) FBDEV(0): Default visual is TrueColor
[  3747.984] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  3747.984] (II) FBDEV(0): hardware: i915drmfb (video memory: 8100kB)
[  3747.984] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
[  3747.984] (II) FBDEV(0): checking modes against framebuffer device...
[  3747.984] (II) FBDEV(0):    mode "1920x1080" ok
[  3747.984] (II) FBDEV(0): checking modes against monitor...
[  3747.984] (II) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[  3747.984] (**) FBDEV(0):  Built-in mode "current"
[  3747.984] (==) FBDEV(0): DPI set to (96, 96)
[  3747.984] (II) Loading sub module "fb"
[  3747.984] (II) LoadModule: "fb"
[  3747.984] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  3747.984] (II) Module fb: vendor="X.Org Foundation"
[  3747.984]    compiled for 1.20.5, module version = 1.0.0
[  3747.984]    ABI class: X.Org ANSI C Emulation, version 0.4
[  3747.984] (**) FBDEV(0): using shadow framebuffer
[  3747.984] (II) Loading sub module "shadow"
[  3747.984] (II) LoadModule: "shadow"
[  3747.984] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[  3747.984] (II) Module shadow: vendor="X.Org Foundation"
[  3747.984]    compiled for 1.20.5, module version = 1.1.0
[  3747.984]    ABI class: X.Org ANSI C Emulation, version 0.4
[  3747.985] (==) FBDEV(0): Backing store enabled
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy
[  3747.985] (EE) FBDEV(0): FBIOPUTCMAP: Device or resource busy


Thank you for taking the time to read this.
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 335
Location: Germany

PostPosted: Sat Dec 28, 2019 7:27 pm    Post subject: Reply with quote

Hello dmaendlen.

What DE do you use?
Can you show us the output of
Code:
lspci -knn

Did you try it without a xorg.conf file? My current and last two systems did not need such file anymore...
_________________
My personal space
Back to top
View user's profile Send private message
dmaendlen
n00b
n00b


Joined: 26 Nov 2017
Posts: 3

PostPosted: Sun Dec 29, 2019 7:17 am    Post subject: Reply with quote

Hello Banana,

yes, I tried that to no avail.

I currently don't have access to my Gentoo system so I can't check but thank you nonetheless.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum