{"record":{"id":"ba02c0b92d182d65","repo":"remotion-dev/remotion","slug":"linear-progressive-blur-shader-compile-failed-l","errorCode":null,"errorMessage":"Linear progressive blur shader compile failed: ${log ?? '(no log)'}","messagePattern":"Linear progressive blur shader compile failed: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/effects/src/linear-progressive-blur/linear-progressive-blur-runtime.ts","lineNumber":47,"sourceCode":"\treadonly vertical: LinearProgressiveBlurUniforms;\n};\n\nconst compileShader = (\n\tgl: WebGL2RenderingContext,\n\ttype: number,\n\tsource: string,\n): WebGLShader => {\n\tconst shader = gl.createShader(type);\n\tif (!shader) {\n\t\tthrow new Error('Failed to create WebGL shader');\n\t}\n\n\tgl.shaderSource(shader, source);\n\tgl.compileShader(shader);\n\tif (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {\n\t\tconst log = gl.getShaderInfoLog(shader);\n\t\tgl.deleteShader(shader);\n\t\tthrow new Error(\n\t\t\t`Linear progressive blur shader compile failed: ${log ?? '(no log)'}`,\n\t\t);\n\t}\n\n\treturn shader;\n};\n\nconst linkProgram = (\n\tgl: WebGL2RenderingContext,\n\tvs: WebGLShader,\n\tfs: WebGLShader,\n): WebGLProgram => {\n\tconst program = gl.createProgram();\n\tif (!program) {\n\t\tthrow new Error('Failed to create WebGL program');\n\t}\n\n\tgl.attachShader(program, vs);","sourceCodeStart":29,"sourceCodeEnd":65,"githubUrl":"https://github.com/remotion-dev/remotion/blob/78fe4bb3fdb5a2cd68724393d63cb223db333fa7/packages/effects/src/linear-progressive-blur/linear-progressive-blur-runtime.ts#L29-L65","documentation":"Thrown by compileShader() in the linear-progressive-blur runtime when gl.getShaderParameter(COMPILE_STATUS) is false. The driver's info log is interpolated. The horizontal/vertical blur GLSL is fixed library source, so a compile failure points at the GL driver rather than user input.","triggerScenarios":"The linear-progressive-blur GLSL (gaussian separable kernel, uv-mix between startBlur/endBlur) is rejected by the host's GLSL ES 3.00 compiler — buggy/incomplete driver, lost shader support after a GPU crash, or a feature-poor software rasterizer.","commonSituations":"Older mobile/integrated GPU drivers, headless Linux CI with stripped mesa, remote desktop sessions with thin GL, Chrome GPU process crash mid-session.","solutions":["Read the interpolated driver log — it identifies the rejected GLSL line/feature.","Switch to a software GL backend with full GLSL ES 3.00 support (`--gl=angle --angle-backend=swiftshader`).","Restart Chrome / the worker to clear corrupted context state and retry.","Update Chrome, mesa, and GPU drivers on the host.","If reproducible on one driver, report it to @remotion/effects with the driver string and log."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"try {\n  renderWithLinearProgressiveBlur();\n} catch (err) {\n  if (err instanceof Error && err.message.startsWith('Linear progressive blur shader compile failed')) {\n    console.error(err.message); // driver log\n    await withGlBackend('swiftshader', () => renderWithLinearProgressiveBlur());\n  } else throw err;\n}","preventionTips":["Prefer SwiftShader/ANGLE on CI and Lambda for full GLSL ES 3.00 support.","Capture the interpolated info log to identify the rejected feature.","Restart the worker after GPU-process crashes to clear corrupted state.","Keep Chrome and GPU drivers current."],"tags":["webgl","gpu","glsl","shader","driver","rendering"],"backgroundTag":null,"analyzedSha":"78fe4bb3fdb5a2cd68724393d63cb223db333fa7","analyzedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}