-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
tetris.v runtime error #6171
Comments
That's almost always a problem with your video driver, and/or OpenGL support therein. |
Is there any fix? With a Pinebook I am pretty limited as far as making
display or driver changes!
…On Wed, Aug 19, 2020, 09:54 JalonSolov ***@***.***> wrote:
That's almost always a problem with your video driver, and/or OpenGL
support therein.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6171 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFK4TQEHCWOK7XIKEGZRT6TSBPKQZANCNFSM4QE6Z5IA>
.
|
The only "fix" might be for V to back-level the version of OpenGL it wants to use, and that could affect everyone else adversely. Hopefully one of the OpenGL gurus will take a look, but I'm not guaranteeing anything. |
After additional testing, it appears to affect every example that uses
GUI. Not a major issue, as I mostly code background and text tools, just
annoying. Thanks!
…On Wed, Aug 19, 2020, 23:22 JalonSolov ***@***.***> wrote:
The only "fix" might be for V to back-level the version of OpenGL it wants
to use, and that could affect everyone else adversely. Hopefully one of the
OpenGL gurus will take a look, but I'm not guaranteeing anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6171 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFK4TQCGGX5WYLABFG4Q6ILSBSJGLANCNFSM4QE6Z5IA>
.
|
It’s an ARM CPU, but I’m sure there are GPU drivers for Linux.
|
Pinebook Pro supports OpenGL 2.1 and OpenGL ES 2.0. using the Midgard
architecture. Not 3.0. Perhaps in a future version.....
…On Thu, Aug 20, 2020, 17:36 Alexander Medvednikov ***@***.***> wrote:
It’s an ARM CPU, but I’m sure there are GPU drivers for Linux.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6171 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFK4TQHFGQZXI35MUVWMIMLSBWJNRANCNFSM4QE6Z5IA>
.
|
Hm very weird seeing modern hardware only support OpenGL spec released in 1992, 28 years ago. |
I have same problem on Manjaro-ARM (PinebookPro) AARCH64 version 20.03 (V version: V 0.1.29) |
Mesa can do OpenGL 3.3 using CPU with soft rendering: https://docs.mesa3d.org/envvars.html .
Rendering OpenGL with the CPU would be slow but should be fast enough for GUI toolkit. This can be done like:
|
OpenGL 3.3 was required by sokol. |
The issue still seems to persist: pcmacdon/jsish#36 (comment) |
V version: V 0.1.29 e6e1011
OS: Manjaro-ARM (PinebookPro) AARCH64 version 20.03
Installed glfw-x11, freetype2
What did you do?
Compiled tetris.v with no errors. Attempted to run tetris.
What did you expect to see?
A GL window with the TETRIS game, named TETRIS
What did you see instead?
gg error: GLX: failed to create GL context
Clearly, either a LIB is wrong or missing or I have done something silly.
Please point me in the right direction. When we get this error, what do we look at to find the missing or incorrect piece?
Is there and easy way to avoid this issue?
The text was updated successfully, but these errors were encountered: