Regarding: XVideo extention shows erroneous picture on ATI radeon
Email: [EMAIL PROTECTED]
------------------------------------------------------------
XFree86 Version: xfree 4.2.99.2

OS: Linux  2.4.18-64GB-SMP  (SuSE 8.0 distribution)

Area: Xserver, XVideo-Extention, ATI Radeon card

Server: XFree86 (The XFree86 4.x server)

Video Card:

ATI Radeon VE QY
128MB Memory
AGP


Description:

An xvideo picture (actually an video stream) of the size 1920x1080
should be shown in a window of the size 1024x576 (the monitor size is 1280x1024).
What actually being displayed is the right hand side of the image,
about 80% of the picture, and on the left hand side of the window
a pink bar is being displayed.
The problem has been reproduced on different models of the ATI radeon cards.
The problem has been reproduced with xfree version 4.2.0 and xfree version 4.2.1
The problem can be reproduced with the attached program.

The server startup log (as from /var/log/XFree86.0.log):

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.2.99.2 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 16 December 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-64GB-SMP i686 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan 16 09:52:48 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Layout[all]"
(**) |-->Screen "Screen[0]" (0)
(**) |   |-->Monitor "Monitor[0]"
(**) |   |-->Device "Device[0]"
(**) |-->Screen "Screen[1]" (1)
(**) |   |-->Monitor "Monitor[1]"
(**) |   |-->Device "Device[1]"
(**) |-->Input Device "Keyboard[0]"
(**) Option "Protocol" "Standard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "de"
(**) XKB: layout: "de"
(**) Option "XkbVariant" "nodeadkeys"
(**) XKB: variant: "nodeadkeys"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse[1]"
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/misc" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/75dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/100dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/Type1" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin7/75dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/baekmuk" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/japanese" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/kwintv" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/misc" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/75dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/100dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/misc" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/75dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/100dpi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/Type1" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
        Entry deleted from font path.
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/truetype,/usr/X11R6/lib/X11/fonts/uni:unscaled,/usr/X11R6/lib/X11/fonts/CID"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
(**) Option "Xinerama" "off"
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.6
        XFree86 XInput driver : 0.3
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x8000003c, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2531 card 1028,00d8 rev 04 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2532 card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 8086,2533 card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,2440 card 0000,0000 rev 04 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,244b card 1028,00d8 rev 04 class 01,01,80 hdr 00
(II) PCI: 00:1f:3: chip 8086,2443 card 1028,00d8 rev 04 class 0c,05,00 hdr 00
(II) PCI: 01:00:0: chip 1002,5159 card 1002,1b8a rev 00 class 03,00,00 hdr 00
(II) PCI: 02:1f:0: chip 8086,1360 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 03:00:0: chip 8086,1161 card 8086,1161 rev 01 class 08,00,20 hdr 80
(II) PCI: 03:0d:0: chip 100b,0022 card 1385,622a rev 00 class 02,00,00 hdr 00
(II) PCI: 03:0e:0: chip 9005,008f card 1028,00d8 rev 02 class 01,00,00 hdr 00
(II) PCI: 04:0d:0: chip 3388,0021 card 0000,0000 rev 13 class 06,04,00 hdr 01
(II) PCI: 04:0e:0: chip 1319,0801 card 1319,1319 rev b2 class 04,01,00 hdr 80
(II) PCI: 04:0e:1: chip 1319,0802 card 1319,1319 rev b2 class 09,80,00 hdr 80
(II) PCI: 05:00:0: chip 102b,0525 card 102b,0d43 rev 85 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,5), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 1 I/O range:
        [0] -1  0       0x0000e000 - 0x0000e0ff (0x100) IX[B]
        [1] -1  0       0x0000e400 - 0x0000e4ff (0x100) IX[B]
        [2] -1  0       0x0000e800 - 0x0000e8ff (0x100) IX[B]
        [3] -1  0       0x0000ec00 - 0x0000ecff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0       0xfe400000 - 0xfe5fffff (0x200000) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:2:0), (0,2,3), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 2 I/O range:
        [0] -1  0       0x0000d000 - 0x0000d0ff (0x100) IX[B]
        [1] -1  0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [2] -1  0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [3] -1  0       0x0000dc00 - 0x0000dcff (0x100) IX[B]
