Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling (Read 23087 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #25
Hi :)
PGGB-RT v5.3

Select album/track > Context menu > Enable PGGB-RT
Missing Enable PGGB-RT (Do not show)
Played fine with v5.2

foobar2000 v2.0 beta 31 x64
Windows 11 22H2
CPU: AMD Ryzen 5 3500U
RAM: 16.0 GB
Core: 4
Thread: 8

Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #26
Hi :)
PGGB-RT v5.3

Select album/track > Context menu > Enable PGGB-RT
Missing Enable PGGB-RT (Do not show)
Played fine with v5.2

foobar2000 v2.0 beta 31 x64
Windows 11 22H2
CPU: AMD Ryzen 5 3500U
RAM: 16.0 GB
Core: 4
Thread: 8

Thanks.
Can you please go to View->Console and copy and paste what you see?
I wonder if something is broken in our check for AVX2 which your processor should support.
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #27
Quote
Can you please go to View->Console and copy and paste what you see?
I wonder if something is broken in our check for AVX2 which your processor should support.
thank you for your reply
In v5.3, I can't enable it because Enable PGGB-RT is not displayed.
Naturally, PGGB-RT is processing is not displayed
Same problem on 2 other PCs.

AMD Ryzen 5 3500U
https://www.techpowerup.com/cpu-specs/ryzen-5-3500u.c2138

Spoiler (click to show/hide)
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #28
For Intel, i will see Enable PGGB-RT in the context menu.
Playback is also possible.

It was AMD Ryzen that Enable PGGB-RT was not displayed in the context menu.
Console
> CPU does not support Advanced Vector Extensions (AVX2)

Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #29

It was AMD Ryzen that Enable PGGB-RT was not displayed in the context menu.
Console
> CPU does not support Advanced Vector Extensions (AVX2)


Thanks for the logs. Yes I saw that, as I had suspected, our check for AVX2 had a false negative. I do not have a AMD PC that I can readily check, but could you please try this test version (DropBox link) and let me know if that works? 
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #30

It was AMD Ryzen that Enable PGGB-RT was not displayed in the context menu.
Console
> CPU does not support Advanced Vector Extensions (AVX2)


Thanks for the logs. Yes I saw that, as I had suspected, our check for AVX2 had a false negative. I do not have a AMD PC that I can readily check, but could you please try this test version (DropBox link) and let me know if that works? 
5.3.1 crashes with Maximum Quality (32bit, 16fps 705,6 kHz) for long tracks >8 min but works with Max Speed.
(AMD with AVX2, 16GB RAM)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #31
Hi :)

v5.3.1 test version

Enable PGGB-RT is displayed in the context menu (AVX2 recognized).
Can be played without problems (AMD Ryzen 3 PCs).
Thank you for the good sound.

Spoiler (click to show/hide)
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #32
Hi :)

v5.3.1 test version

Enable PGGB-RT is displayed in the context menu (AVX2 recognized).
Can be played without problems (AMD Ryzen 3 PCs).
Thank you for the good sound.


Thanks for the feedback and thank you for confirming. We will release an update with the fix!
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #33
5.3.1 crashes with Maximum Quality (32bit, 16fps 705,6 kHz) for long tracks >8 min but works with Max Speed.
(AMD with AVX2, 16GB RAM)

I suspect this is a memory issue, it is not related to AVX2. 'Max speed' is optimized to use very little memory as it does processing in chunks, but 'Max Quality' tries to process the whole track in memory. While 16GB should allow you to process up to 24 minutes, that assumes all of that memory is actually available. In reality, Windows and other processes take up quite a bit. The workaround is typically to increase your virtual memory (preferably 64 - 128GB of an SSD internal drive). Also helps if you can have as few processes as possible (a restart also helps)

I have more information on RAM and memory requirements here. Please note, while the information is targeted to PGGB 256 offline resampling, it is equally applicable to your case if you look at 64bit precision.

To increase virtual memory, please see here.
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #34
Still crashing, using the 5.3.1/Dropbox Beta

