Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[Solved] Pulse Audio broke sound card

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
rkfsm
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Fri Jun 03, 2005 2:54 pm
Location: Charleston, SC, USA

[Solved] Pulse Audio broke sound card

  • Quote

Post by rkfsm » Tue May 05, 2015 1:22 am

Well, my sound was working fine with a new install of Gentoo. I installed Firefox which drew in Pulse Audio and now my sound card won't work normally. Everything I have searched says I need to set my sound card as default, but it already is:

Code: Select all

~ $ cat /proc/asound/cards 
 0 [CMI8738        ]: CMI8738-MC6 - C-Media CMI8738
                      C-Media CMI8738 (model 55) at 0x9c00, irq 16
 1 [Lite           ]: USB-Audio - Rocketfish HD Webcam Lite
                      Rocketfish Rocketfish HD Webcam Lite at usb-0000:00:0b.1-1.7, high speed
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfcffc000 irq 16

~ $ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=CMI8738
    C-Media CMI8738, C-Media PCI DAC/ADC
    Default Audio Device
front:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI DAC/ADC
    Front speakers
rear:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI 2nd DAC
    Rear speakers
surround21:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI 2nd DAC
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI 2nd DAC
    4.0 Surround output to Front and Rear speakers
surround41:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI 2nd DAC
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI 2nd DAC
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI 2nd DAC
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI DAC/ADC
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, ID b Digital
    HDMI Audio Output
If I use "speaker-test -t wav -c 2 -D front", I DO get test audio. How do I fix this?

RK
Last edited by rkfsm on Tue May 05, 2015 2:50 pm, edited 1 time in total.
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

Re: Pulse Audio broke sound card

  • Quote

Post by yngwin » Tue May 05, 2015 8:00 am

rkfsm wrote:Well, my sound was working fine with a new install of Gentoo. I installed Firefox which drew in Pulse Audio and now my sound card won't work normally.
So get rid of pulseaudio.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

Re: Pulse Audio broke sound card

  • Quote

Post by VoidMage » Tue May 05, 2015 8:33 am

yngwin wrote:
rkfsm wrote:Well, my sound was working fine with a new install of Gentoo. I installed Firefox which drew in Pulse Audio and now my sound card won't work normally.
So get rid of pulseaudio.
Being helpful there... :roll: even less so than I tend to be.

@rkfsm: what's the output of 'aplay -v /dev/urandom' and 'paplay -v --raw /dev/urandom' ?
Top
rkfsm
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Fri Jun 03, 2005 2:54 pm
Location: Charleston, SC, USA

Re: Pulse Audio broke sound card

  • Quote

Post by rkfsm » Tue May 05, 2015 1:19 pm

VoidMage wrote:
yngwin wrote:
rkfsm wrote:Well, my sound was working fine with a new install of Gentoo. I installed Firefox which drew in Pulse Audio and now my sound card won't work normally.
So get rid of pulseaudio.
Being helpful there... :roll: even less so than I tend to be.

@rkfsm: what's the output of 'aplay -v /dev/urandom' and 'paplay -v --raw /dev/urandom' ?
I have removed Pulse Audio just to see and it did not fix the issue. Here is the output you asked for. There was no sound from the speakers during this.

Code: Select all

~ $ aplay -v /dev/urandom
Playing raw data '/dev/urandom' : Unsigned 8 bit, Rate 8000 Hz, Mono
ALSA <-> PulseAudio PCM I/O Plugin
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 4000
  period_size  : 1000
  period_time  : 125000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1000
  period_event : 0
  start_threshold  : 4000
  stop_threshold   : 4000
  silence_threshold: 0
  silence_size : 0
  boundary     : 2097152000
^CAborted by signal Interrupt...
aplay: pcm_write:1939: write error: Interrupted system call
~ $ paplay -v --raw /dev/urandom
Opening a playback stream with sample specification 's16le 2ch 44100Hz' and channel map 'front-left,front-right'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, tlength=352800, prebuf=349276, minreq=3528
Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'.
Connected to device alsa_output.pci-0000_01_00.1.hdmi-stereo (0, not suspended).
Stream started.
^CGot signal, exiting.cy: 2170705 usec.        
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Tue May 05, 2015 2:21 pm

Well, not sure about aplay, as due to thrashing around, the list of devices might have changed, but as for paplay, 'Connected to device alsa_output.pci-0000_01_00.1.hdmi-stereo' is your problem - it's picking up HDMI as the default output.

'pactl list sinks' will give you the list, 'pactl set-default-sink <foo>' sets it - IIRC it should be preserved across reboots/logouts.
Same for sources.
Top
rkfsm
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Fri Jun 03, 2005 2:54 pm
Location: Charleston, SC, USA

  • Quote

Post by rkfsm » Tue May 05, 2015 2:50 pm

VoidMage wrote:Well, not sure about aplay, as due to thrashing around, the list of devices might have changed, but as for paplay, 'Connected to device alsa_output.pci-0000_01_00.1.hdmi-stereo' is your problem - it's picking up HDMI as the default output.

'pactl list sinks' will give you the list, 'pactl set-default-sink <foo>' sets it - IIRC it should be preserved across reboots/logouts.
Same for sources.
Awesome - that solved it. Thank you.
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Fri May 08, 2015 6:31 pm

VoidMage wrote:Well, not sure about aplay, as due to thrashing around, the list of devices might have changed, but as for paplay, 'Connected to device alsa_output.pci-0000_01_00.1.hdmi-stereo' is your problem - it's picking up HDMI as the default output.

'pactl list sinks' will give you the list, 'pactl set-default-sink <foo>' sets it - IIRC it should be preserved across reboots/logouts.
Same for sources.
This might solve a problem I've had with pulseaudio for some time

I'll give it a try next time I do larger system maintenance changes

Thanks !
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
Post Reply

7 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic