Skip to contentSkip to conversation

New: [radeon] corruption in firefox and cs checker warning

Bug 15284 [email protected] 1 participant 11 messages Feb 12, 2010 – Feb 20, 2010

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=15284

Summary: [radeon] corruption in firefox and cs checker warning
Product: Drivers
Version: 2.5
Kernel Version: drm-radeon-testing
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

Created an attachment (id=25003)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25003)
visual corruption in firefox

from drm-radeon-testing tree @commit 7cb72ef4d39978e6e07415a2d552b06d567c3079 lots of the following in dmesg:
radeon 0000:01:00.0: r600_packet3_check:1055 invalid cmd stream 140 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
radeon 0000:01:00.0: z/stencil with no depth buffer
radeon 0000:01:00.0: r600_packet3_check:1055 invalid cmd stream 159 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
radeon 0000:01:00.0: z/stencil with no depth buffer

Card is an Radeon 4850(RV770), Screenshots from corruption in firefox attached.

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#1 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

http://bugzilla.kernel.org/show_bug.cgi?id=15284

--- Comment #1 from [email protected] 2010-02-12 13:25:18 --- Created an attachment (id=25004)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25004)
modprobe log

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#2 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

--- Comment #2 from [email protected] 2010-02-12 13:35:34 --- Created an attachment (id=25005)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25005)
other visual corruption in firefox

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#3 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

Jérôme Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #3 from Jérôme Glisse <[email protected]> 2010-02-12 15:42:18 --- Please add more context, which desktop are you running (kde, gnome ? ...) Do you have desktop effect enabled ? Is there a GL application running ?

Signature · 12 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#4 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

Johannes Hirte <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
                   |                            |au.de

--- Comment #4 from Johannes Hirte <[email protected]> 2010-02-15 00:04:29 --- I can confirm the "Invalid command stream" errors. In the log I found mostly

[drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: z/stencil with no depth buffer radeon 0000:01:00.0: r600_packet3_check:1055 invalid cmd stream 142

and one

[drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: z/stencil with no depth buffer radeon 0000:01:00.0: r600_packet3_check:1055 invalid cmd stream 161

The screen corruption occured in akregator (KDE newsreader) here.

My kernel is latest git (linux-2.6) with the drm-code from drm-radeon-testing. I'm running KDE 4.4 (with composite enabled). Libdrm, mesa and radeon driver are latest git, KMS is enabled. Hardware is a RV635 PRO AGP [Radeon HD 3650].

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#5 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

--- Comment #5 from Johannes Hirte <[email protected]> 2010-02-17 13:11:23 --- with latest updates from drm-radeon-testing I get now:

radeon 0000:01:00.0: z/stencil with no depth buffer radeon 0000:01:00.0: r600_packet3_check:1055 invalid cmd stream 142 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

------------[ cut here ]------------                                            
WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:159
radeon_fence_signaled+0x61/0x90 [radeon]()                          
Hardware name: To Be Filled By O.E.M.                                           
Querying an unemited fence : ffff88001f6b9680 !                                 
Modules linked in: snd_seq_midi snd_emu10k1_synth snd_emux_synth

snd_seq_virmidi snd_seq_midi_emul snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss aes_x86_64 aes_generic xts gf128mul dm_crypt radeon ttm drm_kms_helper drm i2c_algo_bit snd_emu10k1 snd_rawmidi snd_ac97_codec ac97_bus snd_pcm snd_seq_device snd_timer snd_page_alloc snd_util_mem snd_hwdep i2c_amd8111 ohci_hcd sata_sil sr_mod amd64_edac_mod k8temp snd edac_core hwmon i2c_amd756 uhci_hcd edac_mce_amd sg
Pid: 2384, comm: X Not tainted 2.6.33-rc8-00070-g96737d6 #45

Call Trace:
 [<ffffffff810305ff>] ? warn_slowpath_common+0x76/0x8c
 [<ffffffff81030667>] ? warn_slowpath_fmt+0x40/0x45
 [<ffffffffa016916c>] ? radeon_fence_signaled+0x61/0x90 [radeon]
 [<ffffffffa01691df>] ? radeon_fence_wait+0x44/0x300 [radeon]
 [<ffffffff8108a2ac>] ? get_partial_node+0x15/0x81
 [<ffffffffa017b4c9>] ? radeon_cs_parser_init+0x1cb/0x293 [radeon]
 [<ffffffffa017aaae>] ? radeon_ib_get+0x124/0x1ec [radeon]
 [<ffffffffa017b78e>] ? radeon_cs_ioctl+0x0/0x19e [radeon]
 [<ffffffffa017b82e>] ? radeon_cs_ioctl+0xa0/0x19e [radeon]
 [<ffffffffa00f9970>] ? drm_ioctl+0x21a/0x300 [drm]
 [<ffffffff81009fe9>] ? save_i387_xstate+0x99/0x1ae
 [<ffffffff8109e622>] ? vfs_ioctl+0x23/0x93
 [<ffffffff8109eb69>] ? do_vfs_ioctl+0x454/0x498
 [<ffffffff81093549>] ? vfs_read+0x133/0x148
 [<ffffffff8109ebe9>] ? sys_ioctl+0x3c/0x5c
 [<ffffffff81001e6b>] ? system_call_fastpath+0x16/0x1b
---[ end trace 9376ac3cb6e5c7db ]---
radeon 0000:01:00.0: z/stencil with no depth buffer
radeon 0000:01:00.0: r600_packet3_check:1055 invalid cmd stream 142
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
------------[ cut here ]------------
WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:159
radeon_fence_signaled+0x61/0x90 [radeon]()
Hardware name: To Be Filled By O.E.M.
Querying an unemited fence : ffff88002680d780 !
Modules linked in: snd_seq_midi snd_emu10k1_synth snd_emux_synth

snd_seq_virmidi snd_seq_midi_emul snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss aes_x86_64 aes_generic xts gf128mul dm_crypt radeon ttm drm_kms_helper drm i2c_algo_bit snd_emu10k1 snd_rawmidi snd_ac97_codec ac97_bus snd_pcm snd_seq_device snd_timer snd_page_alloc snd_util_mem snd_hwdep i2c_amd8111 ohci_hcd sata_sil sr_mod amd64_edac_mod k8temp snd edac_core hwmon i2c_amd756 uhci_hcd edac_mce_amd sg
Pid: 2384, comm: X Tainted: G W 2.6.33-rc8-00070-g96737d6 #45

Call Trace:
 [<ffffffff810305ff>] ? warn_slowpath_common+0x76/0x8c
 [<ffffffff81030667>] ? warn_slowpath_fmt+0x40/0x45
 [<ffffffffa016916c>] ? radeon_fence_signaled+0x61/0x90 [radeon]
 [<ffffffffa01691df>] ? radeon_fence_wait+0x44/0x300 [radeon]
 [<ffffffffa017aaae>] ? radeon_ib_get+0x124/0x1ec [radeon]
 [<ffffffffa017b78e>] ? radeon_cs_ioctl+0x0/0x19e [radeon]
 [<ffffffffa017b82e>] ? radeon_cs_ioctl+0xa0/0x19e [radeon]
 [<ffffffffa00f9970>] ? drm_ioctl+0x21a/0x300 [drm]
 [<ffffffff8109e622>] ? vfs_ioctl+0x23/0x93
 [<ffffffff8109eb69>] ? do_vfs_ioctl+0x454/0x498
 [<ffffffff81093549>] ? vfs_read+0x133/0x148
 [<ffffffff8109ebe9>] ? sys_ioctl+0x3c/0x5c
 [<ffffffff81001e6b>] ? system_call_fastpath+0x16/0x1b
---[ end trace 9376ac3cb6e5c7dc ]---

So additional to the Invalid command stream errors come now the radeon fence warnings.

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#6 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

Jérôme Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED

--- Comment #6 from Jérôme Glisse <[email protected]> 2010-02-17 21:40:30 --- Possible trigger, haven't tested yet
gtkperf -c 500 and then choose the GtkDrawingArea - Circles test

Signature · 12 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#7 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

--- Comment #7 from Johannes Hirte <[email protected]> 2010-02-18 01:41:43 --- (In reply to comment #6)

Quoted 2 lines

Possible trigger, haven't tested yet
gtkperf -c 500 and then choose the GtkDrawingArea - Circles test

Can confirm this, gtkperf triggers this error/warning reliable.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#8 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

--- Comment #8 from Johannes Hirte <[email protected]> 2010-02-20 00:35:48 --- seems to be fixed in the xf86-video-ati driver in commit a3b730eceb522c7ac1ef3dd6f6c7d773118d03f7

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#9 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

Matthias Treydte <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #9 from Matthias Treydte <[email protected]> 2010-02-20 09:58:35 --- Same story here, except that I have a HD4850 card. Problems are gone as of

Quoted 1 line

http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=a3b730eceb522c7ac1ef3dd6f6c7d773118d03f7

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#10 lore raw

[Bug 15284] [radeon] corruption in firefox and cs checker warning

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15284

Jérôme Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |CODE_FIX

--- Comment #10 from Jérôme Glisse <[email protected]> 2010-02-20 12:23:22 --- Sorry i forgot to update this bug, yes the mentioned commit fix the userspace bug the kernel was complaining about. I am closing this bug.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel