https://bugs.kde.org/show_bug.cgi?id=475653

            Bug ID: 475653
           Summary: Primary monitor is switched when coming back from
                    suspend/rebooting
    Classification: Plasma
           Product: kwin
           Version: 5.27.8
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ja...@jamesnorth.net
  Target Milestone: ---

SUMMARY
I have two monitors. I set one of the monitors as the primary display, but when
the computer wakes up again, the monitor is switched (often, I'm not sure if
this is always the case). I then need to set the other monitor back to primary
and the taskbar will move back.

I experienced this issue on Fedora, but recently moved to Arch Linux and am
still facing this issue. I have a NVIDIA card, and am running Wayland.

My second monitor uses a HDMI port but is converted to DisplayPort before being
plugged into my GPU. My monitor uses HDMI.

There is nothing in my ~/.config/plasmashellrc related to Screen Connectors.
This command produces no output: grep -A4 tors ~/.config/plasmashellrc

Output of inxi -GSxxz --vs:

inxi 3.3.30-00 (2023-09-25)
System:
  Kernel: 6.5.7-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 wm: kwin_wayland dm: SDDM
    Distro: Arch Linux
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] vendor: Gigabyte
    driver: nvidia v: 535.113.01 arch: Turing pcie: speed: 8 GT/s lanes: 16
    ports: active: none off: DP-2,HDMI-A-1 empty: DP-1,DP-3 bus-ID: 2d:00.0
    chip-ID: 10de:1f06
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.1
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia d-rect: 2880x1620
    display-ID: 0
  Monitor-1: DP-2 pos: bottom-r res: 960x540 size: N/A
  Monitor-2: HDMI-A-1 pos: primary,top-left res: 1920x1080 size: N/A
  API: EGL v: 1.5 platforms: gbm: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.113.01 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2
    display-ID: :1.0
  API: Vulkan v: 1.3.264 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: nvidia device-ID: 10de:1f06


STEPS TO REPRODUCE
1. Set a display as the primary monitor
2. Suspend or reboot the computer
3. Watch as the other display is selected as the primary monitor and the
taskbar moves to the other monitor.

OBSERVED RESULT
My primary monitor changes.

EXPECTED RESULT
My primary monitor remains my primary monitor in perpetuity.

SOFTWARE/OS VERSIONS
Linux: 6.5.7-arch1-1 Kernel
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
I'm using Wayland with my NVIDIA GPU. The second monitor is a Wacom Cintiq
graphics tablet.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to