Bug 207047

Summary: Crash after failed to pin userptr on amdgpu
Product: Drivers Reporter: Artemis Tosini (me)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: bigbeeshane
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.5.13 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output since usermode crash that caused bug

Description Artemis Tosini 2020-03-31 23:39:09 UTC
Created attachment 288139 [details]
dmesg output since usermode crash that caused bug

When a user-mode program crashes while using amdgpu resources amdgpu fails to pin userptr then segfaults in the GPU scheduler. This occured while attempting to port a program to use Wayland and Vulkan on AMD Ryzen 3700X and AMD RX580 using unmodified amdgpu drivers.
Comment 1 bigbeeshane 2020-04-01 06:27:23 UTC
Can you try on 5.6 kernel. Fixes for userptr where submitted and merged into that release and I think are lined up for 5.5.14
Comment 3 Artemis Tosini 2020-04-02 15:30:33 UTC
5.5.14 fixes this issue (though I can't use 5.6.1 for an unrelated bug) Thank you