Xorg 7.4 breaks mga with G450
Robert Noland
rnoland at FreeBSD.org
Thu Jan 29 09:13:39 PST 2009
On Thu, 2009-01-29 at 16:39 +0000, Mark Knight wrote:
> In message <1233245396.1766.13.camel at wombat.2hip.net>, Robert Noland
> <rnoland at FreeBSD.org> writes
> >Ok, I'll try and have a look at the detection code... It's possible that
> >this is somehow related to the switch to libpciaccess.
>
> This patch fixes the problem for me in a horribly broken way:
>
> >mkn at shrewd$ pwd
> >/usr/ports/x11-drivers/xf86-video-mga/work/xf86-video-mga-1.9.100/src
> >mkn at shrewd$ sudo diff -u mga_driver.c.orig mga_driver.c
> >--- mga_driver.c.orig 2009-01-29 16:31:42.000000000 +0000
> >+++ mga_driver.c 2009-01-29 16:35:01.000000000 +0000
> >@@ -1473,8 +1473,7 @@
> > xf86ErrorF("\n");
> > }
> >
> >- pMga->is_Gx50 = ((pMga->Chipset == PCI_CHIP_MGAG400) &&
> >(pMga->ChipRev >= 0x80))
> >- || (pMga->Chipset == PCI_CHIP_MGAG550);
> >+ pMga->is_Gx50 = 1;
> > pMga->is_G200SE = (pMga->Chipset == PCI_CHIP_MGAG200_SE_A_PCI)
> > || (pMga->Chipset == PCI_CHIP_MGAG200_SE_B_PCI);
>
> So the cause is clear but finding the bug is way beyond me...
Hrm, very interesting... now I just have to figure out if it is
libpciaccess or the driver that is at fault.
robert.
> Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090129/90153b42/attachment.pgp
More information about the freebsd-x11
mailing list