Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
intel driver, startx fail, no screen found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ceyes
n00b
n00b


Joined: 13 Aug 2011
Posts: 18
Location: China

PostPosted: Wed Feb 20, 2013 6:23 am    Post subject: intel driver, startx fail, no screen found Reply with quote

Hi,
I just installed gentoo on my thinkpad x200 laptop and was blocked in the startx step.
I followed the guides: http://www.gentoo.org/doc/en/xorg-config.xml http://en.gentoo-wiki.com/wiki/Intel_GMA http://vminko.org/gentoo_manuals/thinkpad_x200 but still fail.

the satuation is almost like
https://forums.gentoo.org/viewtopic-t-889962-highlight-number+created+screens+match+number+detected+devices.html .
But no luck that didn't help.

Below are some info:
lspci -nn:
Code:
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
00:03.0 Communication controller [0780]: Intel Corporation Mobile 4 Series Chipset MEI Controller [8086:2a44] (rev 07)
00:03.3 Serial controller [0700]: Intel Corporation Mobile 4 Series Chipset AMT SOL Redirection [8086:2a47] (rev 07)


kernel config is base on http://vminko.org/storage/x200/configs/config-3.2.12
my grub.conf is:
Code:
default 0
timeout 3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.6.11
        root (hd0,0)
        kernel /boot/kernel-3.6.11-gentoo root=/dev/sda3 acpi_sleep=s3_bios acpi_osi="Linux" thinkpad_acpi.fan_control=1 i915.modeset=1 video=1280x800 pcie_aspm=force


and I put http://vminko.org/storage/x200/configs/xorg.conf in /etc/X11

