есть Gentoo c ядром 4.4.39-gentoo, собрано genkernell"ом. установлены Xorg-drivers и Xorg-server по инструкции с wiki gentoo.
Видеокарта:
00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)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.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
MAKEOPTS="-j4"
USE="-gnome qt4 kde dbus alsa unicode X kdm udev debug selinux user-session display-manager grub gtk gtk3 handbook networkmanager"
CPU_FLAGS_X86="mmxext mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
INPUT_DEVICES="evdev"
VIDEO_CARDS="nouveau"
Лог startx при отсутствующем xorg.conf
Показать
[ 6053.663]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 6053.663] X Protocol Version 11, Revision 0
[ 6053.663] Build Operating System: Linux 4.4.39-gentoo x86_64 Gentoo
[ 6053.663] Current Operating System: Linux gentoo_forella 4.4.39-gentoo #1 SMP Tue Jan 17 16:26:59 EET 2017 x86_64
[ 6053.663] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro
[ 6053.664] Build Date: 17 January 2017 07:47:13PM
[ 6053.664]
[ 6053.664] Current version of pixman: 0.34.0
[ 6053.664] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6053.664] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6053.664] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 17 21:33:45 2017
[ 6053.664] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 6053.664] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6053.664] (==) No Layout section. Using the first Screen section.
[ 6053.664] (==) No screen section available. Using defaults.
[ 6053.664] (**) |-->Screen "Default Screen Section" (0)
[ 6053.664] (**) | |-->Monitor "<default monitor>"
[ 6053.664] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 6053.664] (==) Automatically adding devices
[ 6053.664] (==) Automatically enabling devices
[ 6053.664] (==) Automatically adding GPU devices
[ 6053.664] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 6053.664] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 6053.664] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 6053.664] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 6053.664] (II) Loader magic: 0x812c80
[ 6053.664] (II) Module ABI versions:
[ 6053.664] X.Org ANSI C Emulation: 0.4
[ 6053.664] X.Org Video Driver: 20.0
[ 6053.664] X.Org XInput driver : 22.1
[ 6053.664] X.Org Server Extension : 9.0
[ 6053.665] (--) PCI:*(0:0:13:0) 10de:03d6:1849:03d6 rev 162, Mem @ 0xfa000000/16777216, 0xe0000000/268435456, 0xf9000000/16777216, BIOS @ 0x????????/131072
[ 6053.665] (II) LoadModule: "glx"
[ 6053.666] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 6053.667] (II) Module glx: vendor="X.Org Foundation"
[ 6053.667] compiled for 1.18.4, module version = 1.0.0
[ 6053.667] ABI class: X.Org Server Extension, version 9.0
[ 6053.667] (==) AIGLX enabled
[ 6053.667] (==) Matched nouveau as autoconfigured driver 0
[ 6053.667] (==) Matched nv as autoconfigured driver 1
[ 6053.667] (==) Matched modesetting as autoconfigured driver 2
[ 6053.667] (==) Matched fbdev as autoconfigured driver 3
[ 6053.667] (==) Matched vesa as autoconfigured driver 4
[ 6053.667] (==) Assigned the driver to the xf86ConfigLayout
[ 6053.667] (II) LoadModule: "nouveau"
[ 6053.667] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[ 6053.667] (II) Module nouveau: vendor="X.Org Foundation"
[ 6053.667] compiled for 1.18.4, module version = 1.0.12
[ 6053.668] Module class: X.Org Video Driver
[ 6053.668] ABI class: X.Org Video Driver, version 20.0
[ 6053.668] (II) LoadModule: "nv"
[ 6053.668] (WW) Warning, couldn't open module nv
[ 6053.668] (II) UnloadModule: "nv"
[ 6053.668] (II) Unloading nv
[ 6053.668] (EE) Failed to load module "nv" (module does not exist, 0)
[ 6053.668] (II) LoadModule: "modesetting"
[ 6053.668] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 6053.668] (II) Module modesetting: vendor="X.Org Foundation"
[ 6053.668] compiled for 1.18.4, module version = 1.18.4
[ 6053.668] Module class: X.Org Video Driver
[ 6053.668] ABI class: X.Org Video Driver, version 20.0
[ 6053.668] (II) LoadModule: "fbdev"
[ 6053.668] (WW) Warning, couldn't open module fbdev
[ 6053.668] (II) UnloadModule: "fbdev"
[ 6053.668] (II) Unloading fbdev
[ 6053.668] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 6053.668] (II) LoadModule: "vesa"
[ 6053.668] (WW) Warning, couldn't open module vesa
[ 6053.668] (II) UnloadModule: "vesa"
[ 6053.668] (II) Unloading vesa
[ 6053.668] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 6053.668] (II) NOUVEAU driver
[ 6053.668] (II) NOUVEAU driver for NVIDIA chipset families :
[ 6053.668] RIVA TNT (NV04)
[ 6053.668] RIVA TNT2 (NV05)
[ 6053.668] GeForce 256 (NV10)
[ 6053.668] GeForce 2 (NV11, NV15)
[ 6053.668] GeForce 4MX (NV17, NV18)
[ 6053.668] GeForce 3 (NV20)
[ 6053.668] GeForce 4Ti (NV25, NV28)
[ 6053.668] GeForce FX (NV3x)
[ 6053.668] GeForce 6 (NV4x)
[ 6053.668] GeForce 7 (G7x)
[ 6053.668] GeForce 8 (G8x)
[ 6053.668] GeForce GTX 200 (NVA0)
[ 6053.668] GeForce GTX 400 (NVC0)
[ 6053.668] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 6053.669] (--) using VT number 7
[ 6053.671] (EE) [drm] Failed to open DRM device for pci:0000:00:0d.0: -19
[ 6053.671] (EE) open /dev/dri/card0: No such file or directory
[ 6053.671] (WW) Falling back to old probe method for modesetting
[ 6053.671] (EE) open /dev/dri/card0: No such file or directory
[ 6053.671] (EE) Screen 0 deleted because of no matching config section.
[ 6053.671] (II) UnloadModule: "modesetting"
[ 6053.671] (EE) Device(s) detected, but none match those in the config file.
[ 6053.671] (EE)
Fatal server error:
[ 6053.671] (EE) no screens found(EE)
[ 6053.671] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6053.671] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 6053.671] (EE)
[ 6053.674] (EE) Server terminated with error (1). Closing log file.
Лог при генерации xorg.conf
Показать
Xorg -configure
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.39-gentoo x86_64 Gentoo
Current Operating System: Linux gentoo_forella 4.4.39-gentoo #1 SMP Tue Jan 17 16:26:59 EET 2017 x86_64
Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro
Build Date: 17 January 2017 07:47:13PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 17 21:37:55 2017
List of video drivers:
modesetting
nouveau
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: Xorg (xorg_backtrace+0x56) [0x58afc6]
(EE) 1: Xorg (0x400000+0x18f289) [0x58f289]
(EE) 2: /lib64/libc.so.6 (0x7f08b41ca000+0x331f0) [0x7f08b41fd1f0]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Aborted
содержание xorg.conf
Показать
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
#Option "AccelMethod" # <str>
#Option "PageFlip" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:13:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
ну и лог с xorg.conf
Показать
[ 6570.089]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 6570.089] X Protocol Version 11, Revision 0
[ 6570.089] Build Operating System: Linux 4.4.39-gentoo x86_64 Gentoo
[ 6570.089] Current Operating System: Linux gentoo_forella 4.4.39-gentoo #1 SMP Tue Jan 17 16:26:59 EET 2017 x86_64
[ 6570.089] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro
[ 6570.089] Build Date: 17 January 2017 07:47:13PM
[ 6570.089]
[ 6570.089] Current version of pixman: 0.34.0
[ 6570.089] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6570.089] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6570.089] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 17 21:42:21 2017
[ 6570.089] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 6570.089] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6570.089] (==) ServerLayout "X.org Configured"
[ 6570.089] (**) |-->Screen "Screen0" (0)
[ 6570.089] (**) | |-->Monitor "Monitor0"
[ 6570.089] (**) | |-->Device "Card0"
[ 6570.089] (**) |-->Input Device "Mouse0"
[ 6570.089] (**) |-->Input Device "Keyboard0"
[ 6570.089] (==) Automatically adding devices
[ 6570.089] (==) Automatically enabling devices
[ 6570.089] (==) Automatically adding GPU devices
[ 6570.089] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 6570.089] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 6570.089] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 6570.089] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 6570.089] (WW) Disabling Mouse0
[ 6570.089] (WW) Disabling Keyboard0
[ 6570.089] (II) Loader magic: 0x812c80
[ 6570.089] (II) Module ABI versions:
[ 6570.089] X.Org ANSI C Emulation: 0.4
[ 6570.090] X.Org Video Driver: 20.0
[ 6570.090] X.Org XInput driver : 22.1
[ 6570.090] X.Org Server Extension : 9.0
[ 6570.091] (--) PCI:*(0:0:13:0) 10de:03d6:1849:03d6 rev 162, Mem @ 0xfa000000/16777216, 0xe0000000/268435456, 0xf9000000/16777216, BIOS @ 0x????????/131072
[ 6570.091] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 6570.091] (II) LoadModule: "glx"
[ 6570.091] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 6570.092] (II) Module glx: vendor="X.Org Foundation"
[ 6570.092] compiled for 1.18.4, module version = 1.0.0
[ 6570.092] ABI class: X.Org Server Extension, version 9.0
[ 6570.092] (==) AIGLX enabled
[ 6570.092] (II) LoadModule: "modesetting"
[ 6570.093] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 6570.093] (II) Module modesetting: vendor="X.Org Foundation"
[ 6570.093] compiled for 1.18.4, module version = 1.18.4
[ 6570.093] Module class: X.Org Video Driver
[ 6570.093] ABI class: X.Org Video Driver, version 20.0
[ 6570.093] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 6570.093] (--) using VT number 7
[ 6570.094] (EE) open /dev/dri/card0: No such file or directory
[ 6570.094] (WW) Falling back to old probe method for modesetting
[ 6570.094] (EE) open /dev/dri/card0: No such file or directory
[ 6570.094] (EE) Screen 0 deleted because of no matching config section.
[ 6570.094] (II) UnloadModule: "modesetting"
[ 6570.094] (EE) Device(s) detected, but none match those in the config file.
[ 6570.094] (EE)
Fatal server error:
[ 6570.094] (EE) no screens found(EE)
[ 6570.094] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6570.094] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 6570.094] (EE)
[ 6570.097] (EE) Server terminated with error (1). Closing log file.
Вопрос как запустить Xorg и на что он ругается в этих строчках?
[ 6570.094] (EE) open /dev/dri/card0: No such file or directory
[ 6570.094] (WW) Falling back to old probe method for modesetting
[ 6570.094] (EE) open /dev/dri/card0: No such file or directory
[ 6570.094] (EE) Screen 0 deleted because of no matching config section.
[ 6570.094] (II) UnloadModule: "modesetting"
[ 6570.094] (EE) Device(s) detected, but none match those in the config file.