My system detected the dual monitors but switched them

Hello,

I use opensuse tumbleweed and I use dual monitor setup. One monitor is a samsung monitor and has high resolution (3440x1440) while the other is an asus monitor with lower resolution (1920x1080).

Opensuse detected both monitors, but it thinks that the asus monitor is a samsung monitor, while it thinks that the samsung monitor an asus monitor. They are labeled wrongly in the settings page. Because of that, it thinks that the samsung resolution cannot go beyond 1920, which is not correct.

Is there a way to switch them back?


$xrandr

Screen 0: minimum 16 x 16, current 5360 x 1440, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77  
XWAYLAND1 connected 3440x1440+1920+0 (normal left inverted right x axis y axis) 800mm x 330mm
   3440x1440     49.96*+
   1920x1440     49.92  
   1600x1200     49.92  
   1440x1080     49.86  
   1400x1050     49.97  
   1280x1024     49.84  
   1280x960      49.85  
   1152x864      49.91  
   1024x768      49.74  
   800x600       49.51  
   640x480       49.67  
   320x240       47.50  
   1920x1200     49.93  
   1680x1050     49.97  
   1440x900      49.88  
   1280x800      49.95  
   720x480       49.40  
   640x400       49.70  
   320x200       47.17  
   2560x1440     49.96  
   2048x1152     49.90  
   1920x1080     49.93  
   1600x900      49.94  
   1368x768      49.84  
   1280x720      49.83  
   1024x576      49.81  
   864x486       49.61  
   720x400       49.63  
   640x350       49.52  

As usual, right after I posted I found the problem.

I use a KVM to switch between the computers. Though this KVM was working fine before, it seems that something happened to it where it is not doing it correctly anymore. When I connected my machine to the monitors directly, it worked. So it is a problem with the KVM.

Consider this issue solved.

hi

fwiw

I noticed a similar problem after updating :-

Kernel: 5.17.2-1-default x86_64 bits: 64 Desktop: KDE Plasma 5.24.4 Distro: openSUSE Tumbleweed 20220413

the correct orientation of the screens can be set via “systemsettings” but it is not remembered for next boot

the work-around used was to put a cmd in $HOME/.profile :-

xrandr --output ‘HDMI-0’ --auto --rotate normal --pos 0x0 --output ‘LVDS’ --auto --right-of ‘HDMI-0’