Skip to content
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

No textures #9

Open
ghost opened this issue Jan 16, 2019 · 10 comments
Open

No textures #9

ghost opened this issue Jan 16, 2019 · 10 comments

Comments

@ghost
Copy link

ghost commented Jan 16, 2019

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.

@gregcman
Copy link
Owner

gregcman commented Jan 16, 2019

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

@Drainful
Copy link

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

@gregcman
Copy link
Owner

gregcman commented Jan 20, 2019

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

@Drainful
Copy link

Drainful commented Jan 20, 2019

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.

@gregcman
Copy link
Owner

@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

@Drainful
Copy 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

@ghost
Copy link
Author

ghost commented Jan 23, 2019

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

@emacsomancer
Copy link

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:

@gregcman
Copy link
Owner

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

@Drainful
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants