How to fix choppy video playback in firefox

I don’t think this is a small issue anymore, so I am going to make a new thread for this

1 Like

sorry I’m unable to reproduce

1 Like

How about when folding on your gpu?

I’m not sure folding is the issue, and opencl doesn’t have much interaction with Firefox at least in videos.
have you looked at opengl? you might have mesa-opengl and Nvidia-cuda or amd-opengl.
try and use one, as Firefox will use your systems.
if you are using Google chrome, then they prepackage libraries, chromium is similar to Firefox.

What video card and video drivers are you using?

nvidia 2070, NVIDIA proprietary drivers
what’s the command to run that lists the gpu and drivers installed?

I also have that installed. Video playback in firefox seems to be choppy when I am folding on my gpu, but when I stop folding, playback becomes smooth again.

The audio is smooth, not choppy.

Initially I thought it was my cpu that was causing the issue, but when I disabled cpu folding and had gpu folding continue, I still got choppy video playback in firefox. Opening the same videos in Chrome had no playback issue when gpu folding.

I am wondering if html videos use the nvidia hardware decoder, but it’s wierd because in theory the video decoder shouldn’t be used when folding

I know all Linux is not Linux, but what distro are you using so we have help you since I believe you double installed opengl

He is using fedora (as tagged in the OP)

I am using fedora linux, what command should I run to give you all the diagnostic info?

dnf search opengl libgl

=================================================================================================== Name & Summary Matched: libgl, opengl ====================================================================================================
libglvnd-opengl.x86_64 : OpenGL support for libglvnd
libglvnd-opengl.i686 : OpenGL support for libglvnd
=================================================================================================== Summary & Name Matched: libgl, opengl ====================================================================================================
mesa-libGLw.i686 : Xt / Motif OpenGL widgets
mesa-libGLw.x86_64 : Xt / Motif OpenGL widgets
libgle.i686 : A Tubing and Extrusion Library for OpenGL
libgle.x86_64 : A Tubing and Extrusion Library for OpenGL
libglpng.i686 : Toolkit for loading PNG images as OpenGL textures
libglpng.x86_64 : Toolkit for loading PNG images as OpenGL textures
1 Like

dnf search nvidia

