Bug 23528

Summary: [KMS] rv280 and tiling corrupt some apps
Product: xorg Reporter: Andrew Randrianasulu <randrik>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log from current session
none
screenshot with very visible problems - Midnight Commander in Eterm
none
dmesg, module radeon was loaded with parameter "test=1" none

Description Andrew Randrianasulu 2009-08-26 07:46:07 UTC
I have radeon rv280:

01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA controller])
        Subsystem: Hightech Information System Ltd. Excalibur 9200SE VIVO 128M
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        Memory at c8000000 (32-bit, prefetchable) [size=128M]
        I/O ports at b800 [size=256]
        Memory at d7ef0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at d7ec0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2
        Kernel driver in use: radeon
        Kernel modules: radeon, radeonfb

(note: i don't have radeonfb loaded, it blacklisted)

with software versions listed below i have serious corruption in Eterm, xcalc, xxkb. Disabling DFS fixes xxkb, but other apps remain broken. Playing with ExaNoUploadToScreen has no effect (should it have any in KMS mode on radeons ?).

Enabling composite manager (built-in into e16 1.0.0 WM) fixes this bug. GTK2 apps are ok even without compositor.


software:

xserver git master , commit af76bddd7a47092e2f0f85b2547c1cc74eb5cebc (XQuartz: Check NSINTEGER_DEFINED to make sure the NSInteger and NSUInteger types are defined.)

pixman git master, commit ce966f4d8e8aa9a4465e2ab28666bae891194a72 ( Check if we have posix_memalign() in configure.ac. [23260, 23261])

libdrm git master, commit ce6c68dc8a893ed8673f49d381a8500c2ee3c29f (Kill last remnant of replacefb ioctl)

xf86-video-ati  git master , commit  04692f80678ffea15ac33820381ce45865e697b8 ( radeon: afaics these aren't radeon regs but r128 regs.)

mesa git master , commit b2e1b258812167ce8d33f5978f877439e280a1e4 ( st/xorg: Add support for dirty framebuffer region reporting.)

kernel - Linus' tree, commit 7c0a57d5c47bcfc492b3139e77400f888a935c44
Merge: 353d5c3... 94da210...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Mon Aug 24 12:53:45 2009 -0700
Merge branch 'fixes' of git://git.marvell.com/orion

------

I'll post xorg.conf, X log and screenshot as updates for this bug.
Comment 1 Andrew Randrianasulu 2009-08-26 07:47:02 UTC
Created attachment 28918 [details]
xorg.conf
Comment 2 Andrew Randrianasulu 2009-08-26 07:47:56 UTC
Created attachment 28919 [details]
Xorg.0.log from current session
Comment 3 Andrew Randrianasulu 2009-08-26 07:49:59 UTC
Created attachment 28920 [details]
screenshot with very visible problems - Midnight Commander in Eterm
Comment 4 Andrew Randrianasulu 2009-08-26 08:40:32 UTC
Created attachment 28924 [details]
dmesg, module radeon was loaded with parameter "test=1"
Comment 5 Andrew Randrianasulu 2009-10-05 19:12:59 UTC
This bug fixed with latest drm-next/libdrm/xf86-video-ati/xserver stack. Closing

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.