Bug 68901 - wine/3DMark2001: shader generation fails
Summary: wine/3DMark2001: shader generation fails
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: http://www.futuremark.com/support/dow...
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-09-03 18:24 UTC by gurketsky
Modified: 2019-09-18 19:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description gurketsky 2013-09-03 18:24:07 UTC
When running 3DMark2001 in wine (1.7.1), the r600 gallium driver (on RV710) fails to generate some shaders. This is a regression:

3f67251e3d0ce61a0e7fc16de91de6fb49cad768 is the first bad commit
commit 3f67251e3d0ce61a0e7fc16de91de6fb49cad768
Author: Christian König <christian.koenig@amd.com>
Date:   Sun Mar 10 14:33:29 2013 +0100

    glsl_to_tgsi: allocate arrays separately v2
    
    Instead of allocating everything as temporaries, use the
    new array allocation functions.
    
    v2: fix bug in simplify_cmp, declare arrays on demand
    
    Signed-off-by: Christian König <christian.koenig@amd.com>

:040000 040000 75a734fc12e314c32a959f4111543ec518cb8a51 57eed35384ed9aadd89adfce1a075b4ad0a745cc M	src

The output when the shader generation fails is:
EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:1886 r600_shader_from_tgsi - GPR limit exceeded - shader requires 129 registers
EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:134 r600_pipe_shader_create - translation from TGSI failed !
EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=0) -12
EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:1886 r600_shader_from_tgsi - GPR limit exceeded - shader requires 129 registers
EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:134 r600_pipe_shader_create - translation from TGSI failed !
EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=0) -12

This is not a dupe of bug 62696 as the problem is still there with git version 6b5c802c30ada043ee31cc5e62249ff99bbc865f.
Comment 1 GitLab Migration User 2019-09-18 19:05:38 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/463.


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.