Accelerated Video Playback: Difference between revisions

imported>Primeos
m Applications: Add a useful external link for Firefox
imported>Blitz
Add kcmp hint for amdgpu
Line 51: Line 51:


See [https://wiki.archlinux.org/index.php/Firefox#Hardware_video_acceleration Firefox#Hardware_video_acceleration (ArchWiki)].
See [https://wiki.archlinux.org/index.php/Firefox#Hardware_video_acceleration Firefox#Hardware_video_acceleration (ArchWiki)].
Mesa requires the kcmp system call to be available. If this is not there, video acceleration will not work (for at least amdgpu users). You can modify the kernel config like this to provide the system call.
<syntaxHighlight lang=nix>
  boot.kernelPatches = [ {
    name = "amdgpu-mesa-fix";
    patch = null;
    # https://wiki.archlinux.org/index.php/Firefox#Hardware_video_acceleration
    extraConfig = ''
      CHECKPOINT_RESTORE y
    '';
  } ];
</syntaxHighlight>


===[[MPV]]===
===[[MPV]]===