I’ve recently installed NixOS (minimal ISO image) on an AMD laptop with an integrated graphics card – an A6-6310 APU with Radeon R4 Graphics
And I’m wondering how much of the NixOS AMD GPU wiki page would it be advisable to throw into my configuration.nix file. Does NixOS already have optimal settings for integrated GPUs right out of the box? Or do I need to copy some/all of this wiki page? And exactly which sections of it?
I’m mostly hoping to use Firefox. Firefox is currently sluggish, but that could be for any number of reasons. For example, all I did to install firefox was throw the word “firefox” into the environment.systemPackages
section (along with some wayland programs like waybar, dunst, and kitty). And all I did for wayland and hyprland was throw programs.hyprland.enable = true
into the configuration.nix file. I have NOT yet added anything about opengl, have NOT added any wayland flags to the commands that open Firefox in my hyprland config file (I don’t actually know how to add flags to that file just yet).
I’m going to be learning how to tinker with all of the above, but I wanted to start by making sure I had the proper drivers. After all, there are tips for speeding up Firefox, but I feel like some of them might work better if my drivers are solid.
The wiki page includes these sections:
- Make the kernel use the correct driver early
- XServer
-
Enable Southern Islands (SI) and Sea Islands (CIK) support
- My R4 seems to be GCN 1.1 or GCN 2, depending on which website I ask, so it is one of these.
- HIP
- Blender
- OpenCL
- Vulkan
- Also, how to troubleshoot dual monitors but I’m not using dual monitors any time soon.