Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacHyperVSupport 0.9.7 PCI Devices Not Working #2453

Open
PIKACHUIM opened this issue Dec 7, 2024 · 16 comments
Open

MacHyperVSupport 0.9.7 PCI Devices Not Working #2453

PIKACHUIM opened this issue Dec 7, 2024 · 16 comments

Comments

@PIKACHUIM
Copy link

MacHyperVSupport v0.9.7 not working.
Host System: Windows Server 2025
VM System: macOS 14.7.1
I can't see pci devices passthrougth(DDA) from host
However, MacHyperVSupport v0.9.6 works.
Here is my config:
config.zip
By the way, I wonder if MacHyperVSupport can support GPU working with CL/Metal.
And will it work with OCLP?

Thank you!

@mikebeaton
Copy link
Contributor

Please bisect to find the specific commit which introduces the issue.

@PIKACHUIM
Copy link
Author

PIKACHUIM commented Dec 22, 2024

Sorry for reply late.
I spent some time ruling out the possibility that this issue could be caused by the opencore version or the hardware itself. Therefore, it was still due to the MacHyperVSupport version that caused the inability to use PCI devices. I tested the builds of various versions from 0.9.6 to 0.9.7, and the following are the results:

......(work)
d9dd44d-works. Boot fast and dda pci devices work.
c0344f9-not bootable. It shows disk1,4 error, however I do not have this disk.
a3740c8-not work. Boot very slow and dda pci devices not show in system.
......(not work)

Thank you.

@PIKACHUIM
Copy link
Author

@mikebeaton

@PIKACHUIM
Copy link
Author

On version-d9dd44d, there are two vgpu show in hackintool instead of one in 0.9.7/0.9.6-release:

QQ20241222-173056

The third pci device appears on this build(d9dd44d)
I just want to drive the second pci device GT720 to get metal support.
And I have already apply OCLP's patch but it seems not work.
Can you help me to make it possible? I am very grateful.

@mikebeaton
Copy link
Contributor

@Goldfish64

@Goldfish64
Copy link
Member

Just for reference, what is the host hardware here?

@PIKACHUIM
Copy link
Author

PIKACHUIM commented Dec 25, 2024

Sure, here is the host hardware:

Computer:
Computer Type: ASRock Z690 Phantom Gaming 4
Operating System: Microsoft Windows Server 2025 Datacenter
Operating System Version Upgrade (SP): -
Internet Explorer: 11.1.26100.0
Edge: 131.0.2903.99
DirectX: DirectX 12.0
Computer Name: PC21-W11PC1-CD1
User Name: Pika
Logon Domain: PC21-W11PC1-CD1
Date/Time: 2024-12-25 / 22:13
Motherboard:

Processor Name: i9-13900K 8C+16c, 4300 MHz (43 x 100)
Motherboard Name: ASRock Z690 Phantom Gaming 4 (3 PCI-E x1, 2 PCI-E x16, 3 M.2, 4 DDR4 DIMM, Audio, Video, Gigabit LAN)
Motherboard Chipset: Intel Alder Point-S Z690, Intel Raptor Lake-HX
System Memory: 65104 MB (DDR4 SDRAM)
DIMM1: Gloway International TAC4U3200E18321C 32 GB DDR4-3200 DDR4 SDRAM (18-22-22-42 @ 1600 MHz) (16-20-20-38 @ 1422 MHz)
DIMM3: Gloway International TAC4U3200E18321C 32 GB DDR4-3200 DDR4 SDRAM (18-22-22-42 @ 1600 MHz) (16-20-20-38 @ 1422 MHz)
BIOS Type: AMI (10/01/2024)
Display Devices:

Display Adapter: Intel(R) RaptorLake-S Mobile Graphics Controller (2 GB)
Display Adapter: NVIDIA GeForce RTX 3060 Ti (8 GB)
3D Accelerator: AMD Radeon HD 7750 (Cape Verde)
3D Accelerator: nVIDIA GeForce GT 720
3D Accelerator: nVIDIA GeForce RTX 3060 Ti LHR
Monitor: Generic Monitor (BKY248) [NoDB] (34091) {2024}
Monitor: Generic Monitor (DP) [NoDB] (322821573) {2022}
Multimedia:

