[GH-ISSUE #1753] Firefox video hangup when switched to full screen #1189

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

Originally created by @elvetemedve on GitHub (Jan 27, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1753

The problem

When Firefox plays a video e.g. from Youtube and I swtich to full-screen view, then after a few seconds the video freezes while the audio is keep playing.

Workaround

When I remove the noroot option in the firefox.profile, then full-screen works fine.

Environment

Firefox version: 58
Xorg server: 1.19.6
Firejail version: 0.9.52
OS: Arch Linux with kernel 4.14.15

Originally created by @elvetemedve on GitHub (Jan 27, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1753 ## The problem When Firefox plays a video e.g. from Youtube and I swtich to full-screen view, then after a few seconds the video freezes while the audio is keep playing. ## Workaround When I remove the `noroot` option in the **firefox.profile**, then full-screen works fine. ### Environment Firefox version: 58 Xorg server: 1.19.6 Firejail version: 0.9.52 OS: Arch Linux with kernel 4.14.15
gitea-mirror 2026-05-05 07:37:42 -06:00
Author
Owner

@pianoslum commented on GitHub (Jan 29, 2018):

I have a similar problem, but for my, Firefox only shows a blank window as soon as I start it. Also, disabling noroot solves the problem.
As some other users mentioned, noroot can cause problem for the proprietary Nvidia drivers. When I start Firefox, I find the following lines in journalclt:

Jan 29 14:11:47 pcName kernel: NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 0: 2D KIND Violation. Coordinates: (0x300, 0x280) (and many more that look alike)

Fixing this would be great, but maybe it's Nvidia's fault...

<!-- gh-comment-id:361242385 --> @pianoslum commented on GitHub (Jan 29, 2018): I have a similar problem, but for my, Firefox only shows a blank window as soon as I start it. Also, disabling noroot solves the problem. As some other users mentioned, noroot can cause problem for the proprietary Nvidia drivers. When I start Firefox, I find the following lines in journalclt: `Jan 29 14:11:47 pcName kernel: NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 0: 2D KIND Violation. Coordinates: (0x300, 0x280) (and many more that look alike)` Fixing this would be great, but maybe it's Nvidia's fault...
Author
Owner

@elvetemedve commented on GitHub (Jan 29, 2018):

I have the proprietary Nvidia driver installed as well, so it could be related.

<!-- gh-comment-id:361246688 --> @elvetemedve commented on GitHub (Jan 29, 2018): I have the proprietary Nvidia driver installed as well, so it could be related.
Author
Owner

@netblue30 commented on GitHub (Feb 3, 2018):

Yes, it could be related to nvidia. Probably you'll get the same problem with some 3D accelerated programs.

You can disable noroot globaly - in /etc/firejail/firejail.config add a "userns no" at the end of the file. The impact on security will be minor.

You can also disable it for each individual program by adding files in ~/.config/firejail directory. Firefox example:

$ cat ~/.config/firejail/firefox.profile
ignore noroot
include /etc/firejail/firejail.profile
<!-- gh-comment-id:362823731 --> @netblue30 commented on GitHub (Feb 3, 2018): Yes, it could be related to nvidia. Probably you'll get the same problem with some 3D accelerated programs. You can disable noroot globaly - in /etc/firejail/firejail.config add a "userns no" at the end of the file. The impact on security will be minor. You can also disable it for each individual program by adding files in ~/.config/firejail directory. Firefox example: ````` $ cat ~/.config/firejail/firefox.profile ignore noroot include /etc/firejail/firejail.profile `````
Author
Owner

@elvetemedve commented on GitHub (Feb 4, 2018):

@netblue30 There is typo in the profile you suggested to use (firejail.profile). It should be like

cat .config/firejail/firefox.profile
ignore noroot
include /etc/firejail/firefox.profile

Otherwise it worked well. Thank you.

<!-- gh-comment-id:362901757 --> @elvetemedve commented on GitHub (Feb 4, 2018): @netblue30 There is typo in the profile you suggested to use (_firejail.profile_). It should be like ``` cat .config/firejail/firefox.profile ignore noroot include /etc/firejail/firefox.profile ``` Otherwise it worked well. Thank you.
Author
Owner

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

Since the problem seems to be solved, I'm closing this.

<!-- gh-comment-id:407244660 --> @chiraag-nataraj commented on GitHub (Jul 24, 2018): Since the problem seems to be solved, I'm closing this.
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#1189
No description provided.