Well there’s your solution.
X11 is no longer maintained, and Wayland is the preferred way to go. But if you have a need to continue using X11, because some application you rely has not yet moved to Wayland.
Please supply output from the following
inxi -zv8