Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor misaligned when window is moved in Tracktion Waveform #378

Closed
1 task done
russinet opened this issue Nov 3, 2024 · 6 comments
Closed
1 task done

Cursor misaligned when window is moved in Tracktion Waveform #378

russinet opened this issue Nov 3, 2024 · 6 comments

Comments

@russinet
Copy link

russinet commented Nov 3, 2024

Thanks for giving yabridge a shot!

  • I read through both the troubleshooting and the known issues sections, and my issue wasn't listed there

Problem description

In Tracktion Waveform 13, if I try to drag a plugin window, the cursor input gets messed up. It seems that the window offset is not being taken into account when calculating where the cursor should be. A fix that I found is opening up the little menu at the top of the window, which seems to reset it back to the right point. However, this is extremely annoying, especially if I have a lot of plugins that I need to move around. This issue occurs with every plugin I tried (Arturia, Spitfire, and Beatskillz). However, native plugins work just fine which leads me to believe that this is a compatability issue with Yabridge / Wine.

What did you expect to happen?

The buttons / knobs under the cursor should be selected even if the window is moved.

What actually happened?

There appears to be an offset, as if the change in window position is not being taken into account unless I do the dropdown menu thing. Please see the video for a visual demonstration

2024-11-03.01-09-10.mp4

Operating system

Arch Linux

How did you install yabridge?

AUR Package

yabridge version

5.1.0

yabridgectl version

5.1.0

Wine version

wine-9.20 (Staging)

Plugin

All Plugins

Plugin type

VST3

Plugin architecture

64-bit

Host

Tracktion Waveform Free 13

Desktop environment or WM

KDE Plasma 6.2.1 on Wayland

GPU model

RTX 3080 Laptop GPU (May be using Intel integrated graphics TigerLake-H GT1)

GPU drivers and kernel

i915 for integrated, nvidia (proprietary) for dedicated

Debug log

Unable to obtain logs, Waveform hangs whenever trying to open a plugin when the command from the second step is used.

Anything else?

Any help would be extremely appreciated! This is driving me nuts and I don't want to learn another DAW.

@bertin0
Copy link

bertin0 commented Dec 9, 2024

I have a similar issue with pianoteq in Ardour, the cursor seems to be sent at the absolute screen position not relative to the actual window position. can provide further logs if needed. also on Arch and Gnome wayland

@giantg
Copy link

giantg commented Dec 23, 2024

Hi All,

Joining in on the fun and hopefully helping: I ran into similar problems with the Korg M1 VST (version 1.71):

image

@bertin0 you were spot on! It is taking the coordinates from the top left of the screen (vs. the top left of the window). I would have never thought to try / check that, but moving the window as close to the top left reduced the offset amount for me as well. Thank you for that!

I to am running arch and decided to try cloning the official Arch Wine package source from git:
https://gitlab.archlinux.org/archlinux/packaging/packages/wine

I then reverted back to the 9.19-1 revision of the package (so Wine version 9.19) and did a makepkg -s

After installing my manually downgraded Wine version 9.19 I can confirm that the plugin now behaves and the mouse coordinates match the mouse cursor in the Korg M1 VST (via ya-bridge). This does appear to be an incompatibility introduced via Wine. I haven't had a chance to build Wine 9.20, or 9.21 yet to try and locate which exact version of Wine caused the issue (I'll report back when I'm able to build those and confirm.)

EDIT: It turns out Wine version 9.22 introduces the issue (see later comment below)

Oh, and here's my info:

Operating system

Arch Linux

How did you install yabridge?

AUR Package

yabridge version

5.1.1

yabridgectl version

5.1.1

Wine version

wine-9.19

Plugin

Korg M1 VST (version 1.71)

Plugin type

VST2

Plugin architecture

64-bit

Host

Reaper v7.28 rev 32cb21 (linux-x86_64)

Desktop environment or WM

GNOME 47.2 on Wayland

GPU model

RTX 4060 Laptop GPU (Acer Predator Helios NEO 16)

GPU drivers and kernel

i915 for integrated, nvidia (proprietary) for dedicated

@giantg
Copy link

giantg commented Dec 23, 2024

Ok, I can confirm that it seems to be the current Wine 9.22 version that introduces this issue.

I manually built 9.19, 9.20, 9.21, and 9.22 and version 9.22 (whether manually built by myself or installed from the official Arch package) introduces the cursor offset.

I was curious and looked at the Official Wine Source asking git for a comparison (https://gitlab.winehq.org/wine/wine/-/compare/wine-9.21...wine-9.22), but the changes are vast and more than I could look through at this sleepy hour. I hope these comments help and as always a HUGE THANK YOU to the whole yabridge project and to you @russinet for opening this issue!

@muxy23
Copy link

muxy23 commented Dec 23, 2024

Can also confirm, that the issue, where the pointer is aligned to the top left, occurs only since wine 9.22 for me.
Tested in wine 9.20 and wine 9.21, on both versions of the package it works fine.

Operating system

Arch Linux

How did you install yabridge?

AUR Package

yabridge version

5.1.1

yabridgectl version

5.1.1

Wine version

wine-9.21

Plugin

all windows plugins

Plugin type

VST2 & VST3

Plugin architecture

64-bit

Host

Renoise 64Bit - V3.4.4

Desktop environment or WM

KDE Plasma 6.2.4 on Wayland

GPU model

NVIDIA GTX1060 6GB

GPU drivers and kernel

NVIDIA 565.77 (proprietary)

@asymcon
Copy link

asymcon commented Dec 25, 2024

Still a problem in 10.0~rc3, can confirm 9.22 started this issue, 9.21 works fine

Operating system
Lubuntu

How did you install yabridge?
using install instructions in readme.md

yabridge version
5.1.1

yabridgectl version
5.1.1

Wine version
10.0rc3noble-1

Plugin
Audio Modeling Violin 3 but all plugins are affected

Plugin type
VST3

Plugin architecture
64-bit

Host
Reaper v7.22

Desktop environment or WM
Openbox with LXQT

GPU model
AMD Vega RX 7

GPU drivers and kernel
Proprietary, 6.8.0-51 generic

@robbert-vdh
Copy link
Owner

I forgot to mark this issue as a duplicate of #382, sorry for that! Closing this one so there's only one open issue about Wine 9.22's changes.

@robbert-vdh robbert-vdh closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants