wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

zoom on old hardware freezes Wayfire

Open demostanis opened this issue 2 years ago • 2 comments

I'm using zoom plugin. When zooming on the desktop, Wayfire freezes (I can only move mouse), and the logs get spammed with:

EE 29-07-22 19:19:18.532 - [GLES2] GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
EE 29-07-22 19:19:18.532 - [src/core/opengl.cpp:42] gles2: function glBlitFramebuffer(x1, y1, x1 + tw, y1 + th, 0, 0, w, h, 0x00004000, interpolation) in wayfire_zoom_screen::<lambda(const wf::framebuffer_base_t&, const wf::framebuffer_base_t&)> line 104: UNKNOWN GL ERROR

From glxinfo:

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

Note that on some other window managers such as Xfwm, zooming works fine.

This is because used functions aren't supported on OpenGL < 3.0: image

If compatibility for older hardware is a goal, : https://stackoverflow.com/questions/25439137/alternative-for-glblitframebuffer-in-opengl-es-2-0 Otherwise I'll just buy a new computoor I guess.

demostanis avatar Jul 29 '22 17:07 demostanis

Hi, what kind of hardware do you have that does not support glBlitFramebuffer? In general, Wayfire does not aim to provide compatibility with every device out there, but if your hardware is still common, it might make sense to implement zoom with a shader instead of glBlitFramebuffer

ammen99 avatar Jul 31 '22 13:07 ammen99

I'm on a Thinkpad x200, common amongst Librebooters

demostanis avatar Jul 31 '22 15:07 demostanis