Code: Select all
> Failed to emerge x11-drivers/nvidia-drivers-550.78, Log file:
>>> '/var/tmp/portage/x11-drivers/nvidia-drivers-550.78/temp/build.log'
* Messages for package x11-drivers/nvidia-drivers-550.78:
* '/usr/src/linux/Module.symvers' was not found implying that the
* linux-6.8.8-gentoo tree at that location has not been built.
*
* Please verify that this is the intended kernel version, then perform
* a full build[1] (i.e. make && make modules_install && make install).
*
* Alternatively, consider a distribution kernel[2] that does not need
* these manual steps (e.g. sys-kernel/gentoo-kernel or gentoo-kernel-bin).
*
* [1] https://wiki.gentoo.org/wiki/Kernel/Configuration#Build
* [2] https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
* ERROR: x11-drivers/nvidia-drivers-550.78::gentoo failed (setup phase):
* built kernel sources are required to build kernel modules
*
* Call stack:
* ebuild.sh, line 136: Called pkg_setup
* nvidia-drivers-550.78.ebuild, line 121: Called linux-mod-r1_pkg_setup
* linux-mod-r1.eclass, line 311: Called _modules_prepare_kernel
* linux-mod-r1.eclass, line 636: Called _modules_sanity_kernelbuilt
* linux-mod-r1.eclass, line 1061: Called die
* The specific snippet of code:
* die "built kernel sources are required to build kernel modules"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-550.78::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-550.78::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-550.78/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-550.78/temp/die.env'.
* Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-550.78/empty'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-550.78/work'
wlmosv$
this is my kernel .config:
https://0x0.st/XHk4.txt
dmesg:
https://bpa.st/YOPQ
My last nvidia configuration file was generated using nvidia-xconfig --prime, but when I generated it again this time, X11 could not start normally. This is the last xorg configuration file (I made a backup):(6.8.7)
Code: Select all
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 550.76
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Inactive "InactiveDevice1"
Inactive "InactiveDevice1"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "InactiveDevice1"
Driver "modesetting"
VendorName "Unknown"
EndSection
Section "Device"
Identifier "InactiveDevice1"
Driver "modesetting"
VendorName "Unknown"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection
fastfetch:
Code: Select all
wlmosv$ fastfetch
-/oyddmdhs+:. wlmosv@wlmosv
-odNMMMMMMMMNNmhy+-` -------------
-yNMMMMMMMMMMMNNNmmdhy+- OS: Gentoo 2.15 x86_64
`omMMMMMMMMMMMMNmdmmmmddhhy/` Host: 81FW (Lenovo Legion Y7000)
omMMMMMMMMMMMNhhyyyohmdddhhhdo` Kernel: 6.8.8-gentoo-x86_64
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+` Uptime: 19 mins
oyhdmNMMMMMMMNdyooydmddddhhhhyhNd. Packages: 1383 (emerge)
:oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh Shell: bash 5.2.26
.:+sydNMMMMMNNNmmmdddhhhhhhmMmy Display (LGD05E5): 1920x1080 @ 60Hz
/mMMMMMMNNNmmmdddhhhhhmMNhs: DE: KDE Plasma 5.27.11
`oNMMMMMMMNNNmmmddddhhdmMNhs+` WM: KWin (X11)
`sNMMMMMMMMNNNmmmdddddmNMmhs/. WM Theme: plastik
/NMMMMMMMMNNNNmmmdddmNMNdso:` Theme: Breeze (Light) [QT], Adwaita-dark [GTK2/3/4]
+MMMMMMMNNNNNmmmmdmNMNdso/- Icons: breeze [QT], breeze [GTK2/3/4]
yMMNNNNNNNmmmmmNNMmhs+/-` Font: Noto Sans Osage (11pt) [QT], Noto Sans Osage (11pt) [GTK2/3/4]
/hMMNNNNNNNNMNdhs++/-` Cursor: breeze (24px)
`/ohdmmddhys+++/:.` Terminal: konsole 23.8.5
`-//////:--. Terminal Font: JetBrains Mono (11pt)
CPU: Intel(R) Core(TM) i5-8300H (8) @ 4.00 GHz
GPU 1: Intel UHD Graphics 630 @ 1.00 GHz
GPU 2: NVIDIA GeForce GTX 1050 Mobile
Memory: 2.92 GiB / 15.51 GiB (19%)
Swap: 0 B / 4.00 GiB (0%)
Disk (/): 223.56 GiB / 463.46 GiB (48%) - ext4
Local IP (wlan0): 10.202.211.250/16,10.202.212.77/16 *
Battery: 100% [AC Connected]
Locale: zh_CN.UTF-8
████████████████████████
████████████████████████
wlmosv$