startx fail, the log is:
Code:
X.Org X Server 1.13.1
Release Date: 2012-12-13
[  1891.724] X Protocol Version 11, Revision 0
[  1891.725] Build Operating System: Linux 3.6.11-gentoo x86_64 Gentoo
[  1891.727] Current Operating System: Linux X200 3.6.11-gentoo #6 SMP PREEMPT Tue Feb 19 21:50:42 CST 2013 x86_64
[  1891.727] Kernel command line: root=/dev/sda3 acpi_sleep=s3_bios acpi_osi="Linux" thinkpad_acpi.fan_control=1 i915.modeset=1 video=1280x800 pcie_aspm=force
[  1891.728] Build Date: 20 February 2013  01:19:35AM
[  1891.729] 
[  1891.730] Current version of pixman: 0.28.0
[  1891.732]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1891.732] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1891.735] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 20 13:49:54 2013
[  1891.736] (==) Using config file: "/etc/X11/xorg.conf"
[  1891.737] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1891.737] (==) ServerLayout "XServerLayout"
[  1891.737] (**) |-->Screen "Screen0" (0)
[  1891.737] (**) |   |-->Monitor "Internal LCD"
[  1891.737] (**) |   |-->Device "VideoCard"
[  1891.737] (**) |-->Input Device "TrackPoint"
[  1891.737] (**) |-->Input Device "Keyboard"
[  1891.737] (**) Option "BlankTime" "0"
[  1891.737] (**) Option "StandbyTime" "0"
[  1891.737] (**) Option "SuspendTime" "0"
[  1891.737] (**) Option "OffTime" "5"
[  1891.737] (==) Automatically adding devices
[  1891.737] (==) Automatically enabling devices
[  1891.737] (==) Automatically adding GPU devices
[  1891.737] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  1891.737]    Entry deleted from font path.
[  1891.737] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1891.737]    Entry deleted from font path.
[  1891.737] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1891.737]    Entry deleted from font path.
[  1891.737] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1891.737]    Entry deleted from font path.
[  1891.737]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1891.737] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1891.737]    Entry deleted from font path.
[  1891.737]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1891.737] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  1891.737]    Entry deleted from font path.
[  1891.737] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1891.737]    Entry deleted from font path.
[  1891.738] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1891.738]    Entry deleted from font path.
[  1891.738] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1891.738]    Entry deleted from font path.
[  1891.738]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1891.738] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1891.738]    Entry deleted from font path.
[  1891.738]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1891.738] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/misc/
[  1891.738] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1891.738] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1891.738] (WW) Disabling TrackPoint
[  1891.738] (WW) Disabling Keyboard
[  1891.738] (II) Loader magic: 0x808be0
[  1891.738] (II) Module ABI versions:
[  1891.738]    X.Org ANSI C Emulation: 0.4
[  1891.738]    X.Org Video Driver: 13.1
[  1891.738]    X.Org XInput driver : 18.0
[  1891.738]    X.Org Server Extension : 7.0
[  1891.738] (II) config/udev: Adding drm device (/dev/dri/card0)
[  1891.739] (--) PCI:*(0:0:2:0) 8086:2a42:17aa:20e4 rev 7, Mem @ 0xf2000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
[  1891.739] (--) PCI: (0:0:2:1) 8086:2a43:17aa:20e4 rev 7, Mem @ 0xf2400000/1048576
[  1891.739] (II) Open ACPI successful (/var/run/acpid.socket)
[  1891.741] Initializing built-in extension Generic Event Extension
[  1891.742] Initializing built-in extension SHAPE
[  1891.743] Initializing built-in extension MIT-SHM
[  1891.744] Initializing built-in extension XInputExtension
[  1891.744] Initializing built-in extension XTEST
[  1891.745] Initializing built-in extension BIG-REQUESTS
[  1891.746] Initializing built-in extension SYNC
[  1891.747] Initializing built-in extension XKEYBOARD
[  1891.748] Initializing built-in extension XC-MISC
[  1891.749] Initializing built-in extension XINERAMA
[  1891.750] Initializing built-in extension XFIXES
[  1891.750] Initializing built-in extension RENDER
[  1891.751] Initializing built-in extension RANDR
[  1891.752] Initializing built-in extension COMPOSITE
[  1891.753] Initializing built-in extension DAMAGE
[  1891.754] Initializing built-in extension MIT-SCREEN-SAVER
[  1891.754] Initializing built-in extension DOUBLE-BUFFER
[  1891.755] Initializing built-in extension RECORD
[  1891.756] Initializing built-in extension DPMS
[  1891.757] Initializing built-in extension X-Resource
[  1891.758] Initializing built-in extension XVideo
[  1891.758] Initializing built-in extension XVideo-MotionCompensation
[  1891.759] Initializing built-in extension XFree86-VidModeExtension
[  1891.760] Initializing built-in extension XFree86-DGA
[  1891.761] Initializing built-in extension XFree86-DRI
[  1891.761] Initializing built-in extension DRI2
[  1891.761] (II) "glx" will be loaded by default.
[  1891.761] (II) LoadModule: "dri"
[  1891.761] (II) Module "dri" already built-in
[  1891.761] (II) LoadModule: "dri2"
[  1891.761] (II) Module "dri2" already built-in
[  1891.761] (II) LoadModule: "glx"
[  1891.761] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1891.762] (II) Module glx: vendor="X.Org Foundation"
[  1891.762]    compiled for 1.13.1, module version = 1.0.0
[  1891.762]    ABI class: X.Org Server Extension, version 7.0
[  1891.762] (==) AIGLX enabled
[  1891.762] Loading extension GLX
[  1891.762] (II) LoadModule: "intel"
[  1891.762] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  1891.763] (II) Module intel: vendor="X.Org Foundation"
[  1891.763]    compiled for 1.13.1, module version = 2.20.13
[  1891.763]    Module class: X.Org Video Driver
[  1891.763]    ABI class: X.Org Video Driver, version 13.1
[  1891.763] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
        Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
        Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
        Haswell Server (GT2+), Haswell SDV Desktop (GT1),
        Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
        Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
        Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
        Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
        Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
        Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
        Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
        Haswell ULT Server (GT1), Haswell ULT Server (GT2),
        Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
        Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
        Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
        Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
        Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
        ValleyView PO board
[  1891.763] (--) using VT number 7

