3D apps hang my Xorg

Justin Yang YZMSQ at 163.com
Sat Apr 20 15:44:33 UTC 2013


Hi, all:
I've a FreeBSD 9.1 box running on Intel Sandy Bridge chips and have  
installed the latest Xorg and Intel driver from xorg-dev with KMS enabled.  
It works fine for normal usage, however, it crashes and hangs every time  
when I try to run some 3D apps, such as Stellarium, Google earth and so  
on. So, is my box really not able to run 3D apps, even with KMS enabled?  
Any help is appreciated. Thank you in advance:)

Information about my box:
1)
sysctl hw.dri.0.info.i915_error_state (shared via this link):
https://www.dropbox.com/s/gfy1poe20g2s0lt/i915_error_state.log

2) What I've installed:

justin at darkgeek.pts/3 ~ % uname -a
FreeBSD darkgeek 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4  
06:55:39 UTC 2012      
root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

justin at darkgeek.pts/3 ~ % pkg info | grep xorg-server
xorg-server-1.12.4,1           X.Org X server and related programs

justin at darkgeek.pts/3 ~ % pkg info | grep intel
xf86-video-intel-2.21.5        Driver for Intel integrated graphics  
chipsets

justin at darkgeek.pts/3 ~ % pkg info | grep libdrm
libdrm-2.4.43_1                Userspace interface to kernel Direct  
Rendering Module services

justin at darkgeek.pts/3 ~ % pkg info | grep libGL
libGL-8.0.5_3                  OpenGL library that renders using GLX or DRI
libGLU-8.0.5                   OpenGL utility library

justin at darkgeek.pts/3 ~ % pciconf -lvb
hostb0 at pci0:0:0:0:	class=0x060000 card=0x01001849 chip=0x01008086 rev=0x09  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '2nd Generation Core Processor Family DRAM Controller'
     class      = bridge
     subclass   = HOST-PCI
vgapci0 at pci0:0:2:0:	class=0x030000 card=0x01021849 chip=0x01028086  
rev=0x09 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '2nd Generation Core Processor Family Integrated Graphics  
Controller'
     class      = display
     subclass   = VGA
     bar   [10] = type Memory, range 64, base 0xf7800000, size 4194304,  
enabled
     bar   [18] = type Prefetchable Memory, range 64, base 0xe0000000, size  
268435456, enabled
     bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
none0 at pci0:0:22:0:	class=0x078000 card=0x1c3a1849 chip=0x1c3a8086 rev=0x04  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family MEI Controller'
     class      = simple comms
     bar   [10] = type Memory, range 64, base 0xf7c09000, size 16, enabled
ehci0 at pci0:0:26:0:	class=0x0c0320 card=0x1c2d1849 chip=0x1c2d8086 rev=0x05  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family USB Enhanced Host  
Controller'
     class      = serial bus
     subclass   = USB
     bar   [10] = type Memory, range 32, base 0xf7c07000, size 1024, enabled
hdac0 at pci0:0:27:0:	class=0x040300 card=0x03971849 chip=0x1c208086 rev=0x05  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family High Definition  
Audio Controller'
     class      = multimedia
     subclass   = HDA
     bar   [10] = type Memory, range 64, base 0xf7c00000, size 16384,  
enabled
pcib1 at pci0:0:28:0:	class=0x060400 card=0x1c101849 chip=0x1c108086 rev=0xb5  
hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family PCI Express Root  
Port 1'
     class      = bridge
     subclass   = PCI-PCI
pcib2 at pci0:0:28:2:	class=0x060400 card=0x1c141849 chip=0x1c148086 rev=0xb5  
hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family PCI Express Root  
Port 3'
     class      = bridge
     subclass   = PCI-PCI
ehci1 at pci0:0:29:0:	class=0x0c0320 card=0x1c261849 chip=0x1c268086 rev=0x05  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family USB Enhanced Host  
Controller'
     class      = serial bus
     subclass   = USB
     bar   [10] = type Memory, range 32, base 0xf7c06000, size 1024, enabled
isab0 at pci0:0:31:0:	class=0x060100 card=0x1c5c1849 chip=0x1c5c8086 rev=0x05  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'H61 Express Chipset Family LPC Controller'
     class      = bridge
     subclass   = PCI-ISA
atapci0 at pci0:0:31:2:	class=0x01018f card=0x1c001849 chip=0x1c008086  
rev=0x05 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family 4 port SATA IDE  
Controller'
     class      = mass storage
     subclass   = ATA
     bar   [10] = type I/O Port, range 32, base 0xf110, size  8, enabled
     bar   [14] = type I/O Port, range 32, base 0xf100, size  4, enabled
     bar   [18] = type I/O Port, range 32, base 0xf0f0, size  8, enabled
     bar   [1c] = type I/O Port, range 32, base 0xf0e0, size  4, enabled
     bar   [20] = type I/O Port, range 32, base 0xf0d0, size 16, enabled
     bar   [24] = type I/O Port, range 32, base 0xf0c0, size 16, enabled
none1 at pci0:0:31:3:	class=0x0c0500 card=0x1c221849 chip=0x1c228086 rev=0x05  
hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family SMBus Controller'
     class      = serial bus
     subclass   = SMBus
     bar   [10] = type Memory, range 64, base 0xf7c05000, size 256, enabled
     bar   [20] = type I/O Port, range 32, base 0xf040, size 32, enabled
atapci1 at pci0:0:31:5:	class=0x010185 card=0x1c081849 chip=0x1c088086  
rev=0x05 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '6 Series/C200 Series Chipset Family 2 port SATA IDE  
Controller'
     class      = mass storage
     subclass   = ATA
     bar   [10] = type I/O Port, range 32, base 0xf0b0, size  8, enabled
     bar   [14] = type I/O Port, range 32, base 0xf0a0, size  4, enabled
     bar   [18] = type I/O Port, range 32, base 0xf090, size  8, enabled
     bar   [1c] = type I/O Port, range 32, base 0xf080, size  4, enabled
     bar   [20] = type I/O Port, range 32, base 0xf070, size 16, enabled
     bar   [24] = type I/O Port, range 32, base 0xf060, size 16, enabled
re0 at pci0:2:0:0:	class=0x020000 card=0x81361849 chip=0x813610ec rev=0x05  
hdr=0x00
     vendor     = 'Realtek Semiconductor Co., Ltd.'
     device     = 'RTL8101E/RTL8102E PCI Express Fast Ethernet controller'
     class      = network
     subclass   = ethernet
     bar   [10] = type I/O Port, range 32, base 0xe000, size 256, enabled
     bar   [18] = type Prefetchable Memory, range 64, base 0xf0004000, size  
4096, enabled
     bar   [20] = type Prefetchable Memory, range 64, base 0xf0000000, size  
16384, enabled


-- 
Best regards,
Justin Yang



More information about the freebsd-x11 mailing list