F5F Stay Refreshed Software Operating Systems Issue with Firefox video playback on Linux system Video decoding problems in Firefox on Linux

Issue with Firefox video playback on Linux system Video decoding problems in Firefox on Linux

Issue with Firefox video playback on Linux system Video decoding problems in Firefox on Linux

J
Jettsetter
Junior Member
43
08-29-2023, 01:12 PM
#1
The issue appears when watching videos on Firefox, especially larger ones. If a video exceeds a certain size while playing, parts of the screen become transparent underneath it. This effect shows up in screenshots and is consistent across YouTube, Netflix, and other browsers. It doesn’t occur with smaller videos, paused playback, or when using different video players or browsers. I’m running on Arch Linux with GNOME 3.30.2 and xf86-video-intel (not Intel drivers). No extra extensions or themes are enabled. Any guidance would be greatly appreciated.
J
Jettsetter
08-29-2023, 01:12 PM #1

The issue appears when watching videos on Firefox, especially larger ones. If a video exceeds a certain size while playing, parts of the screen become transparent underneath it. This effect shows up in screenshots and is consistent across YouTube, Netflix, and other browsers. It doesn’t occur with smaller videos, paused playback, or when using different video players or browsers. I’m running on Arch Linux with GNOME 3.30.2 and xf86-video-intel (not Intel drivers). No extra extensions or themes are enabled. Any guidance would be greatly appreciated.

S
sioazidao
Member
70
09-01-2023, 09:57 AM
#2
My prediction is it relates to transparency options, possibly attempting to make certain video sections transparent to match a set background color. Beyond that, I’m unlikely to contribute much. On the side, I have a strong dislike for Gnome 3. Also, why choose Arch Linux?
S
sioazidao
09-01-2023, 09:57 AM #2

My prediction is it relates to transparency options, possibly attempting to make certain video sections transparent to match a set background color. Beyond that, I’m unlikely to contribute much. On the side, I have a strong dislike for Gnome 3. Also, why choose Arch Linux?

T
Terrav
Member
128
09-01-2023, 03:40 PM
#3
You can locate those settings in the AUR for GNOME or Firefox. Even though you searched in about:config, nothing specific appeared. You might also create your own PKGBUILD to manage updates without manually compiling code. In Debian/Ubuntu, if a package isn’t in standard repos, add another third-party repo. Packages there are pre-built, so you need to trust the maintainer. With AUR/ABS, you can view the PKGBUILD before packaging, giving you insight into downloads and installation steps. Otherwise, your choice of Arch comes mainly from a preference for manual control and a better grasp of the system.
T
Terrav
09-01-2023, 03:40 PM #3

You can locate those settings in the AUR for GNOME or Firefox. Even though you searched in about:config, nothing specific appeared. You might also create your own PKGBUILD to manage updates without manually compiling code. In Debian/Ubuntu, if a package isn’t in standard repos, add another third-party repo. Packages there are pre-built, so you need to trust the maintainer. With AUR/ABS, you can view the PKGBUILD before packaging, giving you insight into downloads and installation steps. Otherwise, your choice of Arch comes mainly from a preference for manual control and a better grasp of the system.

Z
Zetiix
Junior Member
23
09-01-2023, 04:09 PM
#4
Check for userChrome.css and disable it to determine the issue
Z
Zetiix
09-01-2023, 04:09 PM #4

Check for userChrome.css and disable it to determine the issue

B
Blureux
Posting Freak
797
09-01-2023, 06:02 PM
#5
Wait, why are you using the modesetting driver? That is clearly the cause. Anyway, in firefox there isn't any hardware decoding, and without vaapi + xorg drivers there isn't hardware decoding either for VLC or MPV
B
Blureux
09-01-2023, 06:02 PM #5

Wait, why are you using the modesetting driver? That is clearly the cause. Anyway, in firefox there isn't any hardware decoding, and without vaapi + xorg drivers there isn't hardware decoding either for VLC or MPV

