Skip to contentSkip to conversation

Another problem, seemingly coming f

DISCUSSION Petr Vandrovec 3 participants 3 messages Oct 16, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Carlo E. Prelz
Quoted 4 lines
Quoted 1 line

the image that I am attaching has been sent to all three

Unfortunately I do not see anything. I see horizontal black lines on all three monitors, and nothing else...

I am now adding a version where I underline - with yellow lines - the places where these artifacts appear.

Ah, these ones... What pixclocks do you use? It is like if CRTC2 has not enough memory bandwidth available, and so it displays stale data. But it looks strange anyway. I'm afraid that I cannot help you, sorry. You can try experimenting with different pixclocks, different bit depths, and so on. But I cannot explain why it happens only when old Millennium is also in the box.

Quoted 2 lines

Everything happens as expected. First both good, then both bad, then first bad and second good.

So it is really caused by CRTC2, not by Maven. Even more strange, then it looks like that CRTC2 bus accesses are only possible source of problem (it could be also subpicture displayed over picture, but because of subpicture is YUV, while your corruption is copy of RGB surface, I think that it is impossible).

Only problem I can think of is that system VCO frequency is always set to 133333 kHz (for G100/200/400) in matroxfb_DAC1064.c. Your PINS suggest that 200MHz are correct system clocks for your chip.
Thanks,
Petr Vandrovec [email protected]

-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm

#1 lore raw
Quoted 2 lines · Petr Vandrovec

Ah, these ones... What pixclocks do you use? It is like if CRTC2 has not enough memory bandwidth available, and so it displays stale data.

Can the CRTC high priority stuff affect this? Does matroxfb touch the priority registers?

Quoted 3 lines

Only problem I can think of is that system VCO frequency is always set to 133333 kHz (for G100/200/400) in matroxfb_DAC1064.c. Your PINS suggest that 200MHz are correct system clocks for your chip.

What do you think about making matroxfb do clock setup accrding to PINS? XFree86 mga driver does it own clock setup but DirectFB matrox driver does not. I'm pretty sure increasing the clocks would provide some speed benefits since the BIOS default clocks are pretty low.

Signature · 10 lines
Ville Syrjälä
[email protected]
http://www.sci.fi/~syrjala/


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
#2 lore raw
In reply to Petr Vandrovec
	Subject: Re: [Linux-fbdev-devel] Another problem, seemingly coming f
	Date: mer, ott 16, 2002 at 09:00:27 +0200
Quoted 6 lines · Petr Vandrovec

Ah, these ones... What pixclocks do you use? It is like if CRTC2 has not enough memory bandwidth available, and so it displays stale data. But it looks strange anyway. I'm afraid that I cannot help you, sorry. You can try experimenting with different pixclocks, different bit depths, and so on. But I cannot explain why it happens only when old Millennium is also in the box.

I was able to reduce video artifacts to a minimum (seemingly acceptable ;-) by setting

- millennium to 800x600-60
- G400 1st head to 800x600-90
- G400 2nd head to 800x600-75

These are standard framebuffer modes found in /etc/fb.modes. I am getting most artifacts when setting both heads of the G400 to the same fb mode - which one does not influence things too much.

Thanks for your help

Carlo

Signature · 10 lines
  *         Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - [email protected]             che bisogno ci sarebbe
  *               di parlare tanto di amore e di rettitudine? (Chuang-Tzu)


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm