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

            Bug ID: 422141
           Summary: kwin_wayland nested does not allow scale < 1
           Product: kwin
           Version: 5.17.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: t...@r.je
  Target Milestone: ---

SUMMARY

When running kwin_wayland nested, it does not support a command line argument
--scale of < 1

STEPS TO REPRODUCE
1. Follow the instructions here:
https://community.kde.org/KWin/Wayland#Starting_a_nested_KWin for a nested
wayland instance
2. Set the command line switch --scale to a value less than 1 e.g. 0.5 



OBSERVED RESULT

FATAL ERROR incorrect value for scale


EXPECTED RESULT

Should allow a scale of < 1. E.g. 0.5 (50%)

When using an existing session and using the display configuration it's
possible to set a scale of 0.5 so this seems to be a redundant check at
startup:

The error message comes from main_wayland.cpp:612

https://github.com/KDE/kwin/blob/master/main_wayland.cpp#L612


Use case:

I have an older game that doesn't support MSAA and was trying to render it at a
higher resolution and scale it down, a bit like how DSR works in the windows
nvidia driver.

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

Reply via email to