(II) Bus 2 non-prefetchable memory range:
        [0] -1  0       0xfe100000 - 0xfe3fffff (0x300000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 4: bridge is at (0:30:0), (0,4,5), BCTRL: 0x000e (VGA_EN is set)
(II) Bus 4 I/O range:
        [0] -1  0       0x0000b000 - 0x0000b0ff (0x100) IX[B]
        [1] -1  0       0x0000b400 - 0x0000b4ff (0x100) IX[B]
        [2] -1  0       0x0000b800 - 0x0000b8ff (0x100) IX[B]
        [3] -1  0       0x0000bc00 - 0x0000bcff (0x100) IX[B]
(II) Bus 4 non-prefetchable memory range:
        [0] -1  0       0xfc800000 - 0xfdffffff (0x1800000) MX[B]
(II) Bus 4 prefetchable memory range:
        [0] -1  0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-PCI bridge:
(II) Bus 3: bridge is at (2:31:0), (2,3,3), BCTRL: 0x8006 (VGA_EN is cleared)
(II) Bus 3 I/O range:
        [0] -1  0       0x0000d000 - 0x0000d0ff (0x100) IX[B]
        [1] -1  0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [2] -1  0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [3] -1  0       0x0000dc00 - 0x0000dcff (0x100) IX[B]
(II) Bus 3 non-prefetchable memory range:
        [0] -1  0       0xfe200000 - 0xfe3fffff (0x200000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 5: bridge is at (4:13:0), (4,5,5), BCTRL: 0x000e (VGA_EN is set)
(II) Bus 5 non-prefetchable memory range:
        [0] -1  0       0xfd000000 - 0xfdffffff (0x1000000) MX[B]
(II) Bus 5 prefetchable memory range:
        [0] -1  0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B]
(--) PCI: (1:0:0) ATI Technologies Inc Radeon VE QY rev 0, Mem @ 0xf0000000/27, 
0xfe4f0000/16, I/O @ 0xe400/8
(--) PCI:*(5:0:0) Matrox Graphics, Inc. MGA G400 AGP rev 133, Mem @ 0xf8000000/25, 
0xfdefc000/14, 0xfd000000/23, BIOS @ 0xc1000000/17
(II) Addressable bus resource ranges are
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xe8000000 from 0xefffffff to 0xe7ffffff
(II) Active PCI resource ranges:
        [0] -1  0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [1] -1  0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [2] -1  0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [3] -1  0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [4] -1  0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [5] -1  0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [6] -1  0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [7] -1  0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [8] -1  0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [9] -1  0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [10] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [11] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(II) Inactive PCI resource ranges:
        [0] -1  0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [1] -1  0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [2] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [3] -1  0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [1] -1  0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [2] -1  0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [3] -1  0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [4] -1  0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [5] -1  0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [6] -1  0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [7] -1  0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [8] -1  0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [9] -1  0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [10] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [11] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(II) Inactive PCI resource ranges after removing overlaps:
        [0] -1  0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [1] -1  0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [2] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [3] -1  0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [6] -1  0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [7] -1  0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [8] -1  0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [9] -1  0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [10] -1 0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [11] -1 0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [12] -1 0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [13] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [17] -1 0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [18] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [19] -1 0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [20] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [21] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
        [22] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.2
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.1
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Speedo
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 2.0.1
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "mga"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.1.0
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) Module radeon: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 4.0.1
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 6.4.16
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
        mgag550
