LinuxForum.Fans
Тема

проблема с запуском Xorg

Автор: forella 19 сообщений 3588 просмотров
17.01.2017 20:45 #419080

есть Gentoo c ядром 4.4.39-gentoo, собрано genkernell"ом. установлены Xorg-drivers и Xorg-server по инструкции с wiki gentoo.
Видеокарта:

text
00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)

make.conf

Показать
text

# 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

Показать
text
[  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

Показать
text
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

Показать
text
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

Показать
text
[  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 и на что он ругается в этих строчках?

text
[  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.
17.01.2017 20:56 · отредактировано #419081

"forella" написал:
(EE) Screen 0 deleted because of no matching config section.
А вам не показалось что в конфиге напрочь отсутствует раздел о видеокарте?

Добавить бы его для начала....

forella, Вот, в качестве примера:
&quot;/etc/X11/xorg.conf
text
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    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
      Modes "1600x900"
    EndSubsection
  Option "TwinView" "0"
EndSection

17.01.2017 21:01 #419082

diablopc написал:
[quote="forella"](EE) Screen 0 deleted because of no matching config section.
А вам не показалось что в конфиге напрочь отсутствует раздел о видеокарте?

Добавить бы его для начала....[/quote]
да, дейсвительно, забыл.
вот изменил на это
Section "Device"
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:0d:0"
EndSection
Лог:
Показать
text
[  7632.271]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  7632.271] X Protocol Version 11, Revision 0
[  7632.271] Build Operating System: Linux 4.4.39-gentoo x86_64 Gentoo
[  7632.271] Current Operating System: Linux gentoo_forella 4.4.39-gentoo #1 SMP Tue Jan 17 16:26:59 EET 2017 x86_64
[  7632.271] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro
[  7632.271] Build Date: 17 January 2017  07:47:13PM
[  7632.271]
[  7632.271] Current version of pixman: 0.34.0
[  7632.271]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  7632.271] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7632.271] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 17 22:00:03 2017
[  7632.271] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  7632.271] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  7632.271] (==) ServerLayout "X.org Configured"
[  7632.271] (**) |-->Screen "Screen0" (0)
[  7632.271] (**) |   |-->Monitor "Monitor0"
[  7632.271] (**) |   |-->Device "Card0"
[  7632.271] (**) |-->Input Device "Mouse0"
[  7632.271] (**) |-->Input Device "Keyboard0"
[  7632.271] (==) Automatically adding devices
[  7632.271] (==) Automatically enabling devices
[  7632.271] (==) Automatically adding GPU devices
[  7632.271] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  7632.271] (**) 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/
[  7632.271] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  7632.271] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  7632.271] (WW) Disabling Mouse0
[  7632.271] (WW) Disabling Keyboard0
[  7632.271] (II) Loader magic: 0x812c80
[  7632.271] (II) Module ABI versions:
[  7632.272]    X.Org ANSI C Emulation: 0.4
[  7632.272]    X.Org Video Driver: 20.0
[  7632.272]    X.Org XInput driver : 22.1
[  7632.272]    X.Org Server Extension : 9.0
[  7632.273] (--) PCI:*(0:0:13:0) 10de:03d6:1849:03d6 rev 162, Mem @ 0xfa000000/16777216, 0xe0000000/268435456, 0xf9000000/16777216, BIOS @ 0x????????/131072
[  7632.273] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  7632.273] (II) LoadModule: "glx"
[  7632.273] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  7632.274] (II) Module glx: vendor="X.Org Foundation"
[  7632.274]    compiled for 1.18.4, module version = 1.0.0
[  7632.274]    ABI class: X.Org Server Extension, version 9.0
[  7632.274] (==) AIGLX enabled
[  7632.274] (II) LoadModule: "modesetting"
[  7632.274] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  7632.275] (II) Module modesetting: vendor="X.Org Foundation"
[  7632.275]    compiled for 1.18.4, module version = 1.18.4
[  7632.275]    Module class: X.Org Video Driver
[  7632.275]    ABI class: X.Org Video Driver, version 20.0
[  7632.275] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  7632.275] (--) using VT number 7