L
LucasDee123
Member
139
09-02-2023, 03:46 AM
#6
I haven't encountered userChrome.css; the directory search didn't return it. I observed Firefox adjusting to system themes automatically, yet the problem persists even after changing themes. The guidance from online sources didn't resolve the issue, and I previously used an xf86-video-intel driver (i915), which caused diagonal screen tearing during scrolling and video playback—even with TearFree enabled in xorg.conf. The modesetting driver didn't have similar issues. Now I'm testing again, but the same problems remain, especially with more screen tearing. It's unclear if this is related to Firefox or my configuration. I'm aware of hardware acceleration concerns in Firefox, and mpv defaults to software decoding, which seems to be the case. It's odd that this only affects Firefox, not other browsers like Chrome, which works normally. EDIT: I missed a crucial detail in my original post—this issue occurs on my laptop with an Intel HD 4000 (i5-3320M) and doesn't appear on my desktop with an Nvidia GTX 1060 3GB. Both systems have nearly identical setups, including themes, applications, extensions, and software versions.
L
LucasDee123
09-02-2023, 03:46 AM #6

I haven't encountered userChrome.css; the directory search didn't return it. I observed Firefox adjusting to system themes automatically, yet the problem persists even after changing themes. The guidance from online sources didn't resolve the issue, and I previously used an xf86-video-intel driver (i915), which caused diagonal screen tearing during scrolling and video playback—even with TearFree enabled in xorg.conf. The modesetting driver didn't have similar issues. Now I'm testing again, but the same problems remain, especially with more screen tearing. It's unclear if this is related to Firefox or my configuration. I'm aware of hardware acceleration concerns in Firefox, and mpv defaults to software decoding, which seems to be the case. It's odd that this only affects Firefox, not other browsers like Chrome, which works normally. EDIT: I missed a crucial detail in my original post—this issue occurs on my laptop with an Intel HD 4000 (i5-3320M) and doesn't appear on my desktop with an Nvidia GTX 1060 3GB. Both systems have nearly identical setups, including themes, applications, extensions, and software versions.

L
louierocks15
Junior Member
12
09-02-2023, 05:26 AM
#7
It's unusual, but modern distros shouldn't require changing default settings unless there are issues—this might indicate a regression. Graphics performance should be stable on Intel cards, which seems unlikely here. Intel drivers appear to be problematic; checking the .drirc file with vblank settings could help. Consider using the VESA driver instead. Also explore those configuration options mentioned in the documentation. Also, does this system support dual GPU setups?
L
louierocks15
09-02-2023, 05:26 AM #7

It's unusual, but modern distros shouldn't require changing default settings unless there are issues—this might indicate a regression. Graphics performance should be stable on Intel cards, which seems unlikely here. Intel drivers appear to be problematic; checking the .drirc file with vblank settings could help. Consider using the VESA driver instead. Also explore those configuration options mentioned in the documentation. Also, does this system support dual GPU setups?

W
WelfareBaby
Member
148
09-02-2023, 08:59 AM
#8
It seems the issue began gradually. I rarely watch videos on my laptop because the display quality isn’t great. I’ve enabled vblank_mode in .drirc, set TearFree and SwapbuffersWait to true in xorg.conf.d/20-intel.conf, but tearing still occurs during video playback and sometimes while scrolling. This setup is on a lower-tier ThinkPad—no webcam, optical drive, or dedicated GPU. It features a 1366x768 TN panel with ThinkLight and an i5 processor running the HD 4000.
W
WelfareBaby
09-02-2023, 08:59 AM #8

It seems the issue began gradually. I rarely watch videos on my laptop because the display quality isn’t great. I’ve enabled vblank_mode in .drirc, set TearFree and SwapbuffersWait to true in xorg.conf.d/20-intel.conf, but tearing still occurs during video playback and sometimes while scrolling. This setup is on a lower-tier ThinkPad—no webcam, optical drive, or dedicated GPU. It features a 1366x768 TN panel with ThinkLight and an i5 processor running the HD 4000.

S
SkyInsane
Senior Member
718
09-02-2023, 11:08 PM
#9
I tried to remove the whole home directory just for testing. You can easily add another user and run the programs from there. If the problem continues, I recommend reinstalling all the archive packages.
S
SkyInsane
09-02-2023, 11:08 PM #9

I tried to remove the whole home directory just for testing. You can easily add another user and run the programs from there. If the problem continues, I recommend reinstalling all the archive packages.