Re: [Xpert] X4, ATI Mach64, and bad video modes
On Fri, 3 Nov 2000, Zack Weinberg wrote:
> I've just upgraded to XFree86 4.0.1 (thanks for the packages,
> Branden!) and have encountered a bug in video mode detection with the
> Mach64 drivers.
> Consider this XF86Config fragment:
> Section "Monitor"
> Identifier "ViewSonic E771"
> HorizSync 30-70
> VertRefresh 50-120
> Modeline "1024x768" 94.685 1024 1072 1168 1376 768 769 772 808
> Modeline "1152x864" 108.079 1152 1216 1344 1600 864 865 868 900
> EndSection
> Section "Screen"
> Device "ATI 3D Rage IIC"
> Monitor "ViewSonic E771"
> DefaultDepth 24
> Subsection "Display"
> Depth 24
> Modes "1024x768" "1152x864"
> EndSubsection
> EndSection
> The mode lines are precisely as the DDC driver in X4 probed them; so
> are the horizontal and vertical rates. (Incidentally, why must I
> specify HorizSync and VertRefresh in X4 when DDC can probe them
> itself?)
> When this setup is used with XF86_Mach64 from 3.3.6, it reports
> (--) Mach64: Card type: AGP
> (--) Mach64: Memory type: SDRAM (4)
> (--) Mach64: Clock type: Internal
> (--) Mach64: Maximum allowed dot-clock: 230.000 MHz
> (**) Mach64: Mode "1024x768": mode clock = 94.685
> (**) Mach64: Mode "1152x864": mode clock = 108.079
> (--) Mach64: Illegal mode according to Mach64 BIOS
> (--) Mach64: Removing mode "1152x864" from list of valid modes.
> and the server will only operate at 1024x768. When the identical
> setup is used with the ati driver in 4.0.1, it does not object to
> 1152x864:
> (--) ATI(0): Virtual size is 1152x864 (pitch 1152)
> (**) ATI(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
> (**) ATI(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
> (--) ATI(0): Display dimensions: (32, 24) cm
> (--) ATI(0): DPI set to (91, 91)
> But in that mode the right hand two-thirds of the screen is mangled.
> It appears as if the image has been duplicated, shifted right about a
> hundred pixels, distorted, and overlaid on the original. With massive
> flicker. xvidtune cannot help.
> If I reduce the depth to 16, then both 3.3.6 and 4.0.1 accept 1152x864
> and display it correctly.
What about -depth 24 -fbbpp 24? If that works fine, then fbbpp 32 (the
default) at 108MHz is simply asking too much out of your video memory.
Marc.
+----------------------------------+-----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Computing and Network Services | fax: 1-780-492-1729 |
| 352 General Services Building | email: tsi@ualberta.ca |
| University of Alberta +-----------------------------------+
| Edmonton, Alberta | |
| T6G 2H1 | Standard disclaimers apply |
| CANADA | |
+----------------------------------+-----------------------------------+
XFree86 Core Team member. ATI driver and X server internals.
Reply to: