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

neuralnote gui is frozen until re-painted #384

Open
1 task done
RustoMCSpit opened this issue Dec 7, 2024 · 5 comments
Open
1 task done

neuralnote gui is frozen until re-painted #384

RustoMCSpit opened this issue Dec 7, 2024 · 5 comments

Comments

@RustoMCSpit
Copy link

RustoMCSpit commented Dec 7, 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

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

@ArtikusHG
Copy link

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!

@RustoMCSpit
Copy link
Author

RustoMCSpit commented Dec 14, 2024

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

@relaborn
Copy link

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.

@RustoMCSpit
Copy link
Author

direct x vulkan? why

@relaborn
Copy link

relaborn commented Dec 17, 2024

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

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

3 participants