robbert-vdh / yabridge

A modern and transparent way to use Windows VST2, VST3 and CLAP plugins on Linux
GNU General Public License v3.0
2.39k stars 62 forks source link

Wine 9.17 adds high DPI scaling but breaks Yabridge's ability to size windows correctly #368

Open fripholm opened 4 weeks ago

fripholm commented 4 weeks ago

Thanks for giving yabridge a shot!

Problem description

Wine version 9.17 adds 'Window surface scaling on High DPI displays.' This in itself is awesome because e.g. older Native Instruments software like Battery or Massive scale their GUI to the 'Screen resolution' setting under the 'Graphics' tab in WINECFG. This would be really helpful on high DPI displays.

But now, although the GUI is scaled properly, values higher than the default '96 dpi' cause Yabridge to crop parts of the user interface with no way to reveal the cropped area.

What did you expect to happen?

When 'Screen resolution' is set higher than 96 dpi, Yabridge plugin windows should size according to this value.

What actually happened?

Plugin windows are cropped smaller than their actual GUI. This even happens with plugins that actually have scaling capability built in, like Serum, GlissEQ or Tone Projects Unisum.

Operating system

MX Linux

How did you install yabridge?

directly from the releases page

yabridge version

5.1.0

yabridgectl version

5.1.0

Wine version

wine-9.17 (Staging)

Plugin

various

Plugin type

both VST2 and VST3

Plugin architecture

64-bit

Host

Reaper 7.22

Desktop environment or WM

KDE Plasma 5.27.5

GPU model

AMD 780M

GPU drivers and kernel

6.10.8-1-liquorix-amd64

Debug log

No response

Anything else?

No response

tobiashuttinger commented 3 days ago

This also happens on Arch Linux with yabridge 5.1.0-5 and wine 9.18-1 for me. Unfortunately, yabridge is unusable this way. Until this is fixed, is there any workaround except lowering DPI?