You are not logged in.
Hello,
Since a bit of time I have problems with Xorg. When I login I launch it and I set up my screens using xrandr. The command is this one:
xrandr --output HDMI-0 --left-of DVI-D-0But since a few days it didn't do anything. I didn't understand until I tried a little modification. I executed this:
xrandr --output DVI-D-0 --right-of HDMI-0And it worked...
I don't know from where this behavior comes from, I certainly made a mistake. The xrandr -q output is kinda weird tho:
Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 32767 x 32767
DVI-D-0 connected primary 1280x1024+1920+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.02*+ 75.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 59.94 50.00
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
quentin@QuentinDesktop ~>Since my monitors have inverted names, resolutions should be to, in this case I should have:
DVI-D-0 with a 1920*1080 resolution
HDMI-0 with a 1280*1024
But it is not the case, resolutions are correct with the name but the name is not correct with the associated monitor.
How should I resolve this ? I found nothing like this on the web.
EDIT: My graphic card is a GTX 1060 and I use the NVIDIA proprietary driver. Here is my xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 465.31
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionLast edited by Quentincestino (2021-08-28 00:44:30)
Offline
Remove the xorg.conf, it's pointless and full of legacy cruft.
But it is not the case, resolutions are correct with the name but the name is not correct with the associated monitor.
Err… What?
Ok, so you've two outputs. One's physically wired through HDMI, the other one through DVI?
The panel on the physical HDMI plug has FullHD (1920x1080) resolution and the DVI one 1280x1024? (Also the HDMI one is bigge/wider, 50x29cm ./. 37x30cm?)
xrandr --output HDMI-0 --left-of DVI-D-0
xrandr --output DVI-D-0 --right-of HDMI-0Where's the "inversion" here? Those calls should™ be equivalent.
When I login I launch it and I set up my screens using xrandr.
Do you mean you execute that by hand or by some startup script (that is launched how exactly)?
In any event:
/etc/X11/xorg.conf.d/11-monitor.conf
Section "Monitor"
Identifier "HDMI-0"
Option "Enable" "True"
Option "Primary" "True"
EndSection
Section "Monitor"
Identifier "DVI-D-0"
# Option "Primary" "True"
Option "RightOf" "HDMI-0"
Option "Enable" "True"
EndSectionOffline
Err… What?
Ok, so you've two outputs. One's physically wired through HDMI, the other one through DVI?
The panel on the physical HDMI plug has FullHD (1920x1080) resolution and the DVI one 1280x1024? (Also the HDMI one is bigge/wider, 50x29cm ./. 37x30cm?)
I have a HDMI screen which is in 1920*1080 and a 4/3 DVI screen. On xrandr they look fine but their name are in reality inverted and thats weird. xrandr says HDMI-0 is the 1080p screen but when I use xrandr on it, it acts like HDMI-0 was the 4/3 screen and DVI-D-0 is the 1080p one.
It makes that if I want my HDMI screen as main screen and the DVI as secondary at the right of the HDMI I use
xrandr --output DVI-D-0 --right-of HDMI-0Because as I said names are inverted. And both calls doesn't seem equivalent for KDE because the taskbar only pops on the --output marked, and have focus on it at startup
Do you mean you execute that by hand or by some startup script (that is launched how exactly)?
I executte it by hand, but I noticed this weirdness when I tried to write the 10-monitor.conf
Offline
Okay, I resolved the bug:
1/ I removed the xorg.conf as you said it.
2/ I reinstalled NVIDIA Drivers
And it worked ¯\_(ツ)_/¯
Offline