[GH-ISSUE #1277] Garbled VLC menus? #868

Closed
opened 2026-05-05 07:00:19 -06:00 by gitea-mirror · 5 comments
Owner

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.

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.
gitea-mirror 2026-05-05 07:00:19 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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.

<!-- gh-comment-id:302106336 --> @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.
Author
Owner

@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

<!-- gh-comment-id:302139340 --> @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
Author
Owner

@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.

<!-- gh-comment-id:302147046 --> @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.
Author
Owner

@mr-blobbyyy commented on GitHub (May 17, 2017):

Garbled VLC menus

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.

<!-- gh-comment-id:302154343 --> @mr-blobbyyy commented on GitHub (May 17, 2017): > Garbled VLC menus 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.
Author
Owner

@netblue30 commented on GitHub (May 18, 2017):

All fixed in https://github.com/netblue30/firejail/pull/1279

<!-- gh-comment-id:302412463 --> @netblue30 commented on GitHub (May 18, 2017): All fixed in https://github.com/netblue30/firejail/pull/1279
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#868
No description provided.