I'm experiencing severe screen tearing when running in intel mode. When I switch to nvidia, there is no tearing, but I don't want to be in NVIDIA mode all the time.
I have proprietary NVIDIA driver installed via "Additional Drivers" menu.
I looked over the internet, searching for a solution.
I tried creating the file
/etc/X11/xorg.conf.d/20-intel.conf, then adding the following to it:
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" EndSection
This works for intel mode, but breaks nvidia mode. Programs that require graphics will output the follwing:
Xlib: extension "NV-GLX" missing on display ":0"
I also tried enabling nvidia-drm, which did nothing.
So I'm thinking of enabling the
/etc/X11/xorg.conf.d/20-intel.conf only in intel mode, but I have no idea how to do that.
Also, if you have better solutions, then please tell me.