All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 96243] GPU initialization fails
@ 2016-05-27 11:55 bugzilla-daemon
  2016-12-28 23:15 ` [Bug 96243] GPU initialization fails when running in VM bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-05-27 11:55 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1609 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96243

            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=124126&action=edit
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 various
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 able
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.

[-- Attachment #1.2: Type: text/html, Size: 3045 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 96243] GPU initialization fails when running in VM
  2016-05-27 11:55 [Bug 96243] GPU initialization fails bugzilla-daemon
@ 2016-12-28 23:15 ` bugzilla-daemon
  2016-12-31  6:16 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-12-28 23:15 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 460 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96243

John Bridgman <john.bridgman@amd.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GPU initialization fails    |GPU initialization fails
                   |                            |when running in VM

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1116 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 96243] GPU initialization fails when running in VM
  2016-05-27 11:55 [Bug 96243] GPU initialization fails bugzilla-daemon
  2016-12-28 23:15 ` [Bug 96243] GPU initialization fails when running in VM bugzilla-daemon
@ 2016-12-31  6:16 ` bugzilla-daemon
  2017-10-27 17:22 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-12-31  6:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 223 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96243

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Can you try a newer kernel?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 96243] GPU initialization fails when running in VM
  2016-05-27 11:55 [Bug 96243] GPU initialization fails bugzilla-daemon
  2016-12-28 23:15 ` [Bug 96243] GPU initialization fails when running in VM bugzilla-daemon
  2016-12-31  6:16 ` bugzilla-daemon
@ 2017-10-27 17:22 ` bugzilla-daemon
  2017-10-27 17:24 ` bugzilla-daemon
  2019-11-19  8:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-10-27 17:22 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96243

--- Comment #2 from hiwatari.seiji@gmail.com ---
I did another round of testing and am quite pleased with the results.

New setup:
> # Host
> qemu: 2.10.0
> kernel: 4.13.5-gentoo

> # Guest:
> kernel: vmlinuz-4.13.6-1-default (OpenSUSE)
> cmdline: amdgpu.cik_support=1 modprobe.blacklist=radeon

I did a couple of restarts and am quite pleased, that no host-hangups occured.
The chance of a successfull initialization of the graphics hardware within the
guest is at around 60%.

When it fails, the following line is always the last visible:

> fb: switching to amdgpudrmfb from EFI VGA

Additionally, even when everything works, there are a couple of ring test
errors:

> [drm:gfx_v7_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 2 test failed (scratch(0xC040)=0xCAFEDEAD)

I'll attach a new log-file showing the boot log when everything works.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1900 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 96243] GPU initialization fails when running in VM
  2016-05-27 11:55 [Bug 96243] GPU initialization fails bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-10-27 17:22 ` bugzilla-daemon
@ 2017-10-27 17:24 ` bugzilla-daemon
  2019-11-19  8:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-10-27 17:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 319 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96243

--- Comment #3 from hiwatari.seiji@gmail.com ---
Created attachment 135114
  --> https://bugs.freedesktop.org/attachment.cgi?id=135114&action=edit
boot_log_successfull_initialization

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1240 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 96243] GPU initialization fails when running in VM
  2016-05-27 11:55 [Bug 96243] GPU initialization fails bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-10-27 17:24 ` bugzilla-daemon
@ 2019-11-19  8:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 803 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96243

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from Martin Peres <martin.peres@free.fr> ---
-- 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/75.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2346 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-19  8:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 11:55 [Bug 96243] GPU initialization fails bugzilla-daemon
2016-12-28 23:15 ` [Bug 96243] GPU initialization fails when running in VM bugzilla-daemon
2016-12-31  6:16 ` bugzilla-daemon
2017-10-27 17:22 ` bugzilla-daemon
2017-10-27 17:24 ` bugzilla-daemon
2019-11-19  8:08 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.