Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element not starting: shader compilation error #26501

Closed
scaiper opened this issue Nov 3, 2023 · 2 comments
Closed

Element not starting: shader compilation error #26501

scaiper opened this issue Nov 3, 2023 · 2 comments
Labels

Comments

@scaiper
Copy link

scaiper commented Nov 3, 2023

Steps to reproduce

  1. Where are you starting? What can you see?
    I'm launching Element from flatpak.
    flatpak run im.riot.Riot

Outcome

Element shows white screen

Screenshot_20231103_181858

and prints this to console:

[56:1103/180920.310626:ERROR:shared_context_state.cc(83)] Skia shader compilation error
------------------------
// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in float2 localCoord;noperspective out float2 vlocalCoord_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vlocalCoord_S0 = localCoord;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform sampler2D uTextureSampler_0_S0;
noperspective in float2 vlocalCoord_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0 = half4(1);float2 texCoord;texCoord = vlocalCoord_S0;outputColor_S0 = (blend_modulate(sample(uTextureSampler_0_S0, texCoord), half4(1)));const half4 outputCoverage_S0 = half4(1);{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
in highp vec2 position;
in highp vec2 localCoord;
noperspective out highp vec2 vlocalCoord_S0;
void main() {
    vlocalCoord_S0 = localCoord;
    gl_Position = vec4(position, 0.0, 1.0);
    gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D uTextureSampler_0_S0;
noperspective in highp vec2 vlocalCoord_S0;
void main() {
    mediump vec4 outputColor_S0 = vec4(1.0);
    highp vec2 texCoord = vlocalCoord_S0;
    outputColor_S0 = texture(uTextureSampler_0_S0, texCoord, -0.5);
    {
        sk_FragColor = outputColor_S0;
    }
}


Errors:
link failed but did not provide an info log

Operating system

Debian bookworm

Application version

1.11.47

How did you install the app?

https://flathub.org/apps/im.riot.Riot

Homeserver

matrix.org

Will you send logs?

Yes

@weeman1337
Copy link
Contributor

Thank you for reporting the issue. Unfortunately flatpak is not a supported environment.

You should provide any information here: flathub/im.riot.Riot#411

@weeman1337 weeman1337 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
@razzeee
Copy link

razzeee commented Nov 7, 2023

FYI this problem is happening on all Linux distro formats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants