From your Xorg attachment it seems that the NVIDIA driver is indeed being loaded, and it recognizes your NVIDIA GeForce GTX 1060 GPU. However, it also indicates that the Indirect GLX is disabled, and AIGLX is loaded and initialized with the "iris" driver.It's possible that AIGLX is interfering with the direct use of the NVIDIA GLX. AIGLX is an extension for X.Org that enables advanced features like compositing. However, in some cases, it may cause conflicts with the NVIDIA driver.
I think you should disable AIGLX.
maybe edit xorg.conf and add the following line to the "Device" section for the NVIDIA GPU
Code:
Option "AIGLX" "off"
if you dont have xorg.conf probably you should create one something like this
Code:
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "NVIDIA"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection