!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

397 Members
Gaming things, my hands are typing words.108 Servers

Load older messages


SenderMessageTime
13 Sep 2025
@daskye:matrix.orgSkye (she/her) changed their display name from Skye to Skye (she/her).23:12:02
14 Sep 2025
@mall0c:matrix.orgmall0cgaming on Linux is just a pain in general. If it’s not GPU driver issues , then it’s emulation or virtualization issues, or other bs. I think the closest I have ever gotten to a decent gaming setup is with bazzite lol00:06:49
@mall0c:matrix.orgmall0cI suppose it’s much better than a decade ago though00:07:15
@ieda:matrix.orgRafael IedaIt can be a pain depending on your hardware indeed, but it is an amazing time to game on Linux00:12:12
@ieda:matrix.orgRafael IedaI prefer gaming on my NixOS desktop or Steam Deck than my Windows machine now00:13:49
@mall0c:matrix.orgmall0cSame but have to keep windows junk for multiplayer00:14:14
@mall0c:matrix.orgmall0cthe spyware shit doesn’t run on virtualized windows instances 😂😂00:14:49
@9lore:tchncs.de9loreI'm not touching games with kernel AC with 2 meter sticks. I'm not enabling that shady shit and imo neither should anyone else06:01:21
@linux-daddy:beeper.comLinux DADDY joined the room.06:01:55
@linux-daddy:beeper.comLinux DADDYHello there all06:03:26
@linux-daddy:beeper.comLinux DADDY changed their profile picture.06:04:34
@buskads:matrix.orggrubby joined the room.08:13:52
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.08:21:19
@0x4a6f:matrix.org[0x4A6F]changed room power levels.08:22:02
@eyjhb:eyjhb.dkeyJhb invited @rasmus:rend.alRasmus.08:24:08
@0x4a6f:matrix.org[0x4A6F]changed room power levels.08:25:57
@hustlerone:matrix.orghustlerone joined the room.10:19:39
@hustlerone:matrix.orghustleronethe humble kernel AC fighting the humble NSA screencap software10:21:19
@aidalgol:tchncs.deaidalgol Linux DADDY So are you able to confirm that your graphics driver config is working outside heroic? 10:37:22
@aidalgol:tchncs.deaidalgolLike, does vkcube run and with a high framerate, as one way to test.10:37:49
@linux-daddy:beeper.comLinux DADDYI confirm I'm getting normal fps like 40-60 fps in vkcube, And vkcube also detected my gpu.11:20:36
@linux-daddy:beeper.comLinux 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:beeper.comLinux 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:beeper.comLinux DADDY *
[nix-shell:~]$ vkcube
Selected WSI platform: xcb
Selected GPU 0: AMD Radeon Vega 8 Graphics (RADV RAVEN), type: IntegratedGpu
11:34:25
@marie:marie.cologneMarie why are you enabling amdvlk? 11:39:55
@linux-daddy:beeper.comLinux DADDYIs 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:beeper.comLinux DADDYEven though i have vega 8 with ryzen 5 2500u, old laptop.11:41:50
@linux-daddy:beeper.comLinux 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:marie.cologneMarie yes, you want mesa's radv unless you have a very specific edge case 11:44:51
@linux-daddy:beeper.comLinux 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

Show newer messages


Back to Room ListRoom Version: 10