Results 1 to 6 of 6

Thread: No Sound As plain User - OpenSuse 11.3 64bits

  1. #1

    Default No Sound As plain User - OpenSuse 11.3 64bits

    Guys,

    I have 11.3 running - 64bit - lxde

    i have alsa installed, pulseaudio installed.

    As root - via a terminal ( using mpg123) i can play an mp3 song.
    Code:
    mpg123 -vv testsong.mp3 
    Trying output module alsa.
    Using default module dir: /usr/lib64/mpg123
    Module dir: /usr/lib64/mpg123
    Module path: ./output_alsa.so
    Output module 'alsa' chosen.
    High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
            version 1.13.2; written and copyright by Michael Hipp and others
            free software (LGPL/GPL) without any warranty but with best wishes
    Decoder: x86-64 (SSE)
    
    Audio driver: alsa
    Audio device: <none>
    Audio capabilities:
    
    playlist in normal order:
    testsong.mp3
    
    Playing MPEG stream 1 of 1: testsong.mp3 ...
    Above , we can see that 'alsa' was chosen.

    As a normal user - via a terminal ( using mpg123), I CANT play this file, output shown below...

    Code:
    mpg123 -vv testsong.mp3 
    Trying output module alsa.
    Using default module dir: /usr/lib64/mpg123
    Module dir: /usr/lib64/mpg123
    Module path: ./output_alsa.so
    Trying output module oss.
    Using default module dir: /usr/lib64/mpg123
    Module dir: /usr/lib64/mpg123
    Module path: ./output_oss.so
    Trying output module esd.
    Using default module dir: /usr/lib64/mpg123
    Module dir: /usr/lib64/mpg123
    Module path: ./output_esd.so
    [module.c:102] error: Failed to open module esd: file not found
    Note: This could be because of braindead path in the .la file...
    Trying output module jack.
    Using default module dir: /usr/lib64/mpg123
    Module dir: /usr/lib64/mpg123
    Module path: ./output_jack.so
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    exec of JACK server (command = "/usr/bin/jackd") failed: No such file or directory
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    [jack.c:252] error: Failed to open jack client: 0x11
    [jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer.
    Trying output module portaudio.
    Using default module dir: /usr/lib64/mpg123
    Module dir: /usr/lib64/mpg123
    Module path: ./output_portaudio.so
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    Output module 'portaudio' chosen.
    High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
            version 1.13.2; written and copyright by Michael Hipp and others
            free software (LGPL/GPL) without any warranty but with best wishes
    Decoder: x86-64 (SSE)
    
    Audio driver: portaudio
    Audio device: <none>
    Audio capabilities:
    playlist in normal order:
    testsong.mp3
    
    
    Playing MPEG stream 1 of 1: testsong.mp3 ...
    Note: ID3v2.3 rev 0 tag of 1056 bytes
    Note: ID3v2.3 rev 0 tag of 2038 bytes
    Note: Junk at the beginning (0x00000000)
    [portaudio.c:91] error: Failed to open PortAudio default stream: Device unavailable
    [audio.c:627] error: failed to open audio device
    [mpg123.c:515] error: failed to reset audio device: Bad file descriptor
    As you can see, mpg123 fails to choose 'alsa' ?

    Is this some permission problem? it works as root but not as a normal user?

    Additional Info - In firefox -> youtube -> video -> i get no sound either. i thought it was just a 64bit flash problem - so i did not bother then. Now i am stuck.

  2. #2

    Default Re: No Sound As plain User - OpenSuse 11.3 64bits

    More info;

    yast (as root) -> sound -> pulseadio enabled, volumes unmuted, & play test sound WORKS.

  3. #3

    Default Re: No Sound As plain User - OpenSuse 11.3 64bits

    i just installed mplayer2 - to gether more test data.

    i find that;

    -as root, 'mplayer2 testsong.mp3' works well.

    -however as a plain user, i get an error...

    Code:
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Permission denied
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
    [AO_ALSA] alsa-lib: conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: Permission denied
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: Permission denied
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: Permission denied
    [AO_ALSA] alsa-lib: conf.c:4633:(snd_config_expand) Evaluate error: Permission denied
    [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    [AO_ALSA] Playback open error: Permission denied

  4. #4

    Default Re: No Sound As plain User - OpenSuse 11.3 64bits

    oh hell, just found out that in opensuse, i have to add the said user to the 'audio' group.
    After i did that thru yast, i can play the said mp3 song both as root and as an ordinary user.

  5. #5

    Default Re: No Sound As plain User - OpenSuse 11.3 64bits

    i must say that this episode did expose my confusion over alsa / pulseaudio / phonon / gstreamer

    http://upload.wikimedia.org/wikipedi...io-diagram.svg

    the above diagram helped me understand better.

  6. #6

    Default Re: No Sound As plain User - OpenSuse 11.3 64bits

    audio

    this website was helpful too.

    overall, sound now works ( playback ) for all my mp3 and youtube etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •