Hi all,
I’m interested in having two additional monitors as well. I’ve gone some way to solving this with only free and open source software. I’m running stock-ish PureOS on a 15v3.
I bought a Plugable USB 2.0 DVI adapter and I’ve managed to get it working pretty well with an external monitor, albeit only at 1024 x 768 or similar (the monitor is a 1920 x 1080 Asus).
Steps:
- obtain the adapter
- blacklist old udlfb driver just in case–not sure necessary: add “blacklist udlfb” to /etc/modprobe.d/blacklist.framebuffer.conf (you may have to create file)
- install evdi-dkms package from repos (you may have to reboot, not sure)
- Set /etc/X11/xorg.conf.d/21-displaylink.conf (you may have to create file) to:
Section “Device”
Identifier “DisplayLink”
Driver “modesetting”
Option “PageFlip” “false”
EndSection
- check out what’s going on with xrandr following the Arch wiki article. I just have to do
xrandr --setprovideroutputresource 1 0
- Things will probably work now if you go to the gnome display settings and turn on the additional monitor. I see the monitor, but at a lower than optimal resolution. Mouse lag is acceptable.
Now to try modelines to get the higher resolution working.
First try modeline from the 1920x1080 resolution already present on the 15v3 because of its main monitor:
xrandr --addmode DVI-I-1-1 "1920x1080"
(my adapter is called DVI-I-1-1, but yours may be called something different. Investigate with xrandr per the Arch wiki article).
Then to gnome display settings to turn the monitor on.
This works, but there’s a lot of mouse lag (not crazy jumping around, just lag) and there are artifacts around the dialog box for keep display settngs.
You would add a custom modeline like so:
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
and then add it to your display like so:
xrandr --addmode DVI-I-1-1 "1920x1080_60.00"
None of these work:
gtf 1920 1080 60 generates:
"1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
cvt 1920 1080 generates:
"1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Both just show a black screen.
Before adding the custom 21-displaylink.conf to turn pageflipping off per the Arch wiki suggestion, pretty much all modes were useless because the mouse pointer was jumping around like crazy.
So–I’m no expert on this, but I thought I’d share what I’ve learned in the hope it’s helpful to others.
If you think you can solve this problem or can point me in the right direction, I’d appreciate the help!
Edit: I should mention that at present removing the USB connection for the Plugable adapter currently causes the system to freeze, or appear to do so. It’s some problem with X, I think it’s noted in the Arch wiki article. Keyboard and mouse don’t appear to work. I couldn’t ctrl+alt+F3 into another tty, but maybe a script that restarts X if xyz happens would work. I mention it because being able to hot-plug into and off of a monitor may be important for certain workflows.