The issue seems to be due to Ubuntu using DRI3 as default for Xorg. For older graphic cards you may have to use DRI2.
To see what you are using run:
If its DRI3 changing it to DRI2 may fix the problem.
For ATI cards pre-vulkan run.
and paste this into it save and exit:
F3 will save the file and Ctrl+X will exit nano.
Than kill X or reboot.
Unsure if this will work with newer ATI cards. You may have to change "DRI" "2" to "DRI" "3"
Same deal with intel but instead of 10-radeon.conf its 20-intel.conf.
If DRI 2 doesn't work try 3.
Just remember after making changes to the .conf you need to kill X or reboot for the changes to take effect.
If you are unable to boot back into the system. Boot the live ISO and delete /usr/share/X11/xorg.conf.d/ 20-intel.conf or 10-radeon.conf.
To see what you are using run:
Code: [Select All]
xdpyinfo | grep DRI
If its DRI3 changing it to DRI2 may fix the problem.
For ATI cards pre-vulkan run.
Code: [Select All]
sudo nano /usr/share/X11/xorg.conf.d/10-radeon.conf
and paste this into it save and exit:
Code: [Select All]
Section "OutputClass"
Identifier "Radeon"
MatchDriver "radeon"
Driver "radeon"
Option "DRI" "2"
Option "TearFree" "on"
Option "AccelMethod" "glamor"
EndSection
F3 will save the file and Ctrl+X will exit nano.
Than kill X or reboot.
Unsure if this will work with newer ATI cards. You may have to change "DRI" "2" to "DRI" "3"
Same deal with intel but instead of 10-radeon.conf its 20-intel.conf.
Code: [Select All]
sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf
If DRI 2 doesn't work try 3.
Code: [Select All]
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "2"
Option "TearFree" "true"
Option "AccelMethod" "uxa"
EndSection
Just remember after making changes to the .conf you need to kill X or reboot for the changes to take effect.
If you are unable to boot back into the system. Boot the live ISO and delete /usr/share/X11/xorg.conf.d/ 20-intel.conf or 10-radeon.conf.