pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

EGL version is 1.4. EGL version 1.5 or greater is required



It appears in wxGTK32 there's now a check that EGL returns a version
>1.4, else errors. Of the packages I have installed, this breaks hugin
and prusaslicer. For some odd reason kicad is fine.

Reading _eglComputeVersion in eglapi.c, I see it defaults to 1.4, unless
a bunch of extensions are present, in which case it returns 1.5.

I'm pretty sure this behaviour changed with pkgsrc-2023Q4. Anyone else
seeming this, or knows more about it than I do? I've #if'ed out the version
check added in the below commit, and now prusaslicer seems to work fine.

https://github.com/wxWidgets/wxWidgets/commit/f4c765cf63a42aebe2e5f151ee4f756965f5fc50

Our _eglComputeVersion has:

   disp->Version = 14;

   if (disp->Extensions.KHR_fence_sync &&
       disp->Extensions.KHR_cl_event2 &&
       disp->Extensions.KHR_wait_sync &&
       disp->Extensions.KHR_image_base &&
       disp->Extensions.KHR_gl_texture_2D_image &&
       disp->Extensions.KHR_gl_texture_3D_image &&
       disp->Extensions.KHR_gl_texture_cubemap_image &&
       disp->Extensions.KHR_gl_renderbuffer_image &&
       disp->Extensions.KHR_create_context &&
       disp->Extensions.EXT_create_context_robustness &&
       disp->Extensions.KHR_get_all_proc_addresses &&
       disp->Extensions.KHR_gl_colorspace &&
       disp->Extensions.KHR_surfaceless_context)
      disp->Version = 15;

I guess I could take the next step and see which extension(s) are
missing. This is on netbsd-10 amd64 wth an old Sandybridge CPU, fwiw.

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index