Skip to content

Jellyfin hardware acceleration crashes after update #356535

Description

@ilovethensa

Describe the bug

After i updated my server today hardware acceleration with quicksync no longer works

Steps To Reproduce

Steps to reproduce the behavior:

  1. Use this config
  hardware.graphics = {
    # hardware.opengl in 24.05 and older
    enable = true;
    extraPackages = with pkgs; [
      intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
      intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965
      vaapiVdpau
      intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
      vpl-gpu-rt # QSV on 11th gen or newer
      intel-media-sdk # QSV up to 11th gen
    ];
  };
  environment.sessionVariables = {LIBVA_DRIVER_NAME = "iHD";}; # Optionally, set the environment variable
  nixpkgs.config.packageOverrides = pkgs: {
    vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
  };
  1. enable hardware acceleration using QSV
  2. Media doesnt play anymore

Expected behavior

It transcodes and streams the media using ffmpeg

Screenshots

image
image

Additional context

Here is the log of the transcode
https://pastebin.com/raw/p0AtE8M2

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.60, NixOS, 24.11 (Vicuna), 24.11.20241111.dc460ec`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/4r8s42c9mwfvgdlxv0izb1cmlzrsb5nz-source`

Notify maintainers

@nyanloutre @minijackson @purcell @jojosch


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions