question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot open audio device default when running

See original GitHub issue

When I try to run the default startup scene with the Krom runtime, I get the following error in the console:

ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
cannot open audio device default (Device or resource busy)

I am running on Arch Linux with pulseaudio. Please let me know if you need any more information.

Also, is there any way to disable the sound system so I can continue working?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
DrLukecommented, Mar 29, 2019

Reinstalling the package pulseaudio-alsa fixed the issue, some auto-generated configuration probably was wrong for whatever reason. Thank you!

0reactions
DrLukecommented, Mar 29, 2019

Aha! Installing alsaplayer gives me the following error(s):

ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Device or resource busy (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
jack: server not running?
/usr/lib/alsaplayer/output/libjack_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/lib/alsaplayer/output/liboss_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN.      YOU WILL NOT HEAR SOUND!!
libmikmod.so.3: cannot open shared object file: No such file or directory
libaudiofile.so.1: cannot open shared object file: No such file or directory
Read more comments on GitHub >

github_iconTop Results From Across the Web

Alsa audio Output error: cannot open alsa device "default"
I understand that the problem may be "alsa audio Output Error: Cannot open alsa device "default": There is no file or directory", ...
Read more >
Fix sound or audio problems in Windows - Microsoft Support
On the Advanced tab, under Default Format, change the setting, select OK, and then test your audio device. If that doesn't work, try...
Read more >
ALSA: Couldn't open audio device: No such file or directory
1 Answer 1 · Nope, does not work. The problem is, that alsa is not able to find the device, like a sound-card....
Read more >
direwolf@groups.io | Could not open audio device
I've been running Direwolf for years. Recently I upgraded to 1.6 and can not get it to run any longer. I'm using the...
Read more >
'Cannot open audio device' – SUPPORT - RealPlayer
Solution 2: Check for incorrect or missing sound card drivers. Look in your sound card documentation for driver descriptions, and then see Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found