| 14 Sep 2025 |
Linux DADDY | Hello there all | 06:03:26 |
| Linux DADDY changed their profile picture. | 06:04:34 |
| grubby joined the room. | 08:13:52 |
| NixOS Moderation Botchanged room power levels. | 08:21:19 |
| [0x4A6F]changed room power levels. | 08:22:02 |
| eyJhb invited Rasmus. | 08:24:08 |
| [0x4A6F]changed room power levels. | 08:25:57 |
| hustlerone joined the room. | 10:19:39 |
hustlerone | the humble kernel AC fighting the humble NSA screencap software | 10:21:19 |
@aidalgol:tchncs.de | Linux DADDY So are you able to confirm that your graphics driver config is working outside heroic? | 10:37:22 |
@aidalgol:tchncs.de | Like, does vkcube run and with a high framerate, as one way to test. | 10:37:49 |
Linux DADDY | I confirm I'm getting normal fps like 40-60 fps in vkcube, And vkcube also detected my gpu. | 11:20:36 |
Linux DADDY | [nix-shell:~]$ vkcube
Selected WSI platform: xcb
Selected GPU 0: AMD Radeon Vega 8 Graphics (RADV RAVEN), type: IntegratedGpu
| 11:32:29 |
Linux DADDY | Here is my GPU config if you want to check or someone.
{
pkgs,
lib,
...
}: {
boot.kernelParams = [
"amd_pstate=guided" # Better power management for Zen 2+
"iommu=pt" # Improves performance with IOMMU
];
hardware.amdgpu = {
amdvlk = {
enable = true;
support32Bit.enable = true;
};
opencl.enable = true;
};
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
# Video acceleration
vaapiVdpau
libvdpau-va-gl
# Vulkan tools (for debugging/testing)
vulkan-validation-layers
vulkan-tools
# OpenCL
rocmPackages.clr.icd
];
extraPackages32 = with pkgs.pkgsi686Linux; [
# Only the essentials for 32-bit
mesa
];
};
environment.variables = {
# Video acceleration
VDPAU_DRIVER = "radeonsi";
LIBVA_DRIVER_NAME = "radeonsi";
# Optional: Set default Vulkan driver
# Remove this to let apps auto-select between RADV and AMDVLK
# AMD_VULKAN_ICD = "RADV";
};
services.xserver.videoDrivers = lib.mkDefault ["amdgpu" "modesetting"];
powerManagement.cpuFreqGovernor = lib.mkDefault "schedutil";
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
}
| 11:34:19 |
Linux DADDY | * [nix-shell:~]$ vkcube
Selected WSI platform: xcb
Selected GPU 0: AMD Radeon Vega 8 Graphics (RADV RAVEN), type: IntegratedGpu
| 11:34:25 |
Marie | why are you enabling amdvlk? | 11:39:55 |
Linux DADDY | Is it bad? Some from discord asked me why not i was not using amdvlk? So i ended up enabling it. | 11:41:34 |
Linux DADDY | Even though i have vega 8 with ryzen 5 2500u, old laptop. | 11:41:50 |
Linux DADDY | * Is it bad? Someone from discord asked me why not i was not using amdvlk? So i ended up enabling it. | 11:42:52 |
Marie | yes, you want mesa's radv unless you have a very specific edge case | 11:44:51 |
Linux DADDY | So should i remove amdvlk? I actually have amd.nix.bak with different config here.
{
pkgs,
lib,
...
}: {
boot.kernelParams = [
"amd_pstate=guided" # Better power management for Zen 2+
"amdgpu"
"iommu=pt" # Improves performance with IOMMU
];
hardware.amdgpu = {
amdvlk = {
enable = false; # Prefer RADV over AMDVLK
support32Bit.enable = false;
};
opencl = {
enable = true; # Enable OpenCL support
};
};
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
# Video acceleration
vaapiVdpau
libvdpau-va-gl
# Mesa drivers
mesa
# Vulkan
vulkan-loader
vulkan-validation-layers
vulkan-tools
# Additional AMD tools (optional but useful)
rocmPackages.clr.icd # Better OpenCL support
];
extraPackages32 = with pkgs.pkgsi686Linux; [
mesa
vulkan-loader
vulkan-validation-layers
vulkan-tools
];
};
environment.variables = {
# Video acceleration
VDPAU_DRIVER = "radeonsi";
LIBVA_DRIVER_NAME = "radeonsi";
# Prefer RADV (Mesa) Vulkan driver
AMD_VULKAN_ICD = "RADV";
# Let the Vulkan loader auto-detect ICDs from the directory
# This handles both 32-bit and 64-bit automatically
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/";
# Optional: Force high performance mode (uncomment if needed)
# AMD_VULKAN_PERFORMANCE_MODE = "high";
};
services.xserver.videoDrivers = lib.mkDefault ["amdgpu" "modesetting"];
# AMD-specific power management (optional but recommended)
powerManagement.cpuFreqGovernor = lib.mkDefault "schedutil";
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
}
| 11:47:43 |
K900 | Literally all you need is hardware.graphics.enable = true | 11:51:58 |
K900 | Get rid of all of that other shit | 11:52:08 |
Linux DADDY | just 1 line here? | 11:53:26 |
Linux DADDY | you serious!!? | 11:53:28 |
K900 | Yes | 11:53:32 |
K900 | And stop copy-pasting random shit you don't understand | 11:53:41 |
| lassulus joined the room. | 11:57:37 |
Sandro 🐧 | What do I need to tell lutris, so that it loads the nvidia drivers correctly?
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.570.181'. This library is required at run time.
The file exists under /run/opengl something something but I assume all the sandboxing somewhere throws it away or shadows it
| 13:25:09 |
K900 | Might need rpath things somewhere? | 13:27:57 |