You are not logged in.

#1 2013-11-06 07:01:17

rfaamada
Member
Registered: 2013-09-19
Posts: 9

[SOLVED]Sound not working

Alright so I came here with the same problem awhile ago and then someone told me to install pulseuaudio. So I did that and it worked but after awhile it just simply stopped working.

After doing

$ pulseaudio --start

it usually worked fine but now no audio plays in vlc or moc. I went in alsamixer and made sure it wasn't muted or something
but it doesn't look like that to me. I then tried installing the gui frontend and I got this:

$ qpaeq 
There was an error connecting to pulseaudio, please make sure you have the pulseaudio dbus module loaded, exiting...

I don't know what else I need to put but hopefully someone will help me out. I watch alot of videos on this machine so i'd be nice to have audio. Thanks!

Last edited by rfaamada (2013-11-07 22:49:56)

Offline

#2 2013-11-06 09:42:11

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED]Sound not working

I find it quite odd that your sound didn't work with alsa, but worked fine with pulseaudio that runs on top of alsa. can you post the output of aplay -l
I assume you haven't set up any .asoundrc?

do you get any errors when starting pulseaudio? also try with pulseaudio -v which should for more detailed output

Offline

#3 2013-11-07 06:48:08

rfaamada
Member
Registered: 2013-09-19
Posts: 9

Re: [SOLVED]Sound not working

ooo wrote:

I find it quite odd that your sound didn't work with alsa, but worked fine with pulseaudio that runs on top of alsa. can you post the output of aplay -l
I assume you haven't set up any .asoundrc?

do you get any errors when starting pulseaudio? also try with pulseaudio -v which should for more detailed output

Thanks for the reply!
output of aplay -l:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC271X Analog [ALC271X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

No I have not set up .asoundrc

No when I do

$ pulseaudio --start

I get no errors whatsoever it just acts like it would normally.

output of pulseaudio -v

$ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 4.0-271-g09e8-dirty
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is e5cd08899f6b4aae8a90321da91746fc.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/rfaa/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-4.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Offline

#4 2013-11-07 09:08:54

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED]Sound not working

rfaamada wrote:

output of aplay -l:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC271X Analog [ALC271X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Are you trying to use the analog output or hdmi? If analog, I think you'r problem is that alsa is using the hdmi (card 0) as default output.
You should be able to set the anlog output (card 1) as default with this in your ~/.asoundrc

pcm.!default { 
type hw 
card 1 
} 

ctl.!default { 
type hw 
card 1 
} 

try killing pulseaudio (with pulseaudio -k) and playing sound with application that's using ALSA as output, like aplay for example if you have any wav files.

rfaamada wrote:

output of pulseaudio -v

$ pulseaudio -v
...
E: [pulseaudio] pid.c: Daemon already running.

you already had pulseaudio running that time so this instance failed to start and thus gives no clues of the issue. you should've killed pulseaudio with pulseaudio -k (or killall pulseaudio if you're hardcore).

However if the .asoundrc above works for you there shouldn't be any need to have pulseaudio running on your system, unless you're running gnome or something else that requires it.

If you'd still like to have pulseaudio, I think the .asoundrc should probably fix it as well. If not, try removing ~/.config/pulse/ and/or follow these instructions in arch wiki.

Offline

#5 2013-11-07 11:33:09

rfaamada
Member
Registered: 2013-09-19
Posts: 9

Re: [SOLVED]Sound not working

I am using the analog output.

I created .asoundrc and killed pulseaudio and it still didn't work. So I killed pulseaudio and did pulseaudio -v:

$ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 4.0-271-g09e8-dirty
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is e5cd08899f6b4aae8a90321da91746fc.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/rfaa/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-4.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 MMXEXT 
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.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/rfaa/.config/pulse/e5cd08899f6b4aae8a90321da91746fc-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/rfaa/.config/pulse/e5cd08899f6b4aae8a90321da91746fc-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/rfaa/.config/pulse/e5cd08899f6b4aae8a90321da91746fc-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: "").
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HD-Audio Generic/HD-Audio Generic.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HD-Audio Generic
I: [pulseaudio] (alsa-lib)main.c: error: failed to import HD-Audio Generic use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card HD-Audio Generic
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D1c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device surround40:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device surround41:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device surround50:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device surround51:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device surround71:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D1p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM dca:0
I: [pulseaudio] alsa-util.c: Error opening PCM device dca:0: No such file or directory
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL hdmi:0
I: [pulseaudio] alsa-util.c: Unable to attach to mixer hdmi:0: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card alsa_card.pci-0000_00_01.1.
I: [pulseaudio] card.c: Created 0 "alsa_card.pci-0000_00_01.1"
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
I: [pulseaudio] alsa-sink.c: Successfully opened device hdmi:0.
I: [pulseaudio] alsa-sink.c: Selected mapping 'Digital Stereo (HDMI)' (hdmi-stereo).
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL hdmi:0
I: [pulseaudio] alsa-util.c: Unable to attach to mixer hdmi:0: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] sink.c: Created sink 0 "alsa_output.pci-0000_00_01.1.hdmi-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
I: [pulseaudio] sink.c:     device.api = "alsa"
I: [pulseaudio] sink.c:     device.class = "sound"
I: [pulseaudio] sink.c:     alsa.class = "generic"
I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] sink.c:     alsa.name = "HDMI 0"
I: [pulseaudio] sink.c:     alsa.id = "HDMI 0"
I: [pulseaudio] sink.c:     alsa.subdevice = "0"
I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] sink.c:     alsa.device = "3"
I: [pulseaudio] sink.c:     alsa.card = "0"
I: [pulseaudio] sink.c:     alsa.card_name = "HD-Audio Generic"
I: [pulseaudio] sink.c:     alsa.long_card_name = "HD-Audio Generic at 0x90244000 irq 44"
I: [pulseaudio] sink.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] sink.c:     device.bus_path = "pci-0000:00:01.1"
I: [pulseaudio] sink.c:     sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0"
I: [pulseaudio] sink.c:     device.bus = "pci"
I: [pulseaudio] sink.c:     device.vendor.id = "1002"
I: [pulseaudio] sink.c:     device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
I: [pulseaudio] sink.c:     device.product.id = "1314"
I: [pulseaudio] sink.c:     device.product.name = "Wrestler HDMI Audio"
I: [pulseaudio] sink.c:     device.form_factor = "internal"
I: [pulseaudio] sink.c:     device.string = "hdmi:0"
I: [pulseaudio] sink.c:     device.buffering.buffer_size = "352768"
I: [pulseaudio] sink.c:     device.buffering.fragment_size = "176384"
I: [pulseaudio] sink.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] sink.c:     device.profile.name = "hdmi-stereo"
I: [pulseaudio] sink.c:     device.profile.description = "Digital Stereo (HDMI)"
I: [pulseaudio] sink.c:     device.description = "Built-in Audio Digital Stereo (HDMI)"
I: [pulseaudio] sink.c:     alsa.mixer_name = "ATI R6xx HDMI"
I: [pulseaudio] sink.c:     alsa.components = "HDA:1002aa01,00aa0100,00100200"
I: [pulseaudio] sink.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] source.c: Created source 0 "alsa_output.pci-0000_00_01.1.hdmi-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     alsa.card = "0"
I: [pulseaudio] source.c:     alsa.card_name = "HD-Audio Generic"
I: [pulseaudio] source.c:     alsa.long_card_name = "HD-Audio Generic at 0x90244000 irq 44"
I: [pulseaudio] source.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] source.c:     device.bus_path = "pci-0000:00:01.1"
I: [pulseaudio] source.c:     sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0"
I: [pulseaudio] source.c:     device.bus = "pci"
I: [pulseaudio] source.c:     device.vendor.id = "1002"
I: [pulseaudio] source.c:     device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
I: [pulseaudio] source.c:     device.product.id = "1314"
I: [pulseaudio] source.c:     device.product.name = "Wrestler HDMI Audio"
I: [pulseaudio] source.c:     device.form_factor = "internal"
I: [pulseaudio] source.c:     device.string = "0"
I: [pulseaudio] source.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] alsa-sink.c: Using 2.0 fragments of size 176384 bytes (999.91ms), buffer size is 352768 bytes (1999.82ms)
I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
I: [pulseaudio] alsa-sink.c: Driver does not support hardware volume control, falling back to software volume control.
I: [pulseaudio] alsa-sink.c: Driver does not support hardware mute control, falling back to software mute control.
I: [alsa-sink-HDMI 0] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
I: [alsa-sink-HDMI 0] alsa-sink.c: Starting playback.
I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #6; argument: "device_id="0" name="pci-0000_00_01.1" card_name="alsa_card.pci-0000_00_01.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"").
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:01.1/sound/card0 (alsa_card.pci-0000_00_01.1) module loaded.
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HD-Audio Generic/HD-Audio Generic.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HD-Audio Generic
I: [pulseaudio] (alsa-lib)main.c: error: failed to import HD-Audio Generic use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card HD-Audio Generic
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:1: No such file or directory
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround40:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround41:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround50:1: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround51:1: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround71:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D1p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:1: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:1
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:1: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:1
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:1: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM dca:1
I: [pulseaudio] alsa-util.c: Error opening PCM device dca:1: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D3p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:1: No such file or directory
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card alsa_card.pci-0000_00_14.2.
I: [pulseaudio] card.c: Created 1 "alsa_card.pci-0000_00_14.2"
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
I: [pulseaudio] alsa-sink.c: Successfully opened device front:1.
I: [pulseaudio] alsa-sink.c: Selected mapping 'Analog Stereo' (analog-stereo).
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] sink.c: Created sink 1 "alsa_output.pci-0000_00_14.2.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
I: [pulseaudio] sink.c:     device.api = "alsa"
I: [pulseaudio] sink.c:     device.class = "sound"
I: [pulseaudio] sink.c:     alsa.class = "generic"
I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] sink.c:     alsa.name = "ALC271X Analog"
I: [pulseaudio] sink.c:     alsa.id = "ALC271X Analog"
I: [pulseaudio] sink.c:     alsa.subdevice = "0"
I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] sink.c:     alsa.device = "0"
I: [pulseaudio] sink.c:     alsa.card = "1"
I: [pulseaudio] sink.c:     alsa.card_name = "HD-Audio Generic"
I: [pulseaudio] sink.c:     alsa.long_card_name = "HD-Audio Generic at 0x90240000 irq 45"
I: [pulseaudio] sink.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] sink.c:     device.bus_path = "pci-0000:00:14.2"
I: [pulseaudio] sink.c:     sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
I: [pulseaudio] sink.c:     device.bus = "pci"
I: [pulseaudio] sink.c:     device.vendor.id = "1022"
I: [pulseaudio] sink.c:     device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
I: [pulseaudio] sink.c:     device.product.id = "780d"
I: [pulseaudio] sink.c:     device.product.name = "FCH Azalia Controller"
I: [pulseaudio] sink.c:     device.form_factor = "internal"
I: [pulseaudio] sink.c:     device.string = "front:1"
I: [pulseaudio] sink.c:     device.buffering.buffer_size = "352768"
I: [pulseaudio] sink.c:     device.buffering.fragment_size = "176384"
I: [pulseaudio] sink.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] sink.c:     device.profile.name = "analog-stereo"
I: [pulseaudio] sink.c:     device.profile.description = "Analog Stereo"
I: [pulseaudio] sink.c:     device.description = "Built-in Audio Analog Stereo"
I: [pulseaudio] sink.c:     alsa.mixer_name = "Realtek ALC271X"
I: [pulseaudio] sink.c:     alsa.components = "HDA:10ec0269,10250740,00100100"
I: [pulseaudio] sink.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] source.c: Created source 1 "alsa_output.pci-0000_00_14.2.analog-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Built-in Audio Analog Stereo"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     alsa.card = "1"
I: [pulseaudio] source.c:     alsa.card_name = "HD-Audio Generic"
I: [pulseaudio] source.c:     alsa.long_card_name = "HD-Audio Generic at 0x90240000 irq 45"
I: [pulseaudio] source.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] source.c:     device.bus_path = "pci-0000:00:14.2"
I: [pulseaudio] source.c:     sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
I: [pulseaudio] source.c:     device.bus = "pci"
I: [pulseaudio] source.c:     device.vendor.id = "1022"
I: [pulseaudio] source.c:     device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
I: [pulseaudio] source.c:     device.product.id = "780d"
I: [pulseaudio] source.c:     device.product.name = "FCH Azalia Controller"
I: [pulseaudio] source.c:     device.form_factor = "internal"
I: [pulseaudio] source.c:     device.string = "1"
I: [pulseaudio] source.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] alsa-sink.c: Using 2.0 fragments of size 176384 bytes (999.91ms), buffer size is 352768 bytes (1999.82ms)
I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -181.50 dB to 0.00 dB.
I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-sink.c: Using hardware mute control.
I: [alsa-sink-ALC271X Analog] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
I: [alsa-sink-ALC271X Analog] alsa-sink.c: Starting playback.
I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
I: [pulseaudio] alsa-source.c: Successfully opened device front:1.
I: [pulseaudio] alsa-source.c: Selected mapping 'Analog Stereo' (analog-stereo).
I: [pulseaudio] alsa-source.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-source.c: Successfully enabled timer-based scheduling mode.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] source.c: Created source 2 "alsa_input.pci-0000_00_14.2.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     alsa.resolution_bits = "16"
I: [pulseaudio] source.c:     device.api = "alsa"
I: [pulseaudio] source.c:     device.class = "sound"
I: [pulseaudio] source.c:     alsa.class = "generic"
I: [pulseaudio] source.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] source.c:     alsa.name = "ALC271X Analog"
I: [pulseaudio] source.c:     alsa.id = "ALC271X Analog"
I: [pulseaudio] source.c:     alsa.subdevice = "0"
I: [pulseaudio] source.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] source.c:     alsa.device = "0"
I: [pulseaudio] source.c:     alsa.card = "1"
I: [pulseaudio] source.c:     alsa.card_name = "HD-Audio Generic"
I: [pulseaudio] source.c:     alsa.long_card_name = "HD-Audio Generic at 0x90240000 irq 45"
I: [pulseaudio] source.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] source.c:     device.bus_path = "pci-0000:00:14.2"
I: [pulseaudio] source.c:     sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
I: [pulseaudio] source.c:     device.bus = "pci"
I: [pulseaudio] source.c:     device.vendor.id = "1022"
I: [pulseaudio] source.c:     device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
I: [pulseaudio] source.c:     device.product.id = "780d"
I: [pulseaudio] source.c:     device.product.name = "FCH Azalia Controller"
I: [pulseaudio] source.c:     device.form_factor = "internal"
I: [pulseaudio] source.c:     device.string = "front:1"
I: [pulseaudio] source.c:     device.buffering.buffer_size = "352768"
I: [pulseaudio] source.c:     device.buffering.fragment_size = "176384"
I: [pulseaudio] source.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] source.c:     device.profile.name = "analog-stereo"
I: [pulseaudio] source.c:     device.profile.description = "Analog Stereo"
I: [pulseaudio] source.c:     device.description = "Built-in Audio Analog Stereo"
I: [pulseaudio] source.c:     alsa.mixer_name = "Realtek ALC271X"
I: [pulseaudio] source.c:     alsa.components = "HDA:10ec0269,10250740,00100100"
I: [pulseaudio] source.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] alsa-source.c: Using 2.0 fragments of size 176384 bytes (999.91ms), buffer size is 352768 bytes (1999.82ms)
I: [pulseaudio] alsa-source.c: Time scheduling watermark is 20.00ms
I: [pulseaudio] alsa-source.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-source.c: Hardware volume ranges from -16.50 dB to 66.00 dB.
I: [pulseaudio] alsa-source.c: Fixing base volume to -66.00 dB
I: [pulseaudio] alsa-source.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-source.c: Using hardware mute control.
I: [alsa-source-ALC271X Analog] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
I: [alsa-source-ALC271X Analog] alsa-source.c: Starting capture.
I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #7; argument: "device_id="1" name="pci-0000_00_14.2" card_name="alsa_card.pci-0000_00_14.2" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"").
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:14.2/sound/card1 (alsa_card.pci-0000_00_14.2) module loaded.
I: [pulseaudio] module-udev-detect.c: Found 2 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
I: [pulseaudio] module.c: Loaded "module-jackdbus-detect" (index: #8; argument: "channels=2").
I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #9; argument: "").
I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #11; argument: "").
I: [pulseaudio] module.c: Loaded "module-bluez4-discover" (index: #12; argument: "").
I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #10; argument: "").
I: [pulseaudio] module.c: Loaded "module-esound-protocol-unix" (index: #13; argument: "").
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #14; argument: "").
E: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
E: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
I: [pulseaudio] module-default-device-restore.c: Restored default sink 'alsa_output.pci-0000_00_14.2.analog-stereo'.
I: [pulseaudio] module-default-device-restore.c: Restored default source 'alsa_input.pci-0000_00_14.2.analog-stereo'.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #16; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #17; argument: "").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #18; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #19; argument: "").
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #20; argument: "").
I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #21; argument: "").
I: [pulseaudio] client.c: Created 0 "Login Session 1"
I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #22; argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #23; argument: "").
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #24; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #25; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #26; argument: "").
E: [pulseaudio] main.c: Module load failed.
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_14.2.analog-stereo:analog-output-speaker.
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: Source alsa_input.pci-0000_00_14.2.analog-stereo idle for too long, suspending ...
I: [alsa-source-ALC271X Analog] alsa-source.c: Device suspended...
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_14.2.analog-stereo idle for too long, suspending ...
I: [alsa-sink-ALC271X Analog] alsa-sink.c: Device suspended...
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_01.1.hdmi-stereo idle for too long, suspending ...
I: [alsa-sink-HDMI 0] alsa-sink.c: Device suspended...
I: [pulseaudio] module-device-restore.c: Synced.

I removed ~/.config/pulse aswell. I also restarted just to see if that would work but it didn't.

Offline

#6 2013-11-07 12:56:39

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED]Sound not working

did you try if sound works with aplay or other application using alsa output after modifying the .asoundrc?

also see if you can change the output device for pulseaudio via pavucontrol or something. there should be hdmi and analog available, but I'm suspecting it still uses hdmi by default.

Last edited by ooo (2013-11-07 12:56:57)

Offline

#7 2013-11-07 22:49:30

rfaamada
Member
Registered: 2013-09-19
Posts: 9

Re: [SOLVED]Sound not working

ooo wrote:

did you try if sound works with aplay or other application using alsa output after modifying the .asoundrc?

also see if you can change the output device for pulseaudio via pavucontrol or something. there should be hdmi and analog available, but I'm suspecting it still uses hdmi by default.

You were correct it was still trying to use hdmi. I fixed it with pavucontrol. Thanks so much for the help!

Offline

Board footer

Powered by FluxBB