Hello guys.
I’m back to linux last weekend and I’m having some weird problem to find out how to tell to the linux system wich one is my primary monitor.
During the boot setup, for some reason, my lightdm loads on the main monitor, but my mouse on the second one, wich is 90º twisted in the phisical support, it also loads in the wrong side of the main monitor.
My default configuration inside a GUI is my main monitor on the right, and the second in the left twisted in 90º, in boot screen, the second monitor load on the right and no 90º twist on it.
When the GUI it’s loaded, they go to the right place, but another situation occurs, because most of the applications load into the second monitor for the first time, in some exceptional cases like GDEVELOP, I have to create a windows rule to force the application to go to the main monitor.
This behavior occurs in other distros to (I’ve tryied some until I reach Manjaro) and with different GUI, I’m using Plasma for now, but I’ve tested on Gnome either.
Just have in mind that I’ve completely wipped the disks, so there is no broken configuration files on / or /home folders from other instals.
Ryzen 3600x with GeForce 1060 6GB with propietary drivers from Manaro repo, ASUS TUF X570
KDE / Gnome runing on X11
Tryed to force the composition pipeline in nvidia utils like a post suggests, but doens’t work and by some reason it’s disabled after reboot / shutdown, and obsviouly use the GUI control panel doesn’t affect the login screen configuration.
Tryied to switch the cables in the VGA HDMI phisical outputs.
Searching, I’ve seen some more experienced users asking for the output of the some files, here it is what I’ve found:
/ETC/X11/MHWD.D/NVIDIA.CONF
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 515.48.07
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
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 "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "COMPOSITE" "Enable"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
/ETC/X11/XORG.CONF
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 515.48.07
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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 "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL UP2716D"
HorizSync 30.0 - 88.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1060 6GB"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: nvidia-auto-select +1440+560 {ForceCompositionPipeline=On}, HDMI-1: 2560x1440 +0+0 {rotation=right, ForceCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
And sorry for some misspelled or confusing explanation, english it’s not my default language.