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

            Bug ID: 441705
           Summary: Add a kwin rule to disable scaling for some wayland
                    window
           Product: kwin
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: pranavtaysh...@gmail.com
  Target Milestone: ---

SUMMARY

In Wayland by design, compositors can ask client to scale only in integers,
therefore in fractional scaling compositors ask client for integer scale and
then scale it down.

This causes some problem in "full-screen" apps like Kodi or games supporting
wayland, because they DON'T need scaling of any kind.

So, it would be great if there was a kwin rule to disable scaling for some
wayland clients like SDL Games or apps like Kodi. 

There is ongoing discussion to solve this problem on displays requiring
fractional scaling on wayland-protocols here:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/47 

and as I understand its not possible for xwayland apps to disable scaling for
single app only (Unable to find a link for it on internet but I read it
somewhere on nate graham's blog). 

Therefore, this would be a great stop gap measure until awaylnd protocol is
finalized.


STEPS TO REPRODUCE
1. Open Kodi or wayland supported game on a fractionally scaled display
2. You will observe slight blurriness - for systematic check: check resolution
in the app's settings.

OBSERVED RESULT

It will show either a large resolution or smaller resolution from which kwin is
scaling it down or up.


EXPECTED RESULT

To NOT scale at all.


SOFTWARE/OS VERSIONS
Windows: X 
macOS: X
Linux/KDE Plasma: Archlinux 
(available in About System)
KDE Plasma Version: 5.22
KDE Frameworks Version:  
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to