Bug 105423

Summary: Unable to unbind my 2nd GPU (Rx580)
Product: DRI Reporter: Maxime <berillions>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: andrey.grodzovsky
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Maxime 2018-03-09 18:55:55 UTC
Hi,

I have a problem when i want to unbind my 2nd GPU to bind it to VFIO.

I create a xorg.conf like that :
https://pastebin.com/3FfYJq1B

But even if X is closed (by /etc/init.d/xdm stop), i have a crash log in dmesg :
https://pastebin.com/uAbjvJY3

thanks for your help,
Maxime
Comment 1 Maxime 2018-03-09 21:31:12 UTC
Ok, i found an interesting thing. I have this issue when i unbind my GPU on Kernel 4.15 but i have no issue when i do it on kernel 4.14.

I'll try to git bisect between kernel 4.15 and kernel 4.14.
Comment 2 Maxime 2018-03-09 23:53:26 UTC
Thanks to Nick Sarnie on Discord, he found that disable completely DC fix the issue.

I fix it with "amdgpu.dc=0" in my grub.conf
Comment 3 Andrey Grodzovsky 2018-03-12 21:47:00 UTC
(In reply to Max from comment #2)
> Thanks to Nick Sarnie on Discord, he found that disable completely DC fix
> the issue.
> 
> I fix it with "amdgpu.dc=0" in my grub.conf

Did you try latest  kernel (4.16.rc4 i think) seems to me this issue is already fixed there in DC.

Andrey

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.