HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE HEAVY ON GPU PROCESSING?

    Scheduled Pinned Locked Moved General Questions
    50 Posts 8 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FortuneF
      Fortune
      last edited by Fortune

      @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 do HISE_USE_OPENGL_FOR_PLUGIN=1 and "GraphicRendering": true both?

      NatanN DanHD 2 Replies Last reply Reply Quote 0
      • NatanN
        Natan @Fortune
        last edited by Natan

        @Fortune It's Enough Here.
        HISE_USE_OPENGL_FOR_PLUGIN=1

        And No Extra Codes

        DanHD 1 Reply Last reply Reply Quote 2
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey FYI everyone, it seems my FloatingTile "FilterDisplay"s were causing a lot the GPU lag.

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 1
          • d.healeyD
            d.healey @DanH
            last edited by

            @DanH How many did you have displayed at one time?

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @d.healey
              last edited by DanH

              @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.

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              1 Reply Last reply Reply Quote 1
              • DanHD
                DanH @Fortune
                last edited by

                @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!

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                DanHD 1 Reply Last reply Reply Quote 1
                • DanHD
                  DanH @DanH
                  last edited by

                  @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

                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                  https://dhplugins.com/ | https://dcbreaks.com/
                  London, UK

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @DanH
                    last edited by

                    @DanH it's never quite that straightforward is it.... Selecting yes here means that the font in the button below now goes weird! lol

                    Screenshot 2021-02-08 at 12.10.10.png

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @Natan
                      last edited by

                      @Natan So it does't seem like the code "HISE_USE_OPENGL_FOR_PLUGIN=1" actually does anything to my plugin..

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      Dan KorneffD 1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @DanH
                        last edited by Dan Korneff

                        @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.

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @DanH
                          last edited by

                          @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

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          DanHD 2 Replies Last reply Reply Quote 0
                          • DanHD
                            DanH @Dan Korneff
                            last edited by

                            @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?

                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                            https://dhplugins.com/ | https://dcbreaks.com/
                            London, UK

                            DanHD 1 Reply Last reply Reply Quote 0
                            • DanHD
                              DanH @DanH
                              last edited by

                              @dustbro @Fortune @d-healey @Natan @Tania-Ghosh Ok so I found this thread:

                              Link Preview Image
                              Open GL

                              I still have issue where on Windows everything is smooth but on Mac is really laggy :(

                              favicon

                              Forum (forum.hise.audio)

                              @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 :)

                              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                              https://dhplugins.com/ | https://dcbreaks.com/
                              London, UK

                              1 Reply Last reply Reply Quote 4
                              • DanHD
                                DanH @Dan Korneff
                                last edited by

                                @dustbro Are you Mac or PC? Changing the OpenGL setting has made a huge difference on Mac, but the reverse is true on PC!

                                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                https://dhplugins.com/ | https://dcbreaks.com/
                                London, UK

                                Dan KorneffD 2 Replies Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff @DanH
                                  last edited by

                                  @DanH said in HISE HEAVY ON GPU PROCESSING?:

                                  Are you Mac or PC?

                                  Both

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @Dan Korneff
                                    last edited by

                                    @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.... :(

                                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                    https://dhplugins.com/ | https://dcbreaks.com/
                                    London, UK

                                    Dan KorneffD 2 Replies Last reply Reply Quote 0
                                    • Dan KorneffD
                                      Dan Korneff @DanH
                                      last edited by

                                      @DanH said in HISE HEAVY ON GPU PROCESSING?:

                                      did you test it on both?

                                      Not yet. I'm gonna test out a version with the FilterDisplay disabled first, then trying OpenGL. I'll post an update when I have some info.

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      DanHD 1 Reply Last reply Reply Quote 1
                                      • DanHD
                                        DanH @Dan Korneff
                                        last edited by

                                        @dustbro Cool, so FYI it seems you'll need the 'HISE_USE_OPENGL_FOR_PLUGIN=1' definition as well as the '"GraphicRendering": true' solution noted in the thread above in order to test the OpenGL stuff...

                                        I had just removed it and, whilst the UseOpenGL box was still in the settings window, it didn't change anything.

                                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                        https://dhplugins.com/ | https://dcbreaks.com/
                                        London, UK

                                        1 Reply Last reply Reply Quote 3
                                        • Dan KorneffD
                                          Dan Korneff @DanH
                                          last edited by

                                          @DanH said in HISE HEAVY ON GPU PROCESSING?:

                                          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....

                                          I'm not seeing any quality issues due to OpenGL on mac or pc. I DO, however, have an unrelated image quality issue I need to figure out.

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          1 Reply Last reply Reply Quote 0
                                          • Dan KorneffD
                                            Dan Korneff @DanH
                                            last edited by

                                            @DanH said in HISE HEAVY ON GPU PROCESSING?:

                                            Changing the OpenGL setting has made a huge difference on Mac, but the reverse is true on PC!

                                            Definitely seeing a benefit on Mac. Testing PC now.

                                            Dan Korneff - Producer / Mixer / Audio Nerd

                                            orangeO 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            7

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.2k

                                            Posts