[ 7632.276] (WW) Falling back to old probe method for modesetting [ 7632.276] (EE) open /dev/dri/card0: No such file or directory [ 7632.276] (EE) No devices detected. [ 7632.276] (EE) Fatal server error: [ 7632.276] (EE) no screens found(EE) [ 7632.276] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 7632.276] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 7632.276] (EE)

на одну ошибку меньше стало, но что он пытается еще найти по этому пути?

[ 7321.614] (WW) Falling back to old probe method for modesetting
[ 7321.614] (EE) open /dev/dri/card0: No such file or directory
[ 7321.614] (EE) No devices detected.

17.01.2017 21:01 · отредактировано #419083
"forella" написал:
на что он ругается в этих строчках?

На то, что у него вообще нет никакой видеокарты. Что из текста следует прямо и недвусмысленно.

17.01.2017 21:07 #419084
stranger написал:
[quote="forella"]на что он ругается в этих строчках?

На то, что у него вообще нет никакой видеокарты. Что из текста следует прямо и недвусмысленно.[/quote]
ок, как исправить?

17.01.2017 21:10 #419085

"forella" написал:
на одну ошибку меньше стало, но что он пытается еще найти по этому пути?
Какой драйвер в конфиге указан??
17.01.2017 21:17 #419086

diablopc написал:
[quote="forella"]на одну ошибку меньше стало, но что он пытается еще найти по этому пути?
Какой драйвер в конфиге указан??[/quote]
ставил с указанием nouveau от сюда https://wiki.gentoo.org/wiki/Xorg/Guide/ru , сказано что заработать должно без конфига если ставить стандартные драйвера.
17.01.2017 21:17 #419087
"forella" написал:
как исправить?

Давно не брал я в руки Генту! :(

Но, например, пересоздать xorg conf соответствующей утилитой.

17.01.2017 21:21 #419088
stranger написал:
[quote="forella"]как исправить?

Давно не брал я в руки Генту! :(

Но, например, пересоздать xorg conf соответствующей утилитой.[/quote]
та и так жеш создал его с помощью:
Xorg -configure

17.01.2017 21:24 #419089

forella, У меня черные мысли, но все-же: что в строке ядра в грабе написано???

17.01.2017 21:28 #419090
diablopc написал:
forella, У меня черные мысли, но все-же: что в строке ядра в грабе написано???

Если я правильно понял, тут?:
cat /etc/default/grub

Показать
text
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
#
# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
#     'grub2-mkconfig -o /boot/grub/grub.cfg'
#
# See the grub info page for documentation on possible variables and
# their associated values.

GRUB_DISTRIBUTOR="Gentoo"

# Default menu entry #GRUB_DEFAULT=0

# Boot the default entry this many seconds after the menu is displayed #GRUB_TIMEOUT=5 #GRUB_TIMEOUT_STYLE=menu

# Append parameters to the linux kernel command line #GRUB_CMDLINE_LINUX="" # # Examples: # # Boot with network interface renaming disabled # GRUB_CMDLINE_LINUX="net.ifnames=0" # # Boot with systemd instead of sysvinit (openrc) # GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"

# Append parameters to the linux kernel command line for non-recovery entries #GRUB_CMDLINE_LINUX_DEFAULT=""

# Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console

# The resolution used on graphical terminal. # Note that you can use only modes which your graphic card supports via VBE. # You can see them in real GRUB with the command `vbeinfo'. #GRUB_GFXMODE=640x480

# Set to 'text' to force the Linux kernel to boot in normal text # mode, 'keep' to preserve the graphics mode set using # 'GRUB_GFXMODE', 'WIDTHxHEIGHT'['xDEPTH'] to set a particular # graphics mode, or a sequence of these separated by commas or # semicolons to try several modes in sequence. #GRUB_GFXPAYLOAD_LINUX=

# Path to theme spec txt file. # The starfield is by default provided with use truetype. # NOTE: when enabling custom theme, ensure you have required font/etc. #GRUB_THEME="/boot/grub/themes/starfield/theme.txt"

# Background image used on graphical terminal. # Can be in various bitmap formats. #GRUB_BACKGROUND="/boot/grub/mybackground.png"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel #GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY=true

# Uncomment to disable generation of the submenu and put all choices on # the top-level menu. # Besides the visual affect of no sub menu, this makes navigation of the # menu easier for a user who can't see the screen. #GRUB_DISABLE_SUBMENU=y

# Uncomment to play a tone when the main menu is displayed. # This is useful, for example, to allow users who can't see the screen # to know when they can make a choice on the menu. #GRUB_INIT_TUNE="60 800 1"

все закоментировано

17.01.2017 21:29 #419091

"forella" написал:
Если я правильно понял, тут?:
тут: /boot/grub/grub.cfg
17.01.2017 21:33 · отредактировано #419093

diablopc написал:
[quote="forella"]Если я правильно понял, тут?:
тут: /boot/grub/grub.cfg[/quote]
вот
Показать
text
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="0" fi

if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi

function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi }

function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi }

