Subject: Ironwail (GL 4.3) rendering corruption / freeze on Pitcairn (radeonsi) — missing GL_ARB_buffer_storage & GL_ARB_shader_draw_parameters
System:
- Reporter 1: AmigaOne, PITCAIRN (radeonsi), Mesa 26.1.5 (git-2e7650ee6e), GL 4.3 Core
- Reporter 2: real X5000 hardware, independently confirms the issue via shell
(+map base1): loads fine, but on entering the level, textures briefly
glitch, then the screen turns blue and the whole system freezes.
Software:
- Ironwail 0.8.3-dev (Quake source port, github.com/andrei-drexler/ironwail),
cross-built for AmigaOS4/PPC, linked against native AmigaOS4 Mesa (mesa.library).
Finding:
Mesa AmigaOS4 exposes GL_ARB_bindless_texture and GL_ARB_multi_bind, but NOT
GL_ARB_buffer_storage and NOT GL_ARB_shader_draw_parameters. Verified via a
-gldebug log: Ironwail's GL_FindExtension() (gl_vidsdl.c) only logs
"FOUND: <ext>" on success — neither line appears for these two extensions.
Since Ironwail's gl_bindless_able requires BOTH GL_ARB_bindless_texture AND
GL_ARB_shader_draw_parameters together via short-circuit && (gl_vidsdl.c:1086-1091):
gl_bindless_able =
!COM_CheckParm ("-nobindless") &&
GL_FindExtension ("GL_ARB_bindless_texture") &&
GL_FindExtension ("GL_ARB_shader_draw_parameters") &&
GL_InitFunctions (gl_arb_bindless_texture_functions, false)
;
the entire bindless render path is already disabled at runtime on this
system — not because of the -nobindless command-line flag, but because the
required extension is missing. This also explains why testing -nobindless,
-nobufferstorage, -nomultibind and -noclipcontrol (individually and combined)
produced no change: those code paths were already inactive before the flags
were even applied.
The corruption (and, on real X5000 hardware, a full freeze) therefore occurs
in Ironwail's remaining non-bindless render path, so it is unrelated to the
bindless texture feature itself.
Question for the Mesa side:
Is the absence of GL_ARB_buffer_storage / GL_ARB_shader_draw_parameters
intentional (not yet implemented) or a detection/advertising bug? Given this
is advertised as a GL 4.3 Core driver, and both extensions are mandatory
promoted functionality in 4.3 core, could this indicate a conformance gap
worth checking?
OS4Welt Thread/Port:
https://os4welt.de/viewtopic.php?p=55782#p55782