Hello, I have a problem.
When I run the Godot engine, the screen becomes as in the picture and the engine freezes,

and when I open the project manager after force closing the engine due to the problem, I find that the window has become like this


, so I restart the system “Linux Debian 12” and then the problem repeats.
This problem occurred suddenly, as the engine was running well without problems before

It is worth noting that the Godot engine is the stable version 3.5.2, and it is not installed, but rather a portable/appimage file.

    try running it from a terminal and see what it outputs. could be helpful.

    do you think it could have something to do with Debian itself? if you did a full system upgrade recently, there could be a bad driver for your hardware or something like that.

      packrat
      from terminal:
      radeon: The kernel rejected CS, see dmesg for more information (-16).
      Found discrete GPU, setting DRI_PRIME=1 to use it.
      Note: Set DRI_PRIME=0 in the environment to disable Godot from using the discrete GPU.
      radeon: The kernel rejected CS, see dmesg for more information (-16).
      radeon: The kernel rejected CS, see dmesg for more information (-16).
      OpenGL ES 3.0 Renderer: AMD CAICOS (DRM 2.50.0 / 6.1.0-13-amd64, LLVM 15.0.6)
      Async. shader compilation: OFF

        fanGamesGamer Found discrete GPU, setting DRI_PRIME=1 to use it.
        Note: Set DRI_PRIME=0 in the environment to disable Godot from using the discrete GPU.

        Have you tried that? try adding something like:

        env DRI_PRIME=0 /home/<YourName>/Applications/AppimageName.AppImage

        for your appimage.

        Either your GPU is on it's last legs and about to fail or the driver has bugs. It could be either of these, or even both.

        fanGamesGamer This problem occurred suddenly, as the engine was running well without problems before

        This sounds like it really is a failing GPU tho. Considering it's a terascale 2 from 2011 it is probably well beyond time to upgrade the system.

        I found a good solution. I changed the graphics card driver from radeon to amdgpu, then put radeon in the Linux blacklist to prevent it from being activated. Although the problem no longer appears and the Godot engine is now working well, I found that Godot is now running an Intel graphics card instead of amd

        The artifacts on 3d viewport look like a faulty gpu memory corrupting the framebuffer, though it could be a overheat or driver bug if the whole OS didn't hang when such problem occurred.