On Sat, Oct 29, 2005 at 07:16:24AM +0000, Duncan Webb wrote:
> Hi all a small consolidation of a problem that I've been having with the 
> Matrox G400 and dfbmga driver.
> 
> When playing the dfbmga output from mplayer I was getting this 
> http://www.linuxowl.com/images/screenshot-1.jpg when playing a video 
> file, thanks to Ville Syrjälä who said that he got something similar 
> when that framebuffer on the primary head was 1024x768 and when playing 
> the video with 1600x1200 it played fine.

BTW I found the reason for this. matroxfb was messing with CRTC1 high 
priority request settings. The attached patch makes my TV-out happy :)

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/
diff -urN linux/drivers/video/matrox/matroxfb_DAC1064.c 
linux/drivers/video/matrox/matroxfb_DAC1064.c
--- linux/drivers/video/matrox/matroxfb_DAC1064.c       2005-10-29 
12:57:05.000000000 +0300
+++ linux/drivers/video/matrox/matroxfb_DAC1064.c       2005-10-29 
12:57:35.000000000 +0300
@@ -980,7 +980,7 @@
                                hw->MXoptionReg |= 0x40;        /* FIXME... */
                                pci_write_config_dword(ACCESS_FBINFO(pcidev), 
PCI_OPTION_REG, hw->MXoptionReg);
                        }
-                       mga_setr(M_EXTVGA_INDEX, 0x06, 0x50);
+                       mga_setr(M_EXTVGA_INDEX, 0x06, 0x00);
                }
        }
        if (ACCESS_FBINFO(devflags.g450dac)) {
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to