if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_gpt insmod ext2 set root='hd0,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 45c67717-855d-4a2e-8937-281023319901 else search --no-floppy --fs-uuid --set=root 45c67717-855d-4a2e-8937-281023319901 fi font="/usr/share/grub/unicode.pf2" fi

if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=5 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=5 fi ### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ### menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-45c67717-855d-4a2e-8937-281023319901' { load_video if [ "x$grub_platform" = xefi ]; then set gfxpayload=keep fi insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 f208e985-7be1-4738-94be-da26328e9ca3 else search --no-floppy --fs-uuid --set=root f208e985-7be1-4738-94be-da26328e9ca3 fi echo 'Loading Linux x86_64-4.4.39-gentoo ...' linux /kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro echo 'Loading initial ramdisk ...' initrd /initramfs-genkernel-x86_64-4.4.39-gentoo } submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-45c67717-855d-4a2e-8937-281023319901' { menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.4.39-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.4.39-gentoo-advanced-45c67717-855d-4a2e-8937-281023319901' { load_video if [ "x$grub_platform" = xefi ]; then set gfxpayload=keep fi insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 f208e985-7be1-4738-94be-da26328e9ca3 else search --no-floppy --fs-uuid --set=root f208e985-7be1-4738-94be-da26328e9ca3 fi echo 'Loading Linux x86_64-4.4.39-gentoo ...' linux /kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro echo 'Loading initial ramdisk ...' initrd /initramfs-genkernel-x86_64-4.4.39-gentoo } menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.4.39-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.4.39-gentoo-recovery-45c67717-855d-4a2e-8937-281023319901' { load_video if [ "x$grub_platform" = xefi ]; then set gfxpayload=keep fi insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 f208e985-7be1-4738-94be-da26328e9ca3 else search --no-floppy --fs-uuid --set=root f208e985-7be1-4738-94be-da26328e9ca3 fi echo 'Loading Linux x86_64-4.4.39-gentoo ...' linux /kernel-genkernel-x86_64-4.4.39-gentoo root=UUID=45c67717-855d-4a2e-8937-281023319901 ro single echo 'Loading initial ramdisk ...' initrd /initramfs-genkernel-x86_64-4.4.39-gentoo } }

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###

17.01.2017 21:53 #419094
"forella" написал:
Xorg -configure

Результат мы все видим. Может быть пора вписать в него нужные параметры? Ну там, частота, развёртка, не?

18.01.2017 03:56 #419100

Нет. Драйвер не загружен, поэтому устройство не создается. Как у вас собрано ядро? Приведите конфиг. Покажите также

text
# lspci -k
# dmesg
18.01.2017 21:32 #419113

Судя по конфигу grub не включен графический режим загрузки ядра.
Раскомментировать строчку GRUB_CMDLINE_LINUX_DEFAULT и добавить в эту строчку параметр:

text
video=1024x768-32@60
18.01.2017 21:52 #419114

ormorph, а как оно на иксы влияет? Это установит ращрешение в голой консоли же, разве нет?

18.01.2017 22:37 #419117
"yars" написал:
ormorph, а как оно на иксы влияет? Это установит ращрешение в голой консоли же, разве нет?

Не только, этот параметр загрузит kms драйвер и сделает доступным фрейм буфер, который необходим для иксов...

Войдите или зарегистрируйтесь, чтобы ответить.