GUI rendered black with latest Juce + VST3


#1

Hi everyone,

strangely since i updated last time from the git the GUI in the VST3 is totally black while in the VST version of the plugin it is rendered normally. This even occurs with the Juce Demo Plugin.

After reverting to the version available as download for MAC the GUI is rendered as it should be for the VST3.

Any idea?

Thomas


#2

Hello,

Could you create a small reproducable example? The git commit number where things break would also be helpful.

Regards,

Joshua


#3

Hi Joshua,

i used the latest version from git. (Downloaded three days ago...)

Then i just used the introjucer to open the example plugin's .jucer, then save and open in XCode. Using latest VST3-SDK (3.65). Building for both VST and VST3 as universal (32 and 64 bit).

Btw. i am using XCode 7 on El Capitan.

Best

Thomas


#4

Thanks for the info :)

Could you narrow down the git commit where it broke? That make it much easier to fix!


#5

Hi Joshua,

honestly i do not do updates from git very frequently during development. I just can say that i notice it after the last update.

Just tested it on Yosemite (built with XCode 7, OSX 10.11 SDK and build target 10.9), same effect. It works as VST, but VST3 is black.

Thomas


#6

It works as VST, but VST3 is black.

Not sure if you're in the loop, but those are two totally different APIs/SDKs!

You'd have to step through the git history until you find the commit at fault: https://github.com/julianstorer/JUCE/blob/master/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp .


#7

Haven't had the time yet to try this but here is the error msg from the console:

attachComponentToWindowRef()
2015-09-30 15:25:39.695 Plugin Host[5531:102734] A Carbon window's attributes couldn't be gotten.
2015-09-30 15:25:39.695 Plugin Host[5531:102734] A Carbon window's features couldn't be gotten.
2015-09-30 15:25:39.695 Plugin Host[5531:102734] Couldn't get window modality: error=-5600
updateComponentPos()


Hope this helps.

Thomas


#8

Which host?


#9

This effect occurs with the Juce PluginHost. In Reaper for example the GUI is not rendered at all and Reaper switches to parameter view because it does not recognize the existence of a GUI.

 


#10

Try again with my changes from yesterday!


#11

Hi Jules,

the VST3-GUI is still black. Everything seems to get instantiated, i even get the OpenGL Invalid Framebuffer Operation error. But i only see the stuff in the VST.

Thomas


#12

Drat - sorry, the changes I was talking about never got pushed to github! Have done so now, please try again!


#13

Thanks, now it does work again.

Thumbs up, Jules!