[GH-ISSUE #1050] VLC audio issue on the latest release 0.9.44.6. #717

Closed
opened 2026-05-05 06:30:55 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @mr-blobbyyy on GitHub (Jan 16, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1050

No sound at all, tried both audio and video files. VLC error upon opening:

Audio output failed:
The audio device "default" could not be used:
No such file or directory.

...the video still plays, but no audio. Manually selecting the correct "audio device" within VLC's settings also does nothing (there's quite a few selections if you have a gpu that supports hdmi audio. I don't use this audio method as I have this sound "profile" as "off" within xfce's audio settings -- but VLC apparently still displays these options.)

xfce 4.12
vlc 2.2.2 (xenial repo 😡)

I have a samson mic + audio setup usb using the usb audio driver, listening on headphones. Everything was fine on version 0.9.44.4. Other (non-firejailed apps) are playing audio normally. "Onboard audio" is disabled via the uefi/bios.

Originally created by @mr-blobbyyy on GitHub (Jan 16, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1050 No sound at all, tried both audio and video files. VLC error upon opening: ``` Audio output failed: The audio device "default" could not be used: No such file or directory. ``` ...the video still plays, but no audio. Manually selecting the correct "audio device" within VLC's settings also does nothing (there's quite a few selections if you have a gpu that supports hdmi audio. I don't use this audio method as I have this sound "profile" as "off" within xfce's audio settings -- but VLC apparently still displays these options.) xfce 4.12 vlc 2.2.2 (xenial repo :rage:) I have a samson mic + audio setup usb using the usb audio driver, listening on headphones. Everything was fine on version 0.9.44.4. Other (non-firejailed apps) are playing audio normally. "Onboard audio" is disabled via the uefi/bios.
Author
Owner

@mr-blobbyyy commented on GitHub (Jan 16, 2017):

Ok I seemed to have found a workaround. Using these audio settings (versus selecting them on-the-fly while VLC was opened as mentioned previously) is working (remember to restart VLC because apparently VLC settings are not applied until a restart):
vlc-fjsettins2

Curiously, with these settings if I now select "automatic" (or even "pulseaudio") again for the "output module" -- it still works...so the issue here is apparently a problem with ALSA accessing the "default" device specifically. If I select the "default" device for ALSA, the problem reproduces.

P.S. 🤦‍♂️ about "VCL" -- I can't be bothered making another screenie.

<!-- gh-comment-id:272779285 --> @mr-blobbyyy commented on GitHub (Jan 16, 2017): Ok I seemed to have found a workaround. Using these audio settings (versus selecting them on-the-fly while VLC was opened as mentioned previously) is working (remember to restart VLC because apparently VLC settings are not applied until a restart): ![vlc-fjsettins2](https://cloud.githubusercontent.com/assets/19324958/21972098/8d812824-db7c-11e6-8777-b2e883f23d42.png) Curiously, with these settings if I now select "automatic" (or even "pulseaudio") again for the "output module" -- it still works...so the issue here is apparently a problem with ALSA accessing the "default" device specifically. If I select the "default" device for ALSA, the problem reproduces. P.S. :man_facepalming: about "VCL" -- I can't be bothered making another screenie.
Author
Owner

@mr-blobbyyy commented on GitHub (Jan 16, 2017):

Ok I have a disappointing update, the method above will not work (for me) if another app is using the microphone (even if the mic is muted.) This simply includes loading a game in steam or if you're on the google hangouts page in firefox (or any page with flash?) as the error in VLC turns into this:

Audio output failed:
The audio device "sysdefault:CARD=Mic" could not be used:
Device or resource busy.

Exiting the page or game will make audio functional again. Very weird.

I also believe I have the relevant terminal errors for the default non-functional configuration:

ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
alsa audio output error: cannot open ALSA device "default": No such file or directory
core audio output error: module not functional
core decoder error: failed to create audio output
<!-- gh-comment-id:272788534 --> @mr-blobbyyy commented on GitHub (Jan 16, 2017): Ok I have a disappointing update, the method above will not work (for me) if another app is using the microphone (even if the mic is muted.) This simply includes loading a game in steam or if you're on the google hangouts page in firefox (or any page with flash?) as the error in VLC turns into this: ``` Audio output failed: The audio device "sysdefault:CARD=Mic" could not be used: Device or resource busy. ``` Exiting the page or game will make audio functional again. Very weird. I also believe I have the relevant terminal errors for the default non-functional configuration: ``` ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave alsa audio output error: cannot open ALSA device "default": No such file or directory core audio output error: module not functional core decoder error: failed to create audio output ```
Author
Owner

@mr-blobbyyy commented on GitHub (Jan 16, 2017):

Update: looks like this issue doesn't affect the LTS version. My mistake probably for assuming 0.9.44.6 would work on Xenial.

<!-- gh-comment-id:272794929 --> @mr-blobbyyy commented on GitHub (Jan 16, 2017): Update: looks like this issue doesn't affect the LTS version. My mistake probably for assuming 0.9.44.6 would work on Xenial.
Author
Owner

@nick75e commented on GitHub (Jan 17, 2017):

Hi!

I have the same issue with all sandboxed apps (firefox, vlc, spotify)
Did you find a solution?

Linux Mint 17.3, firejail 0.9.44.6

<!-- gh-comment-id:273205723 --> @nick75e commented on GitHub (Jan 17, 2017): Hi! I have the same issue with all sandboxed apps (firefox, vlc, spotify) Did you find a solution? Linux Mint 17.3, firejail 0.9.44.6
Author
Owner

@ghost commented on GitHub (Jan 17, 2017):

I have opened new issue for this bug,please provide your input there:
https://github.com/netblue30/firejail/issues/1054

<!-- gh-comment-id:273227145 --> @ghost commented on GitHub (Jan 17, 2017): I have opened new issue for this bug,please provide your input there: https://github.com/netblue30/firejail/issues/1054
Author
Owner

@mr-blobbyyy commented on GitHub (Jan 18, 2017):

@nick75e yeah, use the most recent LTS firejail 0.9.38.10 for Xenial and Trusty as this issue doesn't affect the LTS version.

<!-- gh-comment-id:273358427 --> @mr-blobbyyy commented on GitHub (Jan 18, 2017): @nick75e yeah, use the most recent LTS firejail 0.9.38.10 for Xenial and Trusty as this issue doesn't affect the LTS version.
Author
Owner

@samhithaaaa commented on GitHub (Sep 19, 2019):

I have opened new issue for this bug,please provide your input there:
#1054

+1

<!-- gh-comment-id:532994883 --> @samhithaaaa commented on GitHub (Sep 19, 2019): > I have opened new issue for this bug,please provide your input there: > #1054 +1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#717
No description provided.