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

Dāvis <davis...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davis...@gmail.com
            Version|5.11.95                     |git master

--- Comment #35 from Dāvis <davis...@gmail.com> ---
Why this bug report is closed? It's still broken...
If this is XWayland bug, then where's the link to upstream bug report?

I've noticed that setting Wayland scaling breaks badly some games running under
XWayland with Wine.
I want to keep Wayland scaling (seems to be working fine at 150% for Wayland
apps I use) but disable any scaling for XWayland because most apps work way
better on X11 without any scaling than this broken scaling.

This particular issue I just encountered isn't related to blurriness but window
shaking/resizing and wrong resolution. It's hard to describe in words so watch
this video demonstration https://youtu.be/AS9H8QrV5Ig

Basically I've native Wayland resolution of 3440x1440 with 150% scaling and
that causes XWayland to report incorrect resolution of 2288x960 which a lot of
applications can't handle as they're used to standard resolutions so I think it
would be very useful if we could force "regular" resolution to X11 clients.

Also are there any workarounds for this other than disabling scaling
altogether?

by the way I'm using latest KWin git master and
$ Xwayland -version
The X.Org Foundation Xwayland Version 22.1.1 (12201001)
X Protocol Version 11, Revision 0

$ wayland-info
interface: 'wl_compositor',                              version:  4, name:  1
interface: 'zwp_tablet_manager_v2',                      version:  1, name:  2
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1',  version:  1, name:  3
interface: 'xdg_wm_base',                                version:  4, name:  5
interface: 'zwlr_layer_shell_v1',                        version:  3, name:  6
interface: 'zxdg_decoration_manager_v1',                 version:  1, name:  7
interface: 'wp_viewporter',                              version:  1, name:  8
interface: 'wl_shm',                                     version:  1, name:  9
        formats: 'XB48'(0x38344258) 'AB48'(0x38344241) 'XB30'(0x30334258)
'AB30'(0x30334241) 'XR30'(0x30335258) 'AR30'(0x30335241) XRGB8888 ARGB8888
interface: 'wl_seat',                                    version:  7, name: 10
        name: 
        capabilities: pointer keyboard touch
        keyboard repeat rate: 25
        keyboard repeat delay: 660
interface: 'zwp_pointer_gestures_v1',                    version:  3, name: 11
interface: 'zwp_pointer_constraints_v1',                 version:  1, name: 12
interface: 'zwp_relative_pointer_manager_v1',            version:  1, name: 13
interface: 'wl_data_device_manager',                     version:  3, name: 14
interface: 'zwlr_data_control_manager_v1',               version:  2, name: 15
interface: 'zwp_primary_selection_device_manager_v1',    version:  1, name: 16
interface: 'org_kde_kwin_idle',                          version:  1, name: 17
interface: 'zwp_idle_inhibit_manager_v1',                version:  1, name: 18
interface: 'org_kde_plasma_shell',                       version:  6, name: 19
interface: 'org_kde_kwin_appmenu_manager',               version:  1, name: 20
interface: 'org_kde_kwin_server_decoration_palette_manager', version:  1, name:
21
interface: 'org_kde_plasma_virtual_desktop_management',  version:  2, name: 23
interface: 'org_kde_kwin_shadow_manager',                version:  2, name: 25
interface: 'org_kde_kwin_dpms_manager',                  version:  1, name: 26
interface: 'org_kde_kwin_server_decoration_manager',     version:  1, name: 27
interface: 'kde_output_management_v2',                   version:  2, name: 28
interface: 'kde_primary_output_v1',                      version:  1, name: 29
interface: 'zxdg_output_manager_v1',                     version:  3, name: 30
        xdg_output_v1
                output: 43
                name: 'DP-1'
                description: 'Acer Technologies X34 GS/277881511'
                logical_x: 0, logical_y: 0
                logical_width: 2293, logical_height: 960
interface: 'wl_subcompositor',                           version:  1, name: 31
interface: 'zxdg_exporter_v2',                           version:  1, name: 32
interface: 'zxdg_importer_v2',                           version:  1, name: 33
interface: 'xdg_activation_v1',                          version:  1, name: 36
interface: 'wp_drm_lease_device_v1',                     version:  1, name: 37
interface: 'wl_drm',                                     version:  2, name: 40
interface: 'zwp_linux_dmabuf_v1',                        version:  4, name: 41
...
interface: 'kde_output_device_v2',                       version:  2, name: 42
interface: 'wl_output',                                  version:  3, name: 43
        x: 0, y: 0, scale: 2,
        physical_width: 800 mm, physical_height: 350 mm,
        make: 'Acer Technologies', model: 'X34 GS/277881511',
        subpixel_orientation: unknown, output_transform: normal,
        mode:
                width: 3440 px, height: 1440 px, refresh: 179.999 Hz,
                flags: current
interface: 'zwp_text_input_manager_v2',                  version:  1, name: 44
interface: 'zwp_text_input_manager_v3',                  version:  1, name: 45
interface: 'org_kde_kwin_contrast_manager',              version:  2, name: 46
interface: 'org_kde_kwin_blur_manager',                  version:  1, name: 47
interface: 'org_kde_kwin_slide_manager',                 version:  1, name: 48


$ xrandr
Screen 0: minimum 16 x 16, current 2293 x 960, maximum 32767 x 32767
XWAYLAND0 connected primary 2288x960+0+0 (normal left inverted right x axis y
axis) 800mm x 350mm
   2288x960     179.95*+
   1280x960     179.87
   1152x864     179.78
   1024x768     179.84
   800x600      179.71
   640x480      179.43
   320x240      178.06
   1440x900     179.84
   1280x800     179.74
   720x480      179.35
   640x400      179.55
   320x200      176.99
   1600x900     179.77
   1368x768     179.92
   1280x720     179.72
   1024x576     179.77
   864x486      179.75
   720x400      179.53
   640x350      179.74

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

Reply via email to