selected a 24/96 file for processing. the selected settings were 1fs, auto dithering, no rg/eq, auto cores, max speed (max quality ain't working either)

it crashes instantly whenever we try to downsample, yes I added virtual memory as well, on top my existing 20 gigabytes of ddr4

i wonder's what's the issue now, the 5.3 version didn't show enable pggb rt at all, which was a false positive, and you fixed it in 3.1, now that it shows up, it's still back to square one, not working at all ;-;

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #35
Still crashing, using the 5.3.1/Dropbox Beta

selected a 24/96 file for processing. the selected settings were 1fs, auto dithering, no rg/eq, auto cores, max speed (max quality ain't working either)

it crashes instantly whenever we try to downsample, yes I added virtual memory as well, on top my existing 20 gigabytes of ddr4

i wonder's what's the issue now, the 5.3 version didn't show enable pggb rt at all, which was a false positive, and you fixed it in 3.1, now that it shows up, it's still back to square one, not working at all ;-;
That is weird, I am unable to replicate it here. Can you share a screenshot of your settings? I also tried with 96/24 to 1fs.
Also what is your output file settings?

When you set 'Max quality' does it fail immediately or does it fail after conversion is done?
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #36
@Air KEN Are you having any issues with down sampling? i.e., does it crash?
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #37
don't crash

32bit 384000Hz  ↓

Sample Rate: 2fS 88.2/96 KHz
Bit Depth: 16

Windows11 22H2
Lenovo IdeaPad S145
AMD Ryzen 5 3500U Core: 4 / Thread: 8
RAM: 20.0 GB
FiiO K3 Headphone Amplifier 384kHz/32bit PCM DSD256 USB-C DAC

foobar2000 v2.0 beta 31 64bit Default UI


SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #38
We just released an update v5.4 (downloadhelpoffline)
  • Fixes false negatives on check for AVX2 instructions which caused 'Enable PGGB-RT' not to be available in the menu.
  • Fixed the gain issue when setting bit-depths lower than 24-bits.

Note: Starting v2.0 Beta 29, Foobar2000 64 bit supports both 32-bit fixed point and floats for file conversion, this is really great for to using the 'Convert' feature and saving resampled files. Please update Foobar2000 to the latest version, and do not choose 32-bit float as the file output bit-depth to avoid loss of precision.

X
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #39
If anyone is experiencing freeze ups or longer processing times with longer track, please note it is not a bug:

'Max speed' is optimized to use very little memory as it does processing in chunks, but 'Max Quality' tries to process the whole track in memory. Every 8GB of RAM will allow you to process up to12 minutes in memory (16GB = 2x12 etc.), that assumes all of that memory is actually available. In reality, Windows and other processes take up quite a bit. The workaround is typically to increase your virtual memory (preferably 64 - 128GB of an SSD internal drive). Also helps if you can have as few processes as possible (a restart also helps)

Max Quality mode works well for shorter tracks (up to 12 minutes or so), for longer tracks if you have enough free memory, it can take a few minutes depending on your processor speed and number of cores. If freezing is an issue, and you do not mind a longer processing time you can also reduce the number of workers.

Bottom line, Max Quality takes a finite amount of time as it has to process the whole track in memory, and it also takes resources, which is why there is an option to use Max Speed. For albums with longer tracks, it may be better to use the 'Convert' option with Max Quality and then play the tracks in real-time.
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #40
We just released an update v5.4 (download, help, offline)
  • Fixes false negatives on check for AVX2 instructions which caused 'Enable PGGB-RT' not to be available in the menu.
  • Fixed the gain issue when setting bit-depths lower than 24-bits.

Note: Starting v2.0 Beta 29, Foobar2000 64 bit supports both 32-bit fixed point and floats for file conversion, this is really great for to using the 'Convert' feature and saving resampled files. Please update Foobar2000 to the latest version, and do not choose 32-bit float as the file output bit-depth to avoid loss of precision.

[attach type=image align=center]25204[/attach]
It worked today. Finally.

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #41
It worked today. Finally.

Happy to hear that. What did you do to fix the issue (in case someone else has the same problem)?
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #42
We just released a minor update v5.4.1 (download, help, offline)
  • Increases number of workers to up to 48 to accommodate processors that have up to 48 logical cores and only exposes even number of workers. Please do not use (1) as it is meant only for debugging.
X



Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #43
It worked today. Finally.

Happy to hear that. What did you do to fix the issue (in case someone else has the same problem)?

Ah yes, thanks for the reminder, the thing that solved my problem was actually turning off noise shaper, I did off/dither only and viola it worked... albeit with the previous versions even that didn't work, but with the update you gave, turning off noise shaper got it working. In full quality mode, without a problem.

Also, I had a question, I have to use 32-bit float as the input for the majority of encoders I use, so which bit depth would you recommend to export from pggb so that would pass through it without truncation, I believe 25 bits integer is the limit of 32 float but I could be wrong. Using 24 right now just to be safe.


Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #44

Ah yes, thanks for the reminder, the thing that solved my problem was actually turning off noise shaper, I did off/dither only and viola it worked... albeit with the previous versions even that didn't work, but with the update you gave, turning off noise shaper got it working. In full quality mode, without a problem.

Also, I had a question, I have to use 32-bit float as the input for the majority of encoders I use, so which bit depth would you recommend to export from pggb so that would pass through it without truncation, I believe 25 bits integer is the limit of 32 float but I could be wrong. Using 24 right now just to be safe.



Thanks for that. I think there was a bug in the previous version where the UI will not automatically set Noise shaping to 'Off (dither)' when you choose rates lower than 4fS for output and that could have been the cause of the problem. For best quality, it is better to set Noise shaping to 'Optimal' when upsampling.

Regarding further processing, yes setting it to 24bits is the safer option to prevent truncation when using 32-bit (float) DSP for further processing upstream. But if the intent is just to encode the files into FLAC or other formats without any additional processing, then it is safe to set the output bit depth to 32 bits. I have verified that doing it this way does not cause any truncation.

All my testing is done with no further processing after PGGB-RT
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #45
Those who use PGGB 256 trial (trial does snot expire for EQ generation) to generate EQ profiles for foo_pggb_rt, please note that there was a bug in EQ generation (L and R EQ were swapped), I just released a patch to fix that and make sure you grab the latest version 5.3.53 here.

No, this is not an update to foo_pggb_rt but an update to the EQ tool in PGGB 256.
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #46
Thank you for your efforts!!

I have a different question: shouldn't there be an option for PGGB-RT to be enabled by default when new tracks are added to the playlist? With the current implementation I cannot use this plugin with foobar2000 remotely, I have to walk to the computer each time and "enable". Is there a technical difficulty for doing this? Many people are using foobar2000 as a music server.

Moreover, is it possible that foobar2000 PGG-RT works also for http streams (TIDAL, QOBUZ, etc.) ?

Thanks a lot in advance.

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #47
Thank you for your efforts!!
I have a different question: shouldn't there be an option for PGGB-RT to be enabled by default when new tracks are added to the playlist?
You are welcome. We have toyed with the idea, but the downside is anyone who installs the component will always have PGGB-RT enabled by default whether you want it or not and I felt that is a bit heavy-handed.

Moreover, is it possible that foobar2000 PGG-RT works also for http streams (TIDAL, QOBUZ, etc.) ?
Qobuz and Tidal serve https streams as FLAC files, when Foobar2000 supports Tidal/Qobuz, it should be straight forward for PGGB-RT to work with them too. However, to my knowledge, as of now there is no way to play streamed music directly in Foobar2000.
Author of PGGB, RASA & foo_pggb_rt, remastero.com

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #48
Thank you for your efforts!!
I have a different question: shouldn't there be an option for PGGB-RT to be enabled by default when new tracks are added to the playlist?
You are welcome. We have toyed with the idea, but the downside is anyone who installs the component will always have PGGB-RT enabled by default whether you want it or not and I felt that is a bit heavy-handed.
Thank you for the reply. Understood, but I would have this as an option in the foobar2000 PGGB-RT control panel, disabled by default. This would be rather essential for those that run foobar2000 as a media server.

Moreover, is it possible that foobar2000 PGG-RT works also for http streams (TIDAL, QOBUZ, etc.) ?
Qobuz and Tidal serve https streams as FLAC files, when Foobar2000 supports Tidal/Qobuz, it should be straight forward for PGGB-RT to work with them too. However, to my knowledge, as of now there is no way to play streamed music directly in Foobar2000.
Thank you. I am using foobar2000 upnp + bubble upnp (Android) + bubble upnp server (Windows) to stream TIDAL through foobar2000. BUT only now I discovered that the upnp plugin (dating back to 2015) is not supported in the 64-bit version of foobar2000.... problems problems :)

Re: Remastero's foo_pggb_rt, a 64 bit Foobar2000 component for resampling

Reply #49
Thank you for the reply. Understood, but I would have this as an option in the foobar2000 PGGB-RT control panel, disabled by default. This would be rather essential for those that run foobar2000 as a media server.

We will try to if we can do that based on how feasible that is.
Author of PGGB, RASA & foo_pggb_rt, remastero.com