https://bugs.freedesktop.org/show_bug.cgi?id=78453
--- Comment #96 from Kai kai@dev.carbon-project.org --- (In reply to comment #94)
(In reply to comment #86)
Created attachment 103474 [details] [review] [review] Hack to temporarily fix accel
If you want working desktop you can use this patch to disable the packet that is the issue. With that mesa patch i have stable acceleration and desktop.
I don't recommend this patch. It disables updates to resource descriptors in some cases, which means you'll get resource bindings from old draw packets or even old IBs, which will cause VM faults or even hangs. I think it also breaks MSAA and might cause hangs there too (CMASK must be cleared).
Hawaii works without the patch very well here. I'm only using Alex's stuff from comment 81 and my Mesa fixes. Nothing else.
IT WORKS! Thanks to Alex, Marek, Jérôme and all the others involved! The stack I used was (base is Debian Testing): GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1) Linux: ~agdf5/linux:drm-next-3.17-wip (calls itself 3.16-rc4?) libdrm: 2.4.54-1 LLVM: 3.5 RC1 libclc: Git:master/0ec7437d9c Mesa: Git:master/74e100affc + the three patches Marek named ("radeonsi: fix CMASK and HTILE calculations for Hawaii"; "gallium/util: add a helper for calculating primitive count from vertex count"; "radeonsi: fix a hang with instancing on Hawaii") and can be found on mesa-dev. DDX: 1:7.4.0-2 + Patch from http://people.freedesktop.org/~agd5f/0001-radeon-enable-hawaii-accel-conditi... X: 2:1.16.0-1 (1.16.0)