Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 21:54:58 -0500
From:      Andrew Lankford <lankfordandrew@charter.net>
To:        freebsd-x11@freebsd.org
Subject:   Trying to get intel driver to work with Xorg on stable10-amd64, GM965 chipset
Message-ID:  <52FC3402.6050309@charter.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030404070005050209060004
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I have a Dell vostro 1400 laptop (~2008ish).  Prior to building Xorg
with KMS NEW_XORG options, DRI on my intel chipset worked so-so.  After
an upgrade or two with the new options, the intel driver somehow worked
without the DRI/DRM/etc.  Now after a fresh build, Xorg doesn't use the
intel driver at all.  I can only get the vesa driver to give me
1024x768x24.  A test of the intel driver, Xorg config info, and lots of
debugging info is attached.

It would be nice to Xorg fully working again, but I'm not sure what to
make of the error messages and not sure what to try next.

Any hints?

thx

Andrew Lankford

--------------030404070005050209060004
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
 name="Xout.intel"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Xout.intel"

# uname -a

FreeBSD bogushost3 10.0-STABLE FreeBSD 10.0-STABLE #5 r261503: Tue Feb  4 23:30:07 EST 2014     root@bogushost3:/usr/local/obj/usr/local/src/sys/ARLSTABLE10  amd64

# cat /etc/make.conf

#
CPUTYPE?=core2
MTREE_FOLLOWS_SYMLINKS= -L
PORTSDIR=/usr/local/ports
WITH_NEW_XORG=yes
WITH_KMS=yes

# kldstat

Id Refs Address            Size     Name
 1   83 0xffffffff80200000 a5cd00   kernel
 2    1 0xffffffff80c5d000 8d48     ataintel.ko
 3    2 0xffffffff80c66000 78e8     ataahci.ko
 4    3 0xffffffff80c6e000 b170     atapci.ko
 5    4 0xffffffff80c7a000 c830     ata.ko
 6    1 0xffffffff80c87000 20400    firewire.ko
 7    1 0xffffffff80ca8000 10c60    if_wpi.ko
 8    6 0xffffffff80cb9000 65a20    wlan.ko
 9    1 0xffffffff80d1f000 2d10     coretemp.ko
10    1 0xffffffff80d22000 16e8     geom_vol_ffs.ko
11    1 0xffffffff80d24000 7620     geom_part_ldm.ko
12    1 0xffffffff80d2c000 ac440    i915kms.ko
13    2 0xffffffff80dd9000 4330     iicbb.ko
14    5 0xffffffff80dde000 47e0     iicbus.ko
15    2 0xffffffff80de3000 32a8     iic.ko
16    2 0xffffffff80de7000 6db60    drm2.ko
17    1 0xffffffff80e55000 d5e8     i915.ko
18    2 0xffffffff80e63000 256d8    drm.ko
19    1 0xffffffff80e89000 1180     msdosfs_iconv.ko
20    2 0xffffffff80e8b000 8708     libiconv.ko
21    1 0xffffffff80e94000 d440     tmpfs.ko
22    1 0xffffffff80ea2000 2f80     smb.ko
23    2 0xffffffff80ea5000 1fe0     smbus.ko
24    1 0xffffffff80ea7000 25830    wpifw.ko
25    1 0xffffffff80ecd000 1f80     wlan_amrr.ko
26    1 0xffffffff80ecf000 2530     wlan_wep.ko
27    1 0xffffffff80ed2000 7740     wlan_ccmp.ko
28    1 0xffffffff80eda000 3b60     wlan_tkip.ko
29    1 0xffffffff80ede000 37e0     cpuctl.ko

# sysctl hw.dri.0.debug=8

hw.dri.0.debug: 0 -> 8

# Xorg -config /usr/local/etc/X11/xorg.conf -logverbose 9 -logfile /root/Xgripe.txt

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 10.0-PRERELEASE amd64 
Current Operating System: FreeBSD bogushost3 10.0-STABLE FreeBSD 10.0-STABLE #5 r261503: Tue Feb  4 23:30:07 EST 2014     root@bogushost3:/usr/local/obj/usr/local/src/sys/ARLSTABLE10 amd64
Build Date: 25 December 2013  08:22:07PM
 
