HISE HEAVY ON GPU PROCESSING?
-
@Lunacy-Audio said in HISE HEAVY ON GPU PROCESSING?:
OpenGL can be a setting in your Settings Floating Tile, so the user can choose which one to use.
"GraphicRendering" doesn't appear in my settings floating tile when I add HISE_USE_OPENGL_FOR_PLUGIN=1 in extra definitions menu. Is there something I need to do with Projucer to amek this available?
-
@dustbro Same Here @Lunacy-Audio
-
@dustbro I think you need to add it to your custom settings floating tile as Fortune showed in his image a few posts back.
"GraphicRendering": true
-
@d-healey i tried. Not showing up ️️
-
@d-healey Same here like @dustbro & @Natan
"GraphicRendering": true
doesn't make the opengl combobox show up in CusotomSettings floating tile.I am also confused that, in order to make OpenGl enable:
Is
HISE_USE_OPENGL_FOR_PLUGIN=1
enough?
Or should I doHISE_USE_OPENGL_FOR_PLUGIN=1
and"GraphicRendering": true
both? -
@Fortune It's Enough Here.
HISE_USE_OPENGL_FOR_PLUGIN=1And No Extra Codes
-
@d-healey FYI everyone, it seems my FloatingTile "FilterDisplay"s were causing a lot the GPU lag.
-
@DanH How many did you have displayed at one time?
-
@d-healey 6..... And then a spectral analyser, 4 audio waveforms, a Goniometer, 2 tables, a sliderpack, and 3 sliders linked to LFO gains which would be constantly moving... lol
But actually way back in the beginning of this project I noticed the lag (before all the extra stuff), and I never considered the Filterdisplays to be the issue, and removing them has made the biggest difference of all.
-
@Fortune Ok so.... I was thinking the same thing and I just compiled my plugin and opened my 'settings' tab and there is the 'Use OpenGL' option! Weird!
-
@DanH And I would also like to point out that selecting the 'yes' option here has completely sorted out any GPU lag, even on my 9 year old laptop! Bravo @Lunacy-Audio
-
@DanH it's never quite that straightforward is it.... Selecting yes here means that the font in the button below now goes weird! lol
-
@Natan So it does't seem like the code "HISE_USE_OPENGL_FOR_PLUGIN=1" actually does anything to my plugin..
-
@DanH said in HISE HEAVY ON GPU PROCESSING?:
FloatingTile "FilterDisplay"s were causing a lot the GPU lag.
I have a project with 3 filter displays and it's practically unusable on certain computers. It make the entire DAW GUI lag.
-
@DanH said in HISE HEAVY ON GPU PROCESSING?:
So it does't seem like the code "HISE_USE_OPENGL_FOR_PLUGIN=1" actually does anything to my plugin
Bummer! I was hoping that was the magic cure
-
@dustbro Well the OpenGL setting is definitely going to help this. We need to figure out how to set it 'on' via scripting now! @Christoph-Hart any ideas Christoph?
-
@dustbro @Fortune @d-healey @Natan @Tania-Ghosh Ok so I found this thread:
https://forum.hise.audio/topic/2122/open-gl/10
@Lunacy-Audio found the setting in this doc: StandalonePopupComponents.cpp – line 128
#if !HISE_USE_OPENGL_FOR_PLUGIN properties[(int)Properties::UseOpenGL] = false; #endif
I've set it to 'true' and recompiled HISE and now I have the 'Use OpenGL' option in my CustomSettings window :)
-
@dustbro Are you Mac or PC? Changing the OpenGL setting has made a huge difference on Mac, but the reverse is true on PC!
-
-
@dustbro did you test it on both? What was your outcome? I'm now finding on Mac that the the general resolution is not as high when OpenGL is on, knobs and texts look more blocky.... :(