Bug 36018 - RV516 - invalid command stream, forbidden register errors
Summary: RV516 - invalid command stream, forbidden register errors
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 00:48 UTC by Torsten Krah
Modified: 2018-06-12 19:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
glxinfo output (16.85 KB, text/plain)
2011-04-06 04:09 UTC, Torsten Krah
no flags Details

Description Torsten Krah 2011-04-06 00:48:32 UTC
Since upgrade to 2.6.38.2 i see this messages in dmesg very often - but did not find any other visible error i can tell:

[258869.776561] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 530 !
[258869.776565] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[274506.665934] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 3906 !
[274506.665939] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[274506.761322] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 3906 !
[274506.761327] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[359556.227509] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 474 !
[359556.227514] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[359556.232751] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 9244 !
[359556.232755] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[364386.404628] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 452 !
[364386.404633] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[364456.416231] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 530 !
[364456.416237] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[364557.291013] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 1484 !
[364557.291018] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[365187.479279] Forbidden register 0x0000 in cs at 7249 (val=41d00000)
[365187.479283] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[365190.322723] Forbidden register 0x0000 in cs at 14669 (val=41d00000)
[365190.322728] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[365191.531160] Forbidden register 0x0000 in cs at 711 (val=41d00000)
[365191.531166] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !


Are these messages serious, any things i can provide to get rid of them?
Comment 1 Michel Dänzer 2011-04-06 02:14:00 UTC
(In reply to comment #1)
> Are these messages serious, any things i can provide to get rid of them?

They mean that some rendering operations are dropped, do you notice any visual elements missing or looking incorrect? Is there anything related in the stderr output of 3D apps?

Please attach (as opposed to paste) the output of glxinfo.
Comment 2 Torsten Krah 2011-04-06 04:09:27 UTC
Created attachment 45340 [details]
glxinfo output

GlxInfo Output.
Sometimes i miss the graphics of my gnome cpufreq applets (got 4 - 2 are showing, 2 are garbled - don't know if this is related to those error messages).
Comment 3 Michel Dänzer 2011-04-06 05:06:56 UTC
(In reply to comment #2)
> Sometimes i miss the graphics of my gnome cpufreq applets (got 4 - 2 are
> showing, 2 are garbled - don't know if this is related to those error
> messages).

It might be. If you disable/remove the garbled ones, do the kernel messages stop?

Are you using compiz or another compositing manager that uses OpenGL?
Comment 4 Torsten Krah 2011-04-06 06:04:23 UTC
At the moment all are showing fine and nothing is garbled - no kernel messages shown at the moment (don't know how to trigger them).
No i am using plain metacity - all effects disabled, no OpenGL usage afaik.
Comment 5 Michel Dänzer 2011-04-06 06:57:12 UTC
If there's no OpenGL involved, it can't be a Mesa driver issue. So you're saying that the messages happened while only using the X driver, and only with kernel 2.6.38.2? Which kernel did you use before?
Comment 6 Torsten Krah 2011-04-06 11:18:29 UTC
Those messages i did see since using 2.6.38(.2) one (natty build).
Yes there's no OpenGL involved (afaik tell, i did not explicitly used opengl - maybe some program i am using does use opengl and i don't know it - as i don't know exactly which program/usage does force those errors i cant tell for sure - sorry - only guess) - maybe i can run some opengl programs or do other "tests" to provoke those messages - maybe you've got an idea what might be the cause of this issue and things i can try.

Before i used the maverick 2.6.35.x kernel and i am really sure i did not see unknown packet type or invalid command stream messages - if i find a way to get them reproduced i can test this.
Comment 7 Michel Dänzer 2011-04-07 07:31:49 UTC
(In reply to comment #6)
> Yes there's no OpenGL involved (afaik tell, i did not explicitly used opengl -
> maybe some program i am using does use opengl and i don't know it - as i don't
> know exactly which program/usage does force those errors i cant tell for sure -
> sorry - only guess)

Something like

 sudo lsof|grep _dri.so

should show every process using a Mesa 3D driver.


> maybe you've got an idea what might be the cause of this issue and things i can
> try.

The cpufreq applets seem like the most promising lead at this point. Basically, any time you notice any visual element(s) missing or looking wrong, check if new messages appeared in the kernel output around the same time.
Comment 8 Torsten Krah 2011-04-07 07:57:09 UTC
(In reply to comment #7)

> Something like
> 
>  sudo lsof|grep _dri.so
> 
> should show every process using a Mesa 3D driver.

The only thing is:

Xorg       7982       root  mem       REG                8,3     3443360    6621153 /usr/lib/dri/r300_dri.so

Xorg itself.


> 
> 
> The cpufreq applets seem like the most promising lead at this point. Basically,
> any time you notice any visual element(s) missing or looking wrong, check if
> new messages appeared in the kernel output around the same time.

At the moment there are again some glitches - 3 of the 4 applets are "iconless" but clicking on them still get my interaction - so yes, they are there but not shown (whatever may cause this - maybe unrelated) - resizing the panel does bring them back but does not cause erros to appear.
I've got only 2 lines from yesterday to today:

[80165.008860] [drm:r100_cs_packet_parse] *ERROR* Unknown packet type 1 at 13234 !
[80165.008865] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

So i am still unable to tell (yet) which program or X usage does cause this.
Comment 9 Adam Jackson 2018-06-12 19:08:57 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.


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.