From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96243] GPU initialization fails Date: Fri, 27 May 2016 11:55:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1740427503==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A5DEB6EC07 for ; Fri, 27 May 2016 11:55:40 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1740427503== Content-Type: multipart/alternative; boundary="14643501400.d7F002.15403"; charset="UTF-8" --14643501400.d7F002.15403 Date: Fri, 27 May 2016 11:55:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96243 Bug ID: 96243 Summary: GPU initialization fails Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: hiwatari.seiji@gmail.com Created attachment 124126 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124126&action=3Dedit dmesg output after modprobing amdgpu Setup: QEMU + VFIO running VM with Ubuntu 16.04 and the latest amdgpu driver (amdgpu-pro 16.20.3) If the system is started normally, the kernel crashes during boot with vari= ous errors (varies from boot to boot!). If the module (amdgpu) is blacklisted during boot (grub.cfg) and modprobed afterwards the error always the same [see attached file]: sw_init 5 failed -12 amdgpu_init failed memory type 2 has not been initialized amdgpu probe failed with error -12 Experiments: - Using the amdgpu version shipped with Ubuntu 16.04, booting works ONCE. Rebooting/Shutting-Down the VM leads to consecutive errors of not beeing ab= le to init the GPU again, probably due to Bonaire PCI-Reset issues. Restarting= the Host itself allows booting the VM once more. Hereafter: Same error. - A Windows 10 VM does not suffer from those issues. Rebooting/Shutting-Down this VM works without issues / host-reboot --=20 You are receiving this mail because: You are the assignee for the bug.= --14643501400.d7F002.15403 Date: Fri, 27 May 2016 11:55:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 96243
Summary GPU initialization fails
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter hiwatari.seiji@gmail.com

Created att=
achment 124126 [details]
dmesg output after modprobing amdgpu

Setup:
QEMU + VFIO running VM with Ubuntu 16.04 and the latest amdgpu driver
(amdgpu-pro 16.20.3)

If the system is started normally, the kernel crashes during boot with vari=
ous
errors (varies from boot to boot!).

If the module (amdgpu) is blacklisted during boot (grub.cfg) and modprobed
afterwards the error always the same [see attached file]:

sw_init 5 failed -12
amdgpu_init failed
memory type 2 has not been initialized
amdgpu probe failed with error -12

Experiments:

- Using the amdgpu version shipped with Ubuntu 16.04, booting works ONCE.
Rebooting/Shutting-Down the VM leads to consecutive errors of not beeing ab=
le
to init the GPU again, probably due to Bonaire PCI-Reset issues. Restarting=
 the
Host itself allows booting the VM once more. Hereafter: Same error.

- A Windows 10 VM does not suffer from those issues. Rebooting/Shutting-Down
this VM works without issues / host-reboot


You are receiving this mail because:
  • You are the assignee for the bug.
= --14643501400.d7F002.15403-- --===============1740427503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1740427503==--