Forums

Skip to content

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

[solved] Pulseaudio cannot find output device

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
12 posts • Page 1 of 1
Author
Message
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

[solved] Pulseaudio cannot find output device

  • Quote

Post by fangorn » Wed Jan 06, 2010 7:57 am

Hi,

I did an upgrade of the system lately and on the way I recognized an update to some files in /etc/pulse during an etc-update run. As I did not edit something in these files I let it update them. After next login, pulseaudio stopped working.

In the meantime I found out that pulseaudio cannot connect to sound card device at startup and uses a dummy device instead. When I use fuser /dev/snd/* or lsof /dev/snd/* I see nothing is using the sound devices. At least not after the XFCE Desktop is started. But it worked till that update tp pulseaudio-0.9.19. I already tried upgrading to pulseaudio-0.9.21-r50 with no changes. Also with both versions I tried starting pulseaudio newly after making sure nothing is using the sound devices.

All the documentation I found ends at this point. Is there something I can try/read into that I have missed?

I hope someone can help me with this,

fangorn

Edit:
I also tried changing back to pure alsa, but did not hear anything.
I removed ~/.asoundrc and replaced it with a standard config (pure and dmix) and killed pulseaudio startup. I also reconfigured the playing apps to explicitely use the alsa output. Any hints on how to cleanly go back?
Last edited by fangorn on Tue Jan 12, 2010 6:45 pm, edited 1 time in total.
Video Encoding scripts collection | Project page
Top
dweigert
Guru
Guru
User avatar
Posts: 369
Joined: Fri Oct 04, 2002 10:49 pm
Location: Somerset, NJ USA

  • Quote

Post by dweigert » Sat Jan 09, 2010 4:08 am

I'm in the same boat, with an Audigy2 sound card. One thing I *Did* do was remove hal.

Dan
"Always remember to mount a scratch monkey..."
Top
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

  • Quote

Post by fangorn » Sat Jan 09, 2010 5:56 am

In the meantime I gave up on pulseaudio, went back to my good old FVWM config, switched to alsa-driver-1.0.22.1 to get vlc from git working with alsa again and now I have audio again. :roll:
Video Encoding scripts collection | Project page
Top
boerKrelis
Apprentice
Apprentice
Posts: 242
Joined: Tue Jul 01, 2003 3:31 pm

  • Quote

Post by boerKrelis » Sat Jan 09, 2010 12:55 pm

Does something along the lines of

Code: Select all

pulseaudio --log-level=debug --log-target=stderr
tell you anything?
Of course you'd need to kill any process holding the audiodev (another pulseaudio instance, for instance) first.
Another thing that might help is to remove /var/lib/pulse/* (not while pulseaudio is running, of course).
Top
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

  • Quote

Post by fangorn » Sun Jan 10, 2010 7:08 am

I started pulseaudio on the command line with

Code: Select all

pulseaudio -vvvv
and the only relevant message was that no device was found and dummy device was used.
Video Encoding scripts collection | Project page
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sun Jan 10, 2010 2:17 pm

What were you using: hal or udev module ?
Consider putting that output in a pastebin.
Top
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

  • Quote

Post by fangorn » Mon Jan 11, 2010 5:14 am

I compiled in both, so according to the docs, pulse uses udev IIRC.
Video Encoding scripts collection | Project page
Top
boerKrelis
Apprentice
Apprentice
Posts: 242
Joined: Tue Jul 01, 2003 3:31 pm

  • Quote

Post by boerKrelis » Mon Jan 11, 2010 12:35 pm

Try

Code: Select all

pulseaudio --daemonize=0 --log-level=debug --log-meta=1 --log-target=stderr
Errors are shown in red. If all else fails, you could force pulseaudio to try and grab your sound card by putting something like

Code: Select all

load-module module-alsa-sink device=hw:0,0
into default.pa .
And really, after pulseaudio upgrades you should remove any database files left in /var/lib/pulse/ and ~/.pulse/ .
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Mon Jan 11, 2010 5:41 pm

boerKrelis wrote:And really, after pulseaudio upgrades you should remove any database files left in /var/lib/pulse/ and ~/.pulse/ .
Never found the need for that, except when lately gdbm was upgraded in an inconvenient way.
(there's a bug about that)
Top
boerKrelis
Apprentice
Apprentice
Posts: 242
Joined: Tue Jul 01, 2003 3:31 pm

  • Quote

Post by boerKrelis » Tue Jan 12, 2010 1:34 am

Ah, so that was the cause of my own mysterious pulseaudio problem. Thanks for clearing that up VoidMage.
So let me rephrase that:
If you upgraded gdbm you may need to force pulseaudio to recreate its databases (by weeding through /var/lib/pulse and/or ~/.pulse/) .
Top
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

  • Quote

Post by fangorn » Tue Jan 12, 2010 5:15 am

boerKrelis wrote:Try

Code: Select all

load-module module-alsa-sink device=hw:0,0
into default.pa .
That seems to have helped. A device is detected again. I did not have the time to test functionality yet though. Will report back when I have tested it.
Video Encoding scripts collection | Project page
Top
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

  • Quote

Post by fangorn » Tue Jan 12, 2010 6:44 pm

Ok, it works again. Thanks. :!:
Video Encoding scripts collection | Project page
Top
Post Reply

12 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