Bug 22933

Summary: Artifacts with RV350 AP [Radeon 9600]
Product: xorg Reporter: Michiel <bm.hartsuiker>
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: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Screenshot of artifacts
none
xorg.conf
none
Xorg.0.log
none
log with EXA none

Description Michiel 2009-07-24 07:03:08 UTC
Created attachment 27978 [details]
Screenshot of artifacts

I've been using an ATI RV350 AP video card for about a year now and I've never been able to use EXA or opengl acceleration because it fills the screen with artifacts. Mostly the top 3rd of the screen. If I use the proprietary ati driver everything works, which makes me believe there is some bug in this hardware or the open source driver.

If I enable EXA instead of XAA, sometimes after a reboot there are no artifacts, and they will not show while the computer is still running. Then after some reboots they will show up again.

Is there anything I can do to create some information as to what causes these artifacts?

linux-2.6.30-gentoo-r4
X.Org X Server 1.6.2
Mesa 7.5
ati driver 6.12.2

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited Device 7c20
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (2000ns min), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 1: I/O ports at e000 [size=256]
	Region 2: Memory at bffe0000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at bffc0000 [disabled] [size=128K]
	Capabilities: [58] AGP version 3.0
		Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
		Command: RQ=32 ArqSz=2 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: radeonfb

01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
	Subsystem: PC Partner Limited Device 7c21
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (2000ns min), Cache Line Size: 64 bytes
	Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 1: Memory at bfff0000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host (rev 11)
	Subsystem: ASUSTeK Computer Inc. Device 8113
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 32
	Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=64M]
	Capabilities: [c0] AGP version 3.5
		Status: RQ=32 Iso- ArqSz=2 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8
	Kernel driver in use: agpgart-sis
	Kernel modules: sis-agp

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: bff00000-bfffffff
	Prefetchable memory behind bridge: c0000000-dfffffff
	Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Comment 1 Alex Deucher 2009-07-24 07:08:41 UTC
Please attach your xorg log and config.  Do any of these options help?

Option "ColorTiling" "False"
Option "AGPMode" "X"
where X = 1 or 2 or 4 or 8
Option "BusType" "PCI"

Please try the options individually.
Comment 2 Michiel 2009-07-24 07:29:22 UTC
None of those options fixed it but some did change the behavior somewhat. ColorTiling and BusType made all fonts barely readable. And AGPMode didn't do anything noticeable.
Comment 3 Michiel 2009-07-24 07:29:47 UTC
Created attachment 27980 [details]
xorg.conf
Comment 4 Michiel 2009-07-24 07:30:46 UTC
Created attachment 27981 [details]
Xorg.0.log
Comment 5 Alex Deucher 2009-07-24 08:05:40 UTC
(In reply to comment #2)
> None of those options fixed it but some did change the behavior somewhat.
> ColorTiling and BusType made all fonts barely readable. And AGPMode didn't do
> anything noticeable.
> 

Did you try all of the AGP modes (1, 2, 4, or 8)?
Comment 6 Michiel 2009-07-24 08:15:29 UTC
Yes all of them.
Comment 7 Alex Deucher 2009-07-24 08:19:35 UTC
Can you attach a log when EXA is enabled?
Comment 8 Alex Deucher 2009-07-24 08:20:49 UTC
Also, try the options again with this line removed:
Option      "AccelDFS" "on"
Comment 9 Michiel 2009-07-24 08:39:50 UTC
I tried them all again with AccelDFS removed, and it's the same.
Comment 10 Michiel 2009-07-24 08:40:30 UTC
Created attachment 27982 [details]
log with EXA
Comment 11 Michiel 2010-02-14 23:49:17 UTC
I kept trying if it worked after an upgrade of the driver, x-server and things like that. And it seems to be working now. Artifacts still show sometimes, but they are gone quick and small in comparison.

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.