X Window System Version 7.1.1 on Ubuntu Edgy 6.10 (kernel 2.6.17-10)
Trying to compile xf86-video-mga-188.8.131.52 with USEMGAHAL defined.
mga_driver.c: In function 'MGAFillModeInfoStruct':
mga_driver.c:2739: error: 'MGAMODEINFO_FLATPANEL1' undeclared (first use in this function)
mga_driver.c:2739: error: (Each undeclared identifier is reported only once
mga_driver.c:2739: error: for each function it appears in.)
make: *** [mga_driver.lo] Error 1
make: Leaving directory `/usr/src/xf86-video-mga-184.108.40.206/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/xf86-video-mga-220.127.116.11'
make: *** [all] Error 2
Appears to be caused because binding.h is missing:
#define MGAMODEINFO_FLATPANEL1 (1L << 8)
#define MGAMODEINFO_FLATPANEL2 (1L << 9)
Support for mga_hal will be removed in future releases anyway.
Does that mean that the open-source driver will no longer support G450 dual-head display?
As I understand it, mga_hal_drv.so is required to run MergedFB or Xinerama on both heads.
Nope, as the man page implicitly states, G450 dual head works without mga_hal.
mga_hal is only required to drive DVI output or mergedfb.
I will implement DVI support in the driver soonish. mergedfb support will likely follow.
Thanks for the explanation.
I have to use MergedFB mode at present to get any kind of acceptable performance on the dual-heads, although none of the drivers I've tried so far are close to the performance in Windows 2003/XP, which is a shame.