[  1891.766] (II) intel(G0): using device path '/dev/dri/card0'
[  1891.766] (II) intel(G1): using device path '/dev/dri/card0'
[  1891.766] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1891.766] (EE) Screen 0 deleted because of no matching config section.
[  1891.766] (II) UnloadModule: "intel"
[  1891.766] (EE) Device(s) detected, but none match those in the config file.
[  1891.766]
Fatal server error:
[  1891.766] no screens found
[  1891.766] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  1891.766] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1891.766] (EE)
[  1891.772] Server terminated with error (1). Closing log file.


I searched through a lot but couldn't find a solution.
Thanks for your help!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Feb 20, 2013 7:04 am    Post subject: Reply with quote

unless youve gotten rid of udev, you should be able to do without an xorg.conf
that would be my first port of call
or...have you tried without an xorg.conf yet?

I can post up my own xorg.conf if need be, but, i only have an xorg.conf because i scrapped udev - with udev, you shouldnt need one, or at most a very minimal one
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ceyes
n00b
n00b


Joined: 13 Aug 2011
Posts: 18
Location: China

PostPosted: Wed Feb 20, 2013 8:12 am    Post subject: Reply with quote

cach0rr0 wrote:
unless youve gotten rid of udev, you should be able to do without an xorg.conf
that would be my first port of call
or...have you tried without an xorg.conf yet?

I can post up my own xorg.conf if need be, but, i only have an xorg.conf because i scrapped udev - with udev, you shouldnt need one, or at most a very minimal one


That is to say if compile xorg-server with "udev" then startx will not need xorg.conf ?
My xorg-server indeed with udev,
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.
CFLAGS="-march=native -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 flags that were used in addition to what is provided by the
# profile used for building.
MAKEOPTS="-j3"
USE="X aac acpi alsa bash-completion bzip2 cairo cjk crypt curl
dri dri2 encode exif fontconfig ffmpeg ftp gif gtk iconv joystick jpeg
libnotify mad mp3 mp4 mpeg mplayer nls nptl ogg openal opengl pdf
png posix python readline smp sndfile spell sse  sse2 sse3 ssl
startup-notification tcpd truetype unicode vim-syntax zlib"

ALSA_PCM_PLUGINS="*"
VIDEO_CARDS="intel"
INPUT_DEVICES="keyboard mouse joystick"
LINGUAS="en"

GENTOO_MIRRORS="rsync://mirrors.xmu.edu.cn/gentoo/ http://mirrors.xmu.edu.cn/gentoo ftp://mirrors.xmu.edu.cn/gentoo"
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"

package.use:
Code:

x11-base/xorg-server udev xorg
net-misc/curl curl_ssl_openssl
media-libs/mesa classic gbm
x11-libs/libdrm libkms
sys-devel/gcc -gtk

app-i18n/fcitx -qt4


so I rm xorg.conf, but startx still fail.
the log is
Code:
Release Date: 2012-12-13
[  9791.387] X Protocol Version 11, Revision 0
[  9791.387] Build Operating System: Linux 3.6.11-gentoo x86_64 Gentoo
[  9791.388] Current Operating System: Linux X200 3.6.11-gentoo #6 SMP PREEMPT Tue Feb 19 21:50:42 CST 2013 x86_64
[  9791.388] Kernel command line: root=/dev/sda3 acpi_sleep=s3_bios acpi_osi="Linux" thinkpad_acpi.fan_control=1 i915.modeset=1 video=1280x800 pcie_aspm=force
[  9791.391] Build Date: 20 February 2013  01:19:35AM
[  9791.392] 
[  9791.393] Current version of pixman: 0.28.0
[  9791.396]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  9791.396] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  9791.400] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 20 16:01:34 2013
[  9791.401] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  9791.401] (==) No Layout section.  Using the first Screen section.
[  9791.401] (==) No screen section available. Using defaults.
[  9791.401] (**) |-->Screen "Default Screen Section" (0)
[  9791.401] (**) |   |-->Monitor "<default monitor>"
[  9791.401] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  9791.401] (==) Automatically adding devices
[  9791.401] (==) Automatically enabling devices
[  9791.401] (==) Automatically adding GPU devices
[  9791.401] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  9791.401]    Entry deleted from font path.
[  9791.401] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  9791.401]    Entry deleted from font path.
[  9791.401] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  9791.401]    Entry deleted from font path.
[  9791.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  9791.401]    Entry deleted from font path.
[  9791.401]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  9791.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  9791.401]    Entry deleted from font path.
[  9791.401]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  9791.401] (==) FontPath set to:
        /usr/share/fonts/misc/
