vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

Text rendering problem with hello-world example #51

Closed dawranliou closed 1 year ago

dawranliou commented 2 years ago

Hi maintainers, thank you very much for this project! I'm having one issue on my machines with the hello-world example, specifically with the text rendering. This is what I'm seeing on my arch linux machine and also on another 2019 MacBook Pro machine.

Screenshot_20220626_205029

If I try rendering some text other than "Hello, world!". This is what I see:

I'm still learning more about computer graphics and the GPU so I don't quite know how to troubleshoot this issue. It'll be really appreciated if you can help me to troubleshoot this.
I have the lastest master of lispgames/cl-sdl2 and lispgames/sdl2kit in my local-projects directory. Here's my opengl version information:

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 22.1.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.3 (Compatibility Profile) Mesa 22.1.2
OpenGL shading language version string: 3.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
dawranliou commented 2 years ago

I'm not sure but this issue could be related: https://github.com/Failproofshark/cl-sdl2-ttf/issues/27