As I've said in #1140 (comment) (see comment for log, but I can't see anything relevant there).
One thing I noticed is that if I:
- ...set the shader
- reload config (it'll apply as expected)
- then comment out the
screen_shader variable to unset it
- and again reload config
...the screen will be compressed to a small line at the bottom of the monitor, the rest will be black.
(Just reloading to replace the shader works fine).
(You can restore the screen by undoing the config change and reloading it)
Particular shader used doesn't matter, e.g. effectively no-op shader causes the similar behavior:
// no-op
precision mediump float;
varying vec2 v_texcoord;
uniform sampler2D tex;
void main() {
vec4 pixColor = texture2D(tex, v_texcoord);
gl_FragColor = pixColor;
}
Also, hyprctl keyword decoration:screen_shader ~/.config/hypr/some_shader.frag doesn't actually apply shader (visually) but
hyprctl getoption decoration:screen_shader
will show the new path.
Reload won't help, because the shader that was originally set in screen_shader in config will be loaded.
System
- Arch linux latest, 6.0.10 kernel
- Nvidia 525.60.11 (instructions from the wiki applied)
- Hyprland cb85eea
As I've said in #1140 (comment) (see comment for log, but I can't see anything relevant there).
(You can restore the screen by undoing the config change and reloading it)
Particular shader used doesn't matter, e.g. effectively no-op shader causes the similar behavior:
Also,
hyprctl keyword decoration:screen_shader ~/.config/hypr/some_shader.fragdoesn't actually apply shader (visually) butwill show the new path.
Reload won't help, because the shader that was originally set in
screen_shaderin config will be loaded.System