INFO: setup Package: x11-drivers/nvidia-drivers-565.57.01-r2:0/565 Repository: gentoo Maintainer: ionen@gentoo.org soap@gentoo.org USE: X abi_x86_64 amd64 elibc_glibc kernel_linux modules static-libs strip tools FEATURES: preserve-libs sandbox userpriv usersandbox Determining the location of the kernel source code Found kernel source directory: /usr/src/linux Found sources for kernel version: 6.11.5-gentoo-dist Checking for suitable kernel configuration options ... Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ... Toolchain picked for kernel modules (override with KERNEL_CC, _LD, ...): '/usr/bin/x86_64-pc-linux-gnu-gcc-14' '/usr/bin/x86_64-pc-linux-gnu-g++-14' '/usr/bin/x86_64-pc-linux-gnu-ld.bfd' '/usr/bin/x86_64-pc-linux-gnu-gcc-ar' '/usr/bin/x86_64-pc-linux-gnu-gcc-nm' '/usr/bin/x86_64-pc-linux-gnu-objcopy' '/usr/bin/x86_64-pc-linux-gnu-objdump' '/usr/bin/x86_64-pc-linux-gnu-readelf' '/usr/bin/x86_64-pc-linux-gnu-strip' INFO: prepare Applying nvidia-modprobe-390.141-uvm-perms.patch ... Applying nvidia-settings-530.30.02-desktop.patch ... INFO: compile Building nvidia module in /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/work/kernel ... Building nvidia-drm module in /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/work/kernel ... already done. Building nvidia-modeset module in /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/work/kernel ... already done. Building nvidia-peermem module in /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/work/kernel ... already done. Building nvidia-uvm module in /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/work/kernel ... already done. INFO: install Stripping modules ... Running /usr/bin/x86_64-pc-linux-gnu-strip --strip-unneeded -- /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/image/lib/modules/6.11.5-gentoo-dist/video/nvidia-modeset.ko /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/image/lib/modules/6.11.5-gentoo-dist/video/nvidia-uvm.ko /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/image/lib/modules/6.11.5-gentoo-dist/video/nvidia.ko /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/image/lib/modules/6.11.5-gentoo-dist/video/nvidia-peermem.ko /var/tmp/portage/x11-drivers/nvidia-drivers-565.57.01-r2/image/lib/modules/6.11.5-gentoo-dist/video/nvidia-drm.ko ... Final size of build directory: 1781832 KiB ( 1.6 GiB) Final size of installed tree: 864780 KiB (844.5 MiB) INFO: postinst Updating module dependencies for kernel 6.11.5-gentoo-dist ... Running depmod -ae -F /lib/modules/6.11.5-gentoo-dist/build/System.map 6.11.5-gentoo-dist ... WARN: postinst virtual/dist-kernel is installed, but USE="dist-kernel" is not enabled for x11-drivers/nvidia-drivers. It's recommended to globally enable the dist-kernel USE flag to automatically trigger initramfs rebuilds on kernel updates LOG: postinst Trusted users should be in the 'video' group to use NVIDIA devices. You can add yourself by using: gpasswd -a my-user video Like all out-of-tree kernel modules, it is necessary to rebuild nvidia-drivers after upgrading or rebuilding the Linux kernel by for example running `emerge @module-rebuild`. Alternatively, if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}), this can be automated by setting USE=dist-kernel globally. Loaded kernel modules also must not mismatch with the installed nvidia-drivers version (excluding -r revision), meaning should ensure `eselect kernel list` points to the kernel that will be booted before building and preferably reboot after upgrading nvidia-drivers (the ebuild will emit a warning if mismatching). See '/etc/modprobe.d/nvidia.conf' for modules options. Note that without USE=abi_x86_32 on nvidia-drivers, 32bit applications (typically using wine / steam) will not be able to use GPU acceleration. For additional information or for troubleshooting issues, please see https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers and NVIDIA's own documentation that is installed alongside this README. (Note: Above message is only printed the first time package is installed. Please look at /usr/share/doc/nvidia-drivers-565.57.01-r2/README.gentoo* for future reference) INFO: other >>> SetUID: [chmod go-r] /usr/bin/nvidia-modprobe ...