Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

I successfully passthrough my IGPU but video memory is still 7mb #8

Open
darkyelox opened this issue Mar 28, 2022 · 7 comments
Open

Comments

@darkyelox
Copy link

Hi, first thanks for your great work, I installed my monterey and the screen shows up and it recognizes my Intel HD Graphics 510 but for some reason it stills saying 7mb of video, what could be the problem? should I teak my config.plist or something?, could you give some light about this?
IMG_20220328_101428481

@vivekmiyani
Copy link
Owner

Congratulations for it 🎉, There are very few people who get this working this way.

You got working GVT-D, now you need to do some tweaks in config.plist if I'm not wrong. Can you share iGPU exact version and We'll try to match with the opencore guide tables.

If that is already done by you, then I think you need to modify the i915ovmfPkg by following this guide: https://github.com/patmagauran/i915ovmfPkg/wiki/DVMT-Pre-Alloc---Stolen-Memory-Issues

Hope you'll get the full iGPU working.

@tak2hu
Copy link

tak2hu commented Apr 19, 2022

Hi, first thanks for your great work, I installed my monterey and the screen shows up and it recognizes my Intel HD Graphics 510

Hello @darkyelox, can I get your OpenCore EFI Folder please?

@darkyelox
Copy link
Author

@vivekmiyani thanks!! sorry for the late response bu I got it working now using this configuration in my config.plist:

image

As suggested in the dortania guide but now I have video acceleration

image

But I'm facing problems with some apps like Photos, Android Studio and Xcode iOS simulator crashing on opening, I read that could be problems with the iGPU so I should spoof another but in my case I think is he only one working, do you know what could I do? my IGPU is a Intel 510 HD Graphics, the processor is an i5-6198 2.30GHz.

@tak2hu I could shared here when it is 100% working because it has problems right now because maybe I have to change my device-id for something else.

@vivekmiyani
Copy link
Owner

If that is already done by you, then I think you need to modify the i915ovmfPkg by following this guide: https://github.com/patmagauran/i915ovmfPkg/wiki/DVMT-Pre-Alloc---Stolen-Memory-Issues

Have you tried this patch for OVMF driver? It will fix this kind of issues I guess.

@darkyelox
Copy link
Author

darkyelox commented Apr 25, 2022

@vivekmiyani thanks for suggestion but didn't work, I used 1536 MB (converted to 1610612736 bytes) in the line of 1915ovmf.c, recompiled and copied to my project, it boots normally but the problem persists, opening Photos app gives me the following crash report:

screenshot

Do I missing some step? how could I debug this? my BIOS has the option to use I guess 512MB but MacOS reports 1536. Should I try to use 512 to bytes instead?

@vivekmiyani
Copy link
Owner

I used 1536 MB (converted to 1610612736 bytes) in the line of 1915ovmf.c

This isn't DVMT pre-alloc. DVMT pre-alloc size is ~ 64M (I guess - at least for me). You can find how can you configure DVMT pre-alloc from BIOS in your particular laptop model.

After that you need to modify 1915ovmf.c, with 64M (67108864) not 1536MB.

@vivekmiyani
Copy link
Owner

@darkyelox You able to fix by changing what I mentioned above?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants