[GH-ISSUE #1984] Firejail 0.9.55 & pulseaudio 11.99.1 (mpv profile fix / llvm ) #1335

Closed
opened 2026-05-05 07:53:25 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @jackwolfi on GitHub (Jun 8, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1984

*firejail mpv .flac

[ao/pulse] Init failed: Connection refused
[ao] Failed to initialize audio driver 'pulse'

*firejail --noprofile mpv .flac work as it should.

Track: 1
AO: [pulse] 96000Hz stereo 2ch s32
A: 00:00:04 / 00:04:30 (1%) Cache: 265s+99MB

I have no solution for the pulseaudio issue. It's usb audio interfaces.

Another issue fix by myself: Video only works if whitelist llvm lib directory at mpv.local

noblacklist /usr/lib/llvm

else it get the following errors

libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[vo/gpu/x11] X11 error: BadValue (integer parameter out of range for operation)
[vo/gpu/x11] Type: 0, display: 0x7f5e2440a570, resourceid: 0, serial: 5b
[vo/gpu/x11] Error code: 2, request code: 9a, minor code: 3
[vo/gpu/x11] X11 error: GLXBadContext
[vo/gpu/x11] Type: 0, display: 0x7f5e2440a570, resourceid: 1600003, serial: 5c
[vo/gpu/x11] Error code: a8, request code: 9a, minor code: 5
[vo/gpu/x11] X11 error: GLXBadContext
[vo/gpu/x11] Type: 0, display: 0x7f5e2440a570, resourceid: 0, serial: 5c
[vo/gpu/x11] Error code: a8, request code: 9a, minor code: 1a
[vo/gpu] Could not set GLX context!


mpv 0.28.2ffmpeg library versions:
   libavutil       56.14.100
   libavcodec      58.18.100
   libavformat     58.12.100
   libswscale      5.1.100
   libavfilter     7.16.100
   libswresample   3.1.100
ffmpeg version: 4.0

This is my first report if you need something else please let me know.

Originally created by @jackwolfi on GitHub (Jun 8, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1984 **firejail mpv *.flac** > [ao/pulse] Init failed: Connection refused > [ao] Failed to initialize audio driver 'pulse' > **firejail --noprofile mpv *.flac** work as it should. > Track: 1 > AO: [pulse] 96000Hz stereo 2ch s32 > A: 00:00:04 / 00:04:30 (1%) Cache: 265s+99MB > I have no solution for the pulseaudio issue. It's usb audio interfaces. Another issue fix by myself: Video only works if whitelist llvm lib directory at **mpv.local** > noblacklist /usr/lib/llvm else it get the following errors > libGL error: unable to load driver: radeonsi_dri.so > libGL error: driver pointer missing > libGL error: failed to load driver: radeonsi > libGL error: failed to open drm device: Permission denied > libGL error: failed to load driver: radeonsi > libGL error: unable to load driver: swrast_dri.so > libGL error: failed to load driver: swrast > [vo/gpu/x11] X11 error: BadValue (integer parameter out of range for operation) > [vo/gpu/x11] Type: 0, display: 0x7f5e2440a570, resourceid: 0, serial: 5b > [vo/gpu/x11] Error code: 2, request code: 9a, minor code: 3 > [vo/gpu/x11] X11 error: GLXBadContext > [vo/gpu/x11] Type: 0, display: 0x7f5e2440a570, resourceid: 1600003, serial: 5c > [vo/gpu/x11] Error code: a8, request code: 9a, minor code: 5 > [vo/gpu/x11] X11 error: GLXBadContext > [vo/gpu/x11] Type: 0, display: 0x7f5e2440a570, resourceid: 0, serial: 5c > [vo/gpu/x11] Error code: a8, request code: 9a, minor code: 1a > [vo/gpu] Could not set GLX context! ``` mpv 0.28.2ffmpeg library versions: libavutil 56.14.100 libavcodec 58.18.100 libavformat 58.12.100 libswscale 5.1.100 libavfilter 7.16.100 libswresample 3.1.100 ffmpeg version: 4.0 ``` This is my first report if you need something else please let me know.
Author
Owner

@chiraag-nataraj commented on GitHub (Jun 9, 2018):

I have no solution for the pulseaudio issue. It's usb audio interfaces.

Does firejail --ignore=private-dev mpv .flac work?

<!-- gh-comment-id:395966675 --> @chiraag-nataraj commented on GitHub (Jun 9, 2018): > I have no solution for the pulseaudio issue. It's usb audio interfaces. Does `firejail --ignore=private-dev mpv .flac` work?
Author
Owner

@chiraag-nataraj commented on GitHub (Jul 15, 2018):

@jackwolfi Did you try firejail --ignore=private-dev mpv?

<!-- gh-comment-id:405113178 --> @chiraag-nataraj commented on GitHub (Jul 15, 2018): @jackwolfi Did you try `firejail --ignore=private-dev mpv`?
Author
Owner

@chiraag-nataraj commented on GitHub (Jul 24, 2018):

Closing due to inactivity. @jackwolfi please feel free to re-open if you tried this and want to report back.

<!-- gh-comment-id:407255248 --> @chiraag-nataraj commented on GitHub (Jul 24, 2018): Closing due to inactivity. @jackwolfi please feel free to re-open if you tried this and want to report back.
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#1335
No description provided.