(II) ATI: ATI driver (version 6.4.16) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
        ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
        ATI Rage 128 RL (AGP), ATI Rage 128 SM (AGP),
        ATI Rage 128 Pro PD (PCI), ATI Rage 128 Pro PF (AGP),
        ATI Rage 128 Pro PP (PCI), ATI Rage 128 Pro PR (PCI),
        ATI Rage 128 Pro ULTRA TF (AGP), ATI Rage 128 Pro ULTRA TL (AGP),
        ATI Rage 128 Pro ULTRA TR (AGP), ATI Rage 128 Mobility LE (PCI),
        ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
        ATI Rage 128 Mobility ML (AGP)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
        ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
        ATI Radeon VE QY (AGP), ATI Radeon VE QZ (AGP),
        ATI Radeon Mobility M7 LW (AGP), ATI Radeon Mobility M7 LX (AGP),
        ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
        ATI Radeon 8500 QL (AGP), ATI Radeon 8500 BB (AGP),
        ATI Radeon 7500 QW (AGP), ATI Radeon 7500 QX (AGP),
        ATI Radeon 9000 Id (AGP), ATI Radeon 9000 Ie (AGP),
        ATI Radeon 9000 If (AGP), ATI Radeon 9000 Ig (AGP),
        ATI Radeon Mobility M9 Ld (AGP), ATI Radeon Mobility M9 Le (AGP),
        ATI Radeon Mobility M9 Lf (AGP), ATI Radeon Mobility M9 Lg (AGP),
        ATI Radeon 9700 ND (AGP), ATI Radeon 9700 NE (AGP),
        ATI Radeon 9700 NF (AGP), ATI Radeon 9700 NG (AGP)
(II) Primary Device is: PCI 05:00:0
(--) Chipset mgag400 found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [6] -1  0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [7] -1  0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [8] -1  0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [9] -1  0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [10] -1 0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [11] -1 0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [12] -1 0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [13] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [17] -1 0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [18] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [19] -1 0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [20] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [21] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
        [22] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
(--) Chipset ATI Radeon VE QY (AGP) found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [6] -1  0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [7] -1  0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [8] -1  0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [9] -1  0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [10] -1 0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [11] -1 0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [12] -1 0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [13] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [17] -1 0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [18] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [19] -1 0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [20] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [21] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
        [22] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
(II) Loading sub module "radeon"
(II) LoadModule: "radeon"
(II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) resource ranges after probing:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [6] -1  0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [7] -1  0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [8] -1  0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [9] -1  0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [10] -1 0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [11] -1 0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [12] -1 0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [13] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [15] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [16] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [17] 1  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [18] 1  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [19] 1  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [20] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [21] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [22] -1 0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [23] -1 0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [24] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [25] -1 0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [26] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [27] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
        [28] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
        [29] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [30] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
        [31] 1  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [32] 1  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Setting vga for screen 1.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(--) MGA(0): Chipset: "mgag400" (G450)
