sucle icon indicating copy to clipboard operation
sucle copied to clipboard

No textures

Open ghost opened this issue 5 years ago • 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.

ghost avatar Jan 16 '19 14:01 ghost

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

gregcman avatar Jan 16 '19 18:01 gregcman

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

Drainful avatar Jan 20 '19 20:01 Drainful

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

gregcman avatar Jan 20 '19 21:01 gregcman

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 avatar Jan 20 '19 22:01 Drainful

@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

gregcman avatar Jan 20 '19 23:01 gregcman

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

Drainful avatar Jan 21 '19 01:01 Drainful

@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:

ghost avatar Jan 23 '19 08:01 ghost

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:

emacsomancer avatar Feb 02 '19 05:02 emacsomancer

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

gregcman avatar Jan 12 '20 22:01 gregcman

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

Drainful avatar Mar 20 '20 16:03 Drainful