You are not logged in.

#1 2023-10-26 18:49:32

scatherinch
Member
Registered: 2023-02-24
Posts: 168

[SOLVED] Multiple Monitors: Screens and Mouse reversed

Hello,

I recently purchased a DP to DVI adapter cable to hook my secondary monitor to my GPU. The cable works, but when I booted Arch up today, now my mouse monitor setup isn't behaving quite like it should. The mouse used to move from the RIGHT of my main screen and onto my secondary screen, but now I have to move the cursor to the LEFT of my primary screen to get it to go to my secondary monitor. Upon further notice, they seem to be completely reversed. Is there anyway I can fix this??


EDIT: it looks like xrandr is reading that my secondary monitor is now my primary based on my hardware. Okay, so, how do I flip them back and make the changes permanent??

xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   1600x1200     60.00
   1680x1050     59.88
   1400x1050     59.95
   1600x900      60.00
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1280x800      59.91
   1152x864      75.00
   1280x720      60.00
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   640x480       75.00    72.81    66.67    59.94
   720x400       70.08
HDMI-A-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  74.91    50.00    59.94
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1366x768      59.79
   1280x800      60.00
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
DVI-D-0 disconnected (normal left inverted right x axis y axis)

here's some output from xinput list

 xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ EST-A USB Gaming Mouse                  	id=9	[slave  pointer  (2)]
⎜   ↳ EST-A USB Gaming Mouse Consumer Control 	id=11	[slave  pointer  (2)]
⎜   ↳ SINO WEALTH Gaming KB  Consumer Control 	id=14	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ EST-A USB Gaming Mouse                  	id=8	[slave  keyboard (3)]
    ↳ EST-A USB Gaming Mouse System Control   	id=10	[slave  keyboard (3)]
    ↳ SINO WEALTH Gaming KB                   	id=12	[slave  keyboard (3)]
    ↳ SINO WEALTH Gaming KB  System Control   	id=13	[slave  keyboard (3)]
    ↳ SINO WEALTH Gaming KB  Keyboard         	id=15	[slave  keyboard (3)]
    ↳ HP, Inc HyperX Virtual Surround Sound Consumer Control	id=16	[slave  keyboard (3)]
    ↳ HP, Inc HyperX Virtual Surround Sound   	id=17	[slave  keyboard (3)]
    ↳ EST-A USB Gaming Mouse Consumer Control 	id=18	[slave  keyboard (3)]
    ↳ SINO WEALTH Gaming KB  Consumer Control 	id=19	[slave  keyboard (3)]

and here's my 10-monitor.conf

Section "Monitor"
    Identifier "LVDS0"
    Option "DPMS" "false"
EndSection

Section "ServerFlags"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
    Option "BlankTime" "0"
EndSection

Section "ServerLayout"
    Identifier "ServerLayout0"
EndSection

Last edited by scatherinch (2023-10-27 23:12:40)

Offline

#2 2023-10-26 21:28:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,740

Offline

#3 2023-10-26 22:12:28

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Multiple Monitors: Screens and Mouse reversed

That fixed the issue, but the mouse cursor is still out of place where I have to move it to the left of my primary monitor to get it to the other monitor.

Offline

#4 2023-10-27 06:05:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,740

Re: [SOLVED] Multiple Monitors: Screens and Mouse reversed

Because that monitor is positioned left of the other one?
The "primary" doesn't imply some LTR order - what exact config file did you create?

Offline

#5 2023-10-27 17:35:12

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Multiple Monitors: Screens and Mouse reversed

Section "Monitor"
    Identifier  "HDMI-A-0"
    Option      "Primary" "true"
EndSection

Section "Monitor"
    Identifier "DisplayPort-0"
    Option      "LeftOf" "HDMI-A-0"
EndSection

Section "ServerFlags"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
    Option "BlankTime" "0"
EndSection

Section "ServerLayout"
    Identifier "ServerLayout0"
EndSection

Offline

#6 2023-10-27 19:01:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,740

Re: [SOLVED] Multiple Monitors: Screens and Mouse reversed

That would put the DisplayPort-0 ouptut left of the HDMI-A-0 output, the latter which you deemed "primary" - what'd be in line with the described, but undesired behavior.
Tried "RightOf"?

Offline

#7 2023-10-27 23:12:25

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Multiple Monitors: Screens and Mouse reversed

Ah, alright. That fixed it. Thank you. I'll mark this as solved and remember this. My DP-DVI is now working perfectly!

Offline

Board footer

Powered by FluxBB