以下是/etc/portage/make.conf文件的内容:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
MAKEOPTS="-j12"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo"
USE="-gtk -gnome -dvd -cdr qt5 kde X dbus policykit udisks eudev consolekit"
GRUB_PLATFORMS="efi-64"
INPUT_DEVICES="libinput synaptics"
VIDEO_CARDS="nvidia"
以下是/var/log/Xorg.0.log文件的内容:
[ 1980.565]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 1980.565] Build Operating System: Linux 4.14.83-gentoo x86_64 Gentoo
[ 1980.565] Current Operating System: Linux localhost 4.14.83-gentoo #1 SMP Sun Feb 3 10:26:07 CST 2019 x86_64
[ 1980.565] Kernel command line: BOOT_IMAGE=/vmlinuz-4.14.83-gentoo root=UUID=c8bad3e8-0f4a-4cec-b668-165b0e961ef1 ro
[ 1980.565] Build Date: 03 February 2019 11:51:27AM
[ 1980.565]
[ 1980.565] Current version of pixman: 0.36.0
[ 1980.565] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1980.565] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1980.565] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 3 17:18:00 2019
[ 1980.565] (==) Using config file: "/etc/X11/xorg.conf"
[ 1980.565] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1980.565] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1980.565] (==) ServerLayout "Layout0"
[ 1980.565] (**) |-->Screen "Screen0" (0)
[ 1980.565] (**) | |-->Monitor "Monitor0"
[ 1980.565] (**) | |-->Device "Device0"
[ 1980.565] (**) |-->Input Device "Keyboard0"
[ 1980.565] (**) |-->Input Device "Mouse0"
[ 1980.565] (==) Automatically adding devices
[ 1980.565] (==) Automatically enabling devices
[ 1980.565] (==) Automatically adding GPU devices
[ 1980.565] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1980.565] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 1980.566] Entry deleted from font path.
[ 1980.566] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 1980.566] Entry deleted from font path.
[ 1980.566] (==) FontPath set to:
[ 1980.566] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 1980.566] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1980.566] (WW) Disabling Keyboard0
[ 1980.566] (WW) Disabling Mouse0
[ 1980.566] (II) Loader magic: 0x562d941a1d00
[ 1980.566] (II) Module ABI versions:
[ 1980.566] X.Org ANSI C Emulation: 0.4
[ 1980.566] X.Org Video Driver: 24.0
[ 1980.566] X.Org XInput driver : 24.1
[ 1980.566] X.Org Server Extension : 10.0
[ 1980.566] (++) using VT number 1
[ 1980.567] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 1980.567] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1980.568] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 1980.569] (--) PCI:*(0@0:2:0) 8086:3e9b:1028:0885 rev 0, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 1980.569] (--) PCI: (1@0:0:0) 10de:1c20:1028:0885 rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 1980.569] (II) LoadModule: "glx"
[ 1980.569] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1980.570] (II) Module glx: vendor="X.Org Foundation"
[ 1980.570] compiled for 1.20.3, module version = 1.0.0
[ 1980.570] ABI class: X.Org Server Extension, version 10.0
[ 1980.570] (II) LoadModule: "nvidia"
[ 1980.570] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 1980.570] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1980.570] compiled for 4.0.2, module version = 1.0.0
[ 1980.570] Module class: X.Org Video Driver
[ 1980.570] (II) NVIDIA dlloader X Driver 415.27 Thu Dec 20 17:12:39 CST 2018
[ 1980.570] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1980.570] (II) systemd-logind: releasing fd for 226:0
[ 1980.570] (II) Loading sub module "fb"
[ 1980.570] (II) LoadModule: "fb"
[ 1980.571] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 1980.571] (II) Module fb: vendor="X.Org Foundation"
[ 1980.571] compiled for 1.20.3, module version = 1.0.0
[ 1980.571] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1980.571] (II) Loading sub module "wfb"
[ 1980.571] (II) LoadModule: "wfb"
[ 1980.571] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 1980.571] (II) Module wfb: vendor="X.Org Foundation"
[ 1980.571] compiled for 1.20.3, module version = 1.0.0
[ 1980.571] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1980.571] (II) Loading sub module "ramdac"
[ 1980.571] (II) LoadModule: "ramdac"
[ 1980.571] (II) Module "ramdac" already built-in
[ 1980.572] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 1980.572] (==) NVIDIA(0): RGB weight 888
[ 1980.572] (==) NVIDIA(0): Default visual is TrueColor
[ 1980.572] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1980.572] (**) NVIDIA(0): Enabling 2D acceleration
[ 1980.572] (II) Loading sub module "glxserver_nvidia"
[ 1980.572] (II) LoadModule: "glxserver_nvidia"
[ 1980.572] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[ 1980.575] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 1980.575] compiled for 4.0.2, module version = 1.0.0
[ 1980.575] Module class: X.Org Server Extension
[ 1980.575] (II) NVIDIA GLX Module 415.27 Thu Dec 20 17:12:23 CST 2018
[ 1980.783] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 1980.783] (--) NVIDIA(0): DFP-0
[ 1980.784] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1060 with Max-Q Design (GP106-A) at
[ 1980.784] (II) NVIDIA(0): PCI:1:0:0 (GPU-0)
[ 1980.784] (--) NVIDIA(0): Memory: 6291456 kBytes
[ 1980.784] (--) NVIDIA(0): VideoBIOS: 86.06.60.00.39
[ 1980.784] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 1980.784] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 1980.784] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[ 1980.784] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[ 1980.784] (--) NVIDIA(GPU-0):
[ 1980.784] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[ 1980.784] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
[ 1980.784] (EE) NVIDIA(0): to start anyway
[ 1980.784] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 1980.825] (II) UnloadModule: "nvidia"
[ 1980.825] (II) UnloadSubModule: "glxserver_nvidia"
[ 1980.825] (II) Unloading glxserver_nvidia
[ 1980.825] (II) UnloadSubModule: "wfb"
[ 1980.825] (II) UnloadSubModule: "fb"
[ 1980.825] (EE) Screen(s) found, but none have a usable configuration.
[ 1980.825] (EE)
Fatal server error:
[ 1980.825] (EE) no screens found(EE)
[ 1980.825] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1980.825] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1980.825] (EE)
[ 1980.828] (EE) Server terminated with error (1). Closing log file.
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
MAKEOPTS="-j12"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo"
USE="-gtk -gnome -dvd -cdr qt5 kde X dbus policykit udisks eudev consolekit"
GRUB_PLATFORMS="efi-64"
INPUT_DEVICES="libinput synaptics"
VIDEO_CARDS="nvidia"
以下是/var/log/Xorg.0.log文件的内容:
[ 1980.565]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 1980.565] Build Operating System: Linux 4.14.83-gentoo x86_64 Gentoo
[ 1980.565] Current Operating System: Linux localhost 4.14.83-gentoo #1 SMP Sun Feb 3 10:26:07 CST 2019 x86_64
[ 1980.565] Kernel command line: BOOT_IMAGE=/vmlinuz-4.14.83-gentoo root=UUID=c8bad3e8-0f4a-4cec-b668-165b0e961ef1 ro
[ 1980.565] Build Date: 03 February 2019 11:51:27AM
[ 1980.565]
[ 1980.565] Current version of pixman: 0.36.0
[ 1980.565] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1980.565] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1980.565] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 3 17:18:00 2019
[ 1980.565] (==) Using config file: "/etc/X11/xorg.conf"
[ 1980.565] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1980.565] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1980.565] (==) ServerLayout "Layout0"
[ 1980.565] (**) |-->Screen "Screen0" (0)
[ 1980.565] (**) | |-->Monitor "Monitor0"
[ 1980.565] (**) | |-->Device "Device0"
[ 1980.565] (**) |-->Input Device "Keyboard0"
[ 1980.565] (**) |-->Input Device "Mouse0"
[ 1980.565] (==) Automatically adding devices
[ 1980.565] (==) Automatically enabling devices
[ 1980.565] (==) Automatically adding GPU devices
[ 1980.565] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1980.565] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 1980.565] Entry deleted from font path.
[ 1980.565] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 1980.566] Entry deleted from font path.
[ 1980.566] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 1980.566] Entry deleted from font path.
[ 1980.566] (==) FontPath set to:
[ 1980.566] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 1980.566] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1980.566] (WW) Disabling Keyboard0
[ 1980.566] (WW) Disabling Mouse0
[ 1980.566] (II) Loader magic: 0x562d941a1d00
[ 1980.566] (II) Module ABI versions:
[ 1980.566] X.Org ANSI C Emulation: 0.4
[ 1980.566] X.Org Video Driver: 24.0
[ 1980.566] X.Org XInput driver : 24.1
[ 1980.566] X.Org Server Extension : 10.0
[ 1980.566] (++) using VT number 1
[ 1980.567] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 1980.567] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1980.568] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 1980.569] (--) PCI:*(0@0:2:0) 8086:3e9b:1028:0885 rev 0, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 1980.569] (--) PCI: (1@0:0:0) 10de:1c20:1028:0885 rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 1980.569] (II) LoadModule: "glx"
[ 1980.569] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1980.570] (II) Module glx: vendor="X.Org Foundation"
[ 1980.570] compiled for 1.20.3, module version = 1.0.0
[ 1980.570] ABI class: X.Org Server Extension, version 10.0
[ 1980.570] (II) LoadModule: "nvidia"
[ 1980.570] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 1980.570] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1980.570] compiled for 4.0.2, module version = 1.0.0
[ 1980.570] Module class: X.Org Video Driver
[ 1980.570] (II) NVIDIA dlloader X Driver 415.27 Thu Dec 20 17:12:39 CST 2018
[ 1980.570] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1980.570] (II) systemd-logind: releasing fd for 226:0
[ 1980.570] (II) Loading sub module "fb"
[ 1980.570] (II) LoadModule: "fb"
[ 1980.571] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 1980.571] (II) Module fb: vendor="X.Org Foundation"
[ 1980.571] compiled for 1.20.3, module version = 1.0.0
[ 1980.571] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1980.571] (II) Loading sub module "wfb"
[ 1980.571] (II) LoadModule: "wfb"
[ 1980.571] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 1980.571] (II) Module wfb: vendor="X.Org Foundation"
[ 1980.571] compiled for 1.20.3, module version = 1.0.0
[ 1980.571] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1980.571] (II) Loading sub module "ramdac"
[ 1980.571] (II) LoadModule: "ramdac"
[ 1980.571] (II) Module "ramdac" already built-in
[ 1980.572] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 1980.572] (==) NVIDIA(0): RGB weight 888
[ 1980.572] (==) NVIDIA(0): Default visual is TrueColor
[ 1980.572] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1980.572] (**) NVIDIA(0): Enabling 2D acceleration
[ 1980.572] (II) Loading sub module "glxserver_nvidia"
[ 1980.572] (II) LoadModule: "glxserver_nvidia"
[ 1980.572] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[ 1980.575] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 1980.575] compiled for 4.0.2, module version = 1.0.0
[ 1980.575] Module class: X.Org Server Extension
[ 1980.575] (II) NVIDIA GLX Module 415.27 Thu Dec 20 17:12:23 CST 2018
[ 1980.783] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 1980.783] (--) NVIDIA(0): DFP-0
[ 1980.784] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1060 with Max-Q Design (GP106-A) at
[ 1980.784] (II) NVIDIA(0): PCI:1:0:0 (GPU-0)
[ 1980.784] (--) NVIDIA(0): Memory: 6291456 kBytes
[ 1980.784] (--) NVIDIA(0): VideoBIOS: 86.06.60.00.39
[ 1980.784] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 1980.784] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 1980.784] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[ 1980.784] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[ 1980.784] (--) NVIDIA(GPU-0):
[ 1980.784] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[ 1980.784] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
[ 1980.784] (EE) NVIDIA(0): to start anyway
[ 1980.784] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 1980.825] (II) UnloadModule: "nvidia"
[ 1980.825] (II) UnloadSubModule: "glxserver_nvidia"
[ 1980.825] (II) Unloading glxserver_nvidia
[ 1980.825] (II) UnloadSubModule: "wfb"
[ 1980.825] (II) UnloadSubModule: "fb"
[ 1980.825] (EE) Screen(s) found, but none have a usable configuration.
[ 1980.825] (EE)
Fatal server error:
[ 1980.825] (EE) no screens found(EE)
[ 1980.825] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1980.825] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1980.825] (EE)
[ 1980.828] (EE) Server terminated with error (1). Closing log file.
系统是Gentoo发行版,请大佬们帮忙看看这个问题要如何解决,谢谢!