Bug 54230 - r600-llvm-compiler completely broken at CAYMAN
Summary: r600-llvm-compiler completely broken at CAYMAN
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 20:48 UTC by Thomas Rohloff
Modified: 2019-09-18 19:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The desktop with compiz. (9.40 KB, image/png)
2012-08-29 20:48 UTC, Thomas Rohloff
Details
Minecrafts main menue. (18.95 KB, image/png)
2012-08-29 20:49 UTC, Thomas Rohloff
Details
dmesg (55.88 KB, text/plain)
2012-08-29 20:54 UTC, Thomas Rohloff
Details
Xorg.0.log (79.56 KB, application/octet-stream)
2012-08-29 20:55 UTC, Thomas Rohloff
Details
R600_DUMP_SHADERS=1 compiz --replace > Desktop/compiz-shader.txt 2>&1 (55.91 KB, text/plain)
2012-08-31 12:37 UTC, Thomas Rohloff
Details
R600_DUMP_SHADERS=1 java -jar minecraft.jar > Desktop/minecraft-shader.txt 2>&1 (552.12 KB, text/plain)
2012-08-31 12:38 UTC, Thomas Rohloff
Details

Description Thomas Rohloff 2012-08-29 20:48:36 UTC
Created attachment 66294 [details]
The desktop with compiz.

Today I decided to give the llvm shader compiler a try, so I compiled mesa (from git) with it enabled.
The result was a completely broken desktop. With the help of a 2d desktop environment I was able to capture some screenshots/videos from Minecraft (see attachments).

No information in dmesg and/or Xorg.0.log (I attach them anyway).
Comment 1 Thomas Rohloff 2012-08-29 20:49:21 UTC
Created attachment 66295 [details]
Minecrafts main menue.
Comment 2 Thomas Rohloff 2012-08-29 20:54:31 UTC
Created attachment 66296 [details]
dmesg
Comment 3 Thomas Rohloff 2012-08-29 20:55:07 UTC
Created attachment 66297 [details]
Xorg.0.log
Comment 4 Thomas Rohloff 2012-08-30 08:54:22 UTC
As the video is to big for an attachment here's a link: https://vimeo.com/48479243
It shows Minecraft in-game.
Comment 5 Tom Stellard 2012-08-30 13:13:28 UTC
The llvm backend hasn't been tested much on Cayman, so probably some of the Cayman specific features aren't working correctly. Could you set the environment variable R600_DUMP_SHADERS=1 and then post the debug output from compiz and minecraft?
Comment 6 Thomas Rohloff 2012-08-31 12:37:31 UTC
Created attachment 66403 [details]
R600_DUMP_SHADERS=1 compiz --replace > Desktop/compiz-shader.txt 2>&1

(In reply to comment #5)
I hope this is what you wanted.
Comment 7 Thomas Rohloff 2012-08-31 12:38:25 UTC
Created attachment 66404 [details]
R600_DUMP_SHADERS=1 java  -jar minecraft.jar > Desktop/minecraft-shader.txt 2>&1
Comment 8 Vadim Girlin 2012-08-31 16:22:43 UTC
(In reply to comment #5)
> The llvm backend hasn't been tested much on Cayman, so probably some of the
> Cayman specific features aren't working correctly. Could you set the
> environment variable R600_DUMP_SHADERS=1 and then post the debug output from
> compiz and minecraft?

It seems alu instruction 0x86 RECIP_IEEE is emitted in a single slot, though IIRC it should be at least on three slots x-z.
Comment 9 GitLab Migration User 2019-09-18 19:00:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/417.


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.