Skip to main content
Topic: Wake up foobar2000 after sleep and hibernate (Read 4978 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Wake up foobar2000 after sleep and hibernate

I try only the installed portable version with Windows 10 Pro
After sleep and hibernate foobar almost always freezes. Need restart
I tried version 1.3.x 1.4.x 1.5.x
Quote
foobar2000 troubleshooter
No known problematic components found.
HELP!

Re: Wake up foobar2000 after sleep and hibernate

Reply #1
Are those local files? I'd assume your sound card drives are misbehaving if they are. You could create a memory dump of the hang and let Peter analyze it. Instructions can be found here.

Re: Wake up foobar2000 after sleep and hibernate

Reply #2
Are those local files? I'd assume your sound card drives are misbehaving if they are. You could create a memory dump of the hang and let Peter analyze it. Instructions can be found here.
Yes of course
Desktop \ foobar2000 \ foobar2000.exe
Tracks are also on the main SSD.
memory dump - create...

Re: Wake up foobar2000 after sleep and hibernate

Reply #3
Problem being investigated, thanks for reporting.

Re: Wake up foobar2000 after sleep and hibernate

Reply #4
I used to come across the freezing of separate WSH (JScript) panels after sleep, I suppose it was due to timers.
(Synchronization with Windows system time ..)

Now - test clean player, without any additions

Re: Wake up foobar2000 after sleep and hibernate

Reply #5
Attempted fix added in 1.5 beta 7.

Re: Wake up foobar2000 after sleep and hibernate

Reply #6
Previously, the player freezes immediately, now after opening the properties :
https://youtu.be/GBsPtu1LEM8

Re: Wake up foobar2000 after sleep and hibernate

Reply #7
New dump file from a locked up instance would be nice.


Re: Wake up foobar2000 after sleep and hibernate

Reply #9
Using output via HDMI Intel (R) Display Audio
The problem is with that!
If you choose a different sound output - everything is fine.

Default Directsound Device HDMI Intel (R) - Freezes.
But if I select the device itself, then on Output - just an empty window after exiting the sleep mode.


Re: Wake up foobar2000 after sleep and hibernate

Reply #11
Process stuck in DirectSoundEnumerate, trying to list available devices. I'm afraid this is out of my control - it is not my code that locks up, it's Microsoft's code stuck waiting for some condition.

Re: Wake up foobar2000 after sleep and hibernate

Reply #12
Process stuck in DirectSoundEnumerate, trying to list available devices. I'm afraid this is out of my control - it is not my code that locks up, it's Microsoft's code stuck waiting for some condition.
ОК

Re: Wake up foobar2000 after sleep and hibernate

Reply #13
Disabled all other output devices (leaving only the main).
Now with a normal start I get:
Unrecoverable playback error: Unknown error code (0x88880001)
foobar2000_v1.4.6 - this error is missing!

Why the tab is not active(screenshot of another player):
"Output data format"  ?

Re: Wake up foobar2000 after sleep and hibernate

Reply #14
DirectSound on Windows Vista and newer is hard coded to use:

Frequency: Match source, unless source is somehow greater than the limit of DirectSound, in which case, downsample.
Bit depth: 32 bit floating point, since Windows mixer can handle this, and duck it properly without clipping.
Channels: Match source.

Re: Wake up foobar2000 after sleep and hibernate

Reply #15
DirectSound on Windows Vista and newer is hard coded to use:

Frequency: Match source, unless source is somehow greater than the limit of DirectSound, in which case, downsample.
Bit depth: 32 bit floating point, since Windows mixer can handle this, and duck it properly without clipping.
Channels: Match source.
Then what is it:
https://hydrogenaud.io/index.php?action=dlattach;topic=117913.0;attach=15399;image


Re: Wake up foobar2000 after sleep and hibernate

Reply #17
Test exit from sleep and hibernation of two new versions.
foobar2000_v1.4.8 comes out of sleep without problems.
Sometimes I see a message (switching to the next track):
Quote
Decoding failure at 1: 51.283 (Device not ready):
"D: \ CloZee - Evasion (2018) \ 05 Spiral.mp3"

foobar2000_v1.5_beta_16 - loses the device and the screen (screenshot) of the device selection appears.

Re: Wake up foobar2000 after sleep and hibernate

Reply #18
Replied in private message.

Re: Wake up foobar2000 after sleep and hibernate

Reply #19
Is anyone else getting a similar problem?

This issue can not be recreated on development machines. Problem machine appears to be Windows 10 1809. My own computer running the same operating system version does not seem to do this, after repeated hibernation cycles.

Re: Wake up foobar2000 after sleep and hibernate

Reply #20
I think the fact is that not many connect the receiver to a PC and use hibernation!
But again, the problem is only with foobar2000_v1.5_beta_16
foobar2000_v1.4.8 - works well.

Re: Wake up foobar2000 after sleep and hibernate

Reply #21
foobar2000_v1.5-2019-09-24 - This version works well
foobar2000_v1.5-2019-09-27 - The same problem(Like beta_16) ..

Re: Wake up foobar2000 after sleep and hibernate

Reply #22
foobar2000_v1.5-2019-09-27-2 - The same problem..

Re: Wake up foobar2000 after sleep and hibernate

Reply #23
Note that the first post says that versions 1.4.x and 1.3.x were also affected. I'm somewhat lost which ones are good and which are bad.

Build 2019-09-24 was compiled with DirectSound code from the 1.4.x series. So at least it's isolated to DirectSound code and not caused by something else I changed.

What about 1.5 beta 6?
https://www.foobar2000.org/temp/foobar2000_v1.5_beta_6.exe
This version predates apparently problematic DirectSound changes.

Re: Wake up foobar2000 after sleep and hibernate

Reply #24
Quote
What about 1.5 beta 6?
I can’t try, time has passed for tests

 
SimplePortal 1.0.0 RC1 © 2008-2019