Bug 55448

Summary: [ColorTiling2D] R600 BARTS radeon: The kernel rejected CS and graphical corruption with tropics
Product: Mesa Reporter: Bruno Jacquet (Xaapyks) <maxijac>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: tropics with colortiling2D on

Description Bruno Jacquet (Xaapyks) 2012-09-29 11:55:08 UTC
I spotted this issue with unigine-tropics. The unigine window is all garbled, even the loading screen.

Happens whenever I set the DDX to ColorTiling2D "on". When set to off, it works.

I have the latest DDX & mesa of the time I'm posting this report
for mesa it is 2.1 Mesa 9.1-devel (git-66159f9)
for xf86-video-ati : e8cb0b721e6ea251f85c799ca0563bfa59a2d37c
Linux 3.5.4

I'm using the LLVM compiler but with R600_LLVM=0 I have the same thing

Unlike similars reports about the kernel rejecting CS, Glxgears and others random GL games don't have problems. Heaven is working correctly.

If I have to bisect, tell me what, the DDX or mesa ?

I'll post a screenshot.
Comment 1 Bruno Jacquet (Xaapyks) 2012-09-29 11:58:09 UTC
dmesg:

[12040.432139] radeon 0000:01:00.0: evergreen_surface_value_conv_check:330 cb invalid array mode 6
[12040.432144] radeon 0000:01:00.0: evergreen_packet3_check:2098 invalid cmd stream 595
[12040.432147] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[12040.432256] radeon 0000:01:00.0: evergreen_surface_value_conv_check:330 cb invalid array mode 6
[12040.432259] radeon 0000:01:00.0: evergreen_packet3_check:2058 invalid cmd stream
[12040.432261] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[12040.450013] radeon 0000:01:00.0: evergreen_surface_value_conv_check:330 cb invalid array mode 6
[12040.450019] radeon 0000:01:00.0: evergreen_packet3_check:2098 invalid cmd stream 595
[12040.450021] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[12040.467709] radeon 0000:01:00.0: evergreen_surface_value_conv_check:330 cb invalid array mode 6
[12040.467715] radeon 0000:01:00.0: evergreen_packet3_check:2098 invalid cmd stream 595
[12040.467717] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[12040.480946] radeon 0000:01:00.0: evergreen_surface_value_conv_check:330 cb invalid array mode 6
[12040.480951] radeon 0000:01:00.0: evergreen_packet3_check:2098 invalid cmd stream 595
Comment 2 Bruno Jacquet (Xaapyks) 2012-09-29 11:59:05 UTC
Created attachment 67848 [details]
tropics with colortiling2D on
Comment 3 Alex Deucher 2012-10-01 12:47:08 UTC
Are you running a 32-bit app on a 64-bit distro by any chance?  If so, you may be using an old version of the 32-bit 3D driver.  You'll need to build and install an updated version of the 32-bit 3D driver as well.
Comment 4 Bruno Jacquet (Xaapyks) 2012-10-01 19:02:05 UTC
You were right... sorry about that, I did not realize tropics was x86.
Now it works, with massive rendering glitches though. I'll report them if I don't find open bug reports.

Thanks.

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.