sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

Is there any hope running sioyek with OpenGL 2.0?

Open ephemer4l opened this issue 1 year ago • 5 comments

I want to run sioyek on my Thinkpad x200, which has GM45, which only supports OpenGL 2.0 at most. When trying to launch sioyek, I am getting a lot of errors in the form

QEGLPlatformContext: Failed to create context: 3009
QRhiGles2: Failed to create temporary context

which I assume are there because I don't have OpenGL 3.2. Can we run with 2.0?

ephemer4l avatar Oct 09 '24 22:10 ephemer4l

Yes, the next version of sioyek will have ability to run without opengl at all (optional compile-time option). Currently it is not possible though.

ahrm avatar Oct 10 '24 06:10 ahrm

To be clear, this is not yet possible, even with the git version, right?

Edit: I got it working on my machine with:

MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 /opt/sioyek/sioyek

ephemer4l avatar Oct 12 '24 16:10 ephemer4l

To be clear, this is not yet possible, even with the git version, right?

right.

ahrm avatar Oct 12 '24 16:10 ahrm

@ahrm Could you tell me what this compile-time option is?

ephemer4l avatar Jul 19 '25 14:07 ephemer4l

It is not available in the public version yet. It will hopefully be released in the next few months.

ahrm avatar Jul 19 '25 15:07 ahrm