Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi 4 GPU acceleration support #122726

Closed
domenkozar opened this issue May 12, 2021 · 1 comment
Closed

Raspberry Pi 4 GPU acceleration support #122726

domenkozar opened this issue May 12, 2021 · 1 comment
Labels

Comments

@domenkozar
Copy link
Member

In the original RPi4 issue there's a NixOS module snippet to configure GPU support:

{ config, pkgs, ...}:
{
  hardware.opengl = {
    enable = true;
    setLdLibraryPath = true;
    package = pkgs.mesa_drivers;
  };
  hardware.deviceTree = {
    kernelPackage = pkgs.linux_rpi4;
    overlays = [ "${pkgs.device-tree_rpi.overlays}/vc4-fkms-v3d.dtbo" ];
  };
}

Unfortunately it fails to build currently with error FDT_ERR_NOTFOUND.

#79370 discusses what's the culprit and there's a patch for nixpkgs that could be adapted and tested: kwohlfahrt@7ba456e

@domenkozar
Copy link
Member Author

NixOS/nixos-hardware#261 solves it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants