Hi Alexander, I didn't notice improvements on this issue with that particular patch applied. It still ends up failing to allocate kernel memory after a few hours of uptime with Xorg. I will try to upgrade to mesa 18.0.0-rc3 and to amd-staging-drm-next head, to see if the issue still occurs with those versions. If you have additional suggestions I'll be happy to try them. Regards, LuÃs Mendes On Thu, Feb 1, 2018 at 2:30 AM, Alex Deucher <alexdeucher at gmail.com> wrote: > On Wed, Jan 31, 2018 at 6:57 PM, LuÃs Mendes <luis.p.mendes at gmail.com> wrote: >> Hi everyone, >> >> I am getting a new issue with amdgpu with RX460, that is, now I can >> play any videos with Kodi or play web videos with firefox and run >> OpenGL applications without running into any issues, however after >> some uptime with XOrg even when almost inactive I get a kmalloc >> allocation failure, normally followed by a GPU hang a while after the >> the allocation failure. >> I had a terminal window under Ubuntu Mate 17.10 and I was compiling >> code when I got the kernel messages that can be found in attachment. >> >> I am using the kernel as identified on my previous email, which can be >> found below. > > does this patch help? > https://patchwork.freedesktop.org/patch/198258/ > > Alex > >> >> Regards, >> LuÃs Mendes >> >> On Wed, Jan 31, 2018 at 12:47 PM, LuÃs Mendes <luis.p.mendes at gmail.com> wrote: >>> Hi Alexander, >>> >>> I've cherry picked the patch you pointed out into kernel from >>> amd-drm-next-4.17-wip at commit >>> 9ab2894122275a6d636bb2654a157e88a0f7b9e2 ( drm/amdgpu: set >>> DRIVER_ATOMIC flag early) and tested it on ARMv7l and the problem has >>> gone indeed. >>> >>> >>>Working great on ARMv7l with AMD RX460. >>> >>>Thanks, >>>LuÃs Mendes >>> >>> >>>On Tue, Jan 30, 2018 at 6:44 PM, Deucher, Alexander >>><Alexander.Deucher at amd.com> wrote: >>>> Fixed with this patch: >>>> >>>> https://lists.freedesktop.org/archives/amd-gfx/2018-January/018472.html >>>> >>>> >>>> Alex >> <> >>>> __________________ >> >> _______________________________________________ >> amd-gfx mailing list >> amd-gfx at lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx >>