Bug 428201

Summary: Can't adjust underscan/overscan settings for HDMI-Out in Plasma Wayland session
Product: [Plasma] KScreen Reporter: pieceredd
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate, xaver.hugl
Priority: NOR Keywords: wayland
Version: 5.20.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.22
Sentry Crash Report:

Description pieceredd 2020-10-24 21:37:29 UTC
SUMMARY
Can't adjust underscan/overscan settings for HDMI-Out in Plasma Wayland session

STEPS TO REPRODUCE
1. Use a computer with a TV plugged into the HDMI-Out, TV has no option to 'force' this in its built-in settings
2. Login to Plasma Wayland session
3. No option in Display Configuration settings panel for adjusting overscan/underscan settings

OBSERVED RESULT
Desktop (in my case) is stretched beyond the TV's physical borders, so bottom panel/top window borders are off screen. 

EXPECTED RESULT
An option to adjust this setting in the Plasma settings and allow my desktop to fill up my TV screen without hanging off the edge

SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma: Arch Linux/Kernel 5.9.1-arch1-1 
(available in About System)
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
With Xorg this can be done easily with xrandr but no such tool exists for doing this in the Wayland session.
Comment 1 Zamundaaa 2021-02-17 16:02:03 UTC
Apparently CCBUG doesn't work... I made a patch that allows you to set overscan: https://invent.kde.org/plasma/kwin/-/merge_requests/701

Could you test it? It doesn't include options in UI but should at least make it work if you edit the overscan value in ~/.config/kwinrc.
Comment 2 Bug Janitor Service 2021-04-11 14:28:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/846
Comment 3 Zamundaaa 2021-04-19 16:46:59 UTC
Git commit 0292c4a74ccce6397fc2347038dd60ec51ff98b1 by Xaver Hugl.
Committed on 19/04/2021 at 16:46.
Pushed by zamundaaa into branch 'master'.

platforms/drm: Add support for setting overscan

M  +26   -1    src/abstract_wayland_output.cpp
M  +8    -0    src/abstract_wayland_output.h
M  +17   -0    src/plugins/platforms/drm/drm_object_connector.cpp
M  +5    -0    src/plugins/platforms/drm/drm_object_connector.h
M  +12   -0    src/plugins/platforms/drm/drm_output.cpp
M  +1    -0    src/plugins/platforms/drm/drm_output.h
M  +25   -0    src/waylandoutputdevice.cpp
M  +2    -0    src/waylandoutputdevice.h

https://invent.kde.org/plasma/kwin/commit/0292c4a74ccce6397fc2347038dd60ec51ff98b1