Fedora 40/GTK 4: Applications have no text (NVIDIA driver)
Tips&TricksThe Fedora 40 release has a problem with the NVIDIA 470 driver in that text of many applications is invisible or flickers while hovering the mouse. This bug seems specific to the version 470 of the NVIDIA drivers and doesn't affect the other versions.
Edit /etc/environment
and add this line, then reboot the system:
GSK_RENDERER=gl
The bug seems to be caused by the new renderers for GTK and potentially older hardware. The above environment variable switches the renderer back to the older OpenGL one, thus resolving the issue.