-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Rendering of plugins fails when using dual monitor setup with primary monitor to the right. #89
Comments
Hi, I don't have a second display available, so it's a bit difficult for me to debug this at the moment! Everything yabridge is doing should be deterministic, so that 2/10 chance you mentioned where it did work correctly on your second monitor would could indicate that Renoise creates the window on the primary display and then moves it to the secondary display. In the meantime, could you check what happens when you:
|
Hello buddy, Thanks for the quick feedback, When I set the primary to the left, it also works in my right monitor. So that's my solution right now. It works for me :)
|
I've asked around on the Discord to see if there are any other people using multiple displays, maybe that will tell us whether this issue is an isolated case or if it also happens for everyone else. I couldn't get virtual X11 displays working on my desktop, but I'll have to try later if I can get it working on my laptop to see if I can replicate the issue (I also don't have a way to plug my monitor into my laptop). It could also be something related to your particular window manager setup, as a 50px y-offset does sound very odd (with |
Okay thanks. I only got Cinnamon desktop installed right now, but I can test with some other desktop if you want :) |
Okay, so I tested KDE Plasma desktop. It did not have this issue. So probably its related to the window manager Muffin, or the Cinnamon desktop. Have a nice weekend! |
That's actually very good to know! When I get around to checking this out (I'll have to either get virtual X11 displays working on my laptop or I'll have to go out and buy a DisplayPort to USB-C/Thunderbolt 3 adapter) I'll at least know to focus Cinnamon, thanks! |
I have a three monitor setup and normally have the center set to be primary. I tried setting each monitor one by one as primary and open and closing the VST window multiple times as well as moving it between monitors. I didn't have any luck recreating this either. I'll post my system info here in case it is helpful for debugging. System information
|
See below. |
Or, well, never mind. The issue I've been seeing here is a pure Wine issue, and it doesn't have anything to do with yabridge. With this screen setup all Wine windows don't render the parts of the window that have not been visible on the leftmost monitor until you move it there. So if I run So the issue in your case only happens on Cinnamon, but does it also only happen in Renoise? Have you tried in some other hosts like REAPER, Bitwig, and Carla (use |
I'll add a note for Cinnamon doing weird things then I guess, thanks! Cinnamon also causes some plugins to flicker when dragging around the windows. Could you test for me what happens when you set your right monitor as primary (so that the same thing that's been happening on your screenshots happens again), then open a terminal on your now primary right monitor, run Because the only issue I could replicate was really a weird interaction between Cinnamon and WIne, but I can't imagine what it would have to do with yabridge and how setting a certain display as primary would affect it. |
I tried to recreate your example with notepad, but here it does render correctly. Tried it a couple of times. |
It could also be a different issue entirely, and Cinnamon is just messing with the reparenting. Especially since it doesn't seem to happen in KDE Plasma, i3, and some other desktop environments others have tested. There's no reason why it shouldn't work, since with a multi monitor setup in X11 you for all intents and purposes just have a single large screen behind the scenes, and there's no special handling involved there. |
Hey there! I'm having the same issue in Reaper as described above, but with GNOME and X11. However, it seems to be limited to certain plugins, in my case the MeldaProduction plugins. |
@JonathanTroyer Interesting. Does this in your case also depend on which display is set as primary? I still don't have a second display to test this with myself. Also, since you mention MeldaProduction plugins, does this also happen when you disable GPU acceleration in the settings? And does it happen consistently, e.g. when you close and reopen the editor (or switch between the generic UI and the editor GUI)? |
It does not depend on which display is set as primary. It also does not happen when I use one display. However, if I float the plugin UI in Reaper and then un-float it, the UI will appear correctly for the rest of the session (regardless of moving things around). Viewing another plugin and then switching back will also fix the view in the same way as floating it. Floating/switching view of the plugin only fixes that plugin. Adding new instances of the same plugin will cause them to be displayed, but sized incorrectly (upon either floating or changing views it will then be sized correctly). |
@JonathanTroyer Since this is a different issue, could? you create a separate issue for this? There must be something unique about your setup that's causing this, since lots of people use GNOME/X11. Some potentially related factors would your Wine version GNOME version, any additional GNOME extensions and your GPU/Xrandr setup (Intel/AMD/NVIDIA/hybrid graphics). If you happen to have Bitwig installed, does it also happen there? (or in Ardour, but Ardour does its own weird things) And another thing to check (to eliminate some possibilities) would be to check if enabling the option to use Wine's own Xembed implementation changes anything. See above for instructions on how to do that, and make sure to check in the initialization message printed to the terminal if the option's actually active or not. |
Is there anyone still around to test a few things here? I still don't have a way to replicate a dual monitor setup here, so maybe we should just try a few things to see what works. |
I made a first blind attempt in 5e30c94.
Thanks for helping me out here! |
Since I didn't get any responses, yabridge 3.5.0 contains a potential fix for this. Please let me know if it helps! |
Since #104 was fixed by yabridge 3.5.0 and I haven't gotten any response here yet, I'll just assume that this now also works fine. Please reply if it does not! |
Sorry for being afk, I've been on vacation without my DAW :) I tried the latest build, and I can confirm that the all VSTs renders correctly now, with my primary monitor set to the right! So Awesome. Many thanks! |
Problem description
I noticed that the rendering of the plugins breaks when using a dual monitor setup under Renoise with my primary screen to the right. It works as expected when I set the primary screen to the left.
Feels like a timing issue, cause it works 2 out of 10, with primary to the right, When closing and opening the plugin.
I notice the same behavior in both of my vst2 plugins. And it gets resolved set the primary to the left.
What did you expect to happen?
To render the plugin correctly
What actually happened?
Get a un-rendered window, mirroring the Renoise window.
System information
Debug log
In this log, the plugin at first rendered correctly, and then I closed it, and open it 4 more times, and then it did not display correctly, the 4 last times.
yabridge.log
Native plugins works, without this issue.
Else I just want to say thumbs up, for a epic, easy to use modern vst bridge.
Many thanks,
Dennis
The text was updated successfully, but these errors were encountered: