I usually use window managers on my machine because they consume less computer resources: memory, processing,… And this improves performance.
But, I had a problem related to Tearing (the screen was “cutting in half”), especially when doing screencast.
So, I solved this problem by creating a configuration file in /etc/X11/xorg.conf.d/20-intel.conf
and inserting the content below:
However, one day I decided to install Godot CSharp and when I opened it, or even when I could open it, but after trying to open a project, I got the error :
Even running via the command line as the message indicated godot-csharp --rendering-driver opengl3
, it didn’t work:
But generally we ignore the messages and simply summarize them as: “- Ahhh! There was an error… :(”
However, on the second attempt I decided to read the messages from the output and notice that they contain the following line:
Vulkan needs this configuration!
So I thought to myself: — Ummm… I know!!.
I changed the same configuration file to DRI 3, but after doing so it was still a bit strange, so I changed the acceleration method from sna to glamor.
In the end my file: /etc/X11/xorg.conf.d/20-intel.conf
looked like this:
All I had to do was close the session (log out) and log in again and things worked:
If you have this same problem, try these settings!
Remembering that first you need to have: Vulkan installed on your system!
You can still replace some lines like: Driver
or even add Backlight
to work with MESA Intel
:
If it’s necessary!
OBSERVATION:
Maybe you got here thinking that there would be a solution to another type of problem: a Godot bug that “crashes” when you save any modification to your project.
I’ve already researched this, including from people who have already run GDB to know exactly where this failure is.
If you use GNU/Linux distros, this is most likely due to your Graphical Interface: GNOME, as well as those based on it: XFCE, Cinnamon,… including window managers .
The good news is that if you use KDE Plasma, you probably won’t have this kind of problem!