yabridge icon indicating copy to clipboard operation
yabridge copied to clipboard

neuralnote gui is frozen until re-painted

Open RustoMCSpit opened this issue 11 months ago • 7 comments
trafficstars

Thanks for giving yabridge a shot!

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

Problem description

a video of neuralnote not updating until it is moved within the bitwig DAW

I decided to file a new bug report as https://bugs.winehq.org/show_bug.cgi?id=55362 had been used to fix a different issue related to winepulse.drv. Having two issues for one report was confusing.

The issue here is that the UI only updates after the application has been moved around on screen (as shown in the attachment). This occurs on a fresh install of Wine Staging and first noticed in 8.13 (but may be even older). There have been concerns raised that this could be related to the JUCE framework, however that is uncertain.

"...the dropdowns don't show the updated selection until a full repaint of the settings window (by closing and opening it again).

There are possibly related messages in the log, I would check whether other applications built with JUCE are affected as well."

The bug occurs in standalone and through yabridge.

output

What did you expect to happen?

the gui to function normally

What actually happened?

the gui freezes until repainted

Operating system

linux mint 22

How did you install yabridge?

releases

yabridge version

5.1.1

yabridgectl version

uncertain?

Wine version

wine-10.0-rc1 (Staging) (it has been broken for years)

Plugin

https://github.com/DamRsn/NeuralNote

Plugin type

VST3

Plugin architecture

64-bit

Host

bitwig 5.2.7

Desktop environment or WM

Cinnamon 6.2.9

GPU model

rtx 2070 super

GPU drivers and kernel

Kernel: 6.8.0-49-generic ?

Debug log

rm -f /tmp/yabridge.log; env YABRIDGE_DEBUG_FILE=/tmp/yabridge.log YABRIDGE_DEBUG_LEVEL=2+editor bitwig-studio [2024-12-7 20:21:38.754 info] About to start the following process: /opt/bitwig-studio/bin/show-splash-gtk /opt/bitwig-studio/resources/splash-bitwig-studio.png [2024-12-7 20:21:38.754 info] Child process launched with PID 28688 [2024-12-7 20:21:38.755 info] Backing up log file "/home/pc1/.BitwigStudio/log/BitwigStudio.log" to "/home/pc1/.BitwigStudio/log/BitwigStudio-previous-run.log" [2024-12-7 20:21:38.755 info] About to start the following process: /opt/bitwig-studio/bin/BitwigStudio -cp /opt/bitwig-studio/bin/bitwig.jar:/opt/bitwig-studio/lib/cp:/opt/bitwig-studio/bin/libs.jar -Dorg.sqlite.lib.path=/opt/bitwig-studio/lib/bitwig-studio -XX:+UseZGC -XX:+ZGenerational -Xms300m -Xmx3g -Djava.io.tmpdir=/tmp/bitwig-pc1 -DinstallationRoot=/opt/bitwig-studio -DsplashPid=28688 -Djava.awt.headless=true -XX:ErrorFile=/home/pc1/.BitwigStudio/bitwig-studio-jvm-crash.log com.bitwig.flt.app.BitwigStudioMain [2024-12-7 20:21:38.755 info] Redirecting stdout to /home/pc1/.BitwigStudio/log/BitwigStudio.log [2024-12-7 20:21:38.755 info] Redirecting stderr to /home/pc1/.BitwigStudio/log/BitwigStudio.log [2024-12-7 20:21:38.755 info] Child process launched with PID 28689

Anything else?

here is a much older bug report made about neuralnote running through yabridge, not certain however https://bugs.winehq.org/show_bug.cgi?id=56774

RustoMCSpit avatar Dec 07 '24 20:12 RustoMCSpit

FYI this also happens on newer versions of Antares Auto-Tune, starting from 9 and above, also Kickstart 2 and numerous others, especially newer plugins. I believe this is because they're using some sort of GPU rendering, as I remember somehow fixing the issue a long time ago by using a Lutris bulid of wine with dxvk built in. This could also be a regression in wine because the build I used back then was really old, a 6.x or 7.x version. Some plugins redraw after like 10 seconds even if you don't move them, but still the issue persists.

Hopefully this can get fixed, it's been annoying me since forever!

ArtikusHG avatar Dec 14 '24 09:12 ArtikusHG

FYI this also happens on newer versions of Antares Auto-Tune, starting from 9 and above, also Kickstart 2 and numerous others, especially newer plugins. I believe this is because they're using some sort of GPU rendering, as I remember somehow fixing the issue a long time ago by using a Lutris bulid of wine with dxvk built in. This could also be a regression in wine because the build I used back then was really old, a 6.x or 7.x version. Some plugins redraw after like 10 seconds even if you don't move them, but still the issue persists.

Hopefully this can get fixed, it's been annoying me since forever!

the WINE team wants to know the exact version it worked and then they can bisect https://bugs.winehq.org/show_bug.cgi?id=55362

RustoMCSpit avatar Dec 14 '24 15:12 RustoMCSpit

The Neural Note issue is probably that you need to install dxvk in your prefix. I have Neural Note working fine but it needs dxvk. 'winetricks dxvk' is the simplest way to install. You might need to install winetricks before that. This is normally the issue with any GUI that renders but doesn't respond until you pick up the window and force it to redraw.

relaborn avatar Dec 17 '24 22:12 relaborn

direct x vulkan? why

RustoMCSpit avatar Dec 17 '24 23:12 RustoMCSpit

Because the inbuilt wine version is not as feature complete. This requires working Vulkan on your system.

Neural Note is using JUCE 7.0.5 at the moment. I find most JUCE 7 based plugins need dxvk. JUCE 8 plugins won't work at all, giving a black screen because they've changed their rendering method.

https://forum.juce.com/t/juce8-direct2d-wine-yabridge/64298/5

relaborn avatar Dec 17 '24 23:12 relaborn

the WINE team wants to know the exact version it worked and then they can bisect https://bugs.winehq.org/show_bug.cgi?id=55362

Sadly I don't have it anymore - I use a different PC now, and I configure wine differently. Also, it was a Lutris build of wine, not stock wine, so I doubt bisecting regular wine versions will do anything.

Just wanted to provide a little update - I was having this problem with 2 plugins - Antares Auto-Tune Pro 11 and Kickstart 2. Today, I installed dxvk-bin from the AUR, ran the setup script, reloaded REAPER, and Kickstart 2 started working perfectly! However, Auto-Tune still doesn't work. AFAIK is uses OpenGL rendering (disabling it doesn't help tho, which is weird).

Ultimately, I think those two are separate issues - if you're working with the wine team on reporting and reproducing this, I think you should try the same with your plugin - install and setup dxvk. If that doesn't help, then it's the same issue as I'm having with Auto-Tune, which I did not fix with that older wine version, and that should be dealt with separately :/

ArtikusHG avatar Jan 04 '25 11:01 ArtikusHG

Neuralnote now has a Linux version, but the current version has problems dragging and dropping the MIDI data into Reaper: https://github.com/DamRsn/NeuralNote/issues/33

David-Else avatar Feb 18 '25 22:02 David-Else