From: Stephan Althaus <Stephan.Althaus@Duedinghausen.eu>
To: developer@lists.illumos.org
Subject: Re: [developer] Re: illumos/uefi-edk2 update 2023-11
Date: Fri, 16 Feb 2024 10:29:28 +0100 [thread overview]
Message-ID: <f6667960-408f-4d11-abb6-45a73f1f60e9@Duedinghausen.eu> (raw)
In-Reply-To: <7c43f7f5-64d5-4087-b9b6-ccb8f558264b@Duedinghausen.eu>
Hello!
Small update on this..
The goal i want to achieve is to have a GPU passthrough on OI to a
Windows vm with bhyve...
I now tested linux/proxmox (kvm) and FreeBSD 14 (bhyve) with success,
so i can assume the Hardware and the BIOS settings are ok.
FreeBSD has this version of the edk2 image:
$ pkg search edk2
edk2-bhyve-g202308_4 EDK2 Firmware for bhyve
.. so version 202311 seems not to be needed (?)
What i see if i try it on OI, is that
immu-intrmap-enable="true";
in
/platform/i86pc/kernel/drv/rootnex.conf
leads to error messages when i start the bhyve test script with messages
APIC ERROR Interrupt on CPU 0. Status 0 = 0 Status 1 = 40.
on the console and the system is not responsive anymore..
Do i _need_ immu-intrmap-enable="true"; ?
I currently have these values set:
immu-enable="true";
#immu-intrmap-enable="true";
immu-blacklist=
"SMBIOS","Supermicro","X10DRI-T",""
;
immu-dvma-mapping="xlate";
immu-dvma-unity-drivers="igb","ahci","ixgbe","ehci","xhci","nvme";
immu-dvma-xlate-drivers="mpt";
Is anyone around with a success story who has been there and done that ?
i want to passtrough this:
$ pptadm list -o all
DEV VENDOR DEVICE SUBVENDOR SUBDEVICE REV
PATH LABEL
/dev/ppt0 1002 743f 1da2 e458 c7
/pci@7a,0/pci8086,6f08@3/pci1002,1478@0/pci1002,1479@0/display@0
Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500
XT/6500M]
/dev/ppt1 1002 ab28 1002 ab28 0
/pci@7a,0/pci8086,6f08@3/pci1002,1478@0/pci1002,1479@0/pci1002,ab28@0,1
Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
... using this test script:
$ /usr/sbin/bhyve -U bd60bf59-0ed6-61a1-f0ed-b17e99ada165 -A -H \
-B
1,manufacturer=OpenIndiana,product=OpenIndianaHVM,version=1.0,serial=69a18a85-c1df-c266-f620-a99a632d3c11,sku=001,family=VirtualMachine
\
-c 4 -m 16G -w \
-s 31:0,lpc -l bootrom,/usr/share/bhyve/firmware/BHYVE.fd,fwcfg=qemu \
-s 0,hostbridge,model=i440fx \
-s 4:0,nvme,/dev/zvol/rdsk/home2/vm/win10vol \
-s 6:0,virtio-net-viona,vnic0 \
-s 30:0,fbuf,vga=off,tcp=0.0.0.0:5905 \
-s 30:1,xhci,tablet \
-S -s 8:0,passthru,/dev/ppt0,rom=/home2/vm/Navi24.rom \
-s 8:1,passthru,/dev/ppt1 \
win10
The GPU can be seen within the vm (error 43), it seems the card doesn't
get initialized..
Any hints are welcome..
Regards,
Stephan
next prev parent reply other threads:[~2024-02-16 9:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 12:42 Stephan Althaus
2024-02-12 14:48 ` Andy Fiddaman
2024-02-13 12:05 ` [developer] " Stephan Althaus
2024-02-13 12:19 ` Marcel Telka
2024-02-16 9:29 ` Stephan Althaus [this message]
2024-10-29 15:25 ` Stephan Althaus
2024-10-30 8:32 ` Stephan Althaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6667960-408f-4d11-abb6-45a73f1f60e9@Duedinghausen.eu \
--to=stephan.althaus@duedinghausen.eu \
--cc=developer@lists.illumos.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).