[  9791.401] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  9791.401] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  9791.401] (II) Loader magic: 0x808be0
[  9791.401] (II) Module ABI versions:
[  9791.401]    X.Org ANSI C Emulation: 0.4
[  9791.401]    X.Org Video Driver: 13.1
[  9791.401]    X.Org XInput driver : 18.0
[  9791.401]    X.Org Server Extension : 7.0
[  9791.402] (II) config/udev: Adding drm device (/dev/dri/card0)
[  9791.403] (--) PCI:*(0:0:2:0) 8086:2a42:17aa:20e4 rev 7, Mem @ 0xf2000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
[  9791.403] (--) PCI: (0:0:2:1) 8086:2a43:17aa:20e4 rev 7, Mem @ 0xf2400000/1048576
[  9791.403] (II) Open ACPI successful (/var/run/acpid.socket)
[  9791.404] Initializing built-in extension Generic Event Extension
[  9791.405] Initializing built-in extension SHAPE
[  9791.406] Initializing built-in extension MIT-SHM
[  9791.406] Initializing built-in extension XInputExtension
[  9791.407] Initializing built-in extension XTEST
[  9791.408] Initializing built-in extension BIG-REQUESTS
[  9791.408] Initializing built-in extension SYNC
[  9791.409] Initializing built-in extension XKEYBOARD
[  9791.410] Initializing built-in extension XC-MISC
[  9791.411] Initializing built-in extension XINERAMA
[  9791.411] Initializing built-in extension XFIXES
[  9791.412] Initializing built-in extension RENDER
[  9791.413] Initializing built-in extension RANDR
[  9791.413] Initializing built-in extension COMPOSITE
[  9791.414] Initializing built-in extension DAMAGE
[  9791.415] Initializing built-in extension MIT-SCREEN-SAVER
[  9791.416] Initializing built-in extension DOUBLE-BUFFER
[  9791.416] Initializing built-in extension RECORD
[  9791.417] Initializing built-in extension DPMS
[  9791.418] Initializing built-in extension X-Resource
[  9791.419] Initializing built-in extension XVideo
[  9791.419] Initializing built-in extension XVideo-MotionCompensation
[  9791.420] Initializing built-in extension XFree86-VidModeExtension
[  9791.421] Initializing built-in extension XFree86-DGA
[  9791.422] Initializing built-in extension XFree86-DRI
[  9791.422] Initializing built-in extension DRI2
[  9791.422] (II) LoadModule: "glx"
[  9791.422] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  9791.423] (II) Module glx: vendor="X.Org Foundation"
[  9791.423]    compiled for 1.13.1, module version = 1.0.0
[  9791.423]    ABI class: X.Org Server Extension, version 7.0
[  9791.423] (==) AIGLX enabled
[  9791.423] Loading extension GLX
[  9791.423] (==) Matched intel as autoconfigured driver 0
[  9791.423] (==) Matched intel as autoconfigured driver 1
[  9791.423] (==) Matched vesa as autoconfigured driver 2
[  9791.423] (==) Matched modesetting as autoconfigured driver 3
[  9791.423] (==) Matched fbdev as autoconfigured driver 4
[  9791.423] (==) Assigned the driver to the xf86ConfigLayout
[  9791.423] (II) LoadModule: "intel"
[  9791.423] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  9791.424] (II) Module intel: vendor="X.Org Foundation"
[  9791.424]    compiled for 1.13.1, module version = 2.20.13
[  9791.424]    Module class: X.Org Video Driver
[  9791.424]    ABI class: X.Org Video Driver, version 13.1
[  9791.424] (II) LoadModule: "vesa"
[  9791.424] (WW) Warning, couldn't open module vesa
[  9791.424] (II) UnloadModule: "vesa"
[  9791.424] (II) Unloading vesa
[  9791.424] (EE) Failed to load module "vesa" (module does not exist, 0)
[  9791.424] (II) LoadModule: "modesetting"
[  9791.424] (WW) Warning, couldn't open module modesetting
[  9791.424] (II) UnloadModule: "modesetting"
[  9791.424] (II) Unloading modesetting
[  9791.424] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  9791.424] (II) LoadModule: "fbdev"
[  9791.424] (WW) Warning, couldn't open module fbdev
[  9791.424] (II) UnloadModule: "fbdev"
[  9791.424] (II) Unloading fbdev
[  9791.424] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  9791.424] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
        Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
        Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
        Haswell Server (GT2+), Haswell SDV Desktop (GT1),
        Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
        Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
        Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
        Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
        Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
        Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
        Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
        Haswell ULT Server (GT1), Haswell ULT Server (GT2),
        Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
        Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
        Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
        Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
        Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
        ValleyView PO board
