linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* matroxfb - wrong PLL calculation for Mystique and Mystique 220
@ 2010-08-06 15:35 Ondrej Zary
  0 siblings, 0 replies; only message in thread
From: Ondrej Zary @ 2010-08-06 15:35 UTC (permalink / raw)
  To: linux-fbdev

Hello,
there is a long-standing problem in matroxfb (and also with xf86-video-mga) 
with PLL values calculation. It results in "wavy" vertical lines at least on 
Mystique and Mystique 220, especially where dotted horizontal lines are 
displayed.

On non-220 Mystique in 1024x768@85Hz, matroxfb calculates:
m=0x0f, n=0x69, p=0x00 (producing wavy vertical lines)

Windows driver calculates:
m=0x03, n=0x34, p=0x01 (producing straight vertical lines)

The resulting f_vco from windows values is 189713.5, which is above max_freq 
for this card. So it looks like the assumption that f_vco must be less
or equal to max_freq is wrong. Could someone with access to MGA1064/1164 
documentation look into this?

xf86-video-mga bug (with photos of the screen):
http://bugs.xfree86.org/show_bug.cgi?id\x1314

-- 
Ondrej Zary

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-06 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06 15:35 matroxfb - wrong PLL calculation for Mystique and Mystique 220 Ondrej Zary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).