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: foobar stops playing when standby'ing RDP-client (Read 5282 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar stops playing when standby'ing RDP-client

Hi,

For quite some time now, I'm using Remote Desktop to control my "foobar" machine, which is actually working pretty well.

There's only one small thing that's annoying: When my laptop loses an "ongoing" RDP connection (the reason for this is normally either a wifi hickup or a my laptop going into standby), foobar just stops playing for 30 seconds or so (or until the connection is "up" again)

I honestly have no idea what could be the reaons for this behaviour, but I just checked that Winamp doesn't have a problem with this. Also tried kernel streamer & ASIO output, but unfortunately this doesn't change anything.

So my question: Is there any fix for that?

foobar stops playing when standby'ing RDP-client

Reply #1
By any chance, don't you have that "Pause on [workstation] lock" component installed?
Full-quoting makes you scroll past the same junk over and over.

foobar stops playing when standby'ing RDP-client

Reply #2
you mean foo_lock? no, not on this machine.

foobar stops playing when standby'ing RDP-client

Reply #3
There's only one small thing that's annoying: When my laptop loses an "ongoing" RDP connection (the reason for this is normally either a wifi hickup or a my laptop going into standby), foobar just stops playing for 30 seconds or so (or until the connection is "up" again)


FINALLY SOMEONE IS CONFIRMING MY PROBLEM! I've had this problem going on for a long time now, and it's not just when RDP loses connection. On my foobar-pc, it seems to appear randomly when the RDP is connected. Best fix is not to connect using RDP as far as I could find...
Can't wait for a HD-AAC encoder :P

foobar stops playing when standby'ing RDP-client

Reply #4
I've had this problem going on for a long time now, and it's not just when RDP loses connection. On my foobar-pc, it seems to appear randomly when the RDP is connected.

Hmm, does this also happen, when you are connected via (wired) lan?

Best fix is not to connect using RDP as far as I could find...

But what else do you use? I have yet to find a (usable) alternative ...

foobar stops playing when standby'ing RDP-client

Reply #5
It should be using wired lan, however my laptop always have the wireless antenna enabled, so it's up to Windows 7 to use the most efficient transfer, which isn't always lan... I just tried to disable the antenna, so let's see if it makes a difference.

I have yet to make VNC work properly as a service, but that should be a nice alternative.
Can't wait for a HD-AAC encoder :P

foobar stops playing when standby'ing RDP-client

Reply #6
I have yet to make VNC work properly as a service, but that should be a nice alternative.


What's the problem there? I don't have any experience running the server in Windows, but I routinely connect via VNC to my Mac and Linux (Ubuntu) boxes without trouble, so I'm curious.

foobar stops playing when standby'ing RDP-client

Reply #7
I have yet to make VNC work properly as a service, but that should be a nice alternative.


What's the problem there? I don't have any experience running the server in Windows, but I routinely connect via VNC to my Mac and Linux (Ubuntu) boxes without trouble, so I'm curious.


In Vista and above services cannot interact with the desktop.  This means that the VNC service will run, but it's not usable.  If you run VNC as a user it works, but you need to log in locally first.  It will also stop working if you get a UAC prompt or a program is running as admin.  Newer versions of VNC may have worked around this problem, but I haven't tried them.

foobar stops playing when standby'ing RDP-client

Reply #8
I have yet to make VNC work properly as a service, but that should be a nice alternative.


What's the problem there? I don't have any experience running the server in Windows, but I routinely connect via VNC to my Mac and Linux (Ubuntu) boxes without trouble, so I'm curious.


