Hi, On Thu, 25 Apr 2019 00:35:31 -0600 "Anthony J. Bentley" <[email protected]> wrote:
> Hi, > > The diff looks fine to me. However... > On Wed, Apr 24, 2019 at 9:16 AM Charlene Wendling > <[email protected]> wrote: > > - Requires OpenGL>=3.3 or OpenGL ES>=3.0, so only for "modern" > > architectures that may have compatible video controllers afaik. > You made me realise i made a mistake :( My work is based on the master README. v1.2 actually requires OpenGL>=2.1. I can even run it on my old Probook 6450 that has an IronLake Intel video card [1]. I've just removed the arch limitations, dropped unused options, and added COMPILER because of C11. It causes no change to the build or the runtime. I'm attaching a new diff. > My radeondrm (Radeon HD 5450) doesn't work, even though it claims: > > OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.5 > OpenGL version string: 3.1 Mesa 18.3.5 > OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.5 > > Is my card one of those that's too old? But it behaves the same even > with software rendering. :( > > 547 I: video_init(): Using driver 'x11' > 1029 I: check_gl_extensions(): OpenGL version: (null) > 1029 I: check_gl_extensions(): OpenGL vendor: (null) > 1029 I: check_gl_extensions(): OpenGL renderer: (null) > 1029 I: check_gl_extensions(): GLSL version: None > 1029 D: check_gl_extensions(): Supported extensions: (null) > 1029 W: check_glext_draw_instanced(): glDrawArraysInstanced is > not supported. Your video driver is probably bad, or very old, or > both. Expect terrible performance. > 1029 W: video_init_gl(): OpenGL debugging is not supported by the > implementation > 1029 E: video_new_window_internal(): Error creating OpenGL > context: Could not create GL context: BadValue (integer parameter out > of range for operation) > Abort trap (core dumped) > It should be supported, i can run it (slowly) on llvmpipe without issues [2], may it be by using LIBGL_ALWAYS_SOFTWARE=1 or removing my rights on /dev/drm0. The log above should have returned OpenGL infos instead of null. I may back it off and wait for v1.3 if there are more similar regressions reported with radeon(4). Charlène. [1] http://0x0.st/zbmy.png [2] http://0x0.st/zbam.png
taisei.diff
Description: Binary data
