-*-diff-*- --- /usr/src/linux-6.1.4-gentoo/.config.brec 2023-01-21 00:08:04.626239619 -0500 +++ /usr/src/linux-5.15.80-gentoo/.config.brec 2023-01-18 15:34:12.816618889 -0500 @@ -101,19 +101,18 @@ DEVTMPFS_MOUNT : see https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Activating_required_options DRM = y - - For `x11-drivers/nvidia-drivers`, as warned by its ebuild. + : see https://wiki.gentoo.org/wiki/Nouveau : which calls for it DRM_FBDEV_EMULATION = y - : see https://forums.gentoo.org/viewtopic-p-8750791.html#8750791 : Said to be necessary. - - Pulls in much else, some as modules. - : re `modules` see `^*DRM_UDL$` : whose `m` setting may be the cause - - Probably not needed. - / Enabled in an attempt to fix a fault with the Nvidia video driver. - : see `^^crashes on X exit and VT switch`i @ /etc/X11/Nvidia.conf.d/Nvidia.brec - DRM_UDL = m - - Merely to build `DRM_KMS_HELPER` (which cannot directly be set) - for sake of `x11-drivers/nvidia-drivers`, as warned by its ebuild. - - Then somehow `DRM_KMS_HELPER` gets automatically loaded (so says `lsmod`). - / Maybe by one of Nvidia’s modules. + : see https://wiki.gentoo.org/wiki/Nouveau : which calls for it + DRM_NOUVEAU = m + : see https://wiki.gentoo.org/wiki/Nouveau : which calls for `m` or `y` + - A modular build `m` seems to be the standard. + : see https://wiki.gentoo.org/wiki/Framebuffer#DRM_framebuffer_drivers : + ‘Building these drivers as modules… avoids the requirement to discover and include + the required firmware in the kernel’. + : see https://wiki.gentoo.org/wiki/Framebuffer#Early_framebuffer_drivers : + ‘DRM framebuffer drivers typically require firmware to be loaded + which implies that they are often built as loadable modules.’ EFI_VARS = y - For `sys-boot/efibootmgr`, though I have yet to find a use for it. : see https://wiki.gentoo.org/wiki/Efibootmgr/en @@ -139,15 +138,23 @@ FB_EFI = y - The framebuffer driver for UEFI hardware. : see https://wiki.gentoo.org/wiki/Framebuffer#Early_framebuffer_drivers - : cf. https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers : recommends `FB_SIMPLE` FB_SIMPLE = n : see https://wiki.gentoo.org/wiki/Framebuffer#Early_framebuffer_drivers - With both `FB_SIMPLE` and `FB_EFI` present, the kernel loaded `FB_EFI`. - With `FB_SIMPLE` alone, it appears to have loaded no early framebuffer at all. + - It may be incompatible with Nouveau, anyway + : see https://nouveau.freedesktop.org/KernelModeSetting.html : + Implies that `FB_SIMPLE` (if it loads) is not going to work. FORCE_NR_CPUS = y (when it appears, post 5.15.80, that is) : see `^*NR_CPUS$` FRAMEBUFFER_CONSOLE = y : see `^*no console scroll-back$` @ `^+Note` + FRAMEBUFFER_CONSOLE_ROTATION = y + - Required for the `fbcon=rotate` kernel option in my boot configuration. + : see /usr/src/linux/Documentation/fb/fbcon.rst + : see /boot/grub/grub.cfg + FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = y + - Does not bring back the kernel’s boot messages, which disappeared on enabling Nouveau. HZ = 1000 - Increased from 250 to 1000 while fishing for a solution to a minor desktop problem (2021-1). - Kept at 1000 because ‘it is customary’ and ‘the preferred choice for desktop systems’.