Current version of pixman: 0.32.4
	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: "/root/Xgripe.txt", Time: Wed Feb 12 21:34:48 2014
(++) Using config file: "/usr/local/etc/X11/xorg.conf"

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/root/Xgripe.txt" for additional information.

Server terminated with error (1). Closing log file.

# cat /root/Xgripe.txt

[    39.939] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[    39.940] X Protocol Version 11, Revision 0
[    39.940] Build Operating System: FreeBSD 10.0-PRERELEASE amd64 
[    39.941] Current Operating System: FreeBSD bogushost3 10.0-STABLE FreeBSD 10.0-STABLE #5 r261503: Tue Feb  4 23:30:07 EST 2014     root@bogushost3:/usr/local/obj/usr/local/src/sys/ARLSTABLE10 amd64
[    39.947] Build Date: 25 December 2013  08:22:07PM
[    39.947]  
[    39.947] Current version of pixman: 0.32.4
[    39.947] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    39.948] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    39.949] (++) Log file: "/root/Xgripe.txt", Time: Wed Feb 12 21:34:48 2014
[    39.998] (++) Using config file: "/usr/local/etc/X11/xorg.conf"
[    40.006] (==) ServerLayout "No BS X.org"
[    40.006] (**) |-->Screen "Screen0" (0)
[    40.007] (**) |   |-->Monitor "Monitor0"
[    40.010] (**) |   |-->Device "Card0"
[    40.011] (**) |-->Input Device "Mouse0"
[    40.011] (**) |-->Input Device "Keyboard0"
[    40.011] (==) Not automatically adding devices
[    40.011] (==) Not automatically enabling devices
[    40.058] (WW) The directory "/usr/local/lib/X11/fonts/misc/" does not exist.
[    40.058] 	Entry deleted from font path.
[    40.086] (WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
[    40.086] 	Entry deleted from font path.
[    40.087] (WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
[    40.087] 	Entry deleted from font path.
[    40.087] (WW) The directory "/usr/local/lib/X11/fonts/75dpi/" does not exist.
[    40.088] 	Entry deleted from font path.
[    40.088] (==) FontPath set to:
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF/
[    40.088] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    40.088] (II) Loader magic: 0x7b44d0
[    40.089] (II) Module ABI versions:
[    40.089] 	X.Org ANSI C Emulation: 0.4
[    40.089] 	X.Org Video Driver: 12.1
[    40.089] 	X.Org XInput driver : 16.0
[    40.089] 	X.Org Server Extension : 6.0
[    40.093] (--) PCI:*(0:0:2:0) 8086:2a02:1028:0227 rev 12, Mem @ 0xfea00000/1048576, 0xe0000000/268435456, I/O @ 0x0000eff0/8, BIOS @ 0x????????/65536
[    40.094] (--) PCI: (0:0:2:1) 8086:2a03:1028:0227 rev 12, Mem @ 0xfeb00000/1048576
[    40.094] (II) "extmod" will be loaded by default.
[    40.094] (II) "dbe" will be loaded by default.
[    40.095] (II) "glx" will be loaded by default.
[    40.095] (II) "record" will be loaded by default.
[    40.095] (II) "dri" will be loaded by default.
[    40.095] (II) "dri2" will be loaded by default.
[    40.095] (II) LoadModule: "extmod"
[    40.125] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
[    40.143] (II) Module extmod: vendor="X.Org Foundation"
[    40.143] 	compiled for 1.12.4, module version = 1.0.0
[    40.144] 	Module class: X.Org Server Extension
[    40.144] 	ABI class: X.Org Server Extension, version 6.0
[    40.144] (II) Loading extension MIT-SCREEN-SAVER
[    40.144] (II) Loading extension XFree86-VidModeExtension
[    40.145] (II) Loading extension XFree86-DGA
[    40.145] (II) Loading extension DPMS
[    40.145] (II) Loading extension XVideo
[    40.146] (II) Loading extension XVideo-MotionCompensation
[    40.146] (II) Loading extension X-Resource
[    40.146] (II) LoadModule: "dbe"
[    40.149] (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
[    40.152] (II) Module dbe: vendor="X.Org Foundation"
[    40.152] 	compiled for 1.12.4, module version = 1.0.0
[    40.153] 	Module class: X.Org Server Extension
[    40.153] 	ABI class: X.Org Server Extension, version 6.0
[    40.153] (II) Loading extension DOUBLE-BUFFER
[    40.153] (II) LoadModule: "glx"
[    40.158] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    40.194] (II) Module glx: vendor="X.Org Foundation"
[    40.194] 	compiled for 1.12.4, module version = 1.0.0
[    40.195] 	ABI class: X.Org Server Extension, version 6.0
[    40.195] (==) AIGLX enabled
[    40.197] (II) Loading extension GLX
[    40.197] (II) LoadModule: "record"
[    40.201] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
[    40.204] (II) Module record: vendor="X.Org Foundation"
[    40.204] 	compiled for 1.12.4, module version = 1.13.0
[    40.205] 	Module class: X.Org Server Extension
[    40.205] 	ABI class: X.Org Server Extension, version 6.0
[    40.205] (II) Loading extension RECORD
[    40.205] (II) LoadModule: "dri"
[    40.208] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
[    40.245] (II) Module dri: vendor="X.Org Foundation"
[    40.245] 	compiled for 1.12.4, module version = 1.0.0
[    40.245] 	ABI class: X.Org Server Extension, version 6.0
[    40.246] (II) Loading extension XFree86-DRI
[    40.246] (II) LoadModule: "dri2"
[    40.249] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[    40.252] (II) Module dri2: vendor="X.Org Foundation"
[    40.252] 	compiled for 1.12.4, module version = 1.2.0
[    40.252] 	ABI class: X.Org Server Extension, version 6.0
[    40.252] (II) Loading extension DRI2
[    40.253] (II) LoadModule: "intel"
[    40.344] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    40.428] (II) Module intel: vendor="X.Org Foundation"
[    40.428] 	compiled for 1.12.4, module version = 2.21.15
[    40.429] 	Module class: X.Org Video Driver
[    40.429] 	ABI class: X.Org Video Driver, version 12.1
[    40.429] (II) LoadModule: "mouse"
[    40.440] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    40.478] (II) Module mouse: vendor="X.Org Foundation"
[    40.478] 	compiled for 1.12.4, module version = 1.9.0
[    40.479] 	Module class: X.Org XInput Driver
[    40.479] 	ABI class: X.Org XInput driver, version 16.0
[    40.479] (II) LoadModule: "kbd"
[    40.491] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[    40.494] (II) Module kbd: vendor="X.Org Foundation"
[    40.494] 	compiled for 1.12.4, module version = 1.8.0
[    40.495] 	Module class: X.Org XInput Driver
[    40.495] 	ABI class: X.Org XInput driver, version 16.0
[    40.495] (II) intel: Driver for Intel(R) 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, HD Graphics,
	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[    40.506] (--) Using syscons driver with X support (version 2.0)
