Laure-Amelie Couturie writes:
> As nonody answer me, I look for the solution in the mga driver source
> code. I patch mga-driver.c (version Xfree4.2 and version matrox2.0).
> Everything seems to work fine for my configuration (matrox G550):
> it work in HAL mode (dvi flat screen), nice HWcursor, good performance
> and no more SIG11 when exiting.
>
> I only add one line in mga_driver.c:
> switch (pMga->Chipset) {
> case PCI_CHIP_MGA1064:
> case PCI_CHIP_MGAG100:
> case PCI_CHIP_MGAG100_PCI:
> case PCI_CHIP_MGAG200:
> case PCI_CHIP_MGAG200_PCI:
> case PCI_CHIP_MGAG400:
>
> source Xfree4.2 :line 2748 + case PCI_CHIP_MGAG550:
> source Matrox2.0:line 2826 + case PCI_CHIP_MGAG550:
>
> G550 matrox card was ignored for HWcursor + MGA-HAL. In previous version
> of mga driver pMga->Chipset was not test for setting Cursor, so it
> works for every cards.
>
> I wonder if not setting G550 in this switch-case was a forgetting or if
> it was intentional because of a specific problem with G550?
>
Hi Laure-Amelie,
Thanks a lot for finding this!
This line seems to be left out accidently when support for
the G550 was added.
This part of the code had to be added solely to work around
bugs in HALlib. It has proven to be easier to do such workarounds
than trying to get Matrox to fix their blackbox.
You will find several of them scattered around the driver.
Regards,
Egbert.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert