nvidia-340xx-dkms AUR), you need to create device nodes. The latest driver package provides a udev rule which creates device nodes automatically, so no further action is required. NVENC requires the nvidia_uvm module and the creation of related device nodes under /dev. Hardware accelerated video encoding with NVENC See Hardware video acceleration for details. Accelerated video decoding with NVDEC is supported on Fermi (~400 series) cards and newer. Hardware accelerated video decodingĪccelerated video decoding with VDPAU is supported on GeForce 8 series cards and newer. In case this does not bother you, the Target=linux and NeedsTargets lines may be dropped, and the Exec line may be reduced to simply Exec=/usr/bin/mkinitcpio -P. Note: The complication in the Exec line above is in order to avoid running mkinitcpio multiple times if both nvidia and linux get updated. nvidia, nvidia-dkms, nvidia-lts or nvidia-ck- something). Make sure the Target package set in this hook is the one you have installed in steps above (e.g. # Change the linux part above if a different kernel is usedĭescription=Update NVIDIA module in initcpioĮxec=/bin/sh -c 'while read -r trg do case $trg in linux*) exit 0 esac done /usr/bin/mkinitcpio -P' To avoid the possibility of forgetting to update initramfs after an NVIDIA driver upgrade, you may want to use a pacman hook: If you use Booster, follow Booster#Early module loading. See #pacman hook to automate these steps. If added to the initramfs, do not forget to run mkinitcpio every time there is a nvidia driver update. If you use mkinitcpio initramfs, follow mkinitcpio#MODULES to add modules. If you want to ensure it is loaded at the earliest possible occasion, or are noticing startup issues (such as the nvidia kernel module being loaded after the display manager) you can add nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to the initramfs. nvidia-390xx-dkms AUR) do not support hardware accelerated Xwayland, causing non-Wayland-native applications to suffer from poor performance in Wayland sessions.įor basic functionality, just adding the kernel parameter should suffice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |