Patch submitted by Christian König https://lists.freedesktop.org/archives/dri-devel/2016-June/110724.html This solved the bug. Thanks everyone for all the help.