There has been a recent change in some gits, I guess, within the last couple of weeks that causes a system lockup when moving windows. When moving windows there is graphics corruption. Glamor disabled through recompilation of xorg-server and amdgpu stops the lockups. Glamor enabled + enabling screen compositing in XFCE desktop environment allows the movement of windows without system lockups for 'a while'. Glamor enabled + disabling XFCE screen compositing produces lockups within seconds of window movement. Xorg.0.log produces no errors when the graphics corruption occurs. I checked for orphaned old libraries and broken symlinks to glamor--all clean. I even tried the old glamor repository as a test and it fixed the lockups and corruption even though it was slow--since then I deleted that library. I am still reverting xorg-server and amdgpu with no luck so far. System: R9 Nano LLVM git Sept 6, 2017 mesa+xorg-server+xf86-video-amdgpu+...gits--Sept 7, 2017 gcc 7.2.0 multilib drm-next-4.15-wip c9121e92b3a8e12a8b40e362c30073d6a6a5b794
Based on the description, the most likely candidates are Mesa or the kernel.
Due to Danzer's suggestion I found the lockups are produced by the following commit: winsys/amdgpu: set AMDGPU_GEM_CREATE_VM_ALWAYS_VALID if possible v2 https://cgit.freedesktop.org/mesa/mesa/commit/?id=214b565bc28bc4419f3eec29ab7bbe34080459fe I will try to revert this patch and apply it to the latest mesa git and see what happens.
The reversed patch does not apply cleanly and building with it reversed has failed.
Could be bug 102500, maybe try the kernel patch attached there.
Fixed with attachment 134082 [details] [review] in bug 102500 only if the patch is split up into 3 parts (not unified).
*** This bug has been marked as a duplicate of bug 102500 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.