[    40.506] (--) using VT number 4

[    40.599] drmOpenDevice: node name is /dev/dri/card0
[    40.604] drmOpenDevice: open result is 10, (OK)
[    40.608] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    40.608] drmOpenDevice: node name is /dev/dri/card0
[    40.612] drmOpenDevice: open result is 10, (OK)
[    40.612] drmOpenByBusid: drmOpenMinor returns 10
[    40.613] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[    40.616] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    40.620] (EE) No devices detected.
[    40.620] 
Fatal server error:
[    40.621] no screens found
[    40.621] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    40.621] Please also check the log file at "/root/Xgripe.txt" for additional information.
[    40.621] 
[    40.654] Server terminated with error (1). Closing log file.

# pciconf -lvb

hostb0@pci0:0:0:0:	class=0x060000 card=0x02271028 chip=0x2a008086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile PM965/GM965/GL960 Memory Controller Hub'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:	class=0x030000 card=0x02271028 chip=0x2a028086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile GM965/GL960 Integrated Graphics Controller (primary)'
    class      = display
    subclass   = VGA
    bar   [10] = type Memory, range 64, base 0xfea00000, size 1048576, enabled
    bar   [18] = type Prefetchable Memory, range 64, base 0xe0000000, size 268435456, enabled
    bar   [20] = type I/O Port, range 32, base 0xeff8, size 8, enabled
