DRI not working
Szilveszter Adam
sziszi at bsd.hu
Sat Sep 27 18:07:10 UTC 2008
Dear Robert,
On Sat, Sep 27, 2008 at 10:03:11AM -0400, Robert Noland wrote:
> drm shouldn't be attaching to the second head. The 852/5 chips have the
> same pci id on both heads, which none of the other chips do. Please try
> the attached patch to sys/dev/drm/i915_drv.c and see if that improves
> things.
I have applied the patch on my -CURRENT machine, it also seems to change
the attachment phase:
pciconf -lv:
vgapci0 at pci0:0:2:0: class=0x030000 card=0x05621014 chip=0x35828086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated
Graphics Device'
class = display
subclass = VGA
vgapci1 at pci0:0:2:1: class=0x038000 card=0x05621014 chip=0x35828086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated
Graphics Device'
class = display
Dmesg:
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem
0xe0000000-0xe7ffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0
agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> on vgapci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
drm0: <Intel i852GM/i855GM GMCH> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized i915 1.6.0 20080312
vgapci1: <VGA-compatible display> mem 0xe8000000-0xefffffff,
0xd0080000-0xd00fffff at device 2.1 on pci0
drm1: <Intel i852GM/i855GM GMCH> on vgapci1
But the result is still the same: the intel(4) driver still sees both
"cards" and the Xorg log does not show any real difference. HW
acceleration is still turned off automatically.
Let me know if I can be of any help.
--
Regards:
Szilveszter ADAM
Budapest
Hungary
More information about the freebsd-x11
mailing list