On Fri, 31 Jan 2003, John Tapsell wrote:
> Hi,
> I think that inXFree86 Version 4.2.99.4 there is a bug in the detection of
> mga_hal.
>
> I had a look through the changelog for 4.2.99.4 and someone added some code
> to detect and check whether the mga_hal module exists. I'm probably doing
> this wrong, but it does seem to me, naively, that I have the mga_hal module,
> loading it, yet it isn't being detected.
>
> I'm using the:
>
> mga_hal_drv.o file from the latest drivers from matrox.org
> mga_drv.o file that comes with X.
> mga_dri.o file that comes with X.
I'm not using mga_dri.o (since it doesn't compile on 2.2 kernels)
but for the other two I'm doing the same as you.
> In the attached log file, the mga_hal module is loaded (I added LoadModule
> "mga_hal" in the XF86Config-4 file)
Why not let the driver load the hal itself ?
I don't have that line in my config.
In my log note that mga_hal_drv.o is a SUBmodule:
% grep -i5 mga_hal /var/log/XFree86.0.log
(II) Loading /usr/X11R6-v4/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.99.4, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(--) MGA(0): Chipset: "mgag550"
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(II) Loading /usr/X11R6-v4/lib/modules/drivers/mga_hal_drv.o
(II) Module mga_hal: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.5
(==) MGA(0): Matrox HAL module used
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
I think that the module is failing to load the hal because it is already
there, and giving up (that could be a real bug).
> (II) Loading /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
> (II) Module mga_hal: vendor="The XFree86 Project"
> compiled for 4.2.0, module version = 1.0.0
> ABI class: XFree86 Video Driver, version 0.5
>
> But I get this, later on in the log file
>
> (II) LoadModule: "vgahw"
> (II) Reloading /usr/X11R6/lib/modules/libvgahw.a
> (--) MGA(1): Chipset: "mgag400" (G400)
> (EE) MGA(1): This card requires the "mga_hal" module for dual-head operation
> It can be found at the Matrox web site <http://www.matrox.com>
> (II) UnloadModule: "mga"
> (II) UnloadModule: "vgahw"
I also note that you have a dual head config, but both heads
have the same PCI ID. If it is a dualhead card, you need lines
Screen 0
and
Screen 1
in the Device sections.
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86