You are not logged in.
Hi,
I'm running into some issues with my dual monitor setup. I have a laptop and a HDMI connected monitor, but by default only the external monitor is getting any signal.
I'm using https://wiki.archlinux.org/title/NVIDIA_Optimus tutorial to use Nvidia graphics only, since otherwise my external screen wasn't detected.
When i'm executing xrandr --output eDP-1-0 --auto --left-of HDMI-0 in a terminal, this fixes the issue. I've tried adding that command in .xinitrc, but that's doesn't have any effect. That means that if I don't have my second monitor plugged in, I do not have any screen
I'm trying to have my EDP (internal) monitor as the main one, or at least getting it to light up when xserver is starting. Could anyone help me configure that ?
(I've tried nvidia-xconfig but that removed the internal screen from xrandr, so not that great...)
Here is my neofetch dump :
```
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 60.00*+
1920x1080 144.00 120.00 119.98 119.88 60.00 60.00 59.94 50.00
1680x1050 119.99 59.95
1440x900 119.85 59.89
1280x1024 119.96 75.02 60.02
1280x720 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-0 connected (normal left inverted right x axis y axis)
1920x1080 144.03 + 60.08
1680x1050 144.03
1280x1024 144.03
1440x900 144.03
1280x800 144.03
1280x720 144.03
1024x768 144.03
800x600 144.03
640x480 144.03
```
Maybe logs from xserver init would be usefull, but that's probably already too much of info dump.
Alright, if you can help with this, thanks in advance
Last edited by Bravemole (2022-05-05 19:49:02)
Offline
Managed to solve my issue. For some reason manually calling xrandr input and the such didn't do it, but xlayoutdisplay did the trick. (I called it when I3 is starting if you ever have a similar issue)
Last edited by Bravemole (2022-05-05 19:49:33)
Offline