From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Mon, 14 Mar 2016 09:55:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1623055206==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8061D6E646 for ; Mon, 14 Mar 2016 09: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 --===============1623055206== Content-Type: multipart/alternative; boundary="14579493400.Eee525.16690"; charset="UTF-8" --14579493400.Eee525.16690 Date: Mon, 14 Mar 2016 09:55:40 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94530 Bug ID: 94530 Summary: AMD R9 Nano reset problem 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: creakbeat@gmail.com I am trying to passthrough R9 Nano to a VM, and facing some problems. After Windows 7 has been installed, the latest AMD Crimson edition driver is installed. At first time, the driver works properly. There appears to have the problem when I power off the vm and restart it. The driver was not working until I reboot the host. Here is my system. Manufacturer: Supermicro Product Name: X10DAi CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz memory: 8GB linux kernel: 3.19.0 $ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.19.0 root=UUID=fc28306a-e168-406a-805d-cadf70de53ec ro quiet splash intel-iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 vt.handoff=7 I tried to use qemu version 2.3.1, 2.4.1, and 2.5.1. I also added the device id number into the function vfio_setup_resetfn(), but the problem remains. I start my virtual machine with the following code. qemu-system-x86_64 -enable-kvm \ -M pc -m 4096 -cpu host \ -smp 4,sockets=1,cores=4,threads=1 \ -rtc base=localtime \ -vnc :0 \ -vga none \ -device lsi,id=scsi0,bus=pci.0 \ -device vfio-pci,host=03:00.0,x-vga=on \ -device vfio-pci,host=03:00.1 \ -hda $1 \ -monitor stdio -- You are receiving this mail because: You are the assignee for the bug. --14579493400.Eee525.16690 Date: Mon, 14 Mar 2016 09:55:40 +0000 MIME-Version: 1.0 Content-Type: text/html
Bug ID 94530
Summary AMD R9 Nano reset problem
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 creakbeat@gmail.com

I am trying to passthrough R9 Nano to a VM, and facing some problems. After
Windows 7 has been installed, the latest AMD Crimson edition driver is
installed. At first time, the driver works properly. There appears to have the
problem when I power off the vm and restart it. The driver was not working
until I reboot the host.

Here is my system.

Manufacturer: Supermicro
Product Name: X10DAi
CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
memory: 8GB 
linux kernel: 3.19.0

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.19.0 root=UUID=fc28306a-e168-406a-805d-cadf70de53ec
ro quiet splash intel-iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1
vt.handoff=7

I tried to use qemu version 2.3.1, 2.4.1, and 2.5.1. 
I also added the device id number into the function vfio_setup_resetfn(), but
the problem remains.

I start my virtual machine with the following code.

qemu-system-x86_64 -enable-kvm \
-M pc -m 4096 -cpu host \
-smp 4,sockets=1,cores=4,threads=1 \
-rtc base=localtime \
-vnc :0 \
-vga none \
-device lsi,id=scsi0,bus=pci.0 \
-device vfio-pci,host=03:00.0,x-vga=on \
-device vfio-pci,host=03:00.1 \
-hda $1 \
-monitor stdio


You are receiving this mail because:
  • You are the assignee for the bug.
--14579493400.Eee525.16690-- --===============1623055206== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1623055206==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Sun, 24 Apr 2016 11:27:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1603302331==" 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 5E07F6E2DF for ; Sun, 24 Apr 2016 11:27:25 +0000 (UTC) In-Reply-To: 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 --===============1603302331== Content-Type: multipart/alternative; boundary="14614972451.aDadB70.12245"; charset="UTF-8" --14614972451.aDadB70.12245 Date: Sun, 24 Apr 2016 11:27:25 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94530 spam@madsitenet.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spam@madsitenet.de --- Comment #1 from spam@madsitenet.de --- Hi, I'am experiencing the same problem with my 'R9 Fury' (also Fiji), but I'm unable to install AMD Crimson drivers for a few weeks now. Last working version was 16.3.1 (I think). Now, when the installer is trying to update/install the display driver, my screen goes blank, and the HOST (as well as the VM) hangs. Only a power off can help. Until 16.3.1 the screen went blank also (and the GPU fans started to spin at max speed), but the VM/HOST did NOT hang. If more info is required, I am glad to provide them :) See you, Michael -- You are receiving this mail because: You are the assignee for the bug. --14614972451.aDadB70.12245 Date: Sun, 24 Apr 2016 11:27:25 +0000 MIME-Version: 1.0 Content-Type: text/html changed bug 94530
What Removed Added
CC   spam@madsitenet.de

Comment # 1 on bug 94530 from
Hi,

I'am experiencing the same problem with my 'R9 Fury' (also Fiji), but I'm
unable to install AMD Crimson drivers for a few weeks now. Last working version
was 16.3.1 (I think). 
Now, when the installer is trying to update/install the display driver, my
screen goes blank, and the HOST (as well as the VM) hangs. Only a power off can
help.

Until 16.3.1 the screen went blank also (and the GPU fans started to spin at
max speed), but the VM/HOST did NOT hang.

If more info is required, I am glad to provide them :)

See you,
Michael


You are receiving this mail because:
  • You are the assignee for the bug.
