@Vernius … you might consider trying this.
For the moment, open a file manager or jump to a command line. Switch to the “.cache” sub-directory in your /home/myusername/, then display the content of that .cache sub-dir, as below.
user@machine:~/.cache> ll
...
drwx------ ... Jan 6 11:58 mc
drwx------ ... Aug 23 2024 mesa_shader_cache <----
drwx------ ... Aug 21 2024 mozilla
...
user@machine:~/.cache>
You’ll notice I’ve pointed out the “mesa_shader_cache” sub-dir. That’s what you’re interested in.
Log out of your DE user session (GNOME, I think?) and back to the graphical login screen.
Switch to the first (main) terminal console (typically CTRL ALT F1), then log into your account. (you do not want to be in a graphical session).
Now “cd ./.cache” and list the content to be sure you see “mesa_shader_cache”.
Okay, now rename it using the mv command:
user@machine:~/.cache> mv mesa_shader_cache mesa_shader_cache-backup
Using mv basically saves the original mesa sub-dir to a new name, in case you want to restore that original.
Now use the mkdir command to recreate the original mesa sub-dir:
user@machine:~/.cache> mkdir mesa_shader_cache
Now you have a fresh and empty mesa_shader_cache sub-dir.
Now log out of the terminal console and switch back to the Graphical Interface (I use CTRL ALT F2, but it could be F4 or F6, etc).
When you see the graphical login screen, log in as your user account and see how things work out.
BTW, if you now use a file manager and go to the ~/.cache/mesa_shader_cache sub-dir, you will see all of its content has been recreated afresh.
That whole process should take five minutes or less.