Skip to content

Wine Fullscreen Apps are not Unredirected Correctly #701

@li20034

Description

@li20034

Distribution

Mint 22

Package version

6.2.9

Graphics hardware in use

Intel HD 530

Frequency

Always

Bug description

Fullscreen apps running in Wine are still being composited likely negatively impacting performance and latency, rather than being unredirected so the app draws directly to the screen.

Steps to reproduce

  1. Turn on Settings -> General -> Compositor Options -> Disable Compositing for full-screen Windows
  2. Run a 3D demo or game in Wine in fullscreen. Something which runs at a high framerate and vsync off is desirable to really see the effects.
  3. ssh into the machine from another device
  4. in the ssh session, run sudo intel_gpu_top. You will observe that cinnamon is listed with a significant amount of 3D Render usage. Also there is no tearing even with vsync off in the app. This means that cinnamon is still compositing the window.
  5. For reference, try running the native app glmark2 --fullscreen instead of Wine. This time, the GPU render usage for cinnamon will go to (almost) 0 after a second or 2.

Expected behavior

Cinnamon should use almost 0 GPU in this scenario, and the window gets unredirected, meaning that with VSync off, tearing should be visible.

Additional information

I'm using Wine 9.0 from the official Ubuntu repos (not the winehq ppa). I listed the GPU as Intel HD 530 (on i5 6600), but the same issue also occurs on other Intel GPUs (e.g. Intel Iris Xe on i7-1180G7). I'm almost sure that this issue occurs with other GPUs too, but I do not have the hardware to test it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions