No sound after reboot

A few days ago I run “zypper up” and rebooted the system… but I have no sound now, after a new “zypper up” today I still have no sound, pavucontrol seems like the sound is ok, nothing muted… any idea???


#  | Alias                       | Name                               | Enabled | Refresh | URI                                                                       
---+-----------------------------+------------------------------------+---------+---------+---------------------------------------------------------------------------
 1 | Printing                    | Printing                           | Yes     | Yes     | http://download.opensuse.org/repositories/Printing/openSUSE_13.2/         
 2 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra  | Yes     | Yes     | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/       
 3 | ftp.gwdg.de-suse            | Packman Repository                 | Yes     | Yes     | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                  
 4 | google-chrome               | google-chrome                      | Yes     | Yes     | http://dl.google.com/linux/chrome/rpm/stable/x86_64                       
 5 | openSUSE-13.2-0             | openSUSE-13.2-0                    | Yes     | No      | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-222BB_R8LM6GAC400XDN
 6 | repo-debug                  | openSUSE-13.2-Debug                | No      | Yes     | http://download.opensuse.org/debug/distribution/13.2/repo/oss/            
 7 | repo-debug-update           | openSUSE-13.2-Update-Debug         | No      | Yes     | http://download.opensuse.org/debug/update/13.2/                           
 8 | repo-debug-update-non-oss   | openSUSE-13.2-Update-Debug-Non-Oss | No      | Yes     | http://download.opensuse.org/debug/update/13.2-non-oss/                   
 9 | repo-libdvdcss              | repo-libdvdcss                     | Yes     | Yes     | http://opensuse-guide.org/repo/13.2/                                      
10 | repo-non-oss                | openSUSE-13.2-Non-Oss              | Yes     | Yes     | http://download.opensuse.org/distribution/13.2/repo/non-oss/              
11 | repo-oss                    | openSUSE-13.2-Oss                  | Yes     | Yes     | http://download.opensuse.org/distribution/13.2/repo/oss/                  
12 | repo-source                 | openSUSE-13.2-Source               | No      | Yes     | http://download.opensuse.org/source/distribution/13.2/repo/oss/           
13 | repo-update                 | openSUSE-13.2-Update               | Yes     | Yes     | http://download.opensuse.org/update/13.2/                                 
14 | repo-update-non-oss         | openSUSE-13.2-Update-Non-Oss       | Yes     | Yes     | http://download.opensuse.org/update/13.2-non-oss/ 

http://www.alsa-project.org/db/?f=12e1fddac7c4cab69a04f3e6d32de21011da7475

Sound should be working. Does your PC have a ./pulse directory ? If so, try removing ~/.pulse and test.

Also, does the following command give sound ?


aplay -vv /usr/share/sounds/alsa/test.wav

Try that as a regular user, and also try it with root permissions.

Some time updates turn the vol down check the volume levels/mute

I deleted ~/.pulse and ~/.config/pulse on my user, logout and nothing changes… root or a new user make no difference

The aplay command shows the normal output on the terminal, but no sound

gogalthorp wrote:

>
> Some time updates turn the vol down check the volume levels/mute
>
>
Also have a look in Yast sound section and in the card section go to the
“other” button and turn off pulse support for the card/cards even though it
should show that they are not configured, do not configure just toggle pulse
and save. I had this prob, on fresh install all was fine then some update
just knocked sound off completely.

Not sure what it was but toggling pulse support fixed it for me :slight_smile:

HTH


Mark
Nullus in verba
Caveat emptor
Nil illigitimi carborundum

If aplay gives no sound, that suggests this is NOT a pulse problem. My understanding is aplay bypasses pulse. You did try aplay with both regular user and with root permissions ?

Are you 100% certain your cables are good and connected properly (assuming this to be a desktop) and not mistakenly bumped by a family member or by the maid ?

One further request, try each of these machinations of aplay (as both a regular user and with root permissions):


aplay -D plughw:**0,0** -vv /usr/share/sounds/alsa/test.wav 

and


aplay -D plughw:**0,1** -vv /usr/share/sounds/alsa/test.wav

and


aplay -D plughw:**1,0** -vv /usr/share/sounds/alsa/test.wav

and


aplay -D plughw:**1,3** -vv /usr/share/sounds/alsa/test.wav

The only one that should work is “plughw:0,0” (for the others you should get no sound). For plughw:1,0 you should get something like " aplay: main:722: audio open error: No such file or directory " … but if things are misconfigured I suppose its possible for me to be surprised.
.

I’ve checked the conexions, speakers, etc… they’re ok

the output of the commands…

as user:


[javier@celebi]:~$ aplay -D plughw:0,0 -vv /usr/share/sounds/alsa/test.wav
aplay: main:722: audio open error: Device or resource busy
[javier@celebi]:~$ aplay -D plughw:0,1 -vv /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 1 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22016
  period_size  : 5504
  period_time  : 124807
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 5504
  period_event : 0
  start_threshold  : 22016
  stop_threshold   : 22016
  silence_threshold: 0
  silence_size : 0
  boundary     : 6196953087261802496
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 01%
[javier@celebi]:~$ aplay -D plughw:1,0 -vv /usr/share/sounds/alsa/test.wav
aplay: main:722: audio open error: No such file or directory
[javier@celebi]:~$ aplay -D plughw:1,3 -vv /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 1 'HDA NVidia' device 3 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22016
  period_size  : 5504
  period_time  : 124807
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 5504
  period_event : 0
  start_threshold  : 22016
  stop_threshold   : 22016
  silence_threshold: 0
  silence_size : 0
  boundary     : 6196953087261802496
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%
[javier@celebi]:~$

as root


celebi:~ # aplay -D plughw:0,0 -vv /usr/share/sounds/alsa/test.wav
aplay: main:722: audio open error: Device or resource busy
celebi:~ # aplay -D plughw:0,1 -vv /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'HDA ATI SB' device 1 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22016
  period_size  : 5504
  period_time  : 124807
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 5504
  period_event : 0
  start_threshold  : 22016
  stop_threshold   : 22016
  silence_threshold: 0
  silence_size : 0
  boundary     : 6196953087261802496
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%
celebi:~ # aplay -D plughw:1,0 -vv /usr/share/sounds/alsa/test.wav
aplay: main:722: audio open error: No such file or directory
celebi:~ # aplay -D plughw:1,3 -vv /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 1 'HDA NVidia' device 3 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22016
  period_size  : 5504
  period_time  : 124807
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 5504
  period_event : 0
  start_threshold  : 22016
  stop_threshold   : 22016
  silence_threshold: 0
  silence_size : 0
  boundary     : 6196953087261802496
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%
celebi:~ #

This could point to the problem. Some application has seized the hw:0,0 (which is mostly likely your PC’s sound device) and is refusing to share it with any other application.

I’m struggling to figure out what application could be causing this. Nominally that command should work in parallel with pulse audio enabled.

What happens if you boot your PC to run level 3, and then in the full screen terminal send that command ?


aplay -D plughw:0,0 -vv /usr/share/sounds/alsa/test.wav 

if it works in run level 3, then it could be your desktop GUI (KDE, Gnome, XFCE, LXDE or what ever you are using) is causing the problem.

Please also confirm your PC has only one user (ie yourself and of course root) and not multiple users.

On run level 3 the command “works” but still no sound… I’m using KDE4 (4.14.6) and yes, I have two users and root

I get this output using lsof