(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
(II) Module mga_hal: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.5
(==) MGA(0): Matrox HAL module used
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xF8000000
(--) MGA(0): MMIO registers at 0xFDEFC000
(--) MGA(0): Pseudo-DMA transfer window at 0xFD000000
(--) MGA(0): BIOS at 0xC1000000
(II) Truncating PCI BIOS Length to 36864
(--) MGA(0): Video BIOS info block at offset 0x07CE0
(WW) MGA(0): Video BIOS info block not detected!
(II) MGA(0): MGABios.RamdacType = 0x0
(==) MGA(0): Write-combining range (0xf8000000,0x2000000)
(--) MGA(0): VideoRAM: 32768 kByte
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.2.0
        ABI class: XFree86 Video Driver, version 0.6
(==) MGA(0): Write-combining range (0xf8000000,0x2000000)
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) MGA(0): I2C bus "DDC" initialized.
(II) MGA(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) MGA(0): I2C device "DDC:ddc2" removed.
(II) MGA(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) MGA(0): I2C device "DDC:ddc2" removed.
(II) MGA(0): I2C Monitor info: 0x83aa3e8
(II) MGA(0): Manufacturer: DEL  Model: e001  Serial#: 808469062
(II) MGA(0): Year: 2002  Week: 30
(II) MGA(0): EDID Version: 1.3
(II) MGA(0): Digital Display Input
(II) MGA(0): Max H-Image Size [cm]: horiz.: 36  vert.: 29
(II) MGA(0): Gamma: 2.20
(II) MGA(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) MGA(0): Default color space is primary color space
(II) MGA(0): First detailed timing is preferred mode
(II) MGA(0): redX: 0.633 redY: 0.340   greenX: 0.295 greenY: 0.599
(II) MGA(0): blueX: 0.141 blueY: 0.096   whiteX: 0.313 whiteY: 0.329
(II) MGA(0): Supported VESA Video Modes:
(II) MGA(0): 720x400@70Hz
(II) MGA(0): 640x480@60Hz
(II) MGA(0): 640x480@75Hz
(II) MGA(0): 800x600@60Hz
(II) MGA(0): 800x600@75Hz
(II) MGA(0): 1024x768@60Hz
(II) MGA(0): 1024x768@75Hz
(II) MGA(0): Manufacturer's mask: 0
(II) MGA(0): Supported Future Video Modes:
(II) MGA(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) MGA(0): Supported additional Video Mode:
(II) MGA(0): clock: 108.0 MHz   Image Size:  359 x 287 mm
(II) MGA(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
(II) MGA(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
(II) MGA(0): Serial No: 9R10927O00BF
(II) MGA(0): Monitor name: DELL 1800FP
(II) MGA(0): Ranges: V min: 56  V max: 85 Hz, H min: 30  H max: 70 kHz, PixClock max 
110 MHz
(II) MGA(0): end of I2C Monitor info

(==) MGA(0): Using gamma correction (1.0, 1.0, 1.0)
(==) MGA(0): Min pixel clock is 12 MHz
(==) MGA(0): Max pixel clock is 360 MHz
(WW) MGA(0): config file hsync range 27-64kHz not within DDC hsync range 30-70kHz
(WW) MGA(0): config file vrefresh range 50-60Hz not within DDC vrefresh range 56-85Hz
(II) MGA(0): Monitor[0]: Using hsync range of 27.00-64.00 kHz
(II) MGA(0): Monitor[0]: Using vrefresh range of 50.00-60.00 Hz
(II) MGA(0): Clock range:  12.00 to 360.00 MHz
(II) MGA(0): Not using default mode "640x350" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "640x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "720x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1152x864" (hsync out of range)
(II) MGA(0): Not using default mode "576x432" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1280x960" (hsync out of range)
(II) MGA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
(II) MGA(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
(II) MGA(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "832x624" (vrefresh out of range)
(II) MGA(0): Not using default mode "416x312" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "576x384" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1400x1050" (hsync out of range)
(II) MGA(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1400x1050" (hsync out of range)
(II) MGA(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "800x512" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) MGA(0): Not using default mode "2048x1536" (hsync out of range)
(II) MGA(0): Not using default mode "2048x1536" (hsync out of range)
(II) MGA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(==) MGA(0): Write-combining range (0xf8000000,0x2000000)
(II) MGA(0): Digital screen detected on first head.
(--) MGA(0): Has SDRAM
(--) MGA(0): Virtual size is 1280x1024 (pitch 1280)
(**) MGA(0): *Mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) MGA(0): Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 
+hsync +vsync
(**) MGA(0):  Mode "1280x1024": 102.2 MHz, 58.9 kHz, 55.0 Hz
(II) MGA(0): Modeline "1280x1024"  102.24  1280 1296 1552 1736  1024 1024 1033 1070
(**) MGA(0):  Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(II) MGA(0): Modeline "1280x960"  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync 
+vsync
(**) MGA(0):  Default mode "1152x768": 65.0 MHz, 44.2 kHz, 54.8 Hz
(II) MGA(0): Modeline "1152x768"   65.00  1152 1178 1314 1472  768 771 777 806 +hsync 
+vsync
(**) MGA(0):  Mode "1024x768": 61.2 MHz, 43.7 kHz, 54.5 Hz
(II) MGA(0): Modeline "1024x768"   61.19  1024 1040 1216 1400  768 768 775 802
(**) MGA(0):  Mode "800x600": 37.4 MHz, 34.9 kHz, 55.8 Hz
(II) MGA(0): Modeline "800x600"   37.44  800 816 928 1072  600 600 605 626
(**) MGA(0):  Mode "640x480": 24.0 MHz, 27.7 kHz, 55.4 Hz
(II) MGA(0): Modeline "640x480"   23.96  640 656 720 864  480 480 484 501
(**) MGA(0): Display dimensions: (360, 290) mm
(**) MGA(0): DPI set to (90, 89)
(II) MGA(0): YDstOrg is set to 0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Reloading /usr/X11R6/lib/modules/libvgahw.a
(II) RADEON(1): vgaHWGetIOBase: hwp->IOBase is 0x03b0, hwp->PIOOffset is 0x0000
(II) RADEON(1): PCI bus 1 card 0 func 0
(**) RADEON(1): Depth 24, (--) framebuffer bpp 32
(II) RADEON(1): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(1): Default visual is TrueColor
(**) RADEON(1): Option "AGPMode" "4"
(==) RADEON(1): RGB weight 888
(II) RADEON(1): Using 8 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) RADEON(1): initializing int10
(II) Truncating PCI BIOS Length to 45056
(--) RADEON(1): Chipset: "ATI Radeon VE QY (AGP)" (ChipID = 0x5159)
(II) RADEON(1): DELL OEM Card detected with DVI+DVI / VGA+VGA (type 2)
(--) RADEON(1): Linear framebuffer at 0xf0000000
(--) RADEON(1): MMIO registers at 0xfe4f0000
(--) RADEON(1): VideoRAM: 32768 kByte (64-bit DDR SDRAM)
(II) RADEON(1): CloneDisplay option not set -- defaulting to auto-detect
(II) RADEON(1): Primary Display == Type 3
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Reloading /usr/X11R6/lib/modules/libi2c.a
(II) RADEON(1): I2C bus "DDC" initialized.
(II) RADEON(1): PLL parameters: rf=2700 rd=60 min=12000 max=35000; xclk=18300
(==) RADEON(1): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(1): Validating modes on Primary head (DDCType: 2) ---------
(II) RADEON(1): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(1): I2C device "DDC:ddc2" removed.
(II) RADEON(1): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(1): I2C device "DDC:ddc2" removed.
(II) RADEON(1): I2C EDID Info:
(II) RADEON(1): Manufacturer: DEL  Model: e001  Serial#: 808465715
(II) RADEON(1): Year: 2002  Week: 30
(II) RADEON(1): EDID Version: 1.3
(II) RADEON(1): Digital Display Input
(II) RADEON(1): Max H-Image Size [cm]: horiz.: 36  vert.: 29
(II) RADEON(1): Gamma: 2.20
(II) RADEON(1): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) RADEON(1): Default color space is primary color space
(II) RADEON(1): First detailed timing is preferred mode
(II) RADEON(1): redX: 0.633 redY: 0.340   greenX: 0.295 greenY: 0.599
(II) RADEON(1): blueX: 0.141 blueY: 0.096   whiteX: 0.313 whiteY: 0.329
(II) RADEON(1): Supported VESA Video Modes:
(II) RADEON(1): 720x400@70Hz
(II) RADEON(1): 640x480@60Hz
(II) RADEON(1): 640x480@75Hz
(II) RADEON(1): 800x600@60Hz
(II) RADEON(1): 800x600@75Hz
(II) RADEON(1): 1024x768@60Hz
(II) RADEON(1): 1024x768@75Hz
(II) RADEON(1): Manufacturer's mask: 0
(II) RADEON(1): Supported Future Video Modes:
(II) RADEON(1): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) RADEON(1): Supported additional Video Mode:
(II) RADEON(1): clock: 108.0 MHz   Image Size:  359 x 287 mm
(II) RADEON(1): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 
h_border: 0
(II) RADEON(1): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 
v_border: 0
(II) RADEON(1): Serial No: 9R10927O0053
(II) RADEON(1): Monitor name: DELL 1800FP
(II) RADEON(1): Ranges: V min: 56  V max: 85 Hz, H min: 30  H max: 70 kHz, PixClock 
max 110 MHz
(II) RADEON(1): End of DDC Monitor info

(II) RADEON(1): Panel size found from DDC: 1280x1024
(II) RADEON(1): Valid Mode from Detailed timing table: 1280x1024
(II) RADEON(1): Total of 1 mode(s) found.
(II) RADEON(1): Total number of valid DDC mode(s) found: 1
(--) RADEON(1): Virtual size is 1920x1440 (pitch 1920)
(**) RADEON(1): *Mode "1280x1024": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.0 Hz
(II) RADEON(1): Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066
(**) RADEON(1): Display dimensions: (360, 290) mm
(**) RADEON(1): DPI set to (135, 126)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Reloading /usr/X11R6/lib/modules/libfb.a
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Reloading /usr/X11R6/lib/modules/libramdac.a
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Reloading /usr/X11R6/lib/modules/libxaa.a
(**) RADEON(1): Using AGP 4x mode
(II) RADEON(1): AGP Fast Write disabled by default
(II) RADEON(1): Depth moves disabled by default
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/X11R6/lib/modules/libshadow.a
(II) Module shadow: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.1
(**) RADEON(1): Disabling page flipping
(!!) RADEON(1): For information on using the multimedia capabilities
 of this adapter, please see http://gatos.sf.net.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  Yes, I do.
(II) LoadModule: "rac"
(II) Loading /usr/X11R6/lib/modules/librac.a
(II) Module rac: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) resource ranges after preInit:
        [0] 1   0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B]
        [1] 1   0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
        [2] 0   0       0xfd000000 - 0xfd7fffff (0x800000) MX[B]
        [3] 0   0       0xfdefc000 - 0xfdefffff (0x4000) MX[B]
        [4] 0   0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B]
        [5] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [6] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [7] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [8] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [9] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [10] -1 0       0xfe2fe000 - 0xfe2fefff (0x1000) MX[B]
        [11] -1 0       0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [12] -1 0       0xc1000000 - 0xc101ffff (0x20000) MX[B](B)
        [13] -1 0       0xfd000000 - 0xfd7fffff (0x800000) MX[B](B)
        [14] -1 0       0xfdefc000 - 0xfdefffff (0x4000) MX[B](B)
        [15] -1 0       0xf8000000 - 0xf9ffffff (0x2000000) MX[B](B)
        [16] -1 0       0xfe2ff000 - 0xfe2fffff (0x1000) MX[B]
        [17] -1 0       0xfe4f0000 - 0xfe4fffff (0x10000) MX[B](B)
        [18] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [19] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
        [20] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
        [21] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
        [22] 1  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
        [23] 1  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
        [24] 1  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
        [25] 1  0       0x0000e400 - 0x0000e4ff (0x100) IX[B]
        [26] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [27] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [28] -1 0       0x0000bc70 - 0x0000bc7f (0x10) IX[B]
        [29] -1 0       0x0000bc80 - 0x0000bcff (0x80) IX[B]
        [30] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
        [31] -1 0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [32] -1 0       0x0000ccd0 - 0x0000ccdf (0x10) IX[B]
        [33] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
        [34] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B](B)
        [35] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [36] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
        [37] 1  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [38] 1  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) MGA(0): Write-combining range (0xf8000000,0x2000000)
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): Using 2252 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid filled trapezoids
        8x8 mono pattern filled rectangles
        8x8 mono pattern filled trapezoids
        Indirect CPU to Screen color expansion
        Screen to Screen color expansion
        Solid Lines
        Dashed Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                14 256x256 slots
                5 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(==) MGA(0): Direct rendering disabled
