Opened 2 years ago
Closed 2 years ago
#13654 closed defect (fixed)
GRAHPICS: OPENGL: Fails with GLSL version 100 being too high
Reported by: | raziel- | Owned by: | lephilousophe |
---|---|---|---|
Priority: | normal | Component: | Graphics |
Version: | Keywords: | OpenGL, BE | |
Cc: | Game: |
Description
ScummVM 2.7.0git1251-g7d7e17868da (Jul 3 2022 13:22:15)
Features compiled in: TAINTED Vorbis FLAC MP3 RGB zLib MPEG2 Theora A/52 FreeType2 FriBiDi JPEG PNG GIF cloud (servers, local) TinyGL OpenGL (with shaders)
master buildbot for AmigaOS4 from today fails with an error window (coming from the system, not from ScummVM) saying:
Required GLSL version 100 is not supported (9 maximum)!
AmigaOS4 - PPC - SDL2 - BE
gcc (adtools build 11.3.0) 11.3.0
Attachments (2)
Change History (10)
comment:1 by , 2 years ago
Owner: | set to |
---|---|
Resolution: | → pending |
Status: | new → pending |
comment:2 by , 2 years ago
I'm not sure i understand what you are looking for :-/
There is nothing on the console but the error message i posted.
I get a black screen/window with the system window, clicking that away ScummVM quits and prints the error message.
by , 2 years ago
Attachment: | scummvm.log added |
---|
comment:3 by , 2 years ago
/mumbling to myself
...again with the wrong attachment???
freaking get your head straight...
comment:4 by , 2 years ago
Thanks, this is what I needed but sadly we didn't output the GLSL version string from the driver.
I pushed a change which dumps it but it will be part of the next daily build (tomorrow) if build goes well.
by , 2 years ago
Attachment: | scummvm.2.log added |
---|
comment:5 by , 2 years ago
I won't be able to test anything from tomorrow on upto the 16th/17th of July.
But i did a local compile with the latest sources and funnily enough, i don't get the error message (anymore?).
I still attached the output log, maybe it'll help?
comment:6 by , 2 years ago
Yes! Thank you!
The problem is that OGLES2 reports itself as supporting GLSL 0.9 which is kind of unexpected for an OpenGL ES 2.0 implementation (where GLSL 1.00 is the minimum).
But as OGLES2 is not really compliant with GLSL 1.00 we can't expect it to lie.
I just pushed a workaround which should make shaders work again.
comment:8 by , 2 years ago
Resolution: | pending → fixed |
---|---|
Status: | pending → closed |
Hum... I wanted the standard output with debug messages from ScummVM, not a log such low level.
Thanks