(TL;DR at the bottom.)
Hello! I recently switched OS from Windows to Debian, and at the same time I also switched browsers from Google Chrome to Firefox. Everything work… (read more)
(TL;DR at the bottom.)
Hello! I recently switched OS from Windows to Debian, and at the same time I also switched browsers from Google Chrome to Firefox. Everything works great except for video playback.
When playing most videos, the audio will continue but the video will freeze when I skip backwards, both in regular and fullscreen mode. Skipping forward does not seem to cause an issue. This occurs on every video I’ve tested, except for WEBM videos and YouTube which both play flawlessly.
From a quick Google search, it seems that YouTube uses a different format called VP9 which my browser seems to handle perfectly. When I try to play videos from my local Jellyfin server in H264 or H265 formats, the issue occurs. The same thing happens to internet videos such as in the Reddit video player.
I have tried to play the same videos in Chromium and never have this issue, with or without hardware acceleration enabled. Every single video I’ve tried plays perfectly in Chromium, and I have zero issues playing video files in media players such as VLC.
I am using Debian 12 with Firefox 114.0.2 installed from Flatpak. My desktop environment is KDE Plasma 5.27.5 and I am using Wayland, with Wayland mode enabled (by adding “MOZ_ENABLE_WAYLAND=1” as an environment variable). I also tried using Firefox before I enabled Wayland mode, so that Firefox was in “Xwayland mode” but I had the same issue before. I have also tried to use XFCE desktop environment with Firefox in X11 mode but, again, same issue.
My GPU is Nvidia GEForce GTX 1660 and I am using the latest available version of Nvidia’s proprietary drivers (525.105.17) which have been working very well for gaming and hosting a Jellyfin server.
The option to enable hardware acceleration was not present in my regular Firefox settings menu but I followed a guide and changed some settings in about:config, thinking that this was going to fix my playback issue. The following settings have been changed:
media.hardware-video-decoding.force-enabled > true
gfx.webrender.all > true
media.ffmpeg.vaapi.enabled > true
The playback issue is present with or without these settings changed, however. In the graphics section in the about:support page I can see that “Compositing:” shows “WebRender”, which I believe means that hardware acceleration is enabled and working.
I am happy to provide more information if needed. I have spent many hours searching for a solution, but since I’m quite new to both Linux and Firefox I’m not entirely sure what to even search for.
Thank you for reading.
Issue: Skipping backwards in video causes video to freeze while audio continues.
OS: Debian 12 with KDE Plasma Wayland (tried XFCE with X11, does not fix issue).
Firefox 114.0.2 installed with Flatpak.
GPU: Nvidia GeForce 1660 with proprietary drivers version 525.105.17
Hardware accelerated enabled by changing settings in about:config