Bug 81683 - [r600g] graphic glitches in Skyrim - failed to build shader
Summary: [r600g] graphic glitches in Skyrim - failed to build shader
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 10.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 85596
  Show dependency treegraph
 
Reported: 2014-07-23 18:41 UTC by 640bugs
Modified: 2019-09-18 19:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of graphic problems in Skyrim (297.16 KB, image/jpeg)
2014-07-23 18:41 UTC, 640bugs
Details
Screenshot of skyrim with patch (385.21 KB, image/jpeg)
2014-07-24 18:39 UTC, 640bugs
Details
increase GPR limit up to 128 in r600 driver (410 bytes, patch)
2014-07-24 18:40 UTC, 640bugs
Details | Splinter Review

Description 640bugs 2014-07-23 18:41:08 UTC
Created attachment 103360 [details]
Screenshot of graphic problems in Skyrim

When playing Skyrim with Mesa 10.2.4, I get graphic glitches at the place of the thieves guild (see screenshot, the floor isn't visible). I am playing with an AMD Radeon 685, Linux 3.15.5-2-ARCH.

I noticed these messages in the console.

EE r600_shader.c:2188 r600_shader_from_tgsi - GPR limit exceeded - shader requires 127 registers
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=1) -12

Is this bug known? Any ideas or suggestion, how i can help to solve this issue?
Comment 1 640bugs 2014-07-23 18:59:45 UTC
The graphic card is an AMD Radeon HD 6850. Sorry for the typo.
Comment 2 640bugs 2014-07-24 18:39:17 UTC
Created attachment 103403 [details]
Screenshot of skyrim with patch

I manually increased the GPR limit up to 128, which solves the problem as you can see in the screenshot. Of course I am not sure, if this is a valid patch and doesnt cause other problems.
I also attached the patch.
Comment 3 640bugs 2014-07-24 18:40:40 UTC
Created attachment 103405 [details] [review]
increase GPR limit up to 128 in r600 driver
Comment 4 GitLab Migration User 2019-09-18 19:16:43 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/517.


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.