In contrast 15 track optimised SONY delays in ACID use 5% of cpu.
GPU Delay - A delay plugin running on a graphics card
-
- KVRAF
- 2336 posts since 13 Oct, 2002 from Terra Firma
After a bit more testing my initial excitment that it loaded at all in ACID has waned. 4 instances of GPU Delay cause my cpu to hit 20%. I've even tried adjusting my video card to various performance settings but it doesn't make any difference.
In contrast 15 track optimised SONY delays in ACID use 5% of cpu.
In contrast 15 track optimised SONY delays in ACID use 5% of cpu.
-
- KVRian
- 1262 posts since 15 Feb, 2003 from Up the Pennine way
Same here with the loud buzz but I think it's the card.
An asus radeon 9200se 128mb.
Pity, I would love to have tried it out.
fake
An asus radeon 9200se 128mb.
Pity, I would love to have tried it out.
fake
You cant beat people up then have them say "I love you"
-
Nils Schneider Nils Schneider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=45370
- KVRist
- Topic Starter
- 279 posts since 22 Oct, 2004 from Neuss, Germany
What block size do you use?
The performance boost will not be noticable with just a delay, as mentioned before, this is just a proof-of-concept, just to check if it's working at all.
Something might be wrong, as other don't have this problem....
The performance boost will not be noticable with just a delay, as mentioned before, this is just a proof-of-concept, just to check if it's working at all.
Something might be wrong, as other don't have this problem....
https://k1v.nilsschneider.de - Kawai K1 emulated as VSTi/AU
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
- KVRAF
- 25039 posts since 12 Jul, 2003 from West Caprazumia
Nils Schneider wrote:Which drivers and which version do you use? An update to the latest forceware driver may help.
91.31
I'll check if there's a never version and if so will udate it...
-
- KVRian
- 829 posts since 13 Jul, 2002
Well it IS a native plugin sending and reciving data from
the graphic card so the CPU hit would be as normal only
that the communication is there.... if I understand it right...
...a test to see that you can expand the VST code into the
Graphic board in realtime...
//Daniel
the graphic card so the CPU hit would be as normal only
that the communication is there.... if I understand it right...
...a test to see that you can expand the VST code into the
Graphic board in realtime...
//Daniel
-
- KVRAF
- 2336 posts since 13 Oct, 2002 from Terra Firma
But some people are getting virtually no cpu hit even when using a lot of delays. If this plugin is going to use the gpu instead of the cpu then it needs to use less cpu not the same as other native delays.
Could there be a difference between ATi and GForce drivers?
Could there be a difference between ATi and GForce drivers?
-
Nils Schneider Nils Schneider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=45370
- KVRist
- Topic Starter
- 279 posts since 22 Oct, 2004 from Neuss, Germany
To clear this up:
ddummer is right, I have to convert the audio data into graphic data, send them to the GPU, and vice versa. And this process consumes time on the CPU that isn't avoidable. But this time ALWAYS remains the same, regardsless of how complicated the effect on the GPU might be.
If this whole process is "only" eating as much as a delay, it's already very good, because a delay costs nearly nothing because the algorithm is one of the cheapest you can have.
The GPU *Delay*, the effect that you can hear, this one is computed on the GPU, not the cpu! I didn't write a delay algorithm on the cpu at all so you can be sure it's the GPU you're listening to. It's not possible that the CPU calculates the delay. This can be compared to playing CDs on a vinyl player. That WONT WORK
btw: I've found the crash bug when terminating the VST host, will be fixed in the next release, plus some other things.
ddummer is right, I have to convert the audio data into graphic data, send them to the GPU, and vice versa. And this process consumes time on the CPU that isn't avoidable. But this time ALWAYS remains the same, regardsless of how complicated the effect on the GPU might be.
If this whole process is "only" eating as much as a delay, it's already very good, because a delay costs nearly nothing because the algorithm is one of the cheapest you can have.
The GPU *Delay*, the effect that you can hear, this one is computed on the GPU, not the cpu! I didn't write a delay algorithm on the cpu at all so you can be sure it's the GPU you're listening to. It's not possible that the CPU calculates the delay. This can be compared to playing CDs on a vinyl player. That WONT WORK
btw: I've found the crash bug when terminating the VST host, will be fixed in the next release, plus some other things.
https://k1v.nilsschneider.de - Kawai K1 emulated as VSTi/AU
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
-
- KVRAF
- 2336 posts since 13 Oct, 2002 from Terra Firma
Ok I get it now. So if you make a really complex modular synth I can use 128 voices in unison mode and it'll only use the same amount of cpu as the delay?
Will it be possible to build a convo verb using the gpu and would latency be a problem? I'm asking this because I think UA and TC Electronic haven't made one for their DSP cards because of problems with latency.
Will it be possible to build a convo verb using the gpu and would latency be a problem? I'm asking this because I think UA and TC Electronic haven't made one for their DSP cards because of problems with latency.
-
Nils Schneider Nils Schneider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=45370
- KVRist
- Topic Starter
- 279 posts since 22 Oct, 2004 from Neuss, Germany
Define "problem", latency can easily be compensated in modern hosts so this should'nt be an issue.
BTW: Also the delay has a latency equal to the processing blocksize (you can see it if you use Cubase SX and take a look at the plugin information window).
This is because data must be transferred to the gpu, processed, and then send back. Because you would have no advantage if the cpu had to "wait" for the whole process, there is always a latency of one frame.
BTW: Also the delay has a latency equal to the processing blocksize (you can see it if you use Cubase SX and take a look at the plugin information window).
This is because data must be transferred to the gpu, processed, and then send back. Because you would have no advantage if the cpu had to "wait" for the whole process, there is always a latency of one frame.
https://k1v.nilsschneider.de - Kawai K1 emulated as VSTi/AU
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
-
- KVRist
- 411 posts since 12 May, 2005
At a buffer size of 512, I ran 7 instances in cubase without any trouble, actually without any noticeable CPU hit at all. I would imagine I could run 20 or 30 easily. That's with a 128mb radeon 9800 Pro.
I did come across one arror - if this plugin is placed on a send in cubase, and the send is muted, the return stream is not muted. This works fine with other plugins.
Anyway, very cool and *very* exciting technology. Convolution reverb would be cool, but with this kind of delay stream processing power, one could code a serious algorithmic reverb, no?
I did come across one arror - if this plugin is placed on a send in cubase, and the send is muted, the return stream is not muted. This works fine with other plugins.
Anyway, very cool and *very* exciting technology. Convolution reverb would be cool, but with this kind of delay stream processing power, one could code a serious algorithmic reverb, no?
-
Nils Schneider Nils Schneider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=45370
- KVRist
- Topic Starter
- 279 posts since 22 Oct, 2004 from Neuss, Germany
@uvacom thanks for testing, could you check if cou get a warning in sgpu.log in the installation directory? I was too lazy to implement the process() function yet (just calling processReplacing)
https://k1v.nilsschneider.de - Kawai K1 emulated as VSTi/AU
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
-
- KVRer
- 14 posts since 25 Jan, 2006
I think it has more to do with lack of RAM on their cardsmunchkin wrote: Will it be possible to build a convo verb using the gpu and would latency be a problem? I'm asking this because I think UA and TC Electronic haven't made one for their DSP cards because of problems with latency.
And a GPU don't have that problem, because of the graphiccard RAM
-
Nils Schneider Nils Schneider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=45370
- KVRist
- Topic Starter
- 279 posts since 22 Oct, 2004 from Neuss, Germany
Thanks for all your help. NEW VERSION UPLOADED
http://www.nilsschneider.de/temp/GPUDelay.exe
Changes:
- Distorted sound on several buffer sizes fixed
- Overall better error handling and more log file output
- Crash on shutdown fixed (could also happen while still inside the host)
Those who had problems with crackling sound could give it another try now, It should sound okay now.
http://www.nilsschneider.de/temp/GPUDelay.exe
Changes:
- Distorted sound on several buffer sizes fixed
- Overall better error handling and more log file output
- Crash on shutdown fixed (could also happen while still inside the host)
Those who had problems with crackling sound could give it another try now, It should sound okay now.
Last edited by Nils Schneider on Sat Oct 07, 2006 11:09 am, edited 1 time in total.
https://k1v.nilsschneider.de - Kawai K1 emulated as VSTi/AU
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
https://heatvst.com - Android Synthesizer with full VST integration
https://gpuimpulsereverb.de - Use your GPU as reverberation DSP