(WW) MGA(0): Option "CalcAlgorithm" is not used
(==) RADEON(1): Write-combining range (0xf0000000,0x2000000)
(II) RADEON(1): membase=0xf0000000 memsize=0x04000000 agpSize=0x00000008
(II) RADEON(1): Memory manager initialized to (0,0) (1920,4369)
(II) RADEON(1): Reserved area from (0,1440) to (1920,1442)
(II) RADEON(1): Largest offscreen area available: 1920 x 2927
(II) RADEON(1): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                30 256x256 slots
                11 512x512 slots
(II) RADEON(1): Acceleration enabled
(==) RADEON(1): Backing store disabled
(==) RADEON(1): Silken mouse enabled
(II) RADEON(1): Using hardware cursor (scanline 1442)
(II) RADEON(1): Largest offscreen area available: 1920 x 2910
(II) RADEON(1): No MM_TABLE found(II) Loading sub module "theatre"
(II) LoadModule: "theatre"
(II) Loading /usr/X11R6/lib/modules/multimedia/theatre_drv.o
(II) Module theatre: vendor="The XFree86 Project"
        compiled for 4.2.99.2, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Reloading /usr/X11R6/lib/modules/libi2c.a
(II) RADEON(1): Using Radeon bus access method
(II) RADEON(1): I2C bus "Radeon multimedia bus" initialized.
(II) RADEON(1): *** 0x83ab2f8 versus 0x83ab2f8
(II) RADEON(1): ref=2700 M=0x0b N=0x0c timing=0x18
(II) RADEON(1): No video input capabilities detected
(WW) RADEON(1): Option "CalcAlgorithm" is not used
(II) RADEON(1): Direct rendering disabled
Symbol fi1236_dump_status from module /usr/X11R6/lib/modules/drivers/radeon_drv.o is 
unresolved!
(II) Entity 0 shares no resources
(II) Entity 1 shares no resources
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Keyboard "Keyboard[0]" handled by legacy driver
(**) Option "Protocol" "ps/2"
(**) Mouse[1]: Protocol: "ps/2"
(**) Option "CorePointer"
(**) Mouse[1]: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Emulate3Buttons" "on"
(**) Option "Emulate3Timeout" "50"
(**) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse[1]: Buttons: 3
(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
(II) Mouse[1]: ps2EnableDataReporting: succeeded


Repeat By:

/*
**
** t1.c
**
** Test xv-extention with image scaling
**
** 16.01.2003  H. Korneder  initial version
**
** compile with:
** cc t1.c -L/usr/X11/lib -lXv -lXext -lX11 -o t1
**
** reach the author at:
**    [EMAIL PROTECTED]
**
*/

#include <errno.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvlib.h>
#include <X11/extensions/XShm.h>

Display             *disp;
Window               rootwin;
Window               window;
GC                   gc;
XGCValues            xgcv;
XSizeHints           hint;
XVisualInfo          vinfo;
int                  depth = 24;
int                  screen = 1;
int                  xv_port = 75; /* xvinfo | fgrep 'port base' */
int                  xv_format= 0x32315659; /* vinfo | fgrep '(YV12) YUV planar' */
char                *disp_name = ":0.1";
XSetWindowAttributes xswa;
unsigned long        xswamask;
XvImage             *xvimage;
int                  image_width  = 1920;
int                  image_height = 1080;
int                  win_width    = 1024;
int                  win_height   =  576;
XShmSegmentInfo      ShmInfo;
int                  ShmFlag;
char                 buf[512];

main(int argc, char *argv[])
        {
        disp = XOpenDisplay(disp_name);
        if ( ! disp ) perror("Display"), exit(1);
        rootwin = DefaultRootWindow(disp);
        if ( ! rootwin ) perror("RootWin"), exit(1);
        if ( ! XMatchVisualInfo(disp, 1, depth, TrueColor, &vinfo) ) 
perror("VisualInfo"), exit(1);
        printf("VisualId=0x%0x\n", vinfo.visualid);
        xswa.background_pixel = 0;
        xswa.border_pixel     = 0;
        xswamask = CWBackPixel | CWBorderPixel;
        window = XCreateWindow(disp, rootwin, 10,10,win_width,win_height,
          0, depth,InputOutput,vinfo.visual, xswamask,&xswa);
        if ( ! window ) perror("Window"), exit(1);
        XMapWindow(disp, window);
        gc = XCreateGC(disp, window, 0L, &xgcv);
        if ( ! gc ) perror("gc"), exit(1);
        XFlush(disp);
        XSync(disp, False);
        puts("window should be mapped..."); gets(buf);
        xvimage = XvShmCreateImage(disp, xv_port, xv_format, (char *)0, image_width, 
image_height, &ShmInfo);
        if ( ! xvimage ) perror("XvShmCreateImage"), exit(1);
        printf("XvShmCreateImage returned xvimage->data_size=%d\n", 
xvimage->data_size);
        ShmInfo.shmid    = shmget(IPC_PRIVATE, xvimage->data_size, IPC_CREAT | 0777);
        ShmInfo.shmaddr  = (char *) shmat(ShmInfo.shmid, 0, 0);
        ShmInfo.readOnly = False;
        xvimage->data = ShmInfo.shmaddr;
        XShmAttach(disp, &ShmInfo);
        XSync(disp, False);
        // shmctl(ShmInfo.shmid, IPC_RMID, 0);
        memset(xvimage->data,128,xvimage->data_size); /* gray image */
        puts("before putimage..."); gets(buf);
        XvShmPutImage(disp, xv_port, window, gc, xvimage,
                 0, 0,  image_width, image_height,
                 0, 0,  win_width  , win_height  ,
                 False);
        XSync(disp, False);
        puts("after putimage/sync..."); gets(buf);
}


_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to