Ok, wow, that was super-helpful… I think I have everything working in X11 now. I didn’t understand the way you have to map it out at first, but then in analyzing your example I remembered that in graphics mapping, 0x0 is the UPPER left corner, not the LOWER left corner, and the y-axis is positive going DOWN… I haven’t messed with that kind of thing in years, but now I worked it out. Here is what my system looked like before the adjustments:
> xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 8960 x 1440, maximum 16384 x 16384
HDMI-A-0 connected 1920x1080+7040+0 (normal left inverted right x axis y axis) 598mm x 336mm
DisplayPort-2 connected 2560x1440+4480+0 (normal left inverted right x axis y axis) 697mm x 392mm
DisplayPort-1 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 598mm x 336mm
DisplayPort-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
2560x1440 59.94*+ 164.83 120.01 96.01 72.00 60.01 50.01 48.01 119.88
2560x1440 59.94*+ 164.83 120.01 96.01 72.00 60.01 50.01 48.01 119.88
1920x1080 60.00*+ 165.00 120.02 96.04 72.02 60.01 50.00 48.01 143.99 119.98 99.93 50.00 59.94
1920x1080 60.00*+ 144.00 120.06 96.00 72.00 60.00 50.00 48.00 120.00 119.88 119.98 50.00 59.94
> inxi -GazGraphics:
Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Sapphire
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1,
DP-2, DP-3, HDMI-A-1 empty: none bus-ID: 0a:00.0 chip-ID: 1002:73ff
class-ID: 0300
Device-2: Sunplus IT Co AUKEY PC-LM1 USB Camera type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-3.4:6 chip-ID: 0203:145f
class-ID: 0102
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0
screens: 1
Screen-1: 0 s-res: 8960x1440 s-dpi: 96 s-size: 2370x381mm (93.31x15.00")
s-diag: 2400mm (94.51")
Monitor-1: DP-1 mapped: DisplayPort-0 pos: primary,left model: Gigabyte
G32QC A serial: <filter> built: 2022 res: 2560x1440 hz: 60 dpi: 93
gamma: 1.2 size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9
modes: max: 2560x1440 min: 640x480
Monitor-2: DP-2 mapped: DisplayPort-1 pos: center-l model: Gigabyte G27FC
A serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-3: DP-3 mapped: DisplayPort-2 pos: center-r model: Gigabyte G32QC
A serial: <filter> built: 2022 res: 2560x1440 hz: 60 dpi: 93 gamma: 1.2
size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
Monitor-4: HDMI-A-1 mapped: HDMI-A-0 pos: right model: Gigabyte G27FC A
serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
OpenGL: renderer: AMD Radeon RX 6600 (dimgrey_cavefish LLVM 14.0.6 DRM
3.47 5.19.2-1-default) v: 4.6 Mesa 22.1.7 direct render: Yes
So I mapped it out and ran this setup:
xrandr --output DisplayPort-0 --primary --pos 0x1080 --output DisplayPort-2 --pos 2560x1080 --output HDMI-A-0 --pos 640x0 --output DisplayPort-1 --pos 2560x0
And now my system is arranged the right way! Here is what it looks like after the setup:
> xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 5120 x 2520, maximum 16384 x 16384
HDMI-A-0 connected 1920x1080+640+0 (normal left inverted right x axis y axis) 598mm x 336mm
DisplayPort-2 connected 2560x1440+2560+1080 (normal left inverted right x axis y axis) 697mm x 392mm
DisplayPort-1 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 598mm x 336mm
DisplayPort-0 connected primary 2560x1440+0+1080 (normal left inverted right x axis y axis) 697mm x 392mm
2560x1440 59.94*+ 164.83 120.01 96.01 72.00 60.01 50.01 48.01 119.88
2560x1440 59.94*+ 164.83 120.01 96.01 72.00 60.01 50.01 48.01 119.88
1920x1080 60.00*+ 165.00 120.02 96.04 72.02 60.01 50.00 48.01 143.99 119.98 99.93 50.00 59.94
1920x1080 60.00*+ 144.00 120.06 96.00 72.00 60.00 50.00 48.00 120.00 119.88 119.98 50.00 59.94
> inxi -Gaz
**Graphics:**
**Device-1:** AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] **vendor:** Sapphire
**driver:** amdgpu **v:** kernel **arch:** RDNA-2 **code:** Navi-2x **process:** TSMC n7 (7nm)
**built:** 2020-22 **pcie:** **gen:** 4 **speed:** 16 GT/s **lanes:** 16 **ports:** **active:** DP-1,
DP-2, DP-3, HDMI-A-1 **empty:** none **bus-ID:** 0a:00.0 **chip-ID:** 1002:73ff
**class-ID:** 0300
**Device-2:** Sunplus IT Co AUKEY PC-LM1 USB Camera **type:** USB
**driver:** snd-usb-audio,uvcvideo **bus-ID:** 1-3.4:6 **chip-ID:** 0203:145f
**class-ID:** 0102
**Display:** x11 **server:** X.Org **v:** 21.1.4 **with:** Xwayland **v:** 22.1.3
**compositor:** kwin_x11 **driver:** **X:** **loaded:** amdgpu
**unloaded:** fbdev,modesetting,radeon,vesa **gpu:** amdgpu **display-ID:** :0
**screens:** 1
**Screen-1:** 0 **s-res:** 5120x2520 **s-dpi:** 96 **s-size:** 1354x666mm (53.31x26.22")
**s-diag:** 1509mm (59.41")
**Monitor-1:** DP-1 **mapped:** DisplayPort-0 **pos:** primary,bottom-l **model:** Gigabyte
G32QC A **serial:** <filter> **built:** 2022 **res:** 2560x1440 **hz:** 60 **dpi:** 93
**gamma:** 1.2 **size:** 697x392mm (27.44x15.43") **diag:** 800mm (31.5") **ratio:** 16:9
**modes:** **max:** 2560x1440 **min:** 640x480
**Monitor-2:** DP-2 **mapped:** DisplayPort-1 **pos:** top-center **model:** Gigabyte
G27FC A **serial:** <filter> **built:** 2021 **res:** 1920x1080 **hz:** 60 **dpi:** 82
**gamma:** 1.2 **size:** 598x336mm (23.54x13.23") **diag:** 686mm (27") **ratio:** 16:9
**modes:** **max:** 1920x1080 **min:** 720x400
**Monitor-3:** DP-3 **mapped:** DisplayPort-2 **pos:** bottom-c **model:** Gigabyte G32QC
A **serial:** <filter> **built:** 2022 **res:** 2560x1440 **hz:** 60 **dpi:** 93 **gamma:** 1.2
**size:** 697x392mm (27.44x15.43") **diag:** 800mm (31.5") **ratio:** 16:9 **modes:**
**max:** 2560x1440 **min:** 640x480
**Monitor-4:** HDMI-A-1 **mapped:** HDMI-A-0 **pos:** top-right **model:** Gigabyte G27FC
A **serial:** <filter> **built:** 2021 **res:** 1920x1080 **hz:** 60 **dpi:** 82 **gamma:** 1.2
**size:** 598x336mm (23.54x13.23") **diag:** 686mm (27") **ratio:** 16:9 **modes:**
**max:** 1920x1080 **min:** 720x400
**OpenGL:** **renderer:** AMD Radeon RX 6600 (dimgrey_cavefish LLVM 14.0.6 DRM
3.47 5.19.2-1-default) **v:** 4.6 Mesa 22.1.7 **direct render:** Yes
So now I have my screens arranged the right way, with kscreen2 disabled as you suggested. Thank you for helping me to get that to work!
I think I will stick with X11 for now. I like the idea of wayland, but there are still too many bugs. For example, on some applications, clicking on a menu item opens the menu at the bottom of the screen instead of right next to the menu. Also, I cannot get smplayer to run, which is my preferred video player. I think once they get some of those things worked out, it will be a good system. I wish I had more time to help with that sort of thing.