[  9791.425] (--) using VT number 7

[  9791.427] (II) intel(G0): using device path '/dev/dri/card0'
[  9791.427] (EE) No devices detected.
[  9791.427]
Fatal server error:
[  9791.427] no screens found
[  9791.427] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  9791.427] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  9791.427] (EE)


I will try compile xorg-server -udev then add xorg.conf
thanks for your kindness, may I have a look at your make.conf package.use and xorg.conf ?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Feb 20, 2013 8:26 am    Post subject: Reply with quote

do not rebuild xorg without udev support

X *will* use an xorg.conf if one is present, no matter if you compile with or without udev support - these should go in xorg.conf.d though nowadays (i think?)

my xorg.conf is the same on two systems where i do not use any udev at all, but both are I915 intel cards

nothing fancy in my make.conf
again, do not enable USE="-udev" - or most of these things for that matter. I am running mdev, hardened kernel + hardened profile

Code:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="mmx sse sse2 ssse3 X -udev -udisks -upower X qt3support -policykit -dbus -consolekit jpg jpeg png mp3 x264 infinality -cups nsplugin alsa opengl uxa i915 i965 gles g3dvl"
MAKEOPTS="-j4"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
VIDEO_CARDS="intel"
INPUT_DEVICES="keyboard mouse synaptics"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"


I have no custom package.use for anything x11-*

This xorg.conf should not be necessary for you, but this is mine:

Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option "AutoAddDevices" "false"
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  "dbe"
   Load  "glx"
   Load  "dri2"
   Load  "extmod"
   Load  "record"
   Load  "dri"
EndSection
Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection
Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mouse0"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection
Section "Device"
   Identifier  "Card0"
   Driver      "intel"
   BusID       "PCI:0:2: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


kernel config can come later if needed, but you already have the DRM settings correct for your intel card

hope that's useful

maybe try just rebuilding xf86-video-intel ?
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ceyes
n00b
n00b


Joined: 13 Aug 2011
Posts: 18
Location: China

PostPosted: Wed Feb 20, 2013 8:36 am    Post subject: Reply with quote

It works :)
the solution is: recompile xorg-server without udev and remove xorg.conf
Code:

#cat /etc/portage/package.use
x11-base/xorg-server -udev xorg
net-misc/curl curl_ssl_openssl
media-libs/mesa classic gbm
x11-libs/libdrm libkms
sys-devel/gcc -gtk
app-i18n/fcitx -qt4

#emerge --update --deep --newuse world
#emerge --depclean
#revdep-rebuild

#rm /etc/X11/xorg.conf
#reboot


a little question, since startx succeess without xorg.conf, then how can we adjust some xorg-server's config? or it no need to take care?
Back to top
View user's profile Send private message
ceyes
n00b
n00b


Joined: 13 Aug 2011
Posts: 18
Location: China

PostPosted: Wed Feb 20, 2013 9:27 am    Post subject: Reply with quote

cach0rr0 wrote:
do not rebuild xorg without udev support

