-----Vagrant Cascadian <vagr...@debian.org> skrev: -----
Till: ltsp-discuss@lists.sourceforge.net
Från: Vagrant Cascadian <vagr...@debian.org>
Datum: 2014-04-10 22:09
Ärende: Re: [Ltsp-discuss] Ang: no sound on fat clients

On Thu, Apr 10, 2014 at 02:55:47PM +0200, Johan Kragsterman wrote:
> I give myself, and you other guys a hint, since I found this on pulseaudio in
> system mode:
> 
> http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/
> WhatIsWrongWithSystemWide/

If you read that page, you'll see:

  "System mode is around for usage on thin client or embedded setups, wher no
   real local user exists, where access is exclusively via the network, and
   where state data is flushed on each session termination."

So this actually is appropriate. Not sure we flush state data on each session
termination though... and even though we're using pulseaudio in one of the
use-cases appropriate for system mode, there's no way to turn off the warning.

We could potentially rewrite some things and actually start per-user pulseaudio
daemons since we tend to actually have a local user (due to localapps or
fatclients), but LTSP5 is essentially in maintenance mode, and would rather
move major feature development towards LTSP6...


Some experiencies after testing:

I 've been trying out sound on local apps on thin clients, and passed on some 
pulseaudio arguments, like:

ltsp-localapps pulseaudio -nC,

as well as 

ltsp-localapps pulseaudio -nF pulseaudio.pa

as well as some others.

The results are strange....

If I start with VLC, directly after the newly booted client, and ltsp-localapps 
pulseaudio -nC:

ltsp-localapps vlc:

VLC recieving dvb streams from my TV-server(mumudvb) doesn't play any sound, 
though it displays that sound is in the stream, and it lets me choose the local 
sound device to use(Just a note: This works perfect on a normal workstation).

If I start with google-chrome, and youtube, directly after the newly booted 
client, and ltsp-localapps pulseaudio -nC:

It seem to work fine with the sound, though the video quality is not fine.

If I start VLC AFTER I started google-chrome/youtube where the sound is already 
working, sound is actually working on vlc as well, though NOT in all 
channels...!?!!?

When I switched channel on vlc and sound stops to work, it also stops to work 
on google-chrome/youtube...as well as the video on youtube is starting to hang, 
and it seems to hang after 7 seconds, all the time.

After that, I can not kill local pulseaudio and get it to work again.

So, I don't really know what I'm doing here, just doing experiments, and 
reports back to list.

But any hints here would be appreciated, and a strategy for solving this would 
be fine!

I am also reading this on the pulseaudion site, about systemwide:

"There is only a single namespace for cached sound samples, i.e. there can be 
only a single Gnome event sound profile active at the same time"

Anyone care to explain the consequencies of that?


Rgrds Johan


live well,
  vagrant

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net




------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to