on opensuse 42.3
mpg123 does not produce any sound when used as regular user
while it does when run as root
i guess thiiis a question of groups but i do not know how to solve this issue
on opensuse 42.3
mpg123 does not produce any sound when used as regular user
while it does when run as root
i guess thiiis a question of groups but i do not know how to solve this issue
Hi,
What does
ls -la $(type -P mpg123)
out put looks like.
it looks like this
ls -la $(type -P mpg123)
-rwxr-xr-x 1 root root 129304 Oct 5 19:37 /usr/bin/mpg123
seems normal to me
as regular user mpg123 produces a correct output in the terminal
but no sound is produced
here is the terminal output
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.7; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Directory: /dedalus/personliche/raspberrypi/clockprojekt/cornes_de_brume/
Terminal control enabled, press 'h' for listing of keys and functions.
Playing MPEG stream 1 of 1: 22430.mp3 ...
MPEG 1.0 L III cbr320 44100 stereo
Title: Corne de brume Queen Mary Artist: Queen's Mary Horn
Comment: http://www.universal-soundbank.com
Album: Horn Soundbank
Year: 2012 Genre: Other
[0:06] Decoding of 22430.mp3 finished.
Probably a silly question on my part, but did you check to see if mpg123 is sending sound to the correct audio device ?
no
how do i perform such a check ?
Assuming pulse audio is enabled, the easiest way is to install the application ‘pavucontrol’, run ‘pavucontrol’ as a regular user, and then look under the ‘playback’ tab while trying to play something with mpg123 and check.
Here is mpg123 playing MISCONFIGURED on my PC , where pulseaudio is sending the audio from mpg123 to an HDMI output for audio ( "Built in Audio Digital Stereo (HDMI) " ) , but I don’t have speakers connected on my HDMI.
http://thumbs2.imagebam.com/24/e3/8e/bd9958650721143.jpg](http://www.imagebam.com/image/bd9958650721143)
so in the next image I switched the output to ‘Built in Audio Analog Stereo’, and now I have audio in my speakers:
http://thumbs2.imagebam.com/79/7e/bf/bb10b6650721153.jpg](http://www.imagebam.com/image/bb10b6650721153)
here is a view of my pavucontrol box
it looks radically different
nothing but the System Sounds bar
nothing else
no pulseaudio ?? why ??
/dedalus/arbeit/2017/jpa/423-octobre2017/pavucontrol.png
here is a view of my pavucontrol box
it looks radically different
nothing but the System Sounds bar
nothing else
no pulseaudio ?? why ??
It seems i cannot include a png file located on my file system,
how do i do that?
/dedalus/arbeit/2017/jpa/423-octobre2017/pavucontrol.png
It seems i cannot include a png file located on my file system,
how do i do that?
Try a picture Hoster and post th URL between the IMG Tag.
here it is
http://thumbs2.imagebam.com/84/13/f4/66cb2b650783653.jpg](http://www.imagebam.com/image/66cb2b650783653)
do we have to go through the cloud ?
Unfortunately you captured that screen print at the wrong time (I think). You need to make the capture while mpg123 is attempting to play (as a regular user) a multimedia application. It is ONLY when you are running an application (such as mpg123) that pavucontrol can see the application running. Pavucontrol is not going to scan your entire computer looking for all multimedia apps that are not running. Run the application and while running, look at pavucontrol.
So please,start playing a multimedia file with mpg123 as a regular user. While it is playing then take a look at that tab in pavucontrol.
Through the cloud?
I have no idea as to what you mean by that.
many thanks for your help oldcpu
making a fresh installation from packman of many audio package solved the issue
how i did is explained here
https://forums.opensuse.org/showthread.php/528008-Media-Player-plays-nothing-!?p=2844313#post2844313
pavucontrol looks ok now
http://thumbs2.imagebam.com/35/ff/58/ce0c3d651023073.jpg](http://www.imagebam.com/image/ce0c3d651023073)
and mpg123 produces a sound
That’s good to read - but honestly the problem in the other thread you quote (which was a issued solved by switching to Packman packagers packaged apps) was unlikely to be the same problem.
Your very first quote in this thread stated, and I quote:
If it worked with root permissions, but not as a regular user, then clearly it is HIGHLY unlikely that this was an issue solved by installing a packman packager version. Rather it was possibly an issue where root user was configured to send the audio to the correct device, but the regular user account was incorrectly configured to send the audio to the wrong device.
That wrong user configuration is now corrected from what I can see, and I am happy to read that.
.
but honestly the problem in the other thread you quote (which was a issued solved by switching to Packman packagers packaged apps) was not the same problem.
that is my opinion too
but i do not have enough knowledge to find out why it works now
i do not like very much not to understand!