--14614972451.aDadB70.12245-- --===============1603302331== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1603302331==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Fri, 28 Oct 2016 09:56:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0685679855==" 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 A4BFC6EB64 for ; Fri, 28 Oct 2016 09:56:08 +0000 (UTC) In-Reply-To: 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 --===============0685679855== Content-Type: multipart/alternative; boundary="14776485680.0b59.18329"; charset="UTF-8" --14776485680.0b59.18329 Date: Fri, 28 Oct 2016 09:56:08 +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=3D94530 --- Comment #2 from m.fehrenbach@protonmail.com --- I've got a VM which uses an R9 Nano via passthrough. Like Michael said, my system hangs both the VM and the host machine when installing AMD drier updates. Likewise my VM freezes and the fan revs up to maximum upon a normal resart of the VM, or I change anything in the QEMU startup command (e.g. ad= ding another hard drive to the VM). And the only way to stop either of those iss= ues is to power off the host machine. The only way I have been able to change the driver for my card is during a fresh install of Windows when no drivers are previously installed (aside fr= om the basic prepackaged ones are within Windows). Then I can get the lastest drivers I already downloaded from another hard drive and install them on my system, and it will work for the most part. However this doesn't address the core issue. Whilst I'm unsure if this website is the appropriate place to file this bug report, the previous two posts are the only place I've seen this exact issue mentioned. --=20 You are receiving this mail because: You are the assignee for the bug.= --14776485680.0b59.18329 Date: Fri, 28 Oct 2016 09:56:08 +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

Comment= # 2 on bug 94530<= /a> from = m.fehrenbach@protonmail.com
I've got a VM which uses an R9 Nano via passthrough. Like Mich=
ael said, my
system hangs both the VM and the host machine when installing AMD drier
updates. Likewise my VM freezes and the fan revs up to maximum upon a normal
resart of the VM, or I change anything in the QEMU startup command (e.g. ad=
ding
another hard drive to the VM). And the only way to stop either of those iss=
ues
is to power off the host machine.

The only way I have been able to change the driver for my card is during a
fresh install of Windows when no drivers are previously installed (aside fr=
om
the basic prepackaged ones are within Windows). Then I can get the lastest
drivers I already downloaded from another hard drive and install them on my
system, and it will work for the most part. However this doesn't address the
core issue.

Whilst I'm unsure if this website is the appropriate place to file this bug
report, the previous two posts are the only place I've seen this exact issue
mentioned.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14776485680.0b59.18329-- --===============0685679855== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0685679855==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Fri, 28 Oct 2016 15:45:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0193677599==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B49546EC1B for ; Fri, 28 Oct 2016 15:45:26 +0000 (UTC) In-Reply-To: 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 --===============0193677599== Content-Type: multipart/alternative; boundary="14776695260.eE95E37.7988"; charset="UTF-8" --14776695260.eE95E37.7988 Date: Fri, 28 Oct 2016 15:45:26 +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=3D94530 --- Comment #3 from Alex Deucher --- Please try the latest 4.9 kernel or my 4.10-wip branch: https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Ddrm-next-4.10-wip --=20 You are receiving this mail because: You are the assignee for the bug.= --14776695260.eE95E37.7988 Date: Fri, 28 Oct 2016 15:45:26 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --14776695260.eE95E37.7988-- --===============0193677599== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0193677599==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Fri, 28 Oct 2016 20:21:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0683170429==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 647946EC52 for ; Fri, 28 Oct 2016 20:21:17 +0000 (UTC) In-Reply-To: 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 --===============0683170429== Content-Type: multipart/alternative; boundary="14776860770.Df7e.28956"; charset="UTF-8" --14776860770.Df7e.28956 Date: Fri, 28 Oct 2016 20:21:17 +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=3D94530 --- Comment #4 from spam@madsitenet.de --- It seems, it's not a vfio issue. There are (possibly) some firmware/hw problems, as it happens also on bare metal Windows (at least on my machine): https://community.amd.com/thread/204651 --=20 You are receiving this mail because: You are the assignee for the bug.= --14776860770.Df7e.28956 Date: Fri, 28 Oct 2016 20:21:17 +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

Comment= # 4 on bug 94530<= /a> from spam@madsitene= t.de
It seems, it's not a vfio issue. There are (possibly) some fir=
mware/hw
problems, as it happens also on bare metal Windows (at least on my machine):

https://community.amd.c=
om/thread/204651


You are receiving this mail because:
  • You are the assignee for the bug.
= --14776860770.Df7e.28956-- --===============0683170429== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0683170429==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Tue, 19 Nov 2019 08:07:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0318555334==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 499776E979 for ; Tue, 19 Nov 2019 08:07:46 +0000 (UTC) In-Reply-To: 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 --===============0318555334== Content-Type: multipart/alternative; boundary="15741508663.1DFd7.10427" Content-Transfer-Encoding: 7bit --15741508663.1DFd7.10427 Date: Tue, 19 Nov 2019 08:07:46 +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=3D94530 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #5 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/66. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741508663.1DFd7.10427 Date: Tue, 19 Nov 2019 08:07:46 +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 <= span class=3D"fn">Martin Peres changed bug 94530<= /a>
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Comment= # 5 on bug 94530<= /a> from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/66.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15741508663.1DFd7.10427-- --===============0318555334== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0318555334==--