pkgsrc-Users archive

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

Re: CVS commit: pkgsrc/devel/SDL3



On Tue, Nov 03, 2026 at 11:58:16PM +0100, Nia Alarie wrote:
> Module Name:	pkgsrc
> Committed By:	nia
> Date:		Tue Nov  3 23:58:16 UTC 2026
> 
> Modified Files:
> 	pkgsrc/devel/SDL3: Makefile options.mk
> 
> Log Message:
> SDL3: Enable opengl by default, except on Darwin.

Trying to display an image using SDL3 from a NetBSD machine via ssh
with X forwarding on Xquartz, I now see:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  431
  Current serial number in output stream:  432

I tried

 export SDL_RENDER_DRIVER=software

but that didn't help, same error.

Turning off the opengl option in the SDL3 package helped.

Is there way to disable opengl when it's compiled in, or is that not
the problem?

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index