X *will* use an xorg.conf if one is present, no matter if you compile with or without udev support - these should go in xorg.conf.d though nowadays (i think?)

my xorg.conf is the same on two systems where i do not use any udev at all, but both are I915 intel cards

nothing fancy in my make.conf
again, do not enable USE="-udev" - or most of these things for that matter. I am running mdev, hardened kernel + hardened profile

maybe try just rebuilding xf86-video-intel ?


er...I'm confused, how to explain above's magic worked solution
OK, I will try 'do not enable USE="-udev" ' and 'rebuilding xf86-video-intel'
Back to top
View user's profile Send private message
shdcn
n00b
n00b


Joined: 11 Feb 2013
Posts: 27
Location: Istanbul/Turkey

PostPosted: Wed Feb 20, 2013 9:40 am    Post subject: Reply with quote

ceyes,
I have a test environment which use udev and xorg.conf at the same time with vesa. Hope it gives you an idea.

/etc/X11/xorg.conf
http://bpaste.net/show/78483/

/etc/X11/xorg.conf.d/05-evdev.conf
http://bpaste.net/show/78484/
Back to top
View user's profile Send private message
jrh
n00b
n00b


Joined: 21 Feb 2013
Posts: 1

PostPosted: Thu Feb 21, 2013 7:00 am    Post subject: Reply with quote

I have arrived at a similar problem (No devices detected) after udev upgrade. Nothing suggested here (rebuilding xf86-video-intel with or without udev) helped. The problem was eventually resolved by adding
Code:

Section "ServerFlags"
         Option "AutoAddGPU" "off"
EndSection

to xorg.conf. I don't know if this is going to help you, but you may try.
Nor I have any idea if my problem is a result of my own error or some bug...
Back to top
View user's profile Send private message
ceyes
n00b
n00b


Joined: 13 Aug 2011
Posts: 18
Location: China

PostPosted: Tue Feb 26, 2013 6:33 am    Post subject: Reply with quote

jrh wrote:
I have arrived at a similar problem (No devices detected) after udev upgrade. Nothing suggested here (rebuilding xf86-video-intel with or without udev) helped. The problem was eventually resolved by adding
Code:

Section "ServerFlags"
         Option "AutoAddGPU" "off"
EndSection

to xorg.conf. I don't know if this is going to help you, but you may try.
Nor I have any idea if my problem is a result of my own error or some bug...


Thanks for your info, but no luck, that does not work for me.
Now my only walk around is rebuild xorg-server with "-udev" and remove xorg.conf file.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 262

PostPosted: Sat Jan 25, 2014 11:37 pm    Post subject: Reply with quote

jrh wrote:
I have arrived at a similar problem (No devices detected) after udev upgrade. Nothing suggested here (rebuilding xf86-video-intel with or without udev) helped. The problem was eventually resolved by adding
Code:

Section "ServerFlags"
         Option "AutoAddGPU" "off"
EndSection

to xorg.conf. I don't know if this is going to help you, but you may try.
Nor I have any idea if my problem is a result of my own error or some bug...


Thanks for the tip, I was trapped in that problem too for one month in one of the computers at work. It was very frustating because the lack of errors. By the way, it have only happens with sandy bridge hardware but not with previous gpus.
Back to top
View user's profile Send private message
nix213
n00b
n00b


Joined: 08 Feb 2013
Posts: 23
Location: Illinois

PostPosted: Sun Jan 26, 2014 12:11 pm    Post subject: Reply with quote

Regarding your original post, three lines in the Xorg log file are really relevant to why you can't startx:

Quote:
[ 1891.766] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 1891.766] (EE) Screen 0 deleted because of no matching config section.
[ 1891.766] (EE) Device(s) detected, but none match those in the config file.


I'm guessing here the first line triggers the second two. I don't know much about using multiple video cards, so beyond that idk :?

edit: you may want to check if your kernel is configured with "VGA Arbitration" (CONFIG_VGA_ARB)
_________________
"Wherever you go, go with all your heart." -Confucius
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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