surge-synthesizer / surge

Synthesizer plug-in (previously released as Vember Audio Surge)
https://surge-synthesizer.github.io/
GNU General Public License v3.0
3.01k stars 386 forks source link

Entire screen turns black #7409

Open joshhansen opened 6 months ago

joshhansen commented 6 months ago

Bug Description: When I run Surge XT 1.3, installed either from the official .deb or compiled and installed from github main, the whole screen turns black, the exception being some individual UI widgets which happen to repaint and thus appear. Mousing over widgets sometimes triggers a repaint and thus makes them visible, but this only lasts so long before everything draws as black again.

Surge XT Version 1.3.0 x86_64 2-bit or 64-bit]

Reproduction Steps: Steps to reproduce the behavior:

Run the app.

Wait about 15 seconds.

See the screen turn black.

Mouse over some widgets. They may appear.

Good luck exiting the app! (The x button is still active, if you can find it.)

Expected Behavior: The app should display fully, without drawing the entire screen black.

Screenshots: image

Computer Information (please complete the following!):

Happy to provide additional information.

baconpaul commented 6 months ago

Hmm we’ve had a couple of paint glitches since 13 on some linux distros. Some questions

  1. did or does 123 work for you (juce 6 vs 7)
  2. Are you at 100% or do you have scaling on
  3. X Wayland or x11?

I dev Ubuntu with Wayland off and didn’t see any problem so may be a bit tricky to work our

mkruselj commented 5 months ago

@joshhansen Could you please provide somethe additional context as per Paul's questions? Thanks!

joshhansen commented 4 months ago

Apologies for the slow response.

  1. I'm getting the same issue with 1.2.3
  2. Display scaling and font scaling are both at the default (100% and 1.0 respectively)
  3. Looks like X11 (Xorg binary is running directly under the display manager)

I was previously able to run lower versions of Surge XT alright - the problem may have begun when I changed my OS to Linux Mint. I can't say that for sure though. I also upgraded my GPU at the same time.

baconpaul commented 4 months ago

Do any other plugins do this? dexed? vitalium? things like that?

joshhansen commented 3 days ago

@baconpaul

Do any other plugins do this? dexed? vitalium? things like that?

I can use plugins from within LMMS without any issues. Not sure if that helps. I don't use any of the software you mentioned, and I have only been using Surge as a standalone program, not as a plugin. I haven't seen the black screen effect anywhere else though.

I reproduced the error under the current main branch. I hadn't noticed it before, but when this happens, most of the icons in my Cinnamon task bar disappear, at last sometimes. Quitting the program doesn't fix it.

The same is happening under the prebuilt binaries for 1.3.2 as well.

It's a real bummer this isn't working - I'd be happy to provide further information if you have other questions or diagnostics I could provide.

mkruselj commented 3 days ago

Could you please try Dexed? The reason we're asking is because Dexed is also using the JUCE framework like we are. So if the same thing happens, the incompatibility stems from there and there's not much we can do about it. That's the curse of Linux distros where each and every one of them has their own idea of how things should be, leading to support hell.