linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Xorg intel server not finding the graphics device
@ 2011-11-28 22:15 Alan Stern
  2011-12-05 19:30 ` Jesse Barnes
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Stern @ 2011-11-28 22:15 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-pci

Jesse:

After an upgrade to Fedora-16, my Xorg server has a problem.  It no 
longer binds to the intel driver to the 865G graphics chip.

Here's the relevant portion of the Xorg log:

--------------------------------------------------------------------
X.Org X Server 1.11.2
Release Date: 2011-11-04
...
[   672.192] (--) PCI:*(0:0:2:0) 8086:2572:14a4:2181 rev 2, Mem @ 0xf0000000/134217728, 0xfe780000/524288, I/O @ 0x0000ec00/8, BIOS @ 0x????????/131072
...
[   672.331] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   672.426] (II) Module intel: vendor="X.Org Foundation"
[   672.426] 	compiled for 1.11.2, module version = 2.17.0
[   672.426] 	Module class: X.Org Video Driver
[   672.426] 	ABI class: X.Org Video Driver, version 11.0
[   672.426] (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
[   672.426] (--) using VT number 7

[   672.444] (EE) No devices detected.
[   672.444] 
Fatal server error:
[   672.444] no screens found
--------------------------------------------------------------------

Here's the equivalent part of the log from before I upgraded:

--------------------------------------------------------------------
X.Org X Server 1.9.5
Release Date: 2011-03-17
...
[    80.575] (--) PCI:*(0:0:2:0) 8086:2572:14a4:2181 rev 2, Mem @ 0xf0000000/134217728, 0xfe780000/524288, I/O @ 0x0000ec00/8, BIOS @ 0x????????/131072
...
[    81.003] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 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, Clarkdale, Arrandale
[    81.004] (--) using VT number 7

[    81.014] drmOpenDevice: node name is /dev/dri/card0
[    81.014] drmOpenDevice: open result is 9, (OK)
[    81.014] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    81.014] drmOpenDevice: node name is /dev/dri/card0
[    81.014] drmOpenDevice: open result is 9, (OK)
[    81.014] drmOpenByBusid: drmOpenMinor returns 9
[    81.014] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[    81.014] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    81.014] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    81.014] (==) intel(0): RGB weight 888
[    81.014] (==) intel(0): Default visual is TrueColor
[    81.050] (II) intel(0): Integrated Graphics Chipset: Intel(R) 865G
[    81.050] (--) intel(0): Chipset: "865G"
--------------------------------------------------------------------

In both cases, the dri and dri2 extensions were loaded correctly.

Here's the part of the boot-up log showing the graphics detection:

[    1.304112] Linux agpgart interface v0.103
[    1.304405] agpgart-intel 0000:00:00.0: Intel 865 Chipset
[    1.304581] agpgart-intel 0000:00:00.0: detected gtt size: 131072K total, 131072K mappable
[    1.304960] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
[    1.305364] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xf0000000

The /dev/dri directory does exist:

$ ls -l /dev/dri
total 0
crw-rw----+ 1 root video 226, 0 Nov 28 16:12 card0

There is no controlD64 file; I noticed that it is present in the Fedora
graphical installation environment (which _does_ work).  Is it
important?  If it is, what driver creates that file?  Or is some udev
rule messed up?

The Xorg configuration is slightly different from what it was before, 
but not much.  Here is the relevant section (which hasn't changed):

Section "Device"
	Identifier  "card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BusID       "PCI:0:2:0"
	Option      "NoAccel" "yes"
	Option      "BackingStore"      "on"
EndSection

Do you have any idea what's going wrong and how I can fix it?  Life 
without a GUI is rather inconvenient.  :-(

Thanks,

Alan Stern


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xorg intel server not finding the graphics device
  2011-11-28 22:15 Xorg intel server not finding the graphics device Alan Stern
@ 2011-12-05 19:30 ` Jesse Barnes
  2011-12-05 20:33   ` Alan Stern
  0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2011-12-05 19:30 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-pci

[-- Attachment #1: Type: text/plain, Size: 5020 bytes --]

Hm, afaik the 865G should still work, maybe Fedora blacklisted the
kernel support for it in newer bits?  If so, you'll need to use the
vesa driver instead of the intel driver...

Jesse

On Mon, 28 Nov 2011 17:15:37 -0500 (EST)
Alan Stern <stern@rowland.harvard.edu> wrote:

> Jesse:
> 
> After an upgrade to Fedora-16, my Xorg server has a problem.  It no 
> longer binds to the intel driver to the 865G graphics chip.
> 
> Here's the relevant portion of the Xorg log:
> 
> --------------------------------------------------------------------
> X.Org X Server 1.11.2
> Release Date: 2011-11-04
> ...
> [   672.192] (--) PCI:*(0:0:2:0) 8086:2572:14a4:2181 rev 2, Mem @ 0xf0000000/134217728, 0xfe780000/524288, I/O @ 0x0000ec00/8, BIOS @ 0x????????/131072
> ...
> [   672.331] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
> [   672.426] (II) Module intel: vendor="X.Org Foundation"
> [   672.426] 	compiled for 1.11.2, module version = 2.17.0
> [   672.426] 	Module class: X.Org Video Driver
> [   672.426] 	ABI class: X.Org Video Driver, version 11.0
> [   672.426] (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
> [   672.426] (--) using VT number 7
> 
> [   672.444] (EE) No devices detected.
> [   672.444] 
> Fatal server error:
> [   672.444] no screens found
> --------------------------------------------------------------------
> 
> Here's the equivalent part of the log from before I upgraded:
> 
> --------------------------------------------------------------------
> X.Org X Server 1.9.5
> Release Date: 2011-03-17
> ...
> [    80.575] (--) PCI:*(0:0:2:0) 8086:2572:14a4:2181 rev 2, Mem @ 0xf0000000/134217728, 0xfe780000/524288, I/O @ 0x0000ec00/8, BIOS @ 0x????????/131072
> ...
> [    81.003] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
> 	i810-dc100, i810e, i815, i830M, 845G, 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, Clarkdale, Arrandale
> [    81.004] (--) using VT number 7
> 
> [    81.014] drmOpenDevice: node name is /dev/dri/card0
> [    81.014] drmOpenDevice: open result is 9, (OK)
> [    81.014] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
> [    81.014] drmOpenDevice: node name is /dev/dri/card0
> [    81.014] drmOpenDevice: open result is 9, (OK)
> [    81.014] drmOpenByBusid: drmOpenMinor returns 9
> [    81.014] drmOpenByBusid: Interface 1.4 failed, trying 1.1
> [    81.014] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
> [    81.014] (==) intel(0): Depth 24, (--) framebuffer bpp 32
> [    81.014] (==) intel(0): RGB weight 888
> [    81.014] (==) intel(0): Default visual is TrueColor
> [    81.050] (II) intel(0): Integrated Graphics Chipset: Intel(R) 865G
> [    81.050] (--) intel(0): Chipset: "865G"
> --------------------------------------------------------------------
> 
> In both cases, the dri and dri2 extensions were loaded correctly.
> 
> Here's the part of the boot-up log showing the graphics detection:
> 
> [    1.304112] Linux agpgart interface v0.103
> [    1.304405] agpgart-intel 0000:00:00.0: Intel 865 Chipset
> [    1.304581] agpgart-intel 0000:00:00.0: detected gtt size: 131072K total, 131072K mappable
> [    1.304960] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
> [    1.305364] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xf0000000
> 
> The /dev/dri directory does exist:
> 
> $ ls -l /dev/dri
> total 0
> crw-rw----+ 1 root video 226, 0 Nov 28 16:12 card0
> 
> There is no controlD64 file; I noticed that it is present in the Fedora
> graphical installation environment (which _does_ work).  Is it
> important?  If it is, what driver creates that file?  Or is some udev
> rule messed up?
> 
> The Xorg configuration is slightly different from what it was before, 
> but not much.  Here is the relevant section (which hasn't changed):
> 
> Section "Device"
> 	Identifier  "card0"
> 	Driver      "intel"
> 	VendorName  "Intel Corporation"
> 	BusID       "PCI:0:2:0"
> 	Option      "NoAccel" "yes"
> 	Option      "BackingStore"      "on"
> EndSection
> 
> Do you have any idea what's going wrong and how I can fix it?  Life 
> without a GUI is rather inconvenient.  :-(
> 
> Thanks,
> 
> Alan Stern
> 
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xorg intel server not finding the graphics device
  2011-12-05 19:30 ` Jesse Barnes
@ 2011-12-05 20:33   ` Alan Stern
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Stern @ 2011-12-05 20:33 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-pci

On Mon, 5 Dec 2011, Jesse Barnes wrote:

> Hm, afaik the 865G should still work, maybe Fedora blacklisted the
> kernel support for it in newer bits?  If so, you'll need to use the
> vesa driver instead of the intel driver...

Never mind, I found the problem.  For some reason the Fedora installer 
added "nomodeset" to GRUB's kernel command line, and that prevented the 
intel driver from registering with the DRM infrastructure.  I changed 
it to "video=VGA-1:640x480" and now X is working.

Alan Stern


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-05 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 22:15 Xorg intel server not finding the graphics device Alan Stern
2011-12-05 19:30 ` Jesse Barnes
2011-12-05 20:33   ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).