ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
7.19k stars 236 forks source link

Is there any hope running sioyek with OpenGL 2.0? #1184

Open ephemer4l opened 1 month ago

ephemer4l commented 1 month ago

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?

ahrm commented 1 month ago

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.

ephemer4l commented 1 month ago

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
ahrm commented 1 month ago

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

right.