Jump to content

[Help] Graphics acceleration missing and other problems


giulio.jpeg
 Share

29 posts in this topic

Recommended Posts

Hi, I started working on this Hackintosh project 2 days ago, I successfully installed the OS and it boots, but I have some problems:

  • audio works only with voodoo HDA, minor problem, because with Apple ALC, trying all the layouts compatible with my codec, I could not get any sound;
  • I got wifi working, but not bluetooth, using the three kexts from this guide: https://www.reddit.com/r/hackintosh/comments/ksur3g/vanilla_how_to_make_qualcomm_atheros_cards/, it works but when I shutdown the computer just can't complete the process and I have to hard shutdown
  • the main problem is that I can't get proper GPU acceleration with my gt240M: I can boot with nv_disable=1, thanks to this argument I was able to install the os, but without it I got the blank screen issue. I tried patching the GPU using dortania's guide: https://dortania.github.io/OpenCore-Post-Install/gpu-patching/nvidia-patching/ but it didn't work at all, I don't get the blank screen issue but the boot process gets stuck on "glOScreenLockState 3, hs 0, bs 0, now O. sm 0×0"

 

I'm also attaching my EFI folder. Thank you for your help in any way or case.

EFI.zip

Link to comment
Share on other sites

Thank you, I'll do this. I had already fixed that mistake and others I found, and the computer isn't stuck anymore on that string, but I still get the black screen problem, it seems like it sends no signal to the monitor.

I don't know if it is important but my VAIO has no integrated GPU, and I'm using iMac10,1 SMBIOS. 

I also tried dumping the vbios and getting the NVCAP from there, but still it doesn't work.

 

How do I check the graphics card's location in IO? I already had IORegistryExplorer.

Thank you already for your help.

Link to comment
Share on other sites

32 minutes ago, Hervé said:

iMac10,1 SMBIOS is fine, it was a C2D Wolfdale mode with nVidia GPU; you may also try MacPro3,1; it can give better CPU power management.

The only trouble with that is that GeForce GT240M is a mobile dGPU so your display probably is connected over some LVDS connector. You could try a MacBookPro SMBIOS instead, one from the C2D Penryn era with Tesla nVidia dGPU (GT8xxx/GT9xxx).

I'll try this new SMBIOS; I just want to note that via screen sharing I can control my computer and it is indeed working with accelerated graphics, just no signal to display. YES, it is LVDS, confirmed by the vBIOS on NVCAP calculator.

 

Link to comment
Share on other sites

15 hours ago, Hervé said:

Then you may also try to inject your screen's EDID; it can be extracted through various tools in Windows, then injected through your bootloader's config as a GPU property.

Yes, I'm trying to inject my EDID through whatever green under the GPU device properties in config.plist, right? The only thing I don't understand is how to find the EDID.

 

EDIT: I did it, but unfortunately same result. 

Edited by giulio.jpeg
Link to comment
Share on other sites

Here it is. I'm also posting a zip of my actual ZIP folder just in case you may need it.

One thing I noted is that the EDID hex value, that I got using xrandr --verbose in an ubuntu live cd, if pasted in this website seems to be invalid.

Giulio’s iMac.ioreg EFI.zip

 

EDIT: I DID SOMETHING RIGHT. I edited the property AAPL00,override-no-connect into APPL00,override-no-edid and now the display gets detected! Via screen sharing I see the correct resolution and everything, the display is finally on, but nothing is displayed on it (still the backlight now is on, there some signal, while before it was off).

Edited by giulio.jpeg
added information
Link to comment
Share on other sites

the NVCAP should be right as I dumped my own vbios and ran it in NVCAP calculator. as for the LVDS value, where do I have to write it in my config.plist?

 

EDIT: I tried writing that value against @0,device_type instead of "display" but I go back to the display not being detected and no signal to the monitor. So, how do I add the property? Also I'm attaching my vbios in case you wanna try to calculate a better NVCAP for my GPU.

 

Schermata 2021-12-12 alle 23.57.57.png

vbios

Edited by giulio.jpeg
Link to comment
Share on other sites

@Slice thank you I'll try immediately, just one thing I'm using opencore and not clover.

 

@Hervé I'm sorry but that's not what I intended... I also attached my vbios, I was open to suggestions related to the NVCAP, sorry if I resulted in being rude, that was not my intention

 

I changed the NVCAP value but still it doesn't work, should I try and remove that display-cfg property? I added it (together with all the properties after "@connector_type" after reading some modified DSDTs.

Edited by giulio.jpeg
Link to comment
Share on other sites

Alright, I'll try repositioning the GPU properties under its root in device properties, in the meanwhile here's my zipped EFI. Again, thank you for your help. 

 

As a second note, I didn't understand what was the problem with the amount of video ram I specified, as I copied the hexadecimal value for 1 gb from the Dortania Nvidia patching guide. I'm not refusing your suggestions, just not understanding where's the error, and again sorry If I resulted rude or unpleasant, it wasn't my intention and I'd be really grateful for your help even if we didn't find a solution for my specific case.

EFI.zip

Link to comment
Share on other sites

I already changed the ram value, I just uploaded the EFI folder before the change. Still, no difference. Have you found anything else wrong or to change in my configuration files?

 

I still need to try that new NVCAP, and try to boot from the installer. I’ll let you know if i find anything new.

 

EDIT: same story with your new NVCAP. When booting without the NVCAP injected and connecting via VNC I get no audio, no display detected and wrong resolution (1280x1024), my display is totally off (even without "no signal" that I get when injecting both EDID and NVCAP), and running the IOReg command I get "ioreg: error: can't obtain properties."

Running the same command with your NVCAP injected I get, indeed, the NVCAP I injected.

 

Edited by giulio.jpeg
Link to comment
Share on other sites

Also, with or without NVCAP/EDID I injection, I get no image on my internal screen. The only difference is that only while injecting both EDID and NVCAP at the same time I get correct resolution and QE/CI, the display gets detected and turns on (but displays no signal). Without the combination of EDID and NVCAP I get QE/CI but wrong resolution, the display is off and it isn't detected.

 

I have macOS installed, so I don't use the USB key anymore, because I can get to the desktop and then enter via VNC (I enabled it with nv_disable=1). I don't understand if I need booting from the USB installer for some specific reason or if I'm ok running 

ioreg -l | grep NVCAP

on the installed OS.

Edited by giulio.jpeg
Link to comment
Share on other sites

  • 3 weeks later...
Guest 5T33Z0
7 hours ago, giulio.jpeg said:

Thanks. I tried all those NVCAP values but none will work.


As for the SMBIOS, I'm running macOS High Sierra and MacPro3,1 is not supported under this os iteration.

 

Why are you using a desktop SMBIOS on a notebook with an IntelCore2 Duo CPU in the first place?

Link to comment
Share on other sites

Guest 5T33Z0

Since when does desktops the MacPro3,1 SMBIOS support mobile GPUs, especially mobile ones from NVIDIA?

Edited by 5T33Z0
Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...