Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Xorg won't start with intel video card
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
quasar
n00b
n00b


Joined: 11 Mar 2006
Posts: 31

PostPosted: Sat Mar 16, 2013 7:03 pm    Post subject: [Solved] Xorg won't start with intel video card Reply with quote

I just installed gentoo for on a new motherboard. The motherboard has an onboard intel graphics driver.

lspci -nn
Code:

00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)


I followed the insturctions on http://en.gentoo-wiki.com/wiki/Intel_GMA, I am using a genkernel so there is not much to do except
Code:

VIDEO_CARDS="intel"


when I run X as root
Code:

X -logverbose 6

It won't start and won't give me any useful information
Code:

[    59.831]
X.Org X Server 1.14.0
Release Date: 2013-03-05
[    59.832] X Protocol Version 11, Revision 0
[    59.832] Build Operating System: Linux 3.7.10-gentoo x86_64 Gentoo
[    59.832] Current Operating System: Linux freevo 3.7.10-gentoo #1 SMP Fri Mar 15 21:41:18 EDT 2013 x86_64
[    59.832] Kernel command line: real_root=/dev/sda1
[    59.832] Build Date: 16 March 2013  11:31:27AM
[    59.832] 
[    59.832] Current version of pixman: 0.29.2
[    59.832]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    59.832] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    59.832] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 16 14:51:12 2013
[    59.839] (==) Using config file: "/etc/X11/xorg.conf"
[    59.839] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    59.839] (==) No Layout section.  Using the first Screen section.
[    59.839] (==) No screen section available. Using defaults.
[    59.839] (**) |-->Screen "Default Screen Section" (0)
[    59.839] (**) |   |-->Monitor "<default monitor>"
[    59.841] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    59.841] (**) |   |-->Device "Card0"
[    59.841] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    59.841] (**) Option "AutoAddGPU" "off"
[    59.841] (==) Automatically adding devices
[    59.841] (==) Automatically enabling devices
[    59.841] (**) Not automatically adding GPU devices
[    59.850] (==) 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/
[    59.850] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    59.850] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    59.851] (II) Loader magic: 0x837c00
[    59.851] (II) Module ABI versions:
[    59.851]    X.Org ANSI C Emulation: 0.4
[    59.851]    X.Org Video Driver: 14.1
[    59.851]    X.Org XInput driver : 19.1
[    59.851]    X.Org Server Extension : 7.0
[    59.851] (--) PCI:*(0:0:2:0) 8086:0152:1458:d000 rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[    59.852] Initializing built-in extension Generic Event Extension
[    59.852] Initializing built-in extension SHAPE
[    59.852] Initializing built-in extension MIT-SHM
[    59.852] Initializing built-in extension XInputExtension
[    59.852] Initializing built-in extension XTEST
[    59.852] Initializing built-in extension BIG-REQUESTS
[    59.852] Initializing built-in extension SYNC
[    59.852] Initializing built-in extension XKEYBOARD
[    59.852] Initializing built-in extension XC-MISC
[    59.852] Initializing built-in extension XINERAMA
[    59.852] Initializing built-in extension XFIXES
[    59.852] Initializing built-in extension RENDER
[    59.853] Initializing built-in extension RANDR
[    59.853] Initializing built-in extension COMPOSITE
[    59.853] Initializing built-in extension DAMAGE
[    59.853] Initializing built-in extension MIT-SCREEN-SAVER
[    59.853] Initializing built-in extension DOUBLE-BUFFER
[    59.853] Initializing built-in extension RECORD
[    59.853] Initializing built-in extension DPMS
[    59.853] Initializing built-in extension X-Resource
[    59.853] Initializing built-in extension XVideo
[    59.853] Initializing built-in extension XVideo-MotionCompensation
[    59.853] Initializing built-in extension XFree86-VidModeExtension
[    59.853] Initializing built-in extension XFree86-DGA
[    59.853] Initializing built-in extension XFree86-DRI
[    59.853] Initializing built-in extension DRI2
[    59.853] (II) LoadModule: "glx"
[    59.855] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    59.859] (II) Module glx: vendor="X.Org Foundation"
[    59.859]    compiled for 1.14.0, module version = 1.0.0
[    59.859]    ABI class: X.Org Server Extension, version 7.0
[    59.859] (==) AIGLX enabled
[    59.859] Loading extension GLX
[    59.859] (II) LoadModule: "intel"
[    59.859] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    59.863] (II) Module intel: vendor="X.Org Foundation"
[    59.863]    compiled for 1.14.0, module version = 2.21.4
[    59.863]    Module class: X.Org Video Driver
[    59.863]    ABI class: X.Org Video Driver, version 14.1
[    59.863] (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
[    59.864] (--) using VT number 7

[    59.885] (EE) No devices detected.
[    59.885]
Fatal server error:
[    59.885] no screens found
[    59.885] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    59.885] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    59.885] (EE)



my problem seams similar to this guy https://forums.gentoo.org/viewtopic-t-949840-highlight-intel+i915.html That thread ends with somone asking if there are file in /dev.

I do not have an entry for /dev/dri


Last edited by quasar on Sun Mar 17, 2013 3:18 am; edited 1 time in total
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Sat Mar 16, 2013 10:12 pm    Post subject: Reply with quote

Try adding this to your /etc/X11/xorg.conf

Code:
Section "Device"
   Identifier   "My Graphics Card"
   Driver       "intel"
   ...
EndSection


per http://wiki.gentoo.org/wiki/Xorg.conf#Device
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
quasar
n00b
n00b


Joined: 11 Mar 2006
Posts: 31

PostPosted: Sun Mar 17, 2013 12:03 am    Post subject: Reply with quote

aim nano wrote:
Try adding this to your /etc/X11/xorg.conf

Code:
Section "Device"
   Identifier   "My Graphics Card"
   Driver       "intel"
   ...
EndSection


per http://wiki.gentoo.org/wiki/Xorg.conf#Device


Yes, I tried that it did not help
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Sun Mar 17, 2013 12:09 am    Post subject: Reply with quote

I don't know much about genkernel, but maybe you can re-do what you've done using the more up-to-date intel guide:

http://wiki.gentoo.org/wiki/Intel
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Mar 17, 2013 2:01 am    Post subject: Reply with quote

quasar,

Ty VIDEO_CARDS="i915 intel" and emerge -uvDN @world
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
lilgamesh
n00b
n00b


Joined: 13 Mar 2013
Posts: 9

PostPosted: Sun Mar 17, 2013 3:03 am    Post subject: Reply with quote

Make sure you enabled your graphics drivers in Kernel configuratio.

add
VIDEO_CARDS="intel" in /etc/portage/make.conf

emerge x11-drivers/xf86-video-intel.
Back to top
View user's profile Send private message
quasar
n00b
n00b


Joined: 11 Mar 2006
Posts: 31

PostPosted: Sun Mar 17, 2013 2:08 pm    Post subject: Reply with quote

The problem was that I thought adding kernel option i915.modeset=1 was equivalent to CONFIG_DRM_I915_KMS=y. They are not. You need to set CONFIG_DRM_I915_KMS=y or it will not work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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