======================================================================================================= Name & Summary Matched: nvidia =======================================================================================================
nvidia-xconfig.x86_64 : NVIDIA X configuration file editor
nvidia-settings.x86_64 : Configure the NVIDIA graphics driver
akmod-nvidia.x86_64 : Akmod package for nvidia kernel module(s)
xorg-x11-drv-nvidia-libs.i686 : Libraries for xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-libs.x86_64 : Libraries for xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-cuda.x86_64 : CUDA driver for xorg-x11-drv-nvidia
akmod-nvidia-340xx.x86_64 : Akmod package for nvidia-340xx kernel module(s)
akmod-nvidia-390xx.x86_64 : Akmod package for nvidia-390xx kernel module(s)
xorg-x11-drv-nvidia-devel.i686 : Development files for xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-devel.x86_64 : Development files for xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-cuda-libs.x86_64 : CUDA libraries for xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-cuda-libs.i686 : CUDA libraries for xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-340xx-libs.i686 : Libraries for xorg-x11-drv-nvidia-340xx
xorg-x11-drv-nvidia-340xx-libs.x86_64 : Libraries for xorg-x11-drv-nvidia-340xx
xorg-x11-drv-nvidia-390xx-libs.i686 : Libraries for xorg-x11-drv-nvidia-390xx
xorg-x11-drv-nvidia-390xx-libs.x86_64 : Libraries for xorg-x11-drv-nvidia-390xx
nvidia-settings-390xx.x86_64 : Configure the NVIDIA 390xx series graphics driver
xorg-x11-drv-nvidia-390xx-cuda.x86_64 : CUDA driver for xorg-x11-drv-nvidia-390xx
xorg-x11-drv-nvidia-kmodsrc.x86_64 : xorg-x11-drv-nvidia kernel module source code
pcp-pmda-nvidia-gpu.x86_64 : Performance Co-Pilot (PCP) metrics for the Nvidia GPU
nvidia-query-resource-opengl-lib.i686 : Library for nvidia-query-resource-opengl
nvidia-query-resource-opengl-lib.x86_64 : Library for nvidia-query-resource-opengl
xorg-x11-drv-nvidia-340xx-cuda.i686 : CUDA libraries for xorg-x11-drv-nvidia-340xx
xorg-x11-drv-nvidia-340xx-cuda.x86_64 : CUDA libraries for xorg-x11-drv-nvidia-340xx
kmod-nvidia.x86_64 : Metapackage which tracks in nvidia kernel module for newest kernel
xorg-x11-drv-nvidia-340xx-devel.i686 : Development files for xorg-x11-drv-nvidia-340xx
xorg-x11-drv-nvidia-340xx-devel.x86_64 : Development files for xorg-x11-drv-nvidia-340xx
xorg-x11-drv-nvidia-390xx-devel.i686 : Development files for xorg-x11-drv-nvidia-390xx
xorg-x11-drv-nvidia-390xx-devel.x86_64 : Development files for xorg-x11-drv-nvidia-390xx
xorg-x11-drv-nvidia.x86_64 : NVIDIA's proprietary display driver for NVIDIA graphic cards
xorg-x11-drv-nvidia-390xx-cuda-libs.i686 : CUDA libraries for xorg-x11-drv-nvidia-390xx
xorg-x11-drv-nvidia-390xx-cuda-libs.x86_64 : CUDA libraries for xorg-x11-drv-nvidia-390xx
nvidia-texture-tools-devel.i686 : Development libraries/headers for nvidia-texture-tools
nvidia-texture-tools-devel.x86_64 : Development libraries/headers for nvidia-texture-tools
kmod-nvidia-5.6.11-200.fc31.x86_64.x86_64 : nvidia kernel module(s) for 5.6.11-200.fc31.x86_64
kmod-nvidia-5.6.13-200.fc31.x86_64.x86_64 : nvidia kernel module(s) for 5.6.13-200.fc31.x86_64
kmod-nvidia-5.6.15-200.fc31.x86_64.x86_64 : nvidia kernel module(s) for 5.6.15-200.fc31.x86_64
xorg-x11-drv-nvidia-340xx-kmodsrc.x86_64 : xorg-x11-drv-nvidia-340xx kernel module source code
xorg-x11-drv-nvidia-390xx-kmodsrc.x86_64 : xorg-x11-drv-nvidia-390xx kernel module source code
nvidia-modprobe.x86_64 : Load the NVIDIA kernel module and create NVIDIA character device files
kmod-nvidia-340xx.x86_64 : Metapackage which tracks in nvidia-340xx kernel module for newest kernel
kmod-nvidia-390xx.x86_64 : Metapackage which tracks in nvidia-390xx kernel module for newest kernel
xorg-x11-drv-nvidia-340xx.x86_64 : NVIDIA's 340xx series proprietary display driver for NVIDIA graphic cards
xorg-x11-drv-nvidia-390xx.x86_64 : NVIDIA's 390xx series proprietary display driver for NVIDIA graphic cards
nvidia-query-resource-opengl.x86_64 : Querying OpenGL resource usage of applications using the NVIDIA OpenGL driver
============================================================================================================ Name Matched: nvidia ============================================================================================================
nvidia-persistenced.x86_64 : Daemon for maintaining persistent driver state
nvidia-texture-tools.i686 : Collection of image processing and texture manipulation tools
nvidia-texture-tools.x86_64 : Collection of image processing and texture manipulation tools
========================================================================================================== Summary Matched: nvidia ===========================================================================================================
Cg.x86_64 : NVIDIA Cg Toolkit
mate-optimus.noarch : NVIDIA Optimus GPU switcher
Cg-docs.x86_64 : NVIDIA Cg Toolkit documentation
libCg.i686 : NVIDIA Cg Toolkit shared support library
libCg.x86_64 : NVIDIA Cg Toolkit shared support library
nv-codec-headers.noarch : FFmpeg version of Nvidia Codec SDK headers
envytools.x86_64 : Tools for people envious of nvidia's blob driver
golang-github-mindprince-gonvml-devel.noarch : NVIDIA Management Library (NVML) bindings for Go
python3-py3nvml.noarch : Python 3 Bindings for the NVIDIA Management Library
xorg-x11-drv-nouveau.x86_64 : Xorg X11 nouveau video driver for NVIDIA graphics chipsets
gwe.noarch : System utility designed to provide information of NVIDIA card
1 Like

remove 340 since you have 390 installed

what’s the command
is it

dnf remove akmod-nvidia0349xx.86_64

familiarize yourself with man dnf
while I Google it
you can also do dnf search 340

1 Like

yeah but which package am I removing?
I know the uninstall command, but what is the package?
does running

dnf remove akmod-nvidia-340xx.x86_64

remove all the 340 xorg and kmod packages?
Or do I need to remove each individually?

1 Like

dnf remove xorg-x11-drv-nvidia-340xx akmod-nvidia-340xx
the reverse of installing
since 390 is installed

1 Like
dnf remove xorg-x11-drv-nvidia-340xx                                                                                                                                                                 (base) 
No match for argument: xorg-x11-drv-nvidia-340xx
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
dnf remove akmod-nvidia-340xx                                                                                                                                                                        (base) 
No match for argument: akmod-nvidia-340xx
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
1 Like

then try and remove all Nvidia then reinstall
don’t reboot

1 Like