mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
use amdgpu driver
This commit is contained in:
parent
c9f84afd83
commit
700b9e409c
2
NixOS.md
2
NixOS.md
@ -676,7 +676,7 @@ Usually most of this should work out of the box on NixOS.
|
|||||||
Vulkan:
|
Vulkan:
|
||||||
- Verification:
|
- Verification:
|
||||||
- If `vulkaninfo` returns information about your GPU, Vulkan is working. https://wiki.archlinux.org/title/Vulkan#Verification
|
- If `vulkaninfo` returns information about your GPU, Vulkan is working. https://wiki.archlinux.org/title/Vulkan#Verification
|
||||||
- If running `vkcube` (X11) or `vkcube-wayland` (Wayland) views a spinning 3D cube
|
- Run `vkcube` (X11) or `vkcube-wayland` (Wayland). It should view a spinning 3D cube and output e.g. `Selected GPU 0: AMD Radeon Graphics (RADV RENOIR)`
|
||||||
|
|
||||||
OpenGL:
|
OpenGL:
|
||||||
- Verification: https://wiki.archlinux.org/title/OpenGL#Verification
|
- Verification: https://wiki.archlinux.org/title/OpenGL#Verification
|
||||||
|
@ -48,11 +48,13 @@
|
|||||||
# BIOS
|
# BIOS
|
||||||
boot.loader.grub.devices = ["/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSAF715594P"];
|
boot.loader.grub.devices = ["/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSAF715594P"];
|
||||||
|
|
||||||
# Disable onboard Intel GPU
|
# Disable `i915` (onboard Intel GPU).
|
||||||
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/intel/disable.nix
|
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/intel/disable.nix
|
||||||
# https://discourse.nixos.org/t/fully-disabling-the-nvidia-dgpu-on-an-optimus-laptop/29686/6?u=langfingaz
|
# https://discourse.nixos.org/t/fully-disabling-the-nvidia-dgpu-on-an-optimus-laptop/29686/6
|
||||||
|
# Disable `radeon` so that `amdgpu` is used instead.
|
||||||
|
# https://nixos.wiki/wiki/AMD_GPU#Enable_Southern_Islands_.28SI.29_and_Sea_Islands_.28CIK.29_support
|
||||||
boot.blacklistedKernelModules = [ "i915" ];
|
boot.blacklistedKernelModules = [ "i915" ];
|
||||||
boot.kernelParams = [ "i915.modeset=0" ];
|
boot.kernelParams = [ "i915.modeset=0" "radeon.si_support=0" "amdgpu.si_support=1" ];
|
||||||
|
|
||||||
|
|
||||||
# List all available kernel versions:
|
# List all available kernel versions:
|
||||||
|
Loading…
Reference in New Issue
Block a user