Audio Adapter: ATI Radeon HDMI @ AMD Cape Verde/Pitcairn/Curacao/Heathrow/Chelsea/Venus - High Definition Audio Controller
Audio Adapter: nVIDIA GA104 HDMI/DP @ nVIDIA GA104 - High Definition Audio Controller
Audio Adapter: nVIDIA GK208 HDMI/DP @ nVIDIA GK208 - High Definition Audio Controller
Audio Adapter: Realtek ALC897 @ Intel Alder Point-S PCH - HD Audio (Audio, Voice, Speech)
Storage Devices:

IDE Controller: Standard SATA AHCI Controller
Storage Controller: Microsoft VHD Loopback Controller
Storage Controller: Microsoft Storage Spaces Controller
Storage Controller: Standard NVM Express Controller
Storage Controller: Standard NVM Express Controller
Hard Drive: HYV2TBX4 (1907 GB)
Hard Drive: Lenovo SSD SL700 2TB (1863 GB)
Hard Drive: Samsung SSD 970 EVO Plus 2TB (2000 GB, PCI-E 3.0 x4)
Hard Drive SMART Status: OK

@Goldfish64
Copy link
Member

What is your passthrough configuration? Just installed Sonoma on a VM but only see the framebuffer and the passed-in GPU, not the basic render driver.

@PIKACHUIM
Copy link
Author

I use DDA passthrough configuration, here is a tool: DDATools.zip
It just uses DDA passthrough by official command from Microsoft.
The basic render driver only appears on this build(d9dd44d).

@PIKACHUIM
Copy link
Author

DDA passthrough just like this:

Dismount-VMHostAssignableDevice -LocationPath <locationpath> -Force
Add-VMAssignableDevice -VMName $VmName -LocationPath <locationpath>

@PIKACHUIM
Copy link
Author

What is your passthrough configuration? Just installed Sonoma on a VM but only see the framebuffer and the passed-in GPU, not the basic render driver.

And I wonder if your GPU passed in will work with Metal/OpenCL or not?

@Goldfish64
Copy link
Member

Tested with Big Sur 11.7.10 and a Quadro K600 that DDA does function, although there are some oddities with backtraces being generated when the cursor moves. The Hyper-V synthetic framebuffer must be disabled with -hvgfxboff boot argument.

Thus far the only GPUs I've been able to get working are Kepler cards on the respective supported versions of macOS. AMD cards do not appear to work at this time. Anything above Monterey for NVIDIA cards would be out of scope of this bugtracker as that would require OCLP.

@PIKACHUIM
Copy link
Author

Tested with Big Sur 11.7.10 and a Quadro K600 that DDA does function, although there are some oddities with backtraces being generated when the cursor moves. The Hyper-V synthetic framebuffer must be disabled with -hvgfxboff boot argument.

Thus far the only GPUs I've been able to get working are Kepler cards on the respective supported versions of macOS. AMD cards do not appear to work at this time. Anything above Monterey for NVIDIA cards would be out of scope of this bugtracker as that would require OCLP.

I have a GT720 and I have installed macOS 11.7.10 but it does not work.
I boot with -hvgfxboff argument, and the use MacHyperVSupport v0.9.6.
(I can NOT use MacHyperVSupport v0.9.6 because it does not work at all)
If without -hvgfxboff, I can see the GT720 shows in the pci devices list:
QQ20241228-224137
If I boot with -hvgfxboff, I can NOT see login screen in Hyper-V and vnc can NOT connect.
Here is system report and screenshot from Hackintool:
QQ20241228-224151
QQ20241228-224216

@PIKACHUIM
Copy link
Author

Only once I boot with -hvgfxboff, I can see the system report and pci devices list only have my GT720.
There is no Hyper-V vGPU. But it still not work, metal shows not support. (I forgot to take a screen shot)

@PIKACHUIM
Copy link
Author

QQ20241228-225415

@PIKACHUIM
Copy link
Author

QQ20241228-225507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants