Configure Output 2 Monitors

Chris Sorenson csoren at cpinternet.com
Mon Dec 20 00:25:28 UTC 2021


>

> Hello, I have an Asus G513 Laptop with HDMI port and USB-C 3.1 DP with
> video output option, and I need to use two additional monitors to the
> laptop screen, doing tests at a time when the USB-C got to work. Two
> Monitors with the adapter that I have there but the laptop screen was
> deactivated, then the laptop screen was activated but it recognized the DP
> ports of the USBC but they had no resolution, I have already tried several
> things and I cannot find the solution.
>
> I am using Manjaro the output of the xrand is
>
> xrandr -q
> xrandr: Output DP-1-0.1 is not disconnected but has no modes
> xrandr: Output DP-1-0.2 is not disconnected but has no modes
> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
> eDP connected primary 1920x1080 + 0 + 0 (normal left inverted right x axis
> y axis) 344mm x 194mm
> 1920x1080 144.00 + 60.00 *
> 1680x1050 144.00
> 1280x1024 144.00
> 1440x900 144.00
> 1280x800 144.00
> 1280x720 144.00
> 1024x768 144.00
> 800x600 144.00
> 640x480 144.00
> HDMI-A-0 disconnected (normal left inverted right x axis y axis)
> DP-1-0.1 connected (normal left inverted right x axis y axis)
> DP-1-0.2 connected (normal left inverted right x axis y axis)
> DP-1-0 disconnected (normal left inverted right x axis y axis)
> DP-1-1 disconnected (normal left inverted right x axis y axis)
>
> In those ports DP-1-0.1 and DP-1-0.2 are the two LG monitors
>
> I have a nvidia rtx3050 card, the kernel I use is the Currently running:
> 5.15.7-1-MANJARO (linux515)
>


Try adding this to your X startup script:

/bin/bash -c 'sleep 15 && xrandr --output DP-1-0.1 --set "Broadcast RGB" "Full"'
/bin/bash -c 'sleep 15 && xrandr --output DP-1-0.2 --set "Broadcast RGB" "Full"'


More information about the xorg mailing list