qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1809684] Re: amdgpu passthrough on POWER9 (ppc64el) not working


From: Thomas Huth
Subject: [Bug 1809684] Re: amdgpu passthrough on POWER9 (ppc64el) not working
Date: Tue, 20 Apr 2021 08:02:21 -0000

The QEMU project is currently considering to move its bug tracking to another 
system. For this we need to know which bugs are still valid and which could be 
closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state 
back to "New" within the next 60 days, otherwise this report will be marked as 
"Expired". Or mark it as "Fix Released" if the problem has been solved with a 
newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809684

Title:
  amdgpu passthrough on POWER9 (ppc64el) not working

Status in QEMU:
  Incomplete

Bug description:
  When attempting to pass a Vega 56 GPU to a virtualized guest using
  QEMU 3.1 on ppc64el (POWER9), the guest is unable to initialize the
  GPU.  Further digging reveals the driver attempting to allocate a
  large BAR, which then fails:

  [    6.058544] [drm] PCI I/O BAR is not found.
  <snip uninteresting bits>
  [    6.679193] amdgpu 0000:00:03.0: BAR 2: releasing [mem 
0x210400000000-0x2104001fffff pref]
  [    6.679306] amdgpu 0000:00:03.0: BAR 0: releasing [mem 
0x210200000000-0x2103ffffffff pref]
  [    6.679361] amdgpu 0000:00:03.0: BAR 0: no space for [mem size 0x200000000 
pref]
  [    6.679403] amdgpu 0000:00:03.0: BAR 0: failed to assign [mem size 
0x200000000 pref]
  [    6.679444] amdgpu 0000:00:03.0: BAR 2: assigned [mem 
0x200080200000-0x2000803fffff pref]
  [    6.681420] amdgpu 0000:00:03.0: VRAM: 8176M 0x000000F400000000 - 
0x000000F5FEFFFFFF (8176M used)
  [    6.681507] amdgpu 0000:00:03.0: GART: 512M 0x0000000000000000 - 
0x000000001FFFFFFF
  [    6.681594] amdgpu 0000:00:03.0: AGP: 267419648M 0x000000F800000000 - 
0x0000FFFFFFFFFFFF
  [    6.681653] [drm] Detected VRAM RAM=8176M, BAR=0M
  [    6.681688] [drm] RAM width 2048bits HBM
  [    6.681885] [TTM] Zone  kernel: Available graphics memory: 4176288 kiB
  [    6.681978] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
  [    6.682043] [TTM] Initializing pool allocator
  [    6.682159] [drm] amdgpu: 8176M of VRAM memory ready
  [    6.682249] [drm] amdgpu: 6117M of GTT memory ready.
  [    6.682387] [drm] GART: num cpu pages 8192, num gpu pages 131072
  [    6.682466] amdgpu 0000:00:03.0: (-22) kernel bo map failed
  [    6.682539] [drm:amdgpu_device_init [amdgpu]] *ERROR* 
amdgpu_vram_scratch_init failed -22
  [    6.682592] amdgpu 0000:00:03.0: amdgpu_device_ip_init failed
  [    6.682636] amdgpu 0000:00:03.0: Fatal error during GPU init

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809684/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]