[MPlayer-dev-eng] [PATCH] vidix rage128 ecp_div

Magnus Damm damm at opensource.se
Tue Feb 18 14:22:48 CET 2003


Hi,

The vidix driver for rage128 and the current xfree driver (4.2.1, 4.2.99.x) 
does not care about the ecp divider which leads to bad overlay scaling (x-wise).
The gatos driver does the right thing(tm).

This modeline does not need the patch:
        Mode    "1600x1024"     # vfreq 60.019Hz, hfreq 63.380kHz
                DotClock        108.000000
                HTimings        1600 1616 1656 1704
                VTimings        1024 1027 1030 1056
                Flags   "-HSync" "-VSync"
        EndMode

This one requires the patch:
        Mode    "1600x1200"     # vfreq 64.332Hz, hfreq 79.901kHz
                DotClock        168.750000
                HTimings        1600 1624 1808 2112
                VTimings        1200 1201 1204 1242
                Flags   "+HSync" "+VSync"
        EndMode

I guess the problem is related to the high dotclock.

I'm not sure about radeon and this register, but I think that gatos
plays around with this register for the radeon too.
This patch implements a subset of what the gatos driver does - it
assumes that the divider register is setup correctly instead of
checking the dotclock and calculating the divider...

Anyway - the patch works for me. =)

thanks.

/ magnus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MPlayer-0.90rc4-vidix_rage128_ecp_div.patch
Type: application/octet-stream
Size: 533 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030218/80fb9032/attachment.obj>


More information about the MPlayer-dev-eng mailing list