celebi:~ # lsof | grep dev | grep snd
pulseaudi 31406           javier  mem       CHR              116,3               12782 /dev/snd/pcmC0D0p
pulseaudi 31406           javier   17u      CHR              116,8      0t0        911 /dev/snd/controlC1
pulseaudi 31406           javier   24u      CHR              116,8      0t0        911 /dev/snd/controlC1
pulseaudi 31406           javier   25u      CHR              116,2      0t0      12781 /dev/snd/controlC0
pulseaudi 31406           javier   32u      CHR              116,2      0t0      12781 /dev/snd/controlC0
pulseaudi 31406           javier   37u      CHR              116,2      0t0      12781 /dev/snd/controlC0
pulseaudi 31406           javier   48u      CHR              116,2      0t0      12781 /dev/snd/controlC0
pulseaudi 31406           javier   49u      CHR              116,3      0t0      12782 /dev/snd/pcmC0D0p
alsa-sink 31406 31410     javier  mem       CHR              116,3               12782 /dev/snd/pcmC0D0p
alsa-sink 31406 31410     javier   17u      CHR              116,8      0t0        911 /dev/snd/controlC1
alsa-sink 31406 31410     javier   24u      CHR              116,8      0t0        911 /dev/snd/controlC1
alsa-sink 31406 31410     javier   25u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31410     javier   32u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31410     javier   37u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31410     javier   48u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31410     javier   49u      CHR              116,3      0t0      12782 /dev/snd/pcmC0D0p
alsa-sink 31406 31411     javier  mem       CHR              116,3               12782 /dev/snd/pcmC0D0p
alsa-sink 31406 31411     javier   17u      CHR              116,8      0t0        911 /dev/snd/controlC1
alsa-sink 31406 31411     javier   24u      CHR              116,8      0t0        911 /dev/snd/controlC1
alsa-sink 31406 31411     javier   25u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31411     javier   32u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31411     javier   37u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31411     javier   48u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sink 31406 31411     javier   49u      CHR              116,3      0t0      12782 /dev/snd/pcmC0D0p
alsa-sour 31406 31412     javier  mem       CHR              116,3               12782 /dev/snd/pcmC0D0p
alsa-sour 31406 31412     javier   17u      CHR              116,8      0t0        911 /dev/snd/controlC1
alsa-sour 31406 31412     javier   24u      CHR              116,8      0t0        911 /dev/snd/controlC1
alsa-sour 31406 31412     javier   25u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sour 31406 31412     javier   32u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sour 31406 31412     javier   37u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sour 31406 31412     javier   48u      CHR              116,2      0t0      12781 /dev/snd/controlC0
alsa-sour 31406 31412     javier   49u      CHR              116,3      0t0      12782 /dev/snd/pcmC0D0p
celebi:~ # ps ax | grep 31406
  678 pts/0    S+     0:00 grep --color=auto 31406
31406 ?        S<l    0:24 /usr/bin/pulseaudio --start --log-target=syslog
celebi:~ #


also


May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] module-intended-roles.c: Not setting device for stream Output, because already set.
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c: Trying to change sample rate
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink.c: Cannot update rate, SINK_IS_RUNNING, will keep using 44100 Hz
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_14.2.analog-stereo becomes busy, resuming.
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] resampler.c: Resampler:
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] resampler.c:   rate 48000 -> 44100 (method speex-float-1)
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] resampler.c:   format s16le -> s16le (intermediate float32le)
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] resampler.c: Choosing speex quality setting 1.
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c: Created input 7 "Output" on alsa_output.pci-0000_00_14.2.analog-stereo with sample spec s16le 2ch 48000Hz and channel map front-left,front-right
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     window.icon_name = "skype"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.icon_name = "skype"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     media.role = "phone"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     media.name = "Output"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.name = "Skype"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     native-protocol.version = "29"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.process.id = "31488"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.process.user = "javier"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.process.host = "celebi"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.process.binary = "skype"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.language = "en_US.UTF-8"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     window.x11.display = ":0"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.process.machine_id = "4ed603cd18304c8d9216b69334cdeb3a"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     application.process.session_id = "21"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] sink-input.c:     module-stream-restore.id = "sink-input-by-media-role:phone"
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] protocol-native.c: Requested tlength=60.00 ms, minreq=15.00 ms
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] protocol-native.c: Requested latency=15.00 ms, Received latency=15.00 ms
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=8640, base=4, prebuf=5764, minreq=2880 maxrewind=0
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=8640, base=4, prebuf=5764, minreq=2880 maxrewind=0
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] protocol-native.c: Final latency 60.00 ms = 15.00 ms + 2*15.00 ms + 15.00 ms
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Latency set to 11.61ms
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: hwbuf_unused=350720
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: setting avail_min=87937
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested volume: front-left: 99957 / 153% / 11.00 dB,   front-right: 99957 / 153% / 11.00 dB
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Got hardware volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Calculated software volume: front-left: 99957 / 153% / 11.00 dB,   front-right: 99957 / 153% / 11.00 dB (accurate-enough=no)
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: Volume not changing
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Requesting rewind due to uncorking
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested to rewind 352768 bytes.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Limited to 1748 bytes.
May 05 14:02:06 celebi pulseaudio[31406]: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_14.2.analog-stereo becomes busy, resuming.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: before: 437
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: after: 437
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Rewound 1748 bytes.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: Processing rewind...
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: latency = 1380
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Have to rewind 1748 bytes on render memblockq.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] source.c: Processing rewind...
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] protocol-native.c: Requesting rewind due to end of underrun.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested to rewind 352768 bytes.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Limited to 1680 bytes.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: before: 420
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: after: 420
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Rewound 1680 bytes.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: Processing rewind...
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: latency = 1394
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Have to rewind 1680 bytes on render memblockq.
May 05 14:02:06 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] source.c: Processing rewind...
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Requesting rewind due to corking
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested to rewind 352768 bytes.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Limited to 1752 bytes.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: before: 438
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: after: 438
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Rewound 1752 bytes.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: Processing rewind...
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: latency = 1418
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Have to rewind 1752 bytes on render memblockq.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Have to rewind 1912 bytes on implementor.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] ratelimit.c: 1038 events suppressed
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] flist.c: pulsecore/memblockq.c: list_items flist is full (don't worry)
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] source.c: Processing rewind...
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Latency set to 11.61ms
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: hwbuf_unused=350720
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: setting avail_min=87937
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested volume: front-left: 99957 / 153% / 11.00 dB,   front-right: 99957 / 153% / 11.00 dB
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Got hardware volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Calculated software volume: front-left: 99957 / 153% / 11.00 dB,   front-right: 99957 / 153% / 11.00 dB (accurate-enough=no)
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: Volume not changing
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested to rewind 352768 bytes.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Limited to 1464 bytes.
May 05 14:02:09 celebi pulseaudio[31406]: [pulseaudio] sink-input.c: Freeing input 7 "Output"
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: before: 366
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: after: 366
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Rewound 1464 bytes.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: Processing rewind...
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink.c: latency = 0
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] sink-input.c: Have to rewind 1464 bytes on render memblockq.
May 05 14:02:09 celebi pulseaudio[31406]: [alsa-sink-ALC887-VD Analog] source.c: Processing rewind...

