From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106111] [GPU Passthrough]GPU (Polaris) not reinitialized with Linux VM (Reset bug) Date: Tue, 17 Apr 2018 22:29:27 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0368113053==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5FEA76E1DF for ; Tue, 17 Apr 2018 22:29:28 +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 --===============0368113053== Content-Type: multipart/alternative; boundary="15240041680.a55aB3b2.26691" Content-Transfer-Encoding: 7bit --15240041680.a55aB3b2.26691 Date: Tue, 17 Apr 2018 22:29:28 +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=3D106111 Bug ID: 106111 Summary: [GPU Passthrough]GPU (Polaris) not reinitialized with Linux VM (Reset bug) Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: berillions@gmail.com CC: alexdeucher@gmail.com Created attachment 138887 --> https://bugs.freedesktop.org/attachment.cgi?id=3D138887&action=3Dedit xorg.conf Hi, My Setup : - AMD Ryzen 1600 - 16 Gb Memory RAM - Host (Debian Stable, kernel 4.16.2) : AMD Rx560 4Gb - Guest (Windows 10 / Archlinux Kernel 4.15.x-4.16.x) : AMD Rx580 - 8Gb Years ago there was an issue on Windows virtual machine with Qemu/VFIO and = AMD GPU. It was impossible to reboot or use a 2nde time the Guest because the G= PU was not reinitialized when the Host was shutdown. The only solution to re-u= se the VM was to reboot the Host OR use a Nvidia GPU. Actually, the issue is fixed on Windows VM + AMD GPU passed through (i don't know how), i can use more times my VM without reboot the Host.=20 But if i use my Linux VM with my Rx580, the issue still exist. The first la= unch works, i can use the Rx580 to play without problem. But if i shutdown/reboot the guest, the Rx580 is "blocked". I need to hard reboot because the system hangs after ~2-3 minutes. Thanks for your help, Maxime=20 (Sorry for my English, i'm French) --=20 You are receiving this mail because: You are the assignee for the bug.= --15240041680.a55aB3b2.26691 Date: Tue, 17 Apr 2018 22:29:28 +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 106111
Summary [GPU Passthrough]GPU (Polaris) not reinitialized with Linux V= M (Reset bug)
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter berillions@gmail.com
CC alexdeucher@gmail.com

Created attachment 138887 [deta=
ils]
xorg.conf

Hi,

My Setup :
- AMD Ryzen 1600
- 16 Gb Memory RAM
- Host (Debian Stable, kernel 4.16.2) : AMD Rx560 4Gb
- Guest (Windows 10 / Archlinux Kernel 4.15.x-4.16.x) : AMD Rx580 - 8Gb

Years ago there was an issue on Windows virtual machine with Qemu/VFIO and =
AMD
GPU. It was impossible to reboot or use a 2nde time the Guest because the G=
PU
was not reinitialized when the Host was shutdown. The only solution to re-u=
se
the VM was to reboot the Host OR use a Nvidia GPU.

Actually, the issue is fixed on Windows VM + AMD GPU passed through (i don't
know how), i can use more times my VM without reboot the Host.=20

But if i use my Linux VM with my Rx580, the issue still exist. The first la=
unch
works, i can use the Rx580 to play without problem. But if i shutdown/reboot
the guest, the Rx580 is "blocked". I need to hard reboot because =
the system
hangs after ~2-3 minutes.

Thanks for your help,
Maxime=20

(Sorry for my English, i'm French)


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