[Bug 58506] New: Some VST plugins using OpenGL don't render in WOW64 mode (black screen)
http://bugs.winehq.org/show_bug.cgi?id=58506 Bug ID: 58506 Summary: Some VST plugins using OpenGL don't render in WOW64 mode (black screen) Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs(a)winehq.org Reporter: a.oleinic103(a)gmail.com Distribution: --- When using yabridge to run Windows VST plugins in a native Linux DAW (in my case, REAPER), Waves plugins do not render correctly, showing a black window. The window is interactable (grabs the cursor, can change settings, etc), but dragging it, closing and re-opening, etc. does not work. In the logs, the plugins show a bunch of OpenGL errors. This is specifically a WOW64 regression, since using a build of Wine 10 without WOW64 works fine. This is what it looks like: 09:07:42 [WaveShell1-VST3 14.12_x64-09EFPegt] [Wine STDERR] 0024:err:opengl:null_glEnable unsupported 09:07:42 [WaveShell1-VST3 14.12_x64-09EFPegt] [Wine STDERR] 0024:err:opengl:null_glBlendFunc unsupported (Sorry for pasting it here, I have read the rules, but it's not letting me paste text as an attachment for some reason :/) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 PaulTGG <paul(a)gotgrip.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul(a)gotgrip.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Component|opengl |-unknown Ever confirmed|0 |1 Version|unspecified |10.0 --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Are you referring to the experimental WOW64 mode? Attaching the console logs would make things much more clear. https://gitlab.winehq.org/wine/wine/-/wikis/Bugs You also need to upgrade Wine to the latest release. https://gitlab.winehq.org/wine/wine/-/wikis/Download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #2 from a.oleinic103(a)gmail.com --- (In reply to Ken Sharp from comment #1)
Are you referring to the experimental WOW64 mode?
Yes!
Attaching the console logs would make things much more clear. https://gitlab.winehq.org/wine/wine/-/wikis/Bugs
I have attached the full log.txt file, however the logs don't have much more info than the few lines I've pasted in the description - it's just a bunch of OpenGL errors.
You also need to upgrade Wine to the latest release. https://gitlab.winehq.org/wine/wine/-/wikis/Download
I am on the latest release! I tested this with wine-tkg and wine-staging from the Arch repos, both on version 10.12. When downgrading to a prior version of Wine, before Arch switched to WOW64, everything went back to normal again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #3 from a.oleinic103(a)gmail.com --- Created attachment 78968 --> http://bugs.winehq.org/attachment.cgi?id=78968 This is what is logged when I try to open a plugin that uses OpenGL -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 gogokily(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gogokily(a)gmail.com --- Comment #4 from gogokily(a)gmail.com --- Created attachment 79044 --> http://bugs.winehq.org/attachment.cgi?id=79044 OpenGL errors -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #5 from gogokily(a)gmail.com --- (In reply to gogokily from comment #4)
Created attachment 79044 [details] OpenGL errors
Same here log is spamming unsupported commands -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #6 from gogokily(a)gmail.com --- Seems waves now work with 10.13 staging no more opengl errors and gui renders fine now -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #7 from a.oleinic103(a)gmail.com --- tuning back in to report the issue is happening again with wine 10.14 and later. wine 10.13 seems to be the *only* newer version of wine that is unaffected, updating any further brings the issue back :/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #8 from gogokily@gmail.com --- Please can this can be looked into? It was working then it broke again and still broken in wine 11. In wine 11 they dont even load anymore (before was black screen) now it just gets stuck 23:41:07 [WaveShell1-VST3 14.12_x64-59BDGSVm] [Wine STDERR] 0310:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0. 23:41:07 [WaveShell1-VST3 14.12_x64-59BDGSVm] [Wine STDERR] 0310:err:winediag:wined3d_dll_init Using the Vulkan renderer. 23:41:07 [WaveShell1-VST3 14.12_x64-59BDGSVm] [Wine STDERR] 0310:fixme:win:RegisterTouchWindow hwnd 0000000000070094, flags 0x2 stub! 23:41:07 [WaveShell1-VST3 14.12_x64-59BDGSVm] [Wine STDERR] 0310:fixme:system:EnableNonClientDpiScaling (00000000000200B8): stub 23:41:07 [WaveShell1-VST3 14.12_x64-59BDGSVm] [Wine STDERR] 0310:fixme:win:RegisterTouchWindow hwnd 00000000000200B2, flags 0x2 stub! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #9 from gogokily@gmail.com --- Created attachment 80187 --> http://bugs.winehq.org/attachment.cgi?id=80187 Wine 11 yabridge log Waves plugins -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #10 from gogokily@gmail.com --- Created attachment 80215 --> http://bugs.winehq.org/attachment.cgi?id=80215 Detailed log WINEDEBUG=warn+all,fixme-all When waves plugin fails to load this is where it stops -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #11 from gogokily@gmail.com --- Created attachment 80217 --> http://bugs.winehq.org/attachment.cgi?id=80217 Fix patch This patch fixes it and works fine after. HDC is null and passed around -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #12 from gogokily@gmail.com --- Since it started working in 10.13 and immediately in 10.14 broke again (and still is in current latest version) it broke somewhere with these commits: https://gitlab.winehq.org/wine/wine/-/commit/227dd946333c54b6480090517db4bba... https://gitlab.winehq.org/wine/wine/-/commit/bc9d6f9640ad428fc98653787061d23... Provided patch above fixes the issue since it checks if HDC is valid before passing it further. When VST tries to load there are: 0314:warn:win:get_window_pixel_format getting format on win (nil) not supported 0314:warn:opengl:update_handle_context Failed to re-create context for wglShareLists which makes them stuck in loop (not responding both them and main app (Reaper). So the fix was to check if hdc is actually valid in `update_handle_context` and return early. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58506 --- Comment #13 from gogokily@gmail.com --- fixed in wine 11.2-1 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla