Jump to content
4 posts in this topic

Recommended Posts

Hi,

 

I have a MacOS Sequoia VM running on a server (spec in my signature). It is using QEMU with q35 machine type. The type of device passthrough is UPT, not legacy mode as that is only supported with i440fx machine type.

 

I'm trying to pass-through the IGPU to the MacOS VM.

 

Without any Device ID spoofing, the IGPU shows up on MacOS without hardware acceleration (as expected)

I've followed all the instructions that apply to regular MacOS hackintosh and when I spoof the Device ID of the IGPU to 0x3E9B, MacOS tries to load the drivers and I got as far as the error you see at the end of the log below.

 

2025-06-06 12:11:13.559158+0200  localhost kernel[0]: AppleIPAppender[0x100000368]::probe(IOResources)
2025-06-06 12:11:13.559433+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) Entry to probe function
2025-06-06 12:11:13.559463+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getPlatformID:7649 AAPL,ig-platform-id = 0x3e9b0007
2025-06-06 12:11:13.559466+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) PlatformID found: 3e9b0007
2025-06-06 12:11:13.559722+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] In FB driver start
2025-06-06 12:11:13.559727+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:1734 fBootFlags = 0
2025-06-06 12:11:13.559761+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2041 fPCIDeviceID = 0x3e9b8086
2025-06-06 12:11:13.559777+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2044 fPCIConfigRevisionID = 0x2
2025-06-06 12:11:13.559788+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2047 fPCISubSystemID = 0xd0001458
2025-06-06 12:11:13.559819+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2133 IG: Range[0] 0xf0000000:01000000
2025-06-06 12:11:13.559823+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2133 IG: Range[1] 0x6040:00000040
2025-06-06 12:11:13.559825+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2133 IG: Range[2] 0xa0000:00010000
2025-06-06 12:11:13.559830+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: start:2153 IG: MMIO range@0x10 (0xf0000000) mapped to kernel virtual address 0xffffffc2bd7d4000
2025-06-06 12:11:13.559835+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: initPowerWellState:6218 IG: initPowerWellState()
2025-06-06 12:11:13.559862+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getPlatformID:7649 AAPL,ig-platform-id = 0x3e9b0007
2025-06-06 12:11:13.559865+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7739 fUseVideoTurbo = 0, fVideoTurboFreq = 14
2025-06-06 12:11:13.559867+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7742 [NFB] -------------------------------------------
2025-06-06 12:11:13.559869+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7743 [NFB] PlatformInformation
2025-06-06 12:11:13.559870+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7744 [NFB] fPipeCount             : 3
2025-06-06 12:11:13.559872+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7745 [NFB] fPortCount             : 3
2025-06-06 12:11:13.559874+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7746 [NFB] fNumFramebuffer        : 3
2025-06-06 12:11:13.559876+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7747 [NFB] fFramebufferMemorySize : 57MB
2025-06-06 12:11:13.559877+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7748 [NFB] fFBMemoryCount         : 3
2025-06-06 12:11:13.559879+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7749 [NFB] fCursorBytes           : 1572864
2025-06-06 12:11:13.559887+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7750 [NFB] fBacklightMax          : 65535
2025-06-06 12:11:13.559890+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7751 [NFB] Port[0]: 00000001 / 00000005 / 00001024 / 00000967
2025-06-06 12:11:13.559892+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7752 [NFB] Port[1]: 00000002 / 00000004 / 00001024 / 00000967
2025-06-06 12:11:13.559894+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7753 [NFB] Port[2]: 00000003 / 00000006 / 00001024 / 00000967
2025-06-06 12:11:13.559896+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7754 [NFB] Port[3]: 00000255 / 00000000 / 00000001 / 00000032
2025-06-06 12:11:13.559898+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getOSInformation:7755 [NFB] -------------------------------------------
2025-06-06 12:11:13.559905+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: registerWithAICPM:21022 PMIOCRINGTABLEINIT(GTVA=0xffffffc2bd7d4000, PCUVA=0xffffffc2bd914000, minFreq=350, maxFreq=1200, freqStep=50, count=18):ret=-1
2025-06-06 12:11:13.559908+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: registerWithAICPM:21027 PMIOCCURRENTGTFREQFN(func=0xffffff7f985b2dc3):ret=-1
2025-06-06 12:11:13.559913+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8054 FeatureControl found in plist
2025-06-06 12:11:13.559915+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8073 fFBCBypassEnable set to 0
2025-06-06 12:11:13.559918+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8083 fAGCOverlayCacheEDIDDisable set to 0
2025-06-06 12:11:13.559920+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8094 DynamicRingTables set to 0
2025-06-06 12:11:13.559922+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8102 fEnableSliceShutdown set to 0
2025-06-06 12:11:13.559924+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8110 fEnableSliceShutdown set to 0
2025-06-06 12:11:13.559937+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8121 fIgnoreHMDSetting set to 0
2025-06-06 12:11:13.559939+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8133 fLoadRingOverridePerSlice set to 1
2025-06-06 12:11:13.559940+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8141 fEnableDynamicFBC set to 0
2025-06-06 12:11:13.559943+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8152 fBusyTimerValue set to 3000
2025-06-06 12:11:13.559945+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8162 fFastDisplayDetectDisable set to 0
2025-06-06 12:11:13.559957+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8173 fDitherMode set to 0
2025-06-06 12:11:13.559959+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8183 fDitherDisable set to 0
2025-06-06 12:11:13.559961+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8194 DynamicFBCFrameCount set to 3
2025-06-06 12:11:13.559963+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8205 DeltaFlipThreshold set to 18000000
2025-06-06 12:11:13.559965+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8216 TransactionCountTime set to 1000
2025-06-06 12:11:13.559967+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8223 fNumTransactionsThreshold set to 0
2025-06-06 12:11:13.559969+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8238 fDisableHigherWMLevels set to 0
2025-06-06 12:11:13.559971+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8248 fMaximumSelfRefreshLevel set to 3
2025-06-06 12:11:13.559973+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8258 fEnableGamma set to 1
2025-06-06 12:11:13.559975+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8268 fPowerStatesEnable set to 1
2025-06-06 12:11:13.559977+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8274 fRenderStandbyEnable set to 1
2025-06-06 12:11:13.559978+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8297 fDisableInternalPanel set to 0
2025-06-06 12:11:13.559980+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8307 fRCxEIModeEnable set to 1
2025-06-06 12:11:13.559982+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8315 fGammaAdjustDisable set to 0
2025-06-06 12:11:13.559984+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8323 fUseProgrammedCoefficients set to 0
2025-06-06 12:11:13.559986+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8336 fGPUInterruptHandlingEnable set to 1
2025-06-06 12:11:13.559988+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8347 DPM set to 1
2025-06-06 12:11:13.559989+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8369 fPPPMSupport = 1
2025-06-06 12:11:13.559992+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8422 [GFXPMFB] fDynamicSliceSwitch = 0 fGFMPPFMSupport = 1
2025-06-06 12:11:13.559995+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8432 fMessageAGPMTimerValue = 1
2025-06-06 12:11:13.559997+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8443 fIgnorePanelTimings set to 0
2025-06-06 12:11:13.559999+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8463 Threading Mode: 1
2025-06-06 12:11:13.560001+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8496 fEnableSetRC6Voltage set to 0
2025-06-06 12:11:13.560003+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8506 fEnableDeepDisplay set to true
2025-06-06 12:11:13.560005+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8516 fDisableDFB set to 0x00000000
2025-06-06 12:11:13.560007+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8526 fEnableDFB set to 0x00000000
2025-06-06 12:11:13.560009+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8536 fEDPDownSpreadDisable set to false
2025-06-06 12:11:13.560011+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8553 fDPDownSpreadDisable set to false
2025-06-06 12:11:13.560013+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8563 fASRDisable set to false
2025-06-06 12:11:13.560016+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8573 fPStateOccupancyReportUsed set to true
2025-06-06 12:11:13.560018+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8583 fLogSyncAsyncFlipChanges set to false
2025-06-06 12:11:13.560021+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8593 fEnable8kMode set to 1
2025-06-06 12:11:13.560022+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8603 fNoApertureAccess set to 0
2025-06-06 12:11:13.560024+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8613 EnableTconScaler set to 1
2025-06-06 12:11:13.560031+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8707 TracePointEnable set to 0
2025-06-06 12:11:13.560032+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8740 fEdramSWModeInED set to 1
2025-06-06 12:11:13.560034+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getFeatureControl:8750 fPStateResidencyWAEnable set to true
2025-06-06 12:11:13.560037+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getPMTControl:8034 PMTControl found in plist
2025-06-06 12:11:13.560038+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) IG:: getPMTControl:8044 fDisplayEngineCounting set to 0
2025-06-06 12:11:13.560040+0200  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR  ] getDeviceMemoryWithRegister failed

 

I've also attached a copy of the EFI folder I'm currently using.

 

Do you have any suggestion on what I could try?

EFI.zip

no idea on how the IGPU is handled by the MacOS VM as i only now howto work with real hardware but guess others can clarify that issue.

 

i did notice you have a efi vars error

 

you need to also delete the vars you create in efi. here's the bug from your config

 

created:

image.png.bdb28a585e9027bc15f673a3e81707b7.png

 

but not deleted

image.png.28ead264313b3d7f5dc8e1f507fc3354.png

 

2025-06-06 12:11:13.560040+0200 localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR ] getDeviceMemoryWithRegister failed

this means no memory is detect and therefore no memory maping available (bars)

Edited by jalavoui

I haven't made any progress yet but at least I've excluded some variables.

 

I tried with MacOS Ventura and I got the same error.

I also managed to switch from q35 to i440fx machine type (and therefore full legacy mode IGPU pass-through) and I still got the same error.

 

I also tried different VBIOS roms but the error is always there.

  • 1 month later...

getDeviceMemoryWithRegister failed means the macOS kernel can't access a memory-mapped device register—in this case, most likely the framebuffer memory or MMIO region of the iGPU.

Word hurdle

Edited by Christine Barber

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...