VLC uses a lot more CPU than it did on windows, youtube also uses a lot less CPU

I have added everything under https://rpmfusion.org/Howto/Multimedia except the Mesa and Nvidia files and libva-utils, however anytime I play a video using VLC my fan starts spinning faster to the point where I can hear it. This drains my battery. I have installed VLC from DNF and dl.flathub.org. I believe this is a result of hardware acceleration not enabled, how do I enable it?

You installed it from 2 different sources? Which is in use, the flatpak or the native one installed using dnf?

If you believe the hardware acceleration of graphics is at fault then please tell us your hardware config using inxi -Fzxx. We need to know the hardware in use and the related drivers which will be mostly shown with the inxi output.

Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Microsoft driver: i915
v: kernel arch: Gen-9 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1,
HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1916
Display: wayland server: Xwayland v: 24.1.9 compositor: gnome-shell
driver: gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: Panasonic VVX14P048M00 res: 3000x2000 dpi: 267
diag: 343mm (13.5")
API: OpenGL v: 4.6 vendor: intel mesa v: 25.1.9 glx-v: 1.4 es-v: 3.2
direct-render: yes renderer: Mesa Intel HD Graphics 520 (SKL GT2)
device-ID: 8086:1916 display-ID: :0.0
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Info: Tools: api: glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr

I am not sure what the issue is but that it seems to be hardware acceleration because videos play fine on browser

There are 3 different intel drivers that may be related.

$ sudo dnf list --installed libva-intel\*
Installed packages
libva-intel-driver.x86_64       2.4.1^20241027gitd30e013-2.fc43 rpmfusion-free
libva-intel-media-driver.x86_64 25.3.4-1.fc43                   fedora

The 3rd is `libva-intel-hybrid-driver from the rpmfusion-nonfree repo. I don’t have it installed and it seems to not be applicable in your case with only one GPU.

Do you have those installed?

You also should consider only using the rpm version of vlc since the flatpak is sandboxed and does not always play well with users systems.
I have never seen problems with the rpm version and never tried the flatpak.

$ dnf list --installed vlc*
Installed packages
vlc.x86_64                      1:3.0.22-1.fc43 updates
vlc-cli.x86_64                  1:3.0.22-1.fc43 updates
vlc-gui-qt.x86_64               1:3.0.22-1.fc43 updates
vlc-gui-skins2.x86_64           1:3.0.22-1.fc43 updates
vlc-libs.x86_64                 1:3.0.22-1.fc43 updates
vlc-plugin-ffmpeg.x86_64        1:3.0.22-1.fc43 updates
vlc-plugin-gnome.x86_64         1:3.0.22-1.fc43 updates
vlc-plugin-kde.x86_64           1:3.0.22-1.fc43 updates
vlc-plugin-lua.x86_64           1:3.0.22-1.fc43 updates
vlc-plugin-notify.x86_64        1:3.0.22-1.fc43 updates
vlc-plugin-pipewire.x86_64      3-6.fc43        fedora
vlc-plugin-pulseaudio.x86_64    1:3.0.22-1.fc43 updates
vlc-plugin-visualization.x86_64 1:3.0.22-1.fc43 updates
vlc-plugins-base.x86_64         1:3.0.22-1.fc43 updates
vlc-plugins-extra.x86_64        1:3.0.22-1.fc43 updates
vlc-plugins-freeworld.x86_64    3.0.22-1.fc43   rpmfusion-free-updates
vlc-plugins-video-out.x86_64    1:3.0.22-1.fc43 updates
 libva-intel-driver.x86_64       2.4.1^20241027gitd30e013-1.fc42 rpmfusion-free
libva-intel-media-driver.x86_64 25.3.4-1.fc42                   <unknown>
 dnf list --installed vlc
No matching packages to list

are the VLC pacakges added by RPM?

I installed them with sudo dnf install vlc then later added vlc-plugins-freeworld.

At some point recently vlc which was previously only available in its entirety from rpmfusion was switched to fedora and only the proprietary/restricted parts were kept at the rpmfusion-free repo.

This is similar to what has been done with libavcodec and ffmpeg.

I realized that Mesa is part of my graphics driver and tried to install the two Mesa packages which I had initially ignored as I interpreted that weere AMD specific. I ma getting error

Problem: cannot install the best candidate for the job

  • nothing provides mesa-filesystem(x86-64) = 25.2.7 needed by mesa-va-drivers-freeworld-25.2.7-2.fc42.x86_64 from rpmfusion-free-updates

I have still not been able to solve this problem