You are not logged in.

#1 2014-04-17 18:44:18

Truc
Member
Registered: 2014-03-06
Posts: 15

[Solved]No sound anymore (ALSA/PulseAudio)

Ok so I have no idea why I have no sound anymore, I didn't install anything...
Anyway, that's what I've tried:

-Check if mixer are all up in alsamixer
-Try to play a bit with pavucontrol
-Reboot
-Rerun pulseaudio with verbose
-Mute and unmute with physical button (I don't know why but I used to get this problem and it used to be solved just doing this)
-Googgling and searching this forum

Here are some more info

Pulseaudio logs:

└┼─$─┤▶ pulseaudio -k; pulseaudio -vvvvv
E: [pulseaudio] main.c: Failed to kill daemon: No such process
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 5.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014
D: [pulseaudio] main.c: Found 4 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is a3af3988434b49f3b8af2ab66eba685b.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1001/pulse.
I: [pulseaudio] main.c: Using state directory /home/unkn0wn/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-5.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
D: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/unkn0wn/.config/pulse/a3af3988434b49f3b8af2ab66eba685b-device-volumes.tdb'
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/unkn0wn/.config/pulse/a3af3988434b49f3b8af2ab66eba685b-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/unkn0wn/.config/pulse/a3af3988434b49f3b8af2ab66eba685b-stream-volumes.tdb'
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/unkn0wn/.config/pulse/a3af3988434b49f3b8af2ab66eba685b-stream-volumes'.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry2
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry3
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry4
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry5
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry6
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry7
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry8
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry9
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry10
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry11
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry12
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry13
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry14
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry15
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry16
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry17
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry18
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry19
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/unkn0wn/.config/pulse/a3af3988434b49f3b8af2ab66eba685b-card-database.tdb'
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/unkn0wn/.config/pulse/a3af3988434b49f3b8af2ab66eba685b-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-udev-detect.so': success
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] module-udev-detect.c: /devices/pci0000:00/0000:00:1b.0/sound/card0 is busy: yes
D: [pulseaudio] module-udev-detect.c: Ignoring /devices/platform/thinkpad_acpi/sound/card29, because marked so.
I: [pulseaudio] module-udev-detect.c: Found 1 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-jackdbus-detect.so': success
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus session bus c9a6328a5bfaef44136d134253502922 as :1.32
D: [pulseaudio] module-jackdbus-detect.c: jackdbus isn't running.
I: [pulseaudio] module.c: Loaded "module-jackdbus-detect" (index: #6; argument: "channels=2").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-bluetooth-policy.so': success
I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #7; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-bluetooth-discover.so': success
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-bluez5-discover.so': success
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus system bus 54d6e91cb1d72b925a540cf453502907 as :1.40
I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #9; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-bluez4-discover.so': failure
I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #8; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-esound-protocol-unix.so': success
I: [pulseaudio] module.c: Loaded "module-esound-protocol-unix" (index: #10; argument: "").
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #11; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-gconf.so': success
I: [pulseaudio] module.c: Loaded "module-gconf" (index: #12; argument: "").
I: [pulseaudio] module-default-device-restore.c: Saved default sink 'auto_null' not existent, not restoring default sink setting.
I: [pulseaudio] module-default-device-restore.c: Saved default source 'auto_null.monitor' not existent, not restoring default source setting.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #13; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #14; argument: "").
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: [pulseaudio] module-device-restore.c: Restoring volume for sink auto_null: front-left: 99957 / 153%,   front-right: 99957 / 153%
I: [pulseaudio] module-device-restore.c: Restoring mute state for sink auto_null.
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] module-device-restore.c: Restoring mute state for source auto_null.monitor.
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
D: [pulseaudio] module-device-restore.c: Could not set format on sink auto_null
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #16; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #15; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #17; argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #18; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-console-kit.so': success
I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #19; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-5.0/modules/module-systemd-login.so': success
I: [pulseaudio] client.c: Created 0 "Login Session c1"
D: [pulseaudio] module-systemd-login.c: Added new session c1
I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #20; argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #21; argument: "").
D: [pulseaudio] module-role-cork.c: Using role 'phone' as trigger role.
D: [pulseaudio] module-role-cork.c: Using roles 'music' and 'video' as cork roles.
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #22; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #23; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #24; argument: "").
D: [pulseaudio] main.c: Got org.PulseAudio1!
D: [pulseaudio] main.c: Got org.pulseaudio.Server!
I: [pulseaudio] main.c: Daemon startup complete.
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
I: [pulseaudio] module-suspend-on-idle.c: Sink auto_null idle f
└┼─$─┤▶ loginctl session-status c1
c1 - unkn0wn (1001)
           Since: Thu 2014-04-17 21:18:58 CEST; 16min ago
          Leader: 1048 (slim)
            Seat: seat0; vc7
         Display: :0.0
          Remote: user root
         Service: slim; type x11; class user
           State: active
            Unit: session-c1.scope
                  |-1048 /usr/bin/slim -nodaemon
                  |-2206 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
                  |-2214 dbus-launch --sh-syntax --exit-with-session
                  |-2215 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
                  |-2227 tint2
                  |-2230 xcompmgr -CfF
                  |-2231 volumeicon
                  |-2236 conky -q
                  |-2238 /usr/lib/at-spi2-core/at-spi-bus-launcher
                  |-2252 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --no...
                  |-2255 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
                  |-2259 /usr/lib/gvfs/gvfsd
                  |-2263 /usr/lib/gvfs/gvfsd-fuse /run/user/1001/gvfs -f -o big_writes
                  |-2278 /usr/lib32/skype/skype
                  |-2320 /usr/lib/xfce4/notifyd/xfce4-notifyd
                  |-2322 /usr/lib/xfce4/xfconf/xfconfd
                  |-2376 firefox
                  |-2416 /usr/lib/virtualbox/VBoxXPCOMIPCD

-I see the mixer going up and down in pavucontrol if I play some music

└┼─$─┤▶ loginctl session-status c1
c1 - unkn0wn (1001)
           Since: Thu 2014-04-17 21:18:58 CEST; 16min ago
          Leader: 1048 (slim)
            Seat: seat0; vc7
         Display: :0.0
          Remote: user root
         Service: slim; type x11; class user
           State: active
            Unit: session-c1.scope
                  |-1048 /usr/bin/slim -nodaemon
                  |-2206 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
                  |-2214 dbus-launch --sh-syntax --exit-with-session
                  |-2215 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
                  |-2227 tint2
                  |-2230 xcompmgr -CfF
                  |-2231 volumeicon
                  |-2236 conky -q
                  |-2238 /usr/lib/at-spi2-core/at-spi-bus-launcher
                  |-2252 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --no...
                  |-2255 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
                  |-2259 /usr/lib/gvfs/gvfsd
                  |-2263 /usr/lib/gvfs/gvfsd-fuse /run/user/1001/gvfs -f -o big_writes
                  |-2278 /usr/lib32/skype/skype
                  |-2320 /usr/lib/xfce4/notifyd/xfce4-notifyd
                  |-2322 /usr/lib/xfce4/xfconf/xfconfd
                  |-2376 firefox
                  |-2416 /usr/lib/virtualbox/VBoxXPCOMIPCD
└┼─$─┤▶ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
└┼─$─┤▶ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output

Don't really know what else to provide...
About my setup it's a thinkpad t420 not plugged in any hdmi screen or simething like that

Thank you

Last edited by Truc (2014-04-19 13:15:28)

Offline

#2 2014-04-18 07:51:22

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved]No sound anymore (ALSA/PulseAudio)

What applications use sound?

fuser -v /dev/snd/*

Does playing sound through alsa using speaker-test with pulseaudio killed work?

speaker-test -c 2 -t wav
speaker-test -c 2 -t wav -D plughw:0,0

Do volume keys and mute affect sound levels in alsamixer? Could it be that skype or something else is occupying the sound card?

Offline

#3 2014-04-18 10:26:11

Truc
Member
Registered: 2014-03-06
Posts: 15

Re: [Solved]No sound anymore (ALSA/PulseAudio)

└┼─$─┤▶ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  unkn0wn    2231 F.... volumeicon
└┼─$─┤▶ speaker-test -c 2 -t wav -D plughw:0,0

speaker-test 1.0.27.2

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -16,Device or resource busy

It says it's busy but I don't see anything that could use it. I quit skype before trying

Offline

#4 2014-04-19 00:56:07

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved]No sound anymore (ALSA/PulseAudio)

I doubt volumeicon is responsible, but make sure. Usually PA occupies default sound card, but you killed that. Try the same as root just after startup. If you still cannot determine what it is, kill one application after another and always check. If still unsuccessful check hardware signal connections from and to sound card as well as it connection to mainboard. Read this about audio group.

Offline

#5 2014-04-19 13:15:01

Truc
Member
Registered: 2014-03-06
Posts: 15

Re: [Solved]No sound anymore (ALSA/PulseAudio)

Thanks for the reply emeres. I don't know what solved it but it's working now... Though it still kinda strange sometimes I have to hit the physical mute key then sound up and the sounds is back. I'm going to investigate this further later

Offline

Board footer

Powered by FluxBB