Skip to contentSkip to conversation

New: radeon: The kernel rejected CS,

Bug 49632 [email protected] 1 participant 13 messages May 8, 2012 – Nov 2, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=49632

Bug #: 49632
Summary: radeon: The kernel rejected CS,
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

Created attachment 61215
--> https://bugs.freedesktop.org/attachment.cgi?id=61215
glxgears apitrace 5-8-12

glxgears:

radeon: The kernel rejected CS, see dmesg for more information.

chromium --enable-webgl --ignore-gpu-blacklist:

radeon: The kernel rejected CS, see dmesg for more information. EE r600_pipe.c:78 r600_create_fence - r600: too many concurrent fences

dmesg output:

[ 1306.131363] radeon 0000:01:00.0: forbidden register 0x00028354 at 166
[ 1306.131366] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !

Computer Info:

Linux 3.3.4-2-ARCH

0.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670]

model name : AMD FX(tm)-6100 Six-Core Processor
cpu MHz : 4013.411
model name : AMD FX(tm)-6100 Six-Core Processor
cpu MHz : 4013.411
model name : AMD FX(tm)-6100 Six-Core Processor
cpu MHz : 4013.411
model name : AMD FX(tm)-6100 Six-Core Processor
cpu MHz : 4013.411
model name : AMD FX(tm)-6100 Six-Core Processor
cpu MHz : 4013.411
model name : AMD FX(tm)-6100 Six-Core Processor
cpu MHz : 4013.411

X.Org version: 1.12.1
dimensions: 1920x1080 pixels (508x285 millimeters)
depth of root window: 24 planes
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
--
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL version string: 2.1 Mesa 8.1-devel
OpenGL shading language version string: 1.30
OpenGL extensions:
GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,

Mesa and DDX built from git, tested for a few weeks (I'm a busy man). Started when updated/rebuilt on 4-18-12. Built again on 5-6-12.

Official packages work.

Reproduciblility: Permanent

Similar to/Same as: https://bugs.freedesktop.org/show_bug.cgi?id=47039

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 49632] radeon: The kernel rejected CS,

https://bugs.freedesktop.org/show_bug.cgi?id=49632

[email protected] changed:

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

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=47039
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #1 from [email protected] 2012-05-08 04:38:35 PDT --- Created attachment 61218
--> https://bugs.freedesktop.org/attachment.cgi?id=61218
glxgears apitrace without setting R600_STREAMOUT=1

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #2 from [email protected] 2012-05-08 04:39:23 PDT --- Seems to work now without forcing streamout, but last time I tried it was not affected by any of the changes I made to env.

Current variables:

export R600_ENABLE_ST3C=1
export VDPAU_DRIVER=r600

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #3 from [email protected] 2012-05-08 04:56:44 UTC ---

There is still an issue without streamout forced.

projectM-pulseaudio:

radeon: The kernel rejected CS, see dmesg for more information.

dmesg:

[  997.512250] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #5 from Alex Deucher <[email protected]> 2012-05-08 19:36:27 UTC --- (In reply to comment #0)

Quoted 5 lines

dmesg output:

[ 1306.131363] radeon 0000:01:00.0: forbidden register 0x00028354 at 166
[ 1306.131366] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !

You need a newer kernel to use streamout.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #6 from [email protected] 2012-05-09 03:55:23 PDT --- Ok. I didn't realize that. I have also tried with 3.4rc8, with the same result. Did i miss something in building the kernel?

Also, what about projectM without streamout enabled?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #7 from [email protected] 2012-05-09 04:15:06 PDT --- (In reply to comment #6)

Quoted 4 lines

Ok. I didn't realize that. I have also tried with 3.4rc8, with the same result. Did i miss something in building the kernel?

Also, what about projectM without streamout enabled?

Sorry, mean rc5.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #8 from Alex Deucher <[email protected]> 2012-05-09 06:14:17 PDT --- (In reply to comment #6)

Quoted 2 lines

Ok. I didn't realize that. I have also tried with 3.4rc8, with the same result. Did i miss something in building the kernel?

Are you getting the same error about forbidden register 0x00028354? That register is in the allowed list for 3.4 so you shouldn't be getting that error.

Quoted 2 lines

Also, what about projectM without streamout enabled?

Is there anything else in dmesg other than *ERROR* Failed to parse relocation -12?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #9 from [email protected] 2012-05-09 06:36:57 PDT --- No, there is nothing else in dmesg. Is there any more info you'd like me to gather?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

--- Comment #10 from Andreas Boll <[email protected]> 2012-08-08 19:10:15 UTC --- Can you test it with kernel 3.5 and current mesa-git?
There were streamout fixes for r700 in both kernel and mesa.

projectM-pulseaudio runs fine on my system.

Gallium 0.4 on AMD RV770 -- 2.1 Mesa 8.1-devel (git-be42a45) Kernel 3.5 (enables streamout for r700 by default) ColorTiling2D enabled

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 49632] radeon: The kernel rejected CS,

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=49632

Andreas Boll <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel