mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1277] Garbled VLC menus? #868
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#868
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mr-blobbyyy on GitHub (May 17, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1277
Latest firejail 0.9.46.
Antergos XFCE 4.12 latest updates with Mesa AMD drivers with option
TearFree.Latest VLC 2.2.4.
Hard to describe, but I've confirmed the appearance is fine under a non-jailed VLC instance.
Confirmed with hwa (in VLC) checked on/off, changing different style/icon themes in XFCE settings. The videos otherwise play normally, it's just the menus in VLC all look garbled.
@mr-blobbyyy commented on GitHub (May 17, 2017):
Uh oh, I just realized that hwa is not being utilized on my 4k videos as I'm noticing high cpu usage while the hwa option is on "automatic" or "vdpau" -- which normally is fine otherwise. Looks like the latest update is not letting VLC utilize hwa for me.
@SkewedZeppelin commented on GitHub (May 17, 2017):
I'm not able to reproduce your first issue, but I can try and help with your second.
Does hardware decoding work when not running inside Firejail? If not, its either due to the video format not being supported or VA-API/VDPAU not being configured correctly. AFAIK H.265 is the recommended encoding for 4K and its only supported under newer Intel processors. And VA-API/VDPAU configuration is a bit tricky in the first place, Chromium and VLC do seem to do their own auto-configuration assuming the required packages are at least installed though.
If it does work when running outside of Firejail can you try and comment out 'private-bin' and give that a test?
https://wiki.archlinux.org/index.php/Hardware_video_acceleration
@mr-blobbyyy commented on GitHub (May 17, 2017):
@SpotComms yeah you're right, I think mesa isn't the best at decoding 4k h264. Interesting to see how vlc only pegs 1 core (25%) of my cpu when both hwa is enabled/disabled. I tested out some other 1080p videos and these work as expected in firejail with hwa enabled and no modification.
And by "menus" I meant menu windows like the preferences window. It seems like individual items like combo boxes and selection items are garbled. Hovering over them also produces some strange behaviour. Most likely a mesa issue but odd that it doesn't occur in a non-jailed environment.
@mr-blobbyyy commented on GitHub (May 17, 2017):
I found the offending vlc.profile option:
ipc-namespace-- comment that out and my windows and menu preferences are back to normal again. Need confirmation.@netblue30 commented on GitHub (May 18, 2017):
All fixed in https://github.com/netblue30/firejail/pull/1279