News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Following upgrade, media on MD starts at maximum volume

Started by purps, August 20, 2013, 11:04:39 AM

Previous topic - Next topic

purps

I upgraded another MD (slightly different hardware, it has an nVidia onboard soundcard as opposed to intel) to see if it would have the same issue, and it does. Probably doesn't help, but there it is.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

wtf?  Does  a rebuild on that system have any effect?

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

purps

Nope, sorry should have said I rebuilt it. The first MD was rebuilt as part of that dist-upgrade issue. Had the same dist-upgrade issue with the MD I'm talking about now, but that's neither here nor there, I wanted to rebuild it anyway to see if it sorted the volume issue, and it didn't. To summarise:

MD without upgrade or rebuild - no volume issue.
MD upgraded (with those pluto errors), no rebuild - has the volume issue.
Rebuilt and re-upgraded (solving pluto errors) - has the volume issue.

Consistent with both MDs.

FYI I have another MD which is identical hardware-wise to the first one, which I haven't yet upgraded and doesn't have the issue, just in case it's useful for any troubleshooting.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

Okay.  I'm grasping here.  Do you have any audio pipes setup on these MDs?

I could be way off, but here's my current working theory:

App Server only controls the volume when there are no audio pipes defined.  If you define an audio pipe then app server will set a volume level on the analog card and pass volume commands to the device defined by the audio pipe.  I can only speculate that app server may think it is not the audio controller and therefor setting an arbitrary value and ignoring the volume commands.

???  tchak?  Does that sound plausible at all?

That also doesn't explain why this has happened after an upgrade, unless something got changed in the DB, hence my pipe questions...  grasping.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

tschak909


purps

Volume commands are not being ignored. When the volume jumps up to 100% when media is played, and then pressing a volume button brings it back down again. Then, the volume buttons are working normally.

No audio pipes. The first MD has the amp coming off the soundcard (i.e. analogue). The second MD is the same (i.e. analogue), as it's just a monitor with built-in speakers.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

purps

I just removed my TV (connected to the first MD, living room) in LMCE admin, reboot and then set it up again from scratch so there was an audio pipe in place.

Same issue, volume jumps up to 100% according to alsamixer. However, pressing the volume doesn't bang it back down again (not surprising, as the volume buttons are controlling the TV due to the audio pipe, right?).

I then removed the audio pipe as per my normal setup, and same issue.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

Try this:

edit the /etc/pulse/daemon.conf and set "flat-volumes = no", reboot.  Let me know if that has any effect.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

tschak909

oh no, are we being bitten by Pulseaudio?!

grrrr....

I mean, we do need to move to it at some point, but....grrrrr.....

-Thom

l3mce

No... this is me

It has to do with set vs change audio. Something I am doing to make sure audio isn't a problem, somehow the old value is stuck. Ill fix it.
I never quit... I just ping out.

purps

Quote from: phenigma on August 24, 2013, 08:39:14 PM
Try this:

edit the /etc/pulse/daemon.conf and set "flat-volumes = no", reboot.  Let me know if that has any effect.

J.


I actually went to try this first, thinking it was a Pulse Audio issue... but was straight away thwarted when I found that daemon.conf didn't exist.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

Ah.  Okay.  It does on my core.  Pulse may be configured for per user mode on the mds.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

purps

Quote from: phenigma on August 25, 2013, 12:05:54 AM
Ah.  Okay.  It does on my core.  Pulse may be configured for per user mode on the mds.

J.

/etc/pulse/daemon.conf doesn't exist on my core either!
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

Quote from: purps on August 27, 2013, 02:44:16 PM
/etc/pulse/daemon.conf doesn't exist on my core either!

Well, that's not the problem then.  It sounds like it's L3's audio change.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

l3mce

Please edit /usr/pluto/bin/SetupAudioVideo.sh and hash out "alsactl store" on lines 166 and 170. Also /usr/pluto/bin/AVWizard_Run.sh lines 437 and 476 for good measure... then reboot. Should fix this.
I never quit... I just ping out.