well, the main things i don't like about vnc are
  • it can't change the resolution of the host
  • you can't use global shortcuts like alt+tab or win+r and 'my' shortcuts to control foobar are captured by the client's foobar instance (okay, the last thing isn't too much of a problem  )
  • well, and it's slower than rdp

 

foobar stops playing when standby'ing RDP-client

Reply #9
Quote
FINALLY SOMEONE IS CONFIRMING MY PROBLEM! I've had this problem going on for a long time now, and it's not just when RDP loses connection. On my foobar-pc, it seems to appear randomly when the RDP is connected. Best fix is not to connect using RDP as far as I could find...


Trying my luck here  - I know it is an old post but did either of you - kdx and odyssey - ever find a solution?

I am experiencing random stuttering and if the remote clients network is disconnected Foobar plays the same couple of seconds of music again and again for about 30 sec and then continues playing   

If I close RDP normally the music does not stutter which I find odd considering the behaviour when the network is down. 

The problem is the same with WiFi and Ethernet connections.

Any help will be highly appreciated!

foobar stops playing when standby'ing RDP-client

Reply #10
Quote
FINALLY SOMEONE IS CONFIRMING MY PROBLEM! I've had this problem going on for a long time now, and it's not just when RDP loses connection. On my foobar-pc, it seems to appear randomly when the RDP is connected. Best fix is not to connect using RDP as far as I could find...


Trying my luck here  - I know it is an old post but did either of you - kdx and odyssey - ever find a solution?


well, no, not really
one of my main problems was that it happened every time i had RDP open on my laptop and it went into standby, so i wrote a little prog that tries to close RDP before going into standby, so this is not such a big problem anymore.
Unfortunately it still happens from time to time due to a bad wifi connection and i guess there's no fix for that except getting a super-stable router (plus a super-stable firmware ...)

I am experiencing random stuttering and if the remote clients network is disconnected Foobar plays the same couple of seconds of music again and again for about 30 sec and then continues playing 

well, i don't experience this, the music is just 'gone', but this could actually depend on the sound drivers ..

If I close RDP normally the music does not stutter which I find odd considering the behaviour when the network is down. 

The problem is the same with WiFi and Ethernet connections.


well i have to admit that i don't use RDP too often via ethernet, but i'd say this shouldn't happen there (except if you go into standby or just cut the connection), because ethernet is probably the most stable connection you can get, right?

foobar stops playing when standby'ing RDP-client

Reply #11
I know it is an old post but did either of you - kdx and odyssey - ever find a solution?

Not using RDP - However, I switched to VNC which just works flawless.
Can't wait for a HD-AAC encoder :P


foobar stops playing when standby'ing RDP-client

Reply #13
Is this with Windows XP on the remote machine, or Vista or newer? At least Vista and newer can switch sound output devices on the fly while sound is playing, so RDP disconnecting from either one should allow the sound output to switch back to local playback. At least I think so. I don't have any systems to test this with, except for maybe a virtual machine. (I have an older system which is running Vista, but I haven't had it running for over a year now, it's been in storage since I assembled and switched over to a newer machine.)


foobar stops playing when standby'ing RDP-client

Reply #15
Is this with Windows XP on the remote machine, or Vista or newer? At least Vista and newer can switch sound output devices on the fly while sound is playing, so RDP disconnecting from either one should allow the sound output to switch back to local playback. At least I think so. I don't have any systems to test this with, except for maybe a virtual machine. (I have an older system which is running Vista, but I haven't had it running for over a year now, it's been in storage since I assembled and switched over to a newer machine.)

I think you misunderstood the problem. This audio-redirection you mention is actually a pretty cool feature of RDP, but has nothing to do with this problem. In this setup the RDP is setup to leave the audio at the remote machine, to use it as kind of a "dedicated sound server".

Problem is that all sorts of weirdnesses are going on when you have an active RDP connection to the host. E.g. if your client goes to sleep mode, the host will get a ~30 sec hiccup before resuming playback, and glitches also appear when creating and closing the connection.

Microsoft probably didn't design the RDP protocol with an audio-server in mind. Thinking out of the box, why would the host need to respond to requests just after client disconnection? At least, VNC is simple enough to "just work".

My only few issues with VNC (I'm using UltraVNC btw), is that I wish it supported custom screen sizes like RDP, my mouse back/forward-buttons doesn't work, and the overall screen refresh could be a little faster.
Can't wait for a HD-AAC encoder :P

foobar stops playing when standby'ing RDP-client

Reply #16
I've also been remoting into my audio server via my laptop for about 3 years now. I've been using RDP.

If my laptop goes into sleep mode I do not experience any audio dropouts - the only thing I will get is that when I click through to see the audioserver desktop RDC will show a warning the connection has been lost and reestablish one.

I also don't find not having access to some of the keyboard shortcuts an issue - I am only using the audioserver to run fb2k so its not an issue.

Personally I would say the remote access is just about ideal....excellent sound quality and a laptop as your remote.

The *only* thing I would change about remote access is indirect rendering of hardware accelerated displays. The icing on the cake for me would be being able to see some of the eye candy on the various foobar configs out there that rely on OpenGL rendering to show effects like coverflow etc. As far as I can tell (although I have only been using RDC and have not tried any of the VNC methods to remote into my audio server) you cannot get hardware accelerated visual displays onto a remote client. There are some efforts to fix this but they seem to be oriented towards Unix/Linux boxes.

I'd be interested to hear if anyone has had any luck accessing a hardware accelerated visual display of foobar in any kind of a server/client config.

Dave M

foobar stops playing when standby'ing RDP-client

Reply #17
Thank you kdx and odyssey  for your answers
I will try UltraVNC tomorrow.

BTW I am using Win7 on all machines - before that it was a combination of Vista on my Foobar box, XP sp3 on one client and Vista sp1 on one client. Same problems regardless of combination.