https://bugs.kde.org/show_bug.cgi?id=516941
Bug ID: 516941
Summary: Automatic coordinate normalization to prevent
"Negative Position" errors and input lag.
Classification: Plasma
Product: KScreen
Version First 6.0.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: common
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Summary of the issue:
KScreen allows monitor arrangements that result in negative coordinates. This
triggers the error: "Position of output is negative, that is not supported". On
AMD hardware (tested with a Radeon RX 9060 XT), this configuration leads to
significant input lag and compositor stuttering in Wayland sessions.
Current Behavior:
When a secondary monitor is placed to the left or top of the primary monitor in
the Display Configuration, it creates a negative offset in the virtual
coordinate space. The system does not automatically re-anchor the global
origin, leading to UI errors and performance degradation.
Proposed Solution (Coordinate Normalization):
Implement an automatic normalization of the display coordinates. After any
change to the arrangement, the system should calculate a translation vector
based on the minimum X and Y values of all connected displays.
Mathematical Logic:
Let T = (-min(X), -min(Y)). Applying this translation vector to all monitor
coordinates ensures that the global bounding box of the virtual desktop always
starts at (0,0). This is mathematically equivalent to the user's chosen layout
but keeps all coordinates in a valid, non-negative range.
User Experience:
Add a toggle in the settings: "Automatically align desktop origin" (enabled by
default). This would eliminate the "negative position" error and the associated
lag for the majority of users, while maintaining manual flexibility for those
who explicitly opt out.
--
You are receiving this mail because:
You are watching all bug changes.