kokozaurs Posted September 30, 2020 Share Posted September 30, 2020 (edited) Hi, I'm on VMWare ESXI 7.0b with rx580 passed as gpu passthrough. I can't seem to get the HW acceleration working or display the vm on monitor. I've applied Lilu & Whatevergreen kext and it changed to GFX0 and gave the name to the device in system report however it is still not identified as display and can't really use it. The display that is available is the vmware virtual display. I'm attaching dsdt.aml dump that I dumped through Hackintool. Thanks so much and I hope you can help me. Some Images:  DSDT.aml Edited September 30, 2020 by kokozaurs Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted September 30, 2020 Administrators Share Posted September 30, 2020 have two gpus? or igpu+dgpu? Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted September 30, 2020 Author Share Posted September 30, 2020 (edited) 27 minutes ago, MaLd0n said: have two gpus? or igpu+dgpu? ESXI passes through it's internal vmware display driver to osx naturally. Thats the display with 128MB Vram. It's used only for remote console etc. I've attached single gpu through passthrough to the vm - thats the rx580. There's also the hdmi audio interface passed through. See vSphere settings:  I need the RX580 to get recognized as display and have hw acceleration.  It seems like it appears in the dsdt but for some reason it's just sitting there and macOS is not using it for anything. Edited September 30, 2020 by kokozaurs Quote Link to comment Share on other sites More sharing options...
kokozaurs Posted October 1, 2020 Author Share Posted October 1, 2020 I have been fighting with this for days but can't figure it out. Do you have any ideas how this could be fixed? I'm attaching the full dump from RunMe.app. If you make the GPU work on this ESXI VM I'll make a fair donation! Thanks! Send me oskarss-Mac.zip Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 1, 2020 Administrators Share Posted October 1, 2020 28 minutes ago, kokozaurs said: I have been fighting with this for days but can't figure it out. save one ioreg https://olarila.com/files/Utils/IORegistryExplorer.app.zip 1 Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted October 1, 2020 Author Share Posted October 1, 2020 9 minutes ago, MaLd0n said: save one ioreg https://olarila.com/files/Utils/IORegistryExplorer.app.zip attached! oskars’s Mac.zip Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 1, 2020 Administrators Share Posted October 1, 2020 67df is native this vm is strange Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted October 1, 2020 Author Share Posted October 1, 2020 9 minutes ago, MaLd0n said: 67df is native this vm is strange It is visible though, but i'm not sure why it doesn't initialize any of the gpu properties. Even though it's listed in macos, the hw acceleration is not working, its not recognized by any apps and none of the ports work. it only appeared as rx580 after whatevergreen, before that it was just a random display with no name, but again - no properties. it almost seems like it's not loading the graphics driver? I'm not sure. Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 1, 2020 Administrators Share Posted October 1, 2020 is not load what ur motherboard? lets try real installation Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted October 1, 2020 Author Share Posted October 1, 2020 (edited) 9 hours ago, MaLd0n said: is not load what ur motherboard? lets try real installation its running on dell r720 with 0x3d66 motherboard. but i'm not sure if the VM expose the motherboard to mac like that.  maybe the problem is that there is no igpu?  I cant seem to find anyone that has figured out how to properly get amd cards recognized through esxi vm. The only references i've had that people had success with old Nvidia cards. Maybe there's a way to patch the drivers? or patch the kernel? Edited October 1, 2020 by kokozaurs Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 1, 2020 Administrators Share Posted October 1, 2020 i think the problem in VM this gpu have native support Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted October 1, 2020 Author Share Posted October 1, 2020 12 minutes ago, MaLd0n said: i think the problem in VM this gpu have native support so you think there's no way to inject it so it recognizes? Maybe something is blocking it? I can share some boot logs.. Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 1, 2020 Administrators Share Posted October 1, 2020 try a native install direct in ssd with no VM Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted October 2, 2020 Author Share Posted October 2, 2020 (edited) 19 hours ago, MaLd0n said: try a native install direct in ssd with no VM I have a feeling that the problem might be that i dont have igpu. its only the virtual gpu that the vmware gives and dgpu rx580. Is there a way to bypass that? Edited October 2, 2020 by kokozaurs Quote Link to comment Share on other sites More sharing options...
kokozaurs Posted October 2, 2020 Author Share Posted October 2, 2020 (edited) My guess from the boot log: Quote kernel[0]: (AppleGraphicsDeviceControl) <AppleGraphicsDeviceControl`AppleGraphicsDeviceControlClient::authorizeTask(AppleGraphicsDeviceControl*, task*, unsigned int)> AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PE60@17/IOPP/GFX0@0/AMD9500ControllerWrangler) 2020-10-02 08:39:23.145618-0700  localhost kernel[0]: (Sandbox) <Sandbox`sb_report> Sandbox: 3 duplicate reports for bluetoothd deny(1) mach-lookup com.apple.server.bluetooth 2020-10-02 08:39:23.145621-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: distnoted(281) deny(1) file-read-metadata /usr/sbin/distnoted 2020-10-02 08:39:25.843835-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: bluetoothd(149) deny(1) mach-lookup com.apple.server.bluetooth 2020-10-02 08:39:49.984892-0700  localhost kernel[0]: PMRD: power event 7 args 0xc15a600572fc86a1 0x0 2020-10-02 08:39:49.985048-0700  localhost kernel[0]: PMRD: destroyed capability client set 0xc15a60057163deb1 2020-10-02 08:39:49.985323-0700  localhost kernel[0]: (IOGraphicsFamily) <IOGraphicsFamily`IOFramebuffer::systemPowerChange(void*, void*, unsigned int, IOService*, void*, unsigned long)> GTrace synchronization point 72020-10-02 08:39:49.985484-0700  localhost kernel[0]: kPEDisableScreen 1   It doesn't see Igpu, or for whatever other reason it flags that the system is unauthorized client which results in not authorizing amd9500controllerwrangler. Later on the kernel disables screen and the gpu is just a paperweight. IMO it would probably crash at that point if the esxi wouldn't supply it's of GFX which follows right after that Quote kernel[0]: (VMwareGfx) gfx: fb: registerForInterruptType: Unexpected interruptType=hdci. 2020-10-02 08:39:49.986381-0700  localhost kernel[0]: PMRD: PowerChangeDone: ON_STATE->ON_STATE2020-10-02 08:39:50.170648-0700  localhost kernel[0]: kPEDisableScreen 1 2020-10-02 08:39:50.170668-0700  localhost kernel[0]: (VMwareGfx) gfx: fb: setDisplayMode: (1) wxh=2560x1440, 32 10240 2020-10-02 08:39:50.170867-0700  localhost kernel[0]: (VMwareGfx) gfx: svga: SetMode: mode w,h=2560, 1440 bpp=32 2020-10-02 08:39:50.187857-0700  localhost kernel[0]: (VMwareGfx) gfx: svga: SetMode: pitch=10240 2020-10-02 08:39:50.187990-0700  localhost kernel[0]: (VMwareGfx) gfx: fb: setDisplayMode: Display ID=1, Depth ID=0 2020-10-02 08:39:50.188082-0700  localhost kernel[0]: (VMwareGfx) gfx: fb: setDisplayMode: wxh=2560x1440, bpp=32, pitch=102402020-10-02 08:39:50.188564-0700  localhost kernel[0]: kPEEnableScreen 1 2020-10-02 08:39:50.188617-0700  localhost kernel[0]: (VMwareGfx) gfx: fb: GetDisplayMode: Bad mode ID=0 2020-10-02 08:39:50.188714-0700  localhost kernel[0]: (VMwareGfx) gfx: fb: getPixelInformation: Display mode 0 not found. 2020-10-02 08:39:50.405550-0700  localhost kernel[0]: IOConsoleUsers: time(0) 0->0, lin 0, llk 0, 2020-10-02 08:39:50.405564-0700  localhost kernel[0]: IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0 2020-10-02 08:39:50.467120-0700  localhost kernel[0]: IOConsoleUsers: time(0) 0->0, lin 0, llk 0, 2020-10-02 08:39:50.467136-0700  localhost kernel[0]: IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0  Since kernel ends up finding a graphics display which is the vmwaregfx, it continues to boot successfully. Is there a way to bypass this and make it think that it's a proper client considering I have no igpu in order to get the amd card working? is there a way to fake a igpu presence? Edited October 2, 2020 by kokozaurs Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 2, 2020 Administrators Share Posted October 2, 2020 4 hours ago, kokozaurs said: I have a feeling that the problem might be that i dont have igpu. its only the virtual gpu that the vmware gives and dgpu rx580. Is there a way to bypass that? yes. need only GPU and iMacPro1,1 smbios with Catalina Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
kokozaurs Posted October 2, 2020 Author Share Posted October 2, 2020 2 minutes ago, MaLd0n said: yes. need only GPU and iMacPro1,1 smbios with Catalina so the igpu doesn't have to be present for it to work? Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted October 2, 2020 Administrators Share Posted October 2, 2020 dont need native install with clover or opencore work like a mac. vm is very bad way Quote -Donations- PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com Premium Users HERE - Problems with Paypal HERE Sign up for a Bybit account and claim exclusive rewards HERE New ways to earn money with Linkvertise HERE Link to comment Share on other sites More sharing options...
hejiajin Posted May 15, 2023 Share Posted May 15, 2023 Hi there, I recently found the answer, here. I have already solved it, use opencore to guide, and then use the vbiso to load the graphics card to drive the graphics card. hope this helps  https://www.insanelymac.com/forum/topic/345301-esxi-6770-amd-gpu-passhtrough/?do=findComment&comment=2780618 Quote Link to comment Share on other sites More sharing options...