bangmaple / HP-ZBook-G1-OpenCore

A repository for HP ZBook 15G1 Hackintosh based on OpenCore Bootloader. Will be continuously improved.
Apache License 2.0
9 stars 3 forks source link

g2 support; dGpu configuration hints #2

Open whenmusicattacks opened 3 years ago

whenmusicattacks commented 3 years ago

Hello, do you have any information on zbook g2 support? The specs seem very similar.

In order to get dGpu working, you have to flash the gpu vbios from windows; the way HP implement the dgpu through vBios embedded in the main system bios is not compatible with macos

bangmaple commented 3 years ago

Hello there, can you provide me your dGPU information for further investigation ?

whenmusicattacks commented 3 years ago

i have had this working on k2100m zbook 15 g2 using Rehabman guide, then flashing the vbios taken from techpowerup i do have the notebook somwhere in my lab to do more testing if needed

bangmaple commented 3 years ago

I can help you resolve that but please do answer for me these following questions:

whenmusicattacks commented 3 years ago

I have fhd TN screen. I have not tried your config yet..if you want me to try, maybe you can remote to my machine once i get to boot. I can log in to help you flash the dGpu if you need that. I have now a firepro m5100 inside the machine because I used k1100m for iMac 2011 repair

Il mer 30 giu 2021, 20:51 Ngô Nguyên Bằng @.***> ha scritto:

I can help you resolve that but please do answer for me these following questions:

  • What is your maximum resolution of the current screen (e.g 1920x1080?) ?
  • Where did you find the link associating with the VBIOS, can you provide the detailed link?
  • (Optional) Are you using an eDP internal monitor or LVDS?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bangmaple/HP-ZBook-G1-OpenCore/issues/2#issuecomment-871646996, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBW3GVRTEG2MW46JGANYH3TVNRRLANCNFSM47S33W6A .

bangmaple commented 3 years ago

Nice, the AMD FirePro M5100 will work natively up to the latest version of macOS with your laptop then you can absolutely try out my configuration.

Sadly that I'm currently using a K1100M one, I wonder if this VBIOS work: https://www.techpowerup.com/vgabios/197618/197618

I tried to re-flash that VBIOS once but the nvflash said that my dGPU is mismatched because of something, I used the normal flash command to attempt the process. I don't know how to bypass this.

If I'm still using the original VBIOS one, I only have 3MB of VRAM with K1100M. If you have time, I may bother you a little bit with this process.

Thank you in advance!

whenmusicattacks commented 3 years ago

Use flag -6 to bypass id check with this version: https://www.techpowerup.com/download/nvidia-nvflash-with-certificate-checks-bypassed/

That vbios will sure work, i would also do some undervolting later, but let's start there

Il giorno mer 30 giu 2021 alle ore 21:22 Ngô Nguyên Bằng < @.***> ha scritto:

Nice, the AMD FirePro M5100 will work natively up to the latest version of macOS with your laptop then you can absolutely try out my configuration.

Sadly that I'm currently using a K1100M one, I wonder if this VBIOS work: https://www.techpowerup.com/vgabios/197618/197618

I tried to re-flash that VBIOS once but the nvflash said that my dGPU is mismatched because of something, I used the normal flash command to attempt the process. I don't know how to bypass this.

If I'm still using the original VBIOS one, I only have 3MB of VRAM with K1100M. If you have time, I may bother you a little bit with this process.

Thank you in advance!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bangmaple/HP-ZBook-G1-OpenCore/issues/2#issuecomment-871666311, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBW3GWJUWXBX4O77TVY3C3TVNVIRANCNFSM47S33W6A .

-- Gabriele Carbone

bangmaple commented 3 years ago

Thank you for your advice and I have successfully flashed the VBIOS K1100M. The boot process with Windows 10 is normal but macOS the verbose screen can be seen but after that the internal display appears blank.

I can VNC into that and it shows 2GB of VRAM, but I can't get it display on internal screen of my laptop.

whenmusicattacks commented 3 years ago

You might have to set gpu to hybrid mode in bios to drive internal screen with igpu Maybe you can also try different vbios or extract the one in HP bios

Il giorno gio 1 lug 2021 alle ore 10:59 Ngô Nguyên Bằng < @.***> ha scritto:

Thank you for your advice and I have successfully flashed the VBIOS K1100M. The boot process with Windows 10 is normal but macOS the verbose screen can be seen but after that the internal display appears blank.

I can VNC into that and it shows 2GB of VRAM, but I can't get it display on internal screen of my laptop.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bangmaple/HP-ZBook-G1-OpenCore/issues/2#issuecomment-872061924, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBW3GVTIN7SF4M3TDWPDW3TVQU6VANCNFSM47S33W6A .

-- Gabriele Carbone

bangmaple commented 3 years ago

Seem to be working perfectly when I tried another VBIOS for the K1100M! I also tried plugged in with another monitor and it works natively.

When disable CSM on UEFI boot mode, I can no longer clearly see the BIOS Boot screen and the verbose boot like the "Noodle language" but it booted successfully.

Thank a lot, I'm going to write up a way to configure the configuration file a little bit.

I haven't test what would happen if I enable hybrid mode? Will it continue only use the HD 4600 or the NVIDIA?

I also got VDA Decoder failed when I only using NVIDIA, but it should not be a problem because I'm a video editor/

whenmusicattacks commented 3 years ago

to fix noodle language you usually have to match the resolution of the bootloader GUI to the screen one

it is possible to use hybrid mode and have vda decoder success

bangmaple commented 3 years ago

Hello I have disabled the hybrid graphics which means the Intel HD Graphics card disabled, now I want to enable it back but the UEFI no CSM Mode made the BIOS Screen weird and I can't see anything after pressing F10 (go to BIOS) screen. :(

Do you have any workaround?

HackyMacky commented 2 years ago

@whenmusicattacks @bangmaple I'm trying to get this working on my Zbook 15 G2 (it has a Quadro K1100m) but I'm just trying to get Monterey installed. I have tried following oc guide and disable the dgpu via optimus method but everytime I boot into the mac os installer screen, the display turns glitchy. I tried a few different framebuffer options but still no luck. While the display is glitchy, i can still access all the installer and menu as you can see here. Later I found your repo and followed some of the framebuffer settings you have but it also renders the same display glitch. It happens on Monterey and Big Sur installers as well. Could you advise if there are any other settings that I can check to fix this? Also do you mind sharing your HP bios settings for the project? (Video memory size, hybrid graphics settings & etc.). Do you also need a custom bios fw to get this working properly?

bangmaple commented 2 years ago

@HackyMacky thanks for your issue, the problem is you need to go to the BIOS and enable CSM mode in order to avoid the glitchy screen. Thank a lot.

HackyMacky commented 2 years ago

@HackyMacky thanks for your issue, the problem is you need to go to the BIOS and enable CSM mode in order to avoid the glitchy screen. Thank a lot.

Many thanks for the advice. I've enabled CSM and installer went through and also fast. Unfortunately, after first installer restart, it loads the mac os update assistant (monterey). I think the current opencore version needs to be updated in order to work with Monterey. I managed to install Big Sur on Zbook 15 G2 using your EFI smoothly. I will try to see if I can update opencore to 0.7.7 and install Monterey when I have the time.

bangmaple commented 2 years ago

@HackyMacky Hello there, I will try updating the current version of this EFI as soon as possible. 😃

bangmaple commented 2 years ago

@HackyMacky Hi, I have updated OpenCore and its kexts to the latest version (0.7.8)

bangmaple commented 2 years ago

Hi I can help you with that problem then

Vào Th 2, 28 thg 2, 2022 lúc 19:46 L @.***> đã viết:

@whenmusicattacks https://github.com/whenmusicattacks may I ask some help with dGpu? I tryed disabling -wegnoegpu and adding shikigva=1 to use iGpu for display and dgpu for external, tho no luck, it just dies after the verbose phase I got a Quadro K2100M and a ZBook G1, spoofing my igpu as the dortania guide to get it working good The smbios matches with a duel gpu Mac, the Macbook 11,3 with Kepler Nvidia GPU and intel igpu

— Reply to this email directly, view it on GitHub https://github.com/bangmaple/HP-ZBook-G1-OpenCore/issues/2#issuecomment-1054221663, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJQOH5XPC5GC5IU3BXBGALU5NVB5ANCNFSM47S33W6A . You are receiving this because you were mentioned.Message ID: @.***>

-- Sent from Gmail Mobile

Thatisjigen commented 2 years ago

@bangmaple already fixed, tho may I ask some other questions? On windows you can choose if use dgpu or igpu, on MacOS I'm using shikigva=40 under the dgpu pci address as dortania suggestion for haswell, but nvidia is used only by Chrome gpu helper and for 0 seconds(so actually unused) Any hints on that or simply the lack of apple multiplexer will simply let us use the dgpu for the hdmi port? Dortania guide tells to use empty framebuffers device-ids with shikigva=1 in this cases, but we can't boot with 4600 empty framebuffers so my guess is that some patches are needed/options missing

@whenmusicattacks I'm calling you out on this too cause 1: why not? 2: We both are Italian so maybe you can give me some more explaination on what is actually going on/what's wrong(Aaaaand chatting would be faster)

Edit2: i managed to made it work by disabling metal in the igpu