You are not logged in.

#1 2024-08-30 11:09:05

Ranon
Member
Registered: 2023-09-14
Posts: 44

Solved - Framework 16 - Display Link won't unmirror

Solved -- Was too focused on trying to find an "extend" keyword to try and prevent mirroing but using this config solved the issue:

exec_always xrandr --auto --output eDP-1 --primary --right-of DisplayPort-4
exec_always xrandr --auto --output DisplayPort-4
exec_always xrandr --auto --output DisplayPort-1-0 --left-of DisplayPort-4

Turns out the "right of" & "left of" works like extend with other software.

Edit*** New Issue but not different enough to create a new post ****

I got the Display Link working using the USB-C port coming out of the graphics card on the back of my Framework Laptop. I have tried a few different Xrandr commands to try and configure my screens as follows.

Monitor Left side == DisplayPort-1-0 (DisplayLink USB-C)
Monitor Right Side == DisplayPort-4 (Display Port Cable)
Laptop Monitor == eDP-1 (primary)

The issue I am running into is that the DisplayLink port auto mirrors the laptop main screen and the laptop main screen has a weird resolution where the bottom of the screen remains empty (Like the size of the i3 windows are established by DisplayPort1-0 which is a smaller resolution so the windows do not reach the bottom)

I would like to try and set it up where the DisplayLink port is not a mirror of the main laptop screen and is instead a separate window like DisplayPort-4.

Here is the xrandr commands that are currently in my i3 config. I checked some documentation and I could not find a "do not mirror" command on there.

exec_always xrandr --auto --output eDP-1 --primary
exec_always xrandr --auto --output  DisplayPort-4
exec_always xrandr --auto --output DisplayPort-1-0 --left-of DisplayPort-4

I did attempt to set the resolutions without using the --auto command but kept running into issues of different screens overlapping each other or having null spaces between them.

Also might be worth mentioned that during the Login (using SDDM) the left side of the screen is black, it appears that the DisplayLink does not execute until after I log in.

Any info would be greatly appreciated.





*** Old Post  - Solved DisplayLink install by providing manual resolution to DisplayPort-1-0***
Hello all,

Hardware:
AMD CPU
AMD graphics module
Framework 16
LG 49WL95C-WY 49 Inch 32:9 UltraWide Dual QHD IPS Curved LED Monitor with HDR10 (Using 1x DP, 1x HDMI, 1x USB C (with DP alt mode))

Steps Completed:
Installed Packages - evdi, displaylink
enabled displaylink
20-evdi.conf written
xrandr --setprovideroutputsource 1 0
udl module loaded at boot


I use my laptop quite often with a larger monitor but the HDMI has been quite unreliable and repeatedly turns off and on at random times.
I have noticed that the specific port gets quite hot so that might be a potential issue. I have decided to try and use the USB C on my graphics module because it does have an "alt mode" for display port.

I have followed this page quite closely and managed to get the module loaded automatically, a lot of the configuration done (just fixed an error where SDDM came up with display link not loading) and am now stuck on the final section of the Xrandr config.

I attempted to use script provided but it comes up with an error:

[ranon@archlaptop displaylink.sh]$ ./displaylink.sh
<< No displaylink providers found, bailing! >>

but I can confirm that displaylink service is active

[ranon@archlaptop displaylink.sh]$ sudo systemctl status displaylink.service
● displaylink.service - DisplayLink Manager Service
     Loaded: loaded (/usr/lib/systemd/system/displaylink.service; enabled; preset: disabled)
     Active: active (running) since Fri 2024-08-30 18:39:27 CST; 22min ago
 Invocation: 0c71f0b12e43440bb6db02fdfe788027
    Process: 1425 ExecStartPre=/sbin/modprobe evdi (code=exited, status=0/SUCCESS)
   Main PID: 1443 (DisplayLinkMana)
      Tasks: 14 (limit: 37626)
     Memory: 14.8M (peak: 15.5M)
        CPU: 731ms
     CGroup: /system.slice/displaylink.service
             └─1443 /usr/lib/displaylink/DisplayLinkManager

Aug 30 18:39:27 archlaptop systemd[1]: Starting DisplayLink Manager Service...
Aug 30 18:39:27 archlaptop systemd[1]: Started DisplayLink Manager Service.

I can also confirm that the screen is "connected" but the display is still black. Using i3 to move windows around also confirms that there are no ghost gaps.

[ranon@archlaptop ~]$ xrandr --current | grep connected
eDP-1 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 345mm x 215mm
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
DisplayPort-3 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 599mm x 337mm
DisplayPort-4 connected 1280x1440+5120+0 (normal left inverted right x axis y axis) 300mm x 337mm
DisplayPort-5 disconnected (normal left inverted right x axis y axis)
DisplayPort-6 disconnected (normal left inverted right x axis y axis)
DisplayPort-7 disconnected (normal left inverted right x axis y axis)
DisplayPort-8 disconnected (normal left inverted right x axis y axis)
eDP-1-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1-0 connected (normal left inverted right x axis y axis)

"DisplayPort-1-0" is new since I started this process so I am assuming that it is the displaylink connection. It also does not have a resolution like the other ones.

A little stumped on the next step and not sure if I am missing something or not.

Any help would be greatly appreciated.

Last edited by Ranon (2024-09-02 16:57:12)

Offline

#2 2024-08-30 11:23:12

Ranon
Member
Registered: 2023-09-14
Posts: 44

Re: Solved - Framework 16 - Display Link won't unmirror

Update**

Using Xrandr to give the new display a resolution does allow it to display but it is a mirror of the primary display (eDP-1) so the final step is to unhook that from being an auto mirror and I am all set.

(displaylink scipt still does not work)

Last edited by Ranon (2024-08-30 11:24:01)

Offline

Board footer

Powered by FluxBB