We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Platform: bodhi linux + XFCE
GPU, drivers, and screen setup: Nvidia Geforce 650M Mac version
Compton version: compton/jammy,now 1-1 amd64 [installed]
~/local/grayscale.glsl
uniform float opacity; uniform bool invert_color; uniform sampler2D tex; void main() { vec4 c = texture2D(tex, gl_TexCoord[0].xy); float y = dot(c.rgb, vec3(0.299, 0.587, 0.114)); // y = 1.0 -y; gl_FragColor = vec4(y, y, y, 1.0); }
compton --backend glx --glx-fshader-win "$(cat $HOME/local/grayscale.glsl)"&
No warning, no errors. And the screen get gray scaled.
$ gray [1] 796349 yerong@yerong-MacBookPro:~/local$ glx_load_prog_main(): Failed to get location of uniform 'opacity'. Might be troublesome. glx_load_prog_main(): Failed to get location of uniform 'invert_color'. Might be troublesome. [ 0.22 ] error 4 BadPixmap request 151 minor 22 serial 677: "BadPixmap (invalid Pixmap parameter)" [ 0.22 ] error 9 BadDrawable request 155 minor 4 serial 678: "BadDrawable (invalid Pixmap or Window parameter)" [ 0.22 ] error 161 Unknown request 151 minor 16 serial 0: "GLXBadPixmap" [ 0.29 ] error 161 Unknown request 151 minor 16 serial 0: "GLXBadPixmap" [ 0.29 ] error 161 Unknown request 151 minor 23 serial 722: "GLXBadPixmap" [ 0.30 ] error 4 BadPixmap request 151 minor 22 serial 953: "BadPixmap (invalid Pixmap parameter)" [ 0.30 ] error 9 BadDrawable request 155 minor 4 serial 954: "BadDrawable (invalid Pixmap or Window parameter)" [ 0.30 ] error 161 Unknown request 151 minor 16 serial 0: "GLXBadPixmap"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Platform: bodhi linux + XFCE
GPU, drivers, and screen setup: Nvidia Geforce 650M Mac version
Compton version: compton/jammy,now 1-1 amd64 [installed]
Steps of reproduction
~/local/grayscale.glsl
compton --backend glx --glx-fshader-win "$(cat $HOME/local/grayscale.glsl)"&
Expected behavior
No warning, no errors. And the screen get gray scaled.
Current Behavior & Other details
The text was updated successfully, but these errors were encountered: