Re: buffer overflow

Bernhard Wymann <[email protected]> Mon, 7 Jul 2025 22:10:34 +0200
Newsgroups gmane.games.torcs.devel
Organization wytec
Message-ID <[email protected]>
Hi

For me the MESA errors look like the first to solve. These point to a problem with graphics driver initialization, maybe you have to (re?)-install the GPU and OpenGL drivers. Things you can check:
- Does "glxinfo | less" output that a server and client glx are around, and also OpenGL?
- Do other OpenGL applications work, e.g. "glxgears" is usually installed?
- What GPU do you have, is it eventually a setup problem on a Laptop which has an integrated and a dedicated GPU?
- Check the X11 logs to see if/why the driver failed to load

Kind regards
Bernhard

On 30.06.25 00:58, T Rex wrote:
> Hi, I'm trying to update the TORCS flatpak to the latest version. The manifest I'm using is https://github.com/bztd/net.sourceforge.torcs/blob/up/net.sourceforge.torcs.json <https://github.com/bztd/net.sourceforge.torcs/blob/up/net.sourceforge.torcs.json>. The compilation completes successfully, the program runs properly but fails on startup. The console displays:
> 
> MESA: error: Failed to query DRM device.
> glx: failed to create dri3 screen
> failed to load driver: crocus
> Visual Properties Report
> ------------------------
> Compatibility mode, properties unknown.
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
> *** buffer overflow detected ***: terminated
> /app/bin/torcs: line 53: 15 Aborted $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
> 
> The testing package and full build are available at https://github.com/flathub/net.sourceforge.torcs/pull/12 <https://github.com/flathub/net.sourceforge.torcs/pull/12>
> 
> 
> _______________________________________________
> Torcs-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-devel