AnsweredAssumed Answered

Ubuntu R9 390 stability; "Failed to pin framebuffer"

Question asked by mitchellhansen on Nov 29, 2017
Latest reply on Jan 7, 2018 by mitchellhansen

Hello all,

I've gotten my 390 almost stable on Ubuntu 16.04 using AMDGPU-PRO (16.04) and setting the pwm_dpm_state and performance_level to their highest values. I will get hours of run time during light web browsing, but when trying to run SFML applications, or viewing, it'll lock up reliably in under 15 minutes. Looking at Dmesg amdgpu is complaining about not being able to pin a framebuffer.


[ 1561.574877] amdgpu 0000:01:00.0: ffffa0d8f01c6400 pin failed
[ 1561.574920] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
[ 1570.038469] [drm:amdgpu_ctx_mgr_fini [amdgpu]] *ERROR* ctx ffffa0da55044000 is still alive
[ 1570.110940] show_signal_msg: 31 callbacks suppressed
[ 1602.534813] amdgpu 0000:01:00.0: ffffa0d8b6918000 pin failed
[ 1602.534882] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
[ 1633.254794] amdgpu 0000:01:00.0: ffffa0d8b6918000 pin failed
[ 1633.254974] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
[ 1663.974604] amdgpu 0000:01:00.0: ffffa0d8b6918000 pin failed
[ 1663.974652] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer


I can only see these by sshing from another machine btw, I cant get to the tty.


"Failed to pin framebuffer" on google turns up some patches, a lot of them have an error code attached. I'm running 4.10.0-40-generic, should I try patching and compiling a kernel to include whatever changes have been made on these patches?


I've tried recovering my session by restarting lightdm and killing all my open processes, no dice. A reboot is the only way to recover.


Anyone have this problem before, or heard of it? I'd really like to continue developing on Ubuntu