[Bug 11357] New: Color tiling with randr-1.2 branch broken on rv280

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 23 22:25:38 PDT 2007


           Summary: Color tiling with randr-1.2 branch broken on rv280
           Product: xorg
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: randrik at mail.ru
         QAContact: xorg-team at lists.x.org

i open separate bug for ColorTiling breakage in randr-1.2 branch of radeon

01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE]
(rev 01) (prog-if 00 [VGA])
        Subsystem: Hightech Information System Ltd. Excalibur 9200SE VIVO 128M
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 20
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at c800 [size=256]
        Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at dfdc0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2

kernel from kernel org
drm from git 068ffc1e1bf5607f836839a1fc621a95547251e3
Mesa from git 1a413b4d7765bbdc5e922659a4cc8aa17b1feb2d
xf86-video-radeon randr-1.2 branch 3bb46c03fddd3bd79bdab887366aeeced0290a3a

I have very wrong image when start x server without  Option "ColorTiling" "0"
Things are work well if i use this option.

Because i don't know previously about tiling as technique - i do simple search
and found two may_be_useful links:

 Method and apparatus for address mapping of a video memory using tiling

 Method and apparatus for rasterizing in a hierarchical tile order

So, according to these articles - Frame Buffer tiling is important for 2D and
3D performance. And yes, on my low-end consumer card with slow memory

(--) RADEON(0): Mapped VideoRAM: 65536 kByte (64 bit DDR SDRAM)

I can actually see difference in 3d apps (2x-2.5x slowdown in quake3,
resolution 1024x768 at 75hz, 24 bit. Quake3 is my standard 3d app for finding
basic regressions in 3d), 2d performance still acceptable, but this may be
because fast CPU (celeron-1700).

I have question for r300 owners - do color tiling work for you in radeon
randr-1.2 branch? 

May be this is fundamental limitation in current drivers for non-r300 cards?
r300 have bigger hardware limits (MaxSurfaceWidth = 3968, info->MaxLines = 4096
vs info->MaxSurfaceWidth = 2048; info->MaxLines = 2048 in radeon_driver.c) -
may be this is source for my problems? As far as i known - current radeon
randr-1.2 driver over allocated all buffers (include framebuffer) just in case
there will be second monitor attached later - but i can't find in source files 
how i can override this. (and all randr-1.2 fun will be off if i'll do such


Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the xorg-driver-ati mailing list