added support for using Xorg driver model