Monitor positions constantly reset - NVIDIA + KDE Plasma - Need help!

Hello,

I’m experiencing a frustrating issue where my monitor positions keep getting reset on every boot, and I’ve exhausted all the solutions I can find online.

System Configuration:

  • OS: Kubuntu 24.04

  • Desktop: KDE Plasma 5.27

  • GPU: NVIDIA GeForce RTX 4060

  • Driver: NVIDIA 510.47.03

  • Display Server: X11

Hardware Setup:

  • Monitor 1 (DP-2): HP OMEN 25, 1920x1080 @ 144Hz - Primary monitor, physically positioned on bottom

  • Monitor 2 (HDMI-0): LG TV, 3840x2160 @ 60Hz - Secondary monitor, physically positioned on top of Monitor 1

Desired Configuration:

  • DP-2 at position (0, 0) - bottom monitor

  • HDMI-0 at position (0, -2160) - top monitor, above DP-2

Actual Configuration After Boot:

  • DP-2 at position (0, 2160)

  • HDMI-0 at position (0, 0)

The Issue:

Every single boot, the positions reset. This causes my KDE splash screen to stretch across both monitors instead of displaying only on the primary monitor. I’ve tried everything I can think of:

Troubleshooting Steps Attempted:

  1. xrandr manual configuration - Positions revert within seconds:

bash

   xrandr --output DP-2 --primary --pos 0x0 --output HDMI-0 --pos 0x-2160

Running xrandr immediately after shows the old positions are back.

  1. KDE Display Configuration GUI - Saved configuration doesn’t persist after reboot

  2. Deleted KDE display configs:

bash

   rm -rf ~/.local/share/kscreen/*
   rm -rf ~/.config/kscreenrc
  1. Removed conflicting GNOME config:

    • Found and removed ~/.config/monitors.xml which had hardcoded positions
  2. Modified /etc/X11/xorg.conf with correct metamodes:

   Option "metamodes" "DP-2: 1920x1080_144 +0+0 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +0+-2160 {ForceCompositionPipeline=On}"

This had some effect (positions changed slightly) but still not correct.

  1. Checked all shell configs - No xrandr commands in .bashrc, .profile, .bash_profile, .xprofile, etc.

  2. Checked autostart scripts - Removed old monitor configuration script from ~/.config/autostart/

  3. Killed plasma-kscreen service before running xrandr - Still reverts

Additional Information:

The plasma-kscreen.service is running and shows activity in logs when positions change. I’ve verified that xorg.conf is being read (nvidia-settings shows the metamodes configuration), but something is overriding it post-boot.

Question:

What could be overriding the monitor positions? Is there another NVIDIA-specific config file, a KDE Plasma setting, or a systemd service that manages display positions? Has anyone successfully configured monitor positions with NVIDIA + KDE where the secondary monitor is at negative coordinates?

I’m open to any solution at this point - whether it’s fixing the monitor positions permanently OR configuring the KDE splash screen to only display on the primary monitor regardless of its position.

Thank you for any assistance!