vgapci1@pci0:0:2:1:	class=0x038000 card=0x02271028 chip=0x2a038086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile GM965/GL960 Integrated Graphics Controller (secondary)'
    class      = display
    bar   [10] = type Memory, range 64, base 0xfeb00000, size 1048576, enabled
uhci0@pci0:0:26:0:	class=0x0c0300 card=0x02271028 chip=0x28348086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x6f20, size 32, enabled
uhci1@pci0:0:26:1:	class=0x0c0300 card=0x02271028 chip=0x28358086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x6f00, size 32, enabled
ehci0@pci0:0:26:7:	class=0x0c0320 card=0x02271028 chip=0x283a8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xfed1c400, size 1024, enabled
hdac0@pci0:0:27:0:	class=0x040300 card=0x02271028 chip=0x284b8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) HD Audio Controller'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 64, base 0xfe9fc000, size 16384, enabled
pcib1@pci0:0:28:0:	class=0x060400 card=0x02271028 chip=0x283f8086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:	class=0x060400 card=0x02271028 chip=0x28418086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCI Express Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:3:	class=0x060400 card=0x02271028 chip=0x28458086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCI Express Port 4'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:5:	class=0x060400 card=0x02271028 chip=0x28498086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCI Express Port 6'
    class      = bridge
    subclass   = PCI-PCI
uhci2@pci0:0:29:0:	class=0x0c0300 card=0x02271028 chip=0x28308086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x6f80, size 32, enabled
uhci3@pci0:0:29:1:	class=0x0c0300 card=0x02271028 chip=0x28318086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x6f60, size 32, enabled
uhci4@pci0:0:29:2:	class=0x0c0300 card=0x02271028 chip=0x28328086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x6f40, size 32, enabled
ehci1@pci0:0:29:7:	class=0x0c0320 card=0x02271028 chip=0x28368086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xfed1c000, size 1024, enabled
pcib5@pci0:0:30:0:	class=0x060401 card=0x02271028 chip=0x24488086 rev=0xf2 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Mobile PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:	class=0x060100 card=0x02271028 chip=0x28158086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801HM (ICH8M) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:	class=0x01018a card=0x02271028 chip=0x28508086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801HM/HEM (ICH8M/ICH8M-E) IDE Controller'
    class      = mass storage
    subclass   = ATA
    bar   [20] = type I/O Port, range 32, base 0x6fa0, size 16, enabled
ahci0@pci0:0:31:2:	class=0x010601 card=0x02271028 chip=0x28298086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]'
    class      = mass storage
    subclass   = SATA
    bar   [10] = type I/O Port, range 32, base 0x6eb0, size 8, enabled
    bar   [14] = type I/O Port, range 32, base 0x6eb8, size 4, enabled
    bar   [18] = type I/O Port, range 32, base 0x6ec0, size 8, enabled
    bar   [1c] = type I/O Port, range 32, base 0x6ec8, size 4, enabled
    bar   [20] = type I/O Port, range 32, base 0x6ee0, size 32, enabled
    bar   [24] = type Memory, range 32, base 0xfe9fb800, size 2048, enabled
none0@pci0:0:31:3:	class=0x0c0500 card=0x02271028 chip=0x283e8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
    bar   [10] = type Memory, range 32, base 0xfe9fb700, size 256, enabled
    bar   [20] = type I/O Port, range 32, base 0x10c0, size 32, enabled
wpi0@pci0:12:0:0:	class=0x028000 card=0x10208086 chip=0x42228086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/Wireless 3945ABG [Golan] Network Connection'
    class      = network
    bar   [10] = type Memory, range 32, base 0xfe8ff000, size 4096, enabled
