gregcman/sucle

No textures

Opened this issue · 10 comments

Hello, I've followed your instruction to run sucle on Arch Linux using SBCL.

The game runs fine, except it start with a black screen, and then I have no textures.

Hello marespiaut,
This might be an OpenGL version issue, what version are you using?

I'm having the exact same issue, OpenGL version 3.0 Mesa 18.1.7

Display lists must not be working. A fix would require porting display lists to vbo

Edit: @Drainful if you have OpenGL 3.0 Mesa I don't know what could be wrong, because 3.0 supports legacy OpenGL

The issue disappears when I run sucle on my nvidia gpu (laptop with nvidia optimus), so that sounds like a good guess.

Edit: The gpu on which the issue occurs is an integrated intel.

@Drainful It is not obvious why the OpenGL version 3.0 Mesa 18.1.7 would produce the pictured results, but nvidia optimus would not. It could be a number of things:

  • Legacy OpenGL? [probably not, because 3.0 should be supported.]
  • sucle not following the OpenGL spec close enough, with bugs that don't work on some setups
  • implementation-defined limits exceeded?
  • mesa driver bugs?

for the integrated intel gpu, it would be helpful if you ran and shared the diagnostics in this link

Output is in the link. I'm running Nixos so dpkg isn't a thing and tbh I don't know the equivalent.
https://pastebin.com/7Ak8i8mb

@pupcraft here is the information about my computer

$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.3.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

I have the same issue with integrated intel graphics.


$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
OpenGL core profile version string: 4.2 (Core Profile) Mesa 18.3.2
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

Sucle now uses VBOs or display-lists depending on the OpenGL version, so these issues should disappear.

The issue has been solved for me as of the latest commit