Contribute
Register

HD7730 only 7MB VRAM and no HW acceleration - OpenCore Monterey on Haswell

Joined
Oct 19, 2022
Messages
4
Motherboard
ASRock H81M-GL
CPU
i7-4790
Graphics
HD7730
Hi all,

I've installed Monterey with OpenCore-0.8.5-DEBUG X64 EFI on my PC. I have tracked all the changes in my opencore-h61m-gl repository.

Everything is okay, but dGPU - shows only 7MB VRAM.

I have also tried SSDT-GPU-SPOOF, but that only helped with a cosmetical GPU name change. Device ID 6837 was detected correctly already before spoof.

System report - Graphics:
Chipset Model: AMD Radeon HD 7730
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 7 MB
Vendor: AMD (0x1002)
Device ID: 0x6837
Revision ID: 0x0000
Kernel Extension Info: No Kext Loaded
Displays:
Display:
Resolution: 1920 x 1080 (1080p FHD - Full High Definition)
UI Looks like: 1920 x 1080
Framebuffer Depth: 24-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes

Guys, please, what should I do to increase VRAM to its correct value - 2GB?

Many thanks!
 

Attachments

  • gpu-z-hd7730.gif
    gpu-z-hd7730.gif
    25.4 KB · Views: 20
  • 1666187201578.png
    1666187201578.png
    16 KB · Views: 21
  • 1666187232275.png
    1666187232275.png
    13.3 KB · Views: 20

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,551
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
This issue has been answered before, see this link.


You need to use an SSDT-Spoof-GPU.aml to get your card working, as the device id 0x6837 is not present in the AMD7000Controller.kext.

0x67901002 0x67981002 0x679A1002 0x679E1002 0x67801002 0x68201002 0x68211002 0x68231002 0x68251002 0x68271002 0x682B1002 0x682D1002 0x682F1002 0x68351002 0x68391002 0x683B1002 0x683D1002 0x683F1002 0x68001002 0x68011002 0x68061002 0x68081002 0x68101002 0x68181002 0x68191002

This is the kext that enables AMD HD7000 series graphics cards.

The closest matches to your card would be these:
  • 0x683D1002 - HD7770
  • 0x683F1002 - HD7750
These ID's are present in the AMD7000Controller.kext and should work with your HD7730 card.
 
Joined
Oct 19, 2022
Messages
4
Motherboard
ASRock H81M-GL
CPU
i7-4790
Graphics
HD7730
Hi Edhawk, you're amazing, it works. :clap:
Not sure if it's just a feeling but seems that spoofing HD7770 makes the UI rendering smoother than HD7750.

You saved me a lot of time, as I spent the whole day searching for this fix. I definitely have to improve my Google-fu to also search by device IDs next time.

There's one more thing that I have to fix now - Hardware acceleration (QE/CI). I searched and found some articles about Adding PCIe to DeviceProperties, GOP BIOS flash, Changing SMBIOS, etc. but those seem scary to me.

Please point me in the right direction to enable HW acceleration on my HD 7730.

Thank you again a lot.
 

Attachments

  • Screen Shot 2022-10-20 at 11.55.40.png
    Screen Shot 2022-10-20 at 11.55.40.png
    98.9 KB · Views: 16
  • Screen Shot 2022-10-20 at 11.58.10.png
    Screen Shot 2022-10-20 at 11.58.10.png
    34.8 KB · Views: 17

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,551
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Try adding the Verde.kext attached below to your /EFI/OC/Kexts folder, with a companion entry for the kext in your config.plist

See if this fixes the Acceleration issue.
 

Attachments

  • Verde.kext.zip
    2.4 KB · Views: 14
Joined
Oct 19, 2022
Messages
4
Motherboard
ASRock H81M-GL
CPU
i7-4790
Graphics
HD7730
After adding Verde.kext it won't boot and stall - IOKit Daemon (kernelmanagerd) stall[0], (60s): 'GFX0", "HDAU"

If I remove GPU spoof, it will boot, but without acceleration - I guess because there's no matching device id 0x68371002 (in Verde.kext\Contents\Info.plist:45 IOPCIMatch)

I was able to spoof GPU with devicepropertes method in how to get Amd Radeon hd 7730 worked on big sur opencore ? thread. Interestingly I've got 2GB VRAM working with spoofed HD 7730 - 0x6837 (used exactly the same config as in hoainam's screenshot). Still even if spoofed with 0x683D it won't allow me to boot with Verde.kext.

Hope there's more I can try :)

Thank you
 

Attachments

  • 1666281972771.png
    1666281972771.png
    854.8 KB · Views: 14

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,551
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Remove the Verde.kext, I read a few posts that said the verde kext clashes with other kexts.
 
Joined
Oct 19, 2022
Messages
4
Motherboard
ASRock H81M-GL
CPU
i7-4790
Graphics
HD7730
I've been trying to make some progress with the HW acceleration, and still without success :(

I have removed Verde.kext already, and it's exactly as you said:
When do I need to use radpg boot argument?
This argument is as a replacement for the original igork's AMDRadeonX4000.kext Info.plist patch required for HD 7730/7750/7770/R7 250/R7 250X initialisation (radpg=15) GPUs to start. WhateverGreen is not compatible with Verde.kext, and it should be deleted. The argument allows to force-enable certain power-gating flags like
CAIL_DisableGfxCGPowerGating. The value is a bit mask of CAIL_DisableDrmdmaPowerGating, CAIL_DisableGfxCGPowerGating, CAIL_DisableUVDPowerGating, CAIL_DisableVCEPowerGating, CAIL_DisableDynamicGfxMGPowerGating, CAIL_DisableGmcPowerGating, CAIL_DisableAcpPowerGating, CAIL_DisableSAMUPowerGating. Therefore radpg=15 activates the first four keys.
Starting with 1.0.3 version you could achieve exactly the same result by manually specifying the necessary properties into your GPU controller (e.g. CAIL,CAIL_DisableGfxCGPowerGating). This is better, because it allows you to fine-tune each GPU separately instead of changing these parameters for all the GPUs.

Not sure what else to try anymore. Is it possible that altering power-gating can help with getting the HW acceleration work?
 
Top