bge0@pci0:9:0:0:	class=0x020000 card=0x02271028 chip=0x171314e4 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'NetLink BCM5906M Fast Ethernet PCI Express'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 64, base 0xfe5f0000, size 65536, enabled
fwohci0@pci0:3:1:0:	class=0x0c0010 card=0x02271028 chip=0x08321180 rev=0x05 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C832 IEEE 1394 Controller'
    class      = serial bus
    subclass   = FireWire
    bar   [10] = type Memory, range 32, base 0xfe4ff800, size 2048, enabled
sdhci_pci0@pci0:3:1:1:	class=0x080501 card=0x02271028 chip=0x08221180 rev=0x22 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter'
    class      = base peripheral
    subclass   = SD host controller
    bar   [10] = type Memory, range 32, base 0xfe4ff400, size 256, enabled
none1@pci0:3:1:2:	class=0x088000 card=0x02271028 chip=0x08431180 rev=0x12 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C843 MMC Host Controller'
    class      = base peripheral
    bar   [10] = type Memory, range 32, base 0xfe4ff500, size 256, enabled
none2@pci0:3:1:3:	class=0x088000 card=0x02271028 chip=0x05921180 rev=0x12 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C592 Memory Stick Bus Host Adapter'
    class      = base peripheral
    bar   [10] = type Memory, range 32, base 0xfe4ff600, size 256, enabled
none3@pci0:3:1:4:	class=0x088000 card=0x02271028 chip=0x08521180 rev=0x12 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'xD-Picture Card Controller'
    class      = base peripheral
    bar   [10] = type Memory, range 32, base 0xfe4ff700, size 256, enabled

# cat /usr/local/etc/X11/xorg.conf

Section "ServerLayout"
	Identifier     "No BS X.org"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	#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     "DRI"                "True"	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "Shadow"             	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "RelaxedFencing"     	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     24
		#Modes	  "1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		#Modes	  "1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

# sysctl hw.dri.0
hw.dri.0.name: i915 0x24
hw.dri.0.vm: 
slot offset	        size       type flags address            handle mtrr
   0 0x00000000fea00000 0x00100000  REG  0x88 0xfffff800fea00000      1 no

hw.dri.0.clients: 
a dev            pid   uid      magic     ioctls

hw.dri.0.vblank: 
crtc ref count    last     enabled inmodeset
  00  00 00000000 00000000 00      00
  01  00 00000000 00000000 00      00
hw.dri.0.debug: 8

# dmesg -a | grep drm

info: [drm] Initialized drm 1.1.0 20060810
drm0: <Intel i965GM> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized i915 1.6.0 20080730
drmn0: <Intel i965GM> on vgapci0
device_attach: drmn0 attach returned 2
[drm:pid1344:drm_open] open_count = 0
[drm:pid1344:drm_open_helper] pid = 1344, device = dri/card0
[drm:pid1344:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid1344:drm_addmap] 8192 13 0xfffffe0000eee000
[drm:pid1344:drm_addmap] Added map 2 0xfffffe0000eee000/0x2000
[drm:pid1344:drm_firstopen] 
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0406400, nr=0x00, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0406400, nr=0x00, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_close] open_count = 1
[drm:pid1344:drm_close] pid = 1344, device = 0xfffff80001623e00, open_count = 1
[drm:pid1344:drm_lastclose] 
[drm:pid1344:drm_open] open_count = 0
[drm:pid1344:drm_open_helper] pid = 1344, device = dri/card0
[drm:pid1344:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid1344:drm_addmap] 8192 13 0xfffffe0000eee000
[drm:pid1344:drm_addmap] Added map 2 0xfffffe0000eee000/0x2000
[drm:pid1344:drm_firstopen] 
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0106407, nr=0x07, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_ioctl]     returning 22
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0106407, nr=0x07, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0106401, nr=0x01, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0106401, nr=0x01, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0406400, nr=0x00, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_ioctl] pid=1344, cmd=0xc0106446, nr=0x46, dev 0xfffff80001623e00, auth=1
[drm:pid1344:drm_close] open_count = 1
[drm:pid1344:drm_close] pid = 1344, device = 0xfffff80001623e00, open_count = 1
[drm:pid1344:drm_lastclose] 

--------------030404070005050209060004--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FC3402.6050309>