Well, yes and no.

Yes, it uses ALSA directly, not PulseAudio.

But, as PulseAudio grabs the sound card exclusively, this cannot work (the device is in use by PulseAudio). So you need alsa-plugins-pulse (and alsa-plugins-pulse-32bit for 32bit applications), which in turn reroutes the sound output to PulseAudio.

I think that means that some software (skype?) is requesting a volume of 153% (i.e. 100% hardware volume), therefore pulseaudio is setting the overall volume to this.
Try to set “flat-volumes = no” in /etc/pulse/daemon.conf, then an application requesting such a high volume shouldn’t change the overall volume.
And/or maybe try to set skype’s volume to something lower, or try without starting skype.

That output also shows that “ALC887-VD Analog” (i.e. your sound card/chip) is used for sound output. But if I understand you correctly you should actually be using HDMI, right?
So to me it seems like you don’t get sound because the wrong output is selected. I don’t know anything about using HDMI for sound, but try to set the primary/default card in YaST and/or choose the right one in KDE’s “Audio and Video Settings”->“Audio Hardware Setup” (in Configure Desktop->Multimedia)

Two users ? Does sound not work for either ? If sound does not work for either user, did you clear the ~/.pulse and ~/.config/pulse for both users ?

alsa-sink ? alsa-sour ? What is this doing here ? This is not standard - Is there some custom audio setup that has been applied that you did not mention to us ?

Any chance you or the other user has been modifying files in /etc/pulse ?
.

No, the system has no sound, no matter which user, the second user was created to test the sound with a fresh user. Respect to alsa-{sink,sour} I have no idea what they are, the installation has nothing special, but I run alsamixer to see the card volume, but for now I have to search what they and how to remove them :confused:

into /etc/pulse I only change the log level to debug

wolfi323 wrote:

> That output also shows that “ALC887-VD Analog” (i.e. your sound
> card/chip) is used for sound output. But if I understand you correctly
> you should actually be using HDMI, right?
> So to me it seems like you don’t get sound because the wrong output is
> selected. I don’t know anything about using HDMI for sound, but try to
> set the primary/default card in YaST and/or choose the right one in
> KDE’s “Audio and Video Settings”->“Audio Hardware Setup” (in Configure
> Desktop->Multimedia)
>

Hi

it is my understanding (by sheer brains and a lot of mashing the keyboard )
that you do not use Yast for sound, I found this when I lost my sound the
other day ( not sure if it was an update )

If you use yast and then systemsettings things can get very interesting.

