NixOS on ARM/Raspberry Pi 4: Difference between revisions

imported>Skylark
Heading levels, grammar
imported>Skylark
→‎With GPU: Add keywords 'modesetting' and 'V3D', explain 'vendor kernel' per https://github.com/NixOS/nixos-hardware/pull/261
Line 106: Line 106:
==== With GPU ====
==== With GPU ====


In [https://github.com/NixOS/nixos-hardware/pull/261 nixos-hardware#261] a new option has been added to use the <code>fkms-3d</code> overlay. This will only work with the vendor kernel.
In [https://github.com/NixOS/nixos-hardware/pull/261 nixos-hardware#261] an option has been added to use the <code>fkms-3d</code> ([https://wiki.archlinux.org/title/Kernel_mode_setting modesetting]) overlay which uses the [https://www.raspberrypi.com/news/vc4-and-v3d-opengl-drivers-for-raspberry-pi-an-update/ V3D renderer]. This will only work with the vendor kernel, which is the default in NixOS.


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 125: Line 125:
}
}
</nowiki>}}
</nowiki>}}
=== Tools ===
=== Tools ===