Skip to content

Seeking guidance on monitor mounting issue on boot. Monitors not showing correctly or at all without work-around.

Hello Archlinux. Thank you in advance for helping me with this long-time monitoring mounting issue on boot. Essetnially, if both monitors are plugged in at boot, only the HDMI monitor is shown, with the DP monitor non-detected.

Setup

Linux 5.15.67-1-lts x86_64, NVIDIA 2080 Super, AMD Ryzen 9 3900x, NVIDIA Driver.

DP-4: 3440x1440 100hz DP-3: 1680x1050 60hz

Problem

DP-3 and DP-4 are plugged in at boot. The following scenarios typically happen.

Only DP-3 shows

Boot screen shows on DP-3. Only DP-3 shows and DP-4 doesn't show up when running XRANDR. I run the script below and the monitor is still not detected. Boot screen is only on DP-3.

No displays are showing

All displays are black. No image.

Work around

Unplug DP-3, boot, DP-4 shows. Plug in DP-3. Run the script below. Everying works.

#!/usr/bin/env bash

# NOTES
# # Getting nvidia settings:
# `nvidia-settings -q CurrentMetaMode`
# The mode is everything after the "::"
xrandr --output DP-4 --primary --mode 3440x1440 --rate 100 --pos 1680x0 --output DP-3 --mode 1680x1050 --rate 60 --left-of DP-4 --pos 0x390
nvidia-settings -a CurrentMetaMode="DPY-5: 3440x1440_100 @3440x1440 +1680+0 {ViewPortIn=3440x1440, ViewPortOut=3440x1440+0+0, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DPY-4: nvidia-auto-select @1680x1050 +0+390 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"

Desired Result

Boot screen shows on DP-4. DP-4 and DP-3 display as configured in the xorg.conf. I'm not sure if my xorg.conf is configured correctly shown in the pastebin below.

https://pastebin.com/9LuTGhPN

Thank you!

3 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 81% up
Kind
Text
ID
xbmdnv

Author

17
posts
30
comments
1
media
View profile
Nobody had commented when we saved it.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.