Skip to content

AMD/Linux register error when compiling shaders #1601

@eyelash

Description

@eyelash

When running cargo run --example basic I get the following output:

OpenGL version 3.3 (Core Profile) Mesa 17.1.6
Shader resource path: None
EE r600_shader.c:3661 r600_shader_from_tgsi - GPR limit exceeded - shader requires 305 registers
EE r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:800 r600_shader_select - Failed to build shader variant (type=0) -12
EE r600_shader.c:3661 r600_shader_from_tgsi - GPR limit exceeded - shader requires 243 registers
EE r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:800 r600_shader_select - Failed to build shader variant (type=0) -12
EE r600_shader.c:3661 r600_shader_from_tgsi - GPR limit exceeded - shader requires 305 registers
EE r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:800 r600_shader_select - Failed to build shader variant (type=0) -12
EE r600_shader.c:3661 r600_shader_from_tgsi - GPR limit exceeded - shader requires 243 registers
EE r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:800 r600_shader_select - Failed to build shader variant (type=0) -12

My graphics card is a Radeon HD 2400 XT running the latest Mesa drivers on Linux.
I get the same error messages when running the servo nightly build and webpages do not render correctly. I know this card is probably too old to properly run webrender but I'm reporting this bug anyway in the hope that there might be some solution to at least render webpages correctly in servo.
If want me to provide more information or try some patches I will happily do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions