There have been several issues with display on machines using nvidia gpus, (and possibly others). For some the fix has been to edit the file /etc/environment and add a line that reads GSK_RENDERER=ngl. For some it needed to read GSK_RENDERER=gl. The difference may have been related to the version of GPU installed.
I’m not sure on the specific issue, but I’m curious why something through EGL is trying to do something through GLX? It sounds like it should be using one or the other (on Firefox I can force GLX but lose video acceleration if not using EGL).
This page mentions using the --use-gl=desktop flag and adjusting the blacklist from chrome://flags/#ignore-gpu-blocklist as a workaround.
The GSK_RENDERER env a few posts above may also be useful especially if you’ve used Fedora 40/older and didn’t see this happening.