KDEConnect and VLC

Hi folks,

Just wondering if I’m the only person who has almost soiled their trousers whilst experimenting with KDEConnect and VLC? When I try to change the media volume from the Android remote (whether up or down) the response from VLC is to max its volume, taking the system volume with it and causing a panicked lunge for the mute button.

The behaviour is not duplicated with Amarok. VLC behaves itself as far as all the other media controls are concerned. Any suggestions?

opensuse 12.3, android 4.2.2 on a sony Xperia Z, KDEConnect 0.4.2, VLC 2.1.0

Is pulseaudio enabled? If so, disable it, reboot and try again. Not based on experience, just a thought since most of these dubious audio issues seem pulse related

Hi, thanks for giving this some thought. Yes, it seems so. I tried the command:

ps wwup `pgrep pulse`

and got the response


USER    PID    %CPU  %MEM    VSZ      RSS   TTY      STAT  START   TIME COMMAND
joff      5201  0.3      0.1        468144  8588  ?          S<l    11:02     0:02 /usr/bin/pulseaudio --start --log-target=syslog

OK, did this using the instructions here: Ubuntu Tip: Turning PulseAudio On and Off - Overlapping Controls and Confusion - Tutorials - LinuxPlanet although I stopped after editing /etc/pulse/client.conf

Rebooted, ran the first command again and got:


USER    PID    %CPU  %MEM    VSZ      RSS   TTY      STAT  START   TIME COMMAND
joff      4744   0.2     0.1        467976  8384  ?          S<l     11:21    0:00 /usr/bin/pulseaudio --start

No logging = pulseaudio stopped? Wasn’t sure, so tested with VLC and unfortunately the problem still exists. Then realised I was following instructions geared toward Gnome not KDE, so did a bit more hunting and ran the command:

sudo setup-pulseaudio --disable

Rebooted again, with the result that:

  1. I had to un-pair and re-pair the Android through KDEConnect before it would be recognised.
  2. The sound through VLC is appalling - like an badly tuned AM radio.
  3. I have two playback streams for VLC appearing in KDEMixer. One slider is set to max, the other about half way. If I move the slider that is half way in either direction, the volume in VLC itself is maxed. If then try to bring the maxed slider (in KDEMixer) down, the other one goes to max instead, and the volume setting in VLC stays at max. I did not notice these duplicated sliders before, but it doesn’t mean they weren’t there.

Meanwhile Amarok still behaves itself impeccably.

So I must have a dubious sound configuration… I am running a reasonably ancient USB external sound system (MS Digital Sound System 80), perhaps it is related to this.

Any further suggestions will be appreciated, but for now I might just re-enable PulseAudio to see if I can get decent sound through VLC again, and be very careful when altering the volume!

Don’t follow the instructions of a random Ubuntu article.
On openSUSE pulseaudio is started on user login, not at boot. And as your output shows, it is still running

Anyway, it’s much easier to disable in openSUSE:
Enter YaST->Hardware->Sound, click on “Other” and choose “PulseAudio Configuration”, then remove the checkmark on “Enable PulseAudio”… :wink:

Quick follow up - the appalling sound in VLC was due to VLC’s volume going to max, whilst the system volume was low. If I can keep the VLC internal volume down and get the system volume up the sound quality is fine.

Point taken, unfortunately I’ve got into the habit of doing this over the years as it has often got me moving in the right direction (or at least a direction that seems to be an improvement over being able to do nothing, I never really know whether it is the right one or not ;)).

Thankyou, that is much simpler! Done this and can confirm that the check is absent, so I managed to bring it down with that second command by the look of it. So definitely no pulse, but still have the problem.