The only way I got my sound back was to unconfigure in yast and make sure
that under the “other” button you also untick “pulse support”, if you don`t
then all you get in system settings media soundcards is a pulse icon, no
card is shown and this is where your sound disappears.

Do excuse all silling orrors but new lappy and I just cannot get used to
the touchpad and keyboard yet. I am spending more time going back and
editing than I am answering, the layout is just different enough to be da*m
annoying :slight_smile:

HTH


Mark
Nullus in verba
Caveat emptor
Nil illigitimi carborundum

Baskitcaise wrote:

>>
>
> Hi
>
> it is my understanding (by sheer brains and a lot of mashing the keyboard
> ) that you do not use Yast for sound, I found this when I lost my sound
> the other day ( not sure if it was an update )
>

<edit>

When I did lose sound the first thing I did was go to yast and saw that
neither of my 2 cards were configured so “Oh!” I thought and configured them
as in the “old way” with yast, and went to system setings and they had
disappeard leaving just a plain icon called pulse audio.

Hope that makes it a bit clearer

Once again sorry for typing errors but I am getting tired and annoyed with
this bl**dy keyboard, if I was at home I would have a moose (sic) and a
keyoard plugged in

> If you use yast and then systemsettings things can get very interesting.
>
> The only way I got my sound back was to unconfigure in yast and make sure
> that under the “other” button you also untick “pulse support”, if you
> don`t then all you get in system settings media soundcards is a pulse
> icon, no card is shown and this is where your sound disappears.
>
> Do excuse all silling orrors but new lappy and I just cannot get used to
> the touchpad and keyboard yet. I am spending more time going back and
> editing than I am answering, the layout is just different enough to be
> da*m annoying :slight_smile:
>
> HTH
>
>
>

Mark
Nullus in verba
Caveat emptor
Nil illigitimi carborundum

The above all suggests to me that (1) this is not a pulse audio problem (as aplay should be independant of pulse audio), and (2) this is desktop independant as you have proven this does not work in run level 3 when there is no desktop, and (3) some other application has seized the audio device and refuses to share it. That other app could be related to alsa-sink/sour but I have no experience with either of those.

Have you installed any ‘exotic’ audio or multi-media applications that could have impacted your sound ?

I never run “zypper up” so I can not comment on its affect, but can you advise what multi-media apps were updated ? Was the kernel updated ?

You could play around with the /etc/modprobe.d/50-sound.conf file - but I am not convinced that will sort this. The alsa-sink-sour is very puzzling, and it could be the clue needed to sort this - but I have no idea as to what would cause those. I think you will need help from someone who knows more than I … and possibly writing a bug report is the way to achieve that - or simply go to the mailing lists for openSUSE and ask for help there.
.

I should qualify that assumption (1), in that a misconfigured pulse audio could seize the audio device, refuse to share it with the independent alsa api, and could also block its use for itself. But thats speculation. I can’t help but think there was some effort to either tune, or to get the sound working, that has made this more complex to solve than it otherwise would be.

Misconfigured?
That’s the default. PulseAudio exclusively grabs the audio device and prevents other applications from using ALSA directly (even via dmix).
You need alsa-plugins-pulse (and alsa-plugin-pulse-32bit for 32bit applications) installed to re-route applications using ALSA to PulseAudio instead.

Those alsa-sink and alsa-sour processes are normal too, I see the same here (that aplay command line does play sound here though).

Regarding the original problem I’m not sure.
You seem to have more than one sound card. The wrong one might be used. (you seem to be using the on-board chip if I correctly interpret your output, but if your speakers are connected via HDMI this cannot work e.g.)
Have a look in KDE’s “Audio and Video Settings”->“Audio Hardware Setup” (in “Configure Desktop”->“Multimedia”), that the correct one is selected for output.
If you don’t use KDE, use pavucontrol instead.

And another thing I stumbled over some time ago when trying out PulseAudio after not using it before. That probably doesn’t apply but anyway:
If you enabled the “timidity” service, PulseAudio will not work and not give any sound at all. (because this is started during boot and prevents PulseAudio from taking exclusive control over the sound card on login)

systemctl status timidity

In general yes … but as you note aplay plays sound and I note that it does not use pulse. My understanding is aplay uses the alsa api which is not prevented from working by pulse. The same is true for arecord. Arecord uses the alsa api and it is not stopped from working by pulse.

I do not get the alsa-sink nor alsa-sour on my openSUSE PC. Systemically, you are doing something different from myself, and it makes me wonder what you two are doing to obtain those - although I concede if you have those as nominal, then they are not what is seizing VampirD’s PC’s hw:0,0 device to be not available for pulse audio.