[mythtv] Drectfb matrox g550 fix (well sortof)

Dylan D admin at movingideasanimation.com
Sun Apr 25 07:18:24 EDT 2004


Hello all, 
I've been trying to get mythtv working with directfb/qt-embedded for some weeks now,
And i've been having many issues with initlising directfb when calling the dvb brodcasts, originally mythtv wouldnt find my Matrox core and glfxcore
I've got the follwing patch for directfb to rectifye the problem...

Index: matrox.c
===================================================================
RCS file: /cvs/directfb/DirectFB/gfxdrivers/matrox/matrox.c,v
retrieving revision 1.66
diff -u -r1.66 matrox.c
--- matrox.c    30 Mar 2004 23:42:36 -0000      1.66
+++ matrox.c    24 Apr 2004 14:35:24 -0000
@@ -1397,6 +1397,12 @@
           switch (device) {
           case PCI_DEVICE_ID_MATROX_G550:
           case PCI_DEVICE_ID_MATROX_G400:
+               if (addr0 == (dfb_gfxcard_memory_physical( NULL, 0 ) & 0xFE000000)) {
+                    fclose( file );
+                    return DFB_OK;
+               }
+               break;
+
           case PCI_DEVICE_ID_MATROX_G200_PCI:
           case PCI_DEVICE_ID_MATROX_G200_AGP:
           case PCI_DEVICE_ID_MATROX_G100_MM:

-- 

But the next problem is mythtv is trying to use BES ( back end scaler ) on my second head which directfb doesnt support i need to use crct2 instead.
Is there any  config to pass to tell myth to use it instead ?


Dylan D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20040425/75087c0d/attachment.html


More information about the mythtv-dev mailing list