I have recently asked another question here regarding problems with running steam games in a nested X session with Xephyr. I think now that I have narrowed down the problem to the X server not having DRI enabled.
The command
xdpyinfo | grep DRI
does not show anything.
In my main display, it shows both DRI 2 and DRI 3.
On the other hand, glxinfo
shows:
name of display: :1
display: :1 screen: 0
direct rendering: Yes
I'm using a RX480 gpu with i7 3770k cpu on an Ubuntu 20.04 clean install.
My xorg.conf
is:
10-amdgpu.conf
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "DRI" "3"
EndSection