- If using a patched kernel, make sure you have installed the nvidia-dkms and correct headers to build the necessary modules. (For example nvidia-dkms and linux-zen-headers packages for linux-zen)
- Set nvidia-drm.modeset=1 in your kernel line and make sure required modules are loaded at system startup. (nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm)
Blender specific: Head into Edit > Preferences > System > Cycles Render Devices and make sure CUDA/OptiX is checked and your card is listed there, otherwise you have issues with loading the necessary nvidia modules (see previous step).
mpv specific: Explicitly set the hardware decoder (hwdec) to nvdec or auto, and make sure that it says it's 'Using hardware decoding (nvdec)' in console. Here is a bare minimum config: ~/.config/mpv/mpv.conf
```
profile=gpu-hq
vo=gpu
hwdec=auto
```
System Hibernation: GNOME 3.38 works without any issues; couldn't really get a reliable system standby/hibernation with KDE.
- I have a separate 16GB swap partiton (twice the system memory)
That really depends on the project and programming language you are going to use.
I prefer QtCreator for C/C++ development. They have the best autocomplete, debugger and cmake integration. CLion is another popular option.
PyCharm is the best for Python development, you will love its debugger when having to deal with big matrices (machine learning).
I go with VSCode for everything else, for example:
- crates and rust-analyzer for Rust development
- and a couple of popular extensions for web development
That fixed the issues I had with mpv (nvdec) and blender (cuda) :D
Running GTX 960 on:
- linux-zen 5.9.2
- nvidia-dkms 455.38
Edit1: System standby and hibernation are back again!
Switching to Zen kernel should fix that. (Different CPU / IO schedulers)
Just the usual system update.
You might double check these from the wiki:
- If using a patched kernel, make sure you have installed the nvidia-dkms and correct headers to build the necessary modules. (For example nvidia-dkms and linux-zen-headers packages for linux-zen)
https://wiki.archlinux.org/index.php/NVIDIA#Custom_kernel
- Set nvidia-drm.modeset=1 in your kernel line and make sure required modules are loaded at system startup. (nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm)
https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting
- And regenerate your kernel images and boot loader configs just to make sure :D
https://wiki.archlinux.org/index.php/mkinitcpio#Manual_generation
https://wiki.archlinux.org/index.php/GRUB#Generated_grub.cfg
Blender specific: Head into Edit > Preferences > System > Cycles Render Devices and make sure CUDA/OptiX is checked and your card is listed there, otherwise you have issues with loading the necessary nvidia modules (see previous step).
mpv specific: Explicitly set the hardware decoder (hwdec) to nvdec or auto, and make sure that it says it's 'Using hardware decoding (nvdec)' in console. Here is a bare minimum config: ~/.config/mpv/mpv.conf
```
profile=gpu-hq
vo=gpu
hwdec=auto
```
System Hibernation: GNOME 3.38 works without any issues; couldn't really get a reliable system standby/hibernation with KDE.
- I have a separate 16GB swap partiton (twice the system memory)
https://help.ubuntu.com/community/SwapFaq#How_much_swap_do_I_need.3F
- And systemd hook in my mkinitcpio config
https://wiki.archlinux.org/index.php/mkinitcpio#Common_hooks
- Running `systemctl hibernate` to hibernate the machine
Wayland kinda works, with occasional crashes in GNOME. (not really recommended)
Give
tlp/tlpuia try, you can easily blacklist such devices there.https://wiki.archlinux.org/index.php/TLP