View previous topic :: View next topic |
Author |
Message |
hzqd n00b
Joined: 03 Feb 2019 Posts: 2 Location: China
|
Posted: Sun Feb 03, 2019 10:31 am Post subject: [help]xorg error, screens not found |
|
|
This is /etc/portage/make.conf
Code: | # 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"
|
This is /var/log/Xorg.0.log
Code: | [ 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. |
Can anyone help me? Thanks!
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ My GitHub is "github.com/hzqd" |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Sun Feb 03, 2019 5:55 pm Post subject: |
|
|
I suspect you should not have loaded the module 'glx'
Code: | [ 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
|
Since you seem to be using /etc/X11/xorg.conf file, comment out in this file the line that defines 'glx' module.
Otherwise, just get this file out of the way (rename it to xorg.conf.old or something), and see if X loads fine then |
|
Back to top |
|
|
hzqd n00b
Joined: 03 Feb 2019 Posts: 2 Location: China
|
Posted: Mon Feb 04, 2019 6:11 am Post subject: |
|
|
dmpogo wrote: | I suspect you should not have loaded the module 'glx'
Since you seem to be using /etc/X11/xorg.conf file, comment out in this file the line that defines 'glx' module.
Otherwise, just get this file out of the way (rename it to xorg.conf.old or something), and see if X loads fine then |
Thx for your help. I’ve checked the detail of the /etc/X11/xorg.conf file,but I can't find any line that defines 'glx' module, so I've renamed it.
This is /etc/X11/xorg.conf that created by nvidia-xconfig
Code: | # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 415.27
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
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"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
This is new /var/log/Xorg.0.log after xorg.conf renamed
Code: | [ 206.300]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 206.300] Build Operating System: Linux 4.14.83-gentoo x86_64 Gentoo
[ 206.300] Current Operating System: Linux localhost 4.14.83-gentoo #2 SMP Sun Feb 3 17:38:01 CST 2019 x86_64
[ 206.300] Kernel command line: BOOT_IMAGE=/vmlinuz-4.14.83-gentoo root=UUID=c8bad3e8-0f4a-4cec-b668-165b0e961ef1 ro
[ 206.300] Build Date: 03 February 2019 11:51:27AM
[ 206.300]
[ 206.300] Current version of pixman: 0.36.0
[ 206.301] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 206.301] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 206.301] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 4 12:20:10 2019
[ 206.314] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 206.314] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 206.315] (==) No Layout section. Using the first Screen section.
[ 206.315] (==) No screen section available. Using defaults.
[ 206.316] (**) |-->Screen "Default Screen Section" (0)
[ 206.316] (**) | |-->Monitor "<default monitor>"
[ 206.316] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 206.316] (==) Automatically adding devices
[ 206.316] (==) Automatically enabling devices
[ 206.317] (==) Automatically adding GPU devices
[ 206.317] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 206.318] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 206.318] Entry deleted from font path.
[ 206.318] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 206.318] Entry deleted from font path.
[ 206.318] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 206.318] Entry deleted from font path.
[ 206.318] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 206.318] Entry deleted from font path.
[ 206.318] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 206.318] Entry deleted from font path.
[ 206.318] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 206.318] Entry deleted from font path.
[ 206.318] (==) FontPath set to:
[ 206.318] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 206.318] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 206.318] (II) Loader magic: 0x55b8656b1d00
[ 206.318] (II) Module ABI versions:
[ 206.318] X.Org ANSI C Emulation: 0.4
[ 206.318] X.Org Video Driver: 24.0
[ 206.318] X.Org XInput driver : 24.1
[ 206.318] X.Org Server Extension : 10.0
[ 206.319] (++) using VT number 1
[ 206.323] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 206.324] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 206.326] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 206.331] (--) PCI:*(0@0:2:0) 8086:3e9b:1028:0885 rev 0, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 206.331] (--) 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
[ 206.331] (II) LoadModule: "glx"
[ 206.334] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 206.342] (II) Module glx: vendor="X.Org Foundation"
[ 206.342] compiled for 1.20.3, module version = 1.0.0
[ 206.342] ABI class: X.Org Server Extension, version 10.0
[ 206.342] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 206.342] loading driver: nvidia
[ 206.342] (==) Matched nvidia as autoconfigured driver 0
[ 206.342] (==) Matched nouveau as autoconfigured driver 1
[ 206.342] (==) Matched nv as autoconfigured driver 2
[ 206.342] (==) Matched intel as autoconfigured driver 3
[ 206.342] (==) Matched modesetting as autoconfigured driver 4
[ 206.342] (==) Matched fbdev as autoconfigured driver 5
[ 206.342] (==) Matched vesa as autoconfigured driver 6
[ 206.342] (==) Assigned the driver to the xf86ConfigLayout
[ 206.342] (II) LoadModule: "nvidia"
[ 206.343] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 206.348] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 206.348] compiled for 4.0.2, module version = 1.0.0
[ 206.348] Module class: X.Org Video Driver
[ 206.348] (II) LoadModule: "nouveau"
[ 206.349] (WW) Warning, couldn't open module nouveau
[ 206.349] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 206.349] (II) LoadModule: "nv"
[ 206.349] (WW) Warning, couldn't open module nv
[ 206.349] (EE) Failed to load module "nv" (module does not exist, 0)
[ 206.349] (II) LoadModule: "intel"
[ 206.349] (WW) Warning, couldn't open module intel
[ 206.349] (EE) Failed to load module "intel" (module does not exist, 0)
[ 206.349] (II) LoadModule: "modesetting"
[ 206.349] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 206.350] (II) Module modesetting: vendor="X.Org Foundation"
[ 206.350] compiled for 1.20.3, module version = 1.20.3
[ 206.350] Module class: X.Org Video Driver
[ 206.350] ABI class: X.Org Video Driver, version 24.0
[ 206.350] (II) LoadModule: "fbdev"
[ 206.350] (WW) Warning, couldn't open module fbdev
[ 206.350] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 206.350] (II) LoadModule: "vesa"
[ 206.350] (WW) Warning, couldn't open module vesa
[ 206.350] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 206.350] (II) NVIDIA dlloader X Driver 415.27 Thu Dec 20 17:12:39 CST 2018
[ 206.350] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 206.351] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 206.351] (WW) Falling back to old probe method for modesetting
[ 206.351] (II) systemd-logind: releasing fd for 226:0
[ 206.352] (II) Loading sub module "fb"
[ 206.352] (II) LoadModule: "fb"
[ 206.352] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 206.353] (II) Module fb: vendor="X.Org Foundation"
[ 206.353] compiled for 1.20.3, module version = 1.0.0
[ 206.353] ABI class: X.Org ANSI C Emulation, version 0.4
[ 206.353] (II) Loading sub module "wfb"
[ 206.353] (II) LoadModule: "wfb"
[ 206.353] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 206.354] (II) Module wfb: vendor="X.Org Foundation"
[ 206.354] compiled for 1.20.3, module version = 1.0.0
[ 206.354] ABI class: X.Org ANSI C Emulation, version 0.4
[ 206.354] (II) Loading sub module "ramdac"
[ 206.354] (II) LoadModule: "ramdac"
[ 206.354] (II) Module "ramdac" already built-in
[ 206.354] (EE) Screen 0 deleted because of no matching config section.
[ 206.354] (II) UnloadModule: "modesetting"
[ 206.354] (EE) Device(s) detected, but none match those in the config file.
[ 206.354] (EE)
Fatal server error:
[ 206.354] (EE) no screens found(EE)
[ 206.354] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 206.354] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 206.354] (EE)
[ 206.358] (EE) Server terminated with error (1). Closing log file.
|
It looks like a graphics card drivers issue (I'm not sure), how should I solve it? _________________ My GitHub is "github.com/hzqd" |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
|
Back to top |
|
|
hhfeuer Apprentice
Joined: 28 Jul 2005 Posts: 185
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|