Hi everyone,
I have to use this to passthrough the primary/boot GPU without "Failed to mmap"
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
But it keeps reset everytime on host reboot/shutdown that meant I always have to type it again. Is there any way to keep it as default setting ?
I tried:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=vesafbff,efifbff"
GRUB_CMDLINE_LINUX=""
but still not work :'(
26:00 is the RX 470 (boot GPU), RX 580 is 27:00 (2nd GPU)
/proc/iomem
00000000-00000fff : Reserved
00001000-0009ffff : System RAM
000a0000-000fffff : Reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000dffff : PCI Bus 0000:00
000f0000-000fffff : System ROM
00100000-09cfffff : System RAM
09d00000-09ffffff : Reserved
0a000000-0a1fffff : System RAM
0a200000-0a209fff : ACPI Non-volatile Storage
0a20a000-0affffff : System RAM
0b000000-0b01ffff : Reserved
0b020000-babf3fff : System RAM
babf4000-bc0e0fff : Reserved
bc0e1000-bc4bafff : System RAM
bc4bb000-bc5affff : ACPI Non-volatile Storage
bc5b0000-bcfa8fff : Reserved
bcfa9000-bd03bfff : Unknown E820 type
bd03c000-beffffff : System RAM
bf000000-bfffffff : Reserved
c0000000-fec2ffff : PCI Bus 0000:00
c0000000-d01fffff : PCI Bus 0000:27
c0000000-cfffffff : 0000:27:00.0
d0000000-d01fffff : 0000:27:00.0
e0000000-f01fffff : PCI Bus 0000:26
e0000000-efffffff : 0000:26:00.0
e0000000-efffffff : vfio-pci
f0000000-f01fffff : 0000:26:00.0
f0000000-f01fffff : vfio-pci
f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
f8000000-fbffffff : Reserved
f8000000-fbffffff : pnp 00:00
fd100000-fdffffff : Reserved
fe000000-fe2fffff : PCI Bus 0000:28
fe000000-fe0fffff : 0000:28:00.3
fe000000-fe0fffff : xhci-hcd
fe100000-fe1fffff : 0000:28:00.2
fe100000-fe1fffff : ccp
fe200000-fe201fff : 0000:28:00.2
Thanks
I have to use this to passthrough the primary/boot GPU without "Failed to mmap"
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
But it keeps reset everytime on host reboot/shutdown that meant I always have to type it again. Is there any way to keep it as default setting ?
I tried:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=vesafbff,efifbff"
GRUB_CMDLINE_LINUX=""
but still not work :'(
26:00 is the RX 470 (boot GPU), RX 580 is 27:00 (2nd GPU)
/proc/iomem
00000000-00000fff : Reserved
00001000-0009ffff : System RAM
000a0000-000fffff : Reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000dffff : PCI Bus 0000:00
000f0000-000fffff : System ROM
00100000-09cfffff : System RAM
09d00000-09ffffff : Reserved
0a000000-0a1fffff : System RAM
0a200000-0a209fff : ACPI Non-volatile Storage
0a20a000-0affffff : System RAM
0b000000-0b01ffff : Reserved
0b020000-babf3fff : System RAM
babf4000-bc0e0fff : Reserved
bc0e1000-bc4bafff : System RAM
bc4bb000-bc5affff : ACPI Non-volatile Storage
bc5b0000-bcfa8fff : Reserved
bcfa9000-bd03bfff : Unknown E820 type
bd03c000-beffffff : System RAM
bf000000-bfffffff : Reserved
c0000000-fec2ffff : PCI Bus 0000:00
c0000000-d01fffff : PCI Bus 0000:27
c0000000-cfffffff : 0000:27:00.0
d0000000-d01fffff : 0000:27:00.0
e0000000-f01fffff : PCI Bus 0000:26
e0000000-efffffff : 0000:26:00.0
e0000000-efffffff : vfio-pci
f0000000-f01fffff : 0000:26:00.0
f0000000-f01fffff : vfio-pci
f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
f8000000-fbffffff : Reserved
f8000000-fbffffff : pnp 00:00
fd100000-fdffffff : Reserved
fe000000-fe2fffff : PCI Bus 0000:28
fe000000-fe0fffff : 0000:28:00.3
fe000000-fe0fffff : xhci-hcd
fe100000-fe1fffff : 0000:28:00.2
fe100000-fe1fffff : ccp
fe200000-fe201fff : 0000:28:00.2
Thanks
Last edited: