Contribute
Register

Problem with HD4000 graphics. Only 3mb ram showing

Status
Not open for further replies.
Joined
Dec 12, 2017
Messages
21
Motherboard
Gigabyte GA-B75M-D3H
CPU
i7 3770K @ 3.5GHZ
Graphics
HD4000
I've tried different things to get it to work to no avail. The system works but my graphics are all messed up. Can someone take a look at my config file and see what I'm doing wrong?
 

Attachments

  • config.plist
    4 KB · Views: 416
I've tried different things to get it to work to no avail. The system works but my graphics are all messed up. Can someone take a look at my config file and see what I'm doing wrong?

Your setting for config.plist/Devices/FakeID/IntelGFX is wrong.
HD4000 does not require the use of FakeID.
Set config.plist/Devices/FakeID/IntelGFX=0
Also set config.plist/Graphics/EDID/Inject=false.
 
Hey NfgtvTech did those changes work for you?

I'm newbie also dealing with a similar issue with my HD4000 showing 7mb RAM and no kext loaded (when FakeID=0x12345678) on 10.13.1 and no screen at all (loading Apple status bar freezes at about 25%) but with the system reporting the correct driver loaded via SSH.

So far I've tried:
  • Changing the *-platform-id to various values I found in this table on a wiki somewhere (which said this was a guess of the meanings):
Value Type Ports
0x01660000 Mobile 4 ports: 1 LVDS, 3 DP
0x01660001 Mobile 4 ports: 1 LVDS, 1 HDMI, 2 DP
0x01660002 Mobile 1 port: LVDS
0x01660003 Mobile 4 ports: 1 LVDS, 1 HDMI, 2 DP
0x01660004 Mobile 1 port: LVDS
0x01620005 Desktop 3 ports: DP
0x01620006 Desktop 0 ports
0x01620007 Desktop 0 ports
0x01660008 Mobile 3 ports: 1 LVDS, 2 DP
0x01660009 Mobile 3 ports: 1 LVDS, 2 DP
0x0166000a Mobile 3 ports: 2 DP, 1 HDMI
0x0166000b Mobile 3 ports: 2 DP, 1 HDMI
  • Changing the hardware id to MacBookPro10,1 which also has HD4000
  • Using MacAisal to decompile and patch DSDT.aml from the working Linux boot on the same machine (apart from seeing some different ACPI msgs in the verbose output, this doesn't seem to effect the video driver); I applied the following patches I saw RehabMan recommend in another thread:
    • rename_PCI0.VID_PCI0.IGPU
    • rename_VID/ADP1 to IGPU
    • And I manually changed .PEG.VID to .PEG.IGPU in 3 places to fix the errors after patching
From Windows 10 - the RAM is allocated 32MB + 1760MB shared with the video card being referred to as \_SB.PCI0.VID by the driver. And 256MB of RAM allocated under Linux.

I basically have no idea what I need to try next at this point... Help o_O

EDIT: Here's what System Profile reports
FakeID: 0x12345678, Graphics work w/o Acceleration
Intel HD Graphics 4000:

Chipset Model: Intel HD Graphics 4000
Type: GPU
Bus: PCI
VRAM (Total): 7 MB
Device ID: 0x1234
Revision ID: 0x0009
Kernel Extension Info: No Kext Loaded
Vendor ID: 0x5678​

FakeID: 0x0, freezes at 25% loading, but SSH works and shows this...
Intel HD Graphics 4000:

Chipset Model: Intel HD Graphics 4000
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel
Device ID: 0x0166
Revision ID: 0x0009
Metal: Supported, feature set macOS GPUFamily1 v3​
 

Attachments

  • config.plist
    5.1 KB · Views: 422
  • DSDT.aml
    59.4 KB · Views: 411
Hey NfgtvTech did those changes work for you?

I'm newbie also dealing with a similar issue with my HD4000 showing 7mb RAM and no kext loaded (when FakeID=0x12345678) on 10.13.1 and no screen at all (loading Apple status bar freezes at about 25%) but with the system reporting the correct driver loaded via SSH.

So far I've tried:
  • Changing the *-platform-id to various values I found in this table on a wiki somewhere (which said this was a guess of the meanings):
Value Type Ports
0x01660000 Mobile 4 ports: 1 LVDS, 3 DP
0x01660001 Mobile 4 ports: 1 LVDS, 1 HDMI, 2 DP
0x01660002 Mobile 1 port: LVDS
0x01660003 Mobile 4 ports: 1 LVDS, 1 HDMI, 2 DP
0x01660004 Mobile 1 port: LVDS
0x01620005 Desktop 3 ports: DP
0x01620006 Desktop 0 ports
0x01620007 Desktop 0 ports
0x01660008 Mobile 3 ports: 1 LVDS, 2 DP
0x01660009 Mobile 3 ports: 1 LVDS, 2 DP
0x0166000a Mobile 3 ports: 2 DP, 1 HDMI
0x0166000b Mobile 3 ports: 2 DP, 1 HDMI
  • Changing the hardware id to MacBookPro10,1 which also has HD4000
  • Using MacAisal to decompile and patch DSDT.aml from the working Linux boot on the same machine (apart from seeing some different ACPI msgs in the verbose output, this doesn't seem to effect the video driver); I applied the following patches I saw RehabMan recommend in another thread:
    • rename_PCI0.VID_PCI0.IGPU
    • rename_VID/ADP1 to IGPU
    • And I manually changed .PEG.VID to .PEG.IGPU in 3 places to fix the errors after patching
From Windows 10 - the RAM is allocated 32MB + 1760MB shared with the video card being referred to as \_SB.PCI0.VID by the driver. And 256MB of RAM allocated under Linux.

I basically have no idea what I need to try next at this point... Help o_O

EDIT: Here's what System Profile reports
FakeID: 0x12345678, Graphics work w/o Acceleration
Intel HD Graphics 4000:

Chipset Model: Intel HD Graphics 4000
Type: GPU
Bus: PCI
VRAM (Total): 7 MB
Device ID: 0x1234
Revision ID: 0x0009
Kernel Extension Info: No Kext Loaded
Vendor ID: 0x5678​

FakeID: 0x0, freezes at 25% loading, but SSH works and shows this...
Intel HD Graphics 4000:

Chipset Model: Intel HD Graphics 4000
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel
Device ID: 0x0166
Revision ID: 0x0009
Metal: Supported, feature set macOS GPUFamily1 v3​

Read post #2.
You should not expect graphics to work properly with an invalid FakeID.
 
Your setting for config.plist/Devices/FakeID/IntelGFX is wrong.
HD4000 does not require the use of FakeID.
Set config.plist/Devices/FakeID/IntelGFX=0
Also set config.plist/Graphics/EDID/Inject=false.

Gothcha. The fakeID was the only way I ever got the system to boot. I followed your instructions and something strange happened. The system did not boot so I booted it in verbose to get you a screen shot. as expected it hung, but I was connected remotely to the machine prior of making the changes. My remote connection came back. So on the monitor, I see verbose giberish but on my remote connection the desktop popped up. Not only that my graphic specs are correct in the remote connection. See the pictures.
20180104_102020.jpg
20180104_102716.jpg
20180104_102738.jpg
20180104_102757.jpg
 
Hey NfgtvTech did those changes work for you?

I'm newbie also dealing with a similar issue with my HD4000 showing 7mb RAM and no kext loaded (when FakeID=0x12345678) on 10.13.1 and no screen at all (loading Apple status bar freezes at about 25%) but with the system reporting the correct driver loaded via SSH.

So far I've tried:
  • Changing the *-platform-id to various values I found in this table on a wiki somewhere (which said this was a guess of the meanings):
Value Type Ports
0x01660000 Mobile 4 ports: 1 LVDS, 3 DP
0x01660001 Mobile 4 ports: 1 LVDS, 1 HDMI, 2 DP
0x01660002 Mobile 1 port: LVDS
0x01660003 Mobile 4 ports: 1 LVDS, 1 HDMI, 2 DP
0x01660004 Mobile 1 port: LVDS
0x01620005 Desktop 3 ports: DP
0x01620006 Desktop 0 ports
0x01620007 Desktop 0 ports
0x01660008 Mobile 3 ports: 1 LVDS, 2 DP
0x01660009 Mobile 3 ports: 1 LVDS, 2 DP
0x0166000a Mobile 3 ports: 2 DP, 1 HDMI
0x0166000b Mobile 3 ports: 2 DP, 1 HDMI
  • Changing the hardware id to MacBookPro10,1 which also has HD4000
  • Using MacAisal to decompile and patch DSDT.aml from the working Linux boot on the same machine (apart from seeing some different ACPI msgs in the verbose output, this doesn't seem to effect the video driver); I applied the following patches I saw RehabMan recommend in another thread:
    • rename_PCI0.VID_PCI0.IGPU
    • rename_VID/ADP1 to IGPU
    • And I manually changed .PEG.VID to .PEG.IGPU in 3 places to fix the errors after patching
From Windows 10 - the RAM is allocated 32MB + 1760MB shared with the video card being referred to as \_SB.PCI0.VID by the driver. And 256MB of RAM allocated under Linux.

I basically have no idea what I need to try next at this point... Help o_O

EDIT: Here's what System Profile reports
FakeID: 0x12345678, Graphics work w/o Acceleration
Intel HD Graphics 4000:

Chipset Model: Intel HD Graphics 4000
Type: GPU
Bus: PCI
VRAM (Total): 7 MB
Device ID: 0x1234
Revision ID: 0x0009
Kernel Extension Info: No Kext Loaded
Vendor ID: 0x5678​

FakeID: 0x0, freezes at 25% loading, but SSH works and shows this...
Intel HD Graphics 4000:

Chipset Model: Intel HD Graphics 4000
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel
Device ID: 0x0166
Revision ID: 0x0009
Metal: Supported, feature set macOS GPUFamily1 v3​


Not yet. Remotely I can see everything is right but on the monitor it hangs up.
 
Gothcha. The fakeID was the only way I ever got the system to boot. I followed your instructions and something strange happened. The system did not boot so I booted it in verbose to get you a screen shot. as expected it hung, but I was connected remotely to the machine prior of making the changes. My remote connection came back. So on the monitor, I see verbose giberish but on my remote connection the desktop popped up. Not only that my graphic specs are correct in the remote connection. See the pictures. View attachment 303567 View attachment 303568 View attachment 303569 View attachment 303570
Not yet. Remotely I can see everything is right but on the monitor it hangs up.

You should be aware of other requirements:
- must use a digital connection to the monitor (DVI-D, HDMI, or DP). VGA not supported.
- disable VT-d or use dart=0 kernel flag
- BIOS DVMT-prealloc set to 64mb.
 
You should be aware of other requirements:
- must use a digital connection to the monitor (DVI-D, HDMI, or DP). VGA not supported.
- disable VT-d or use dart=0 kernel flag
- BIOS DVMT-prealloc set to 64mb.

F'ing amazing. The system boots faster and my graphic is crisp. I wasnt able to set dvmt to 64mb. The lowest it goes is 128mb. I set it at that. Also, it doesnt seem like I have audio (not a big deal, this is a rendernode), I'd like know how to fix that for future reference. Thanks a lot.
Screen Shot 2018-01-04 at 12.19.02 PM.png
 
I have a similar issue(posted in this thread - https://www.tonymacx86.com/threads/amd-radeon-hd-6770-5mb-vram-issue-on-high-sierra.241912/).

I believe it is somehow related, because when i tried running on my intel hd i too had 7MB VRAM showing, and with the dedicated 6770 i can see 5.

You should be aware of other requirements:
- must use a digital connection to the monitor (DVI-D, HDMI, or DP). VGA not supported.
- disable VT-d or use dart=0 kernel flag
- BIOS DVMT-prealloc set to 64mb.

I am using a DP, VT-d is disabled but i noticed that if i set Share memory to something other than Auto(i tried 64 mb and 128 mb) OSx will not boot anymore, it gets stuck at IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0.

My config.plist is posted in the thread above, if there's any hint there. I too would appreciate any help. Thanks.
 
OSx will not boot anymore, it gets stuck at IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0.

Actually, the system has booted, just the graphics have failed to start or something... I am stuck here too whenever I use 0x0 for my FakeID.

Assuming you have a working network connections and you have enabled "Remote Login" (via SSH), by the time that message appears you can SSH into the system and look around. It's at this point I run "sudo dmesg", "system_profiler SPDisplaysDataType", see my Intel HD4000 is detected with ~1.5GB dynamic memory. Then usually do a "sudo reboot" and try something else... :(

EDIT: I've also got a mDP -> DVI cable plugged into a screen that I verified works with Win10, in case it's the LVDS that's not supported some how...

EDIT #2: tried to manually start WindowServer with 'sudo su - _windowserver "/System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer -daemon"', it's running but nothing happened on the screen, nothing of interest in dmesg or system.log after that either :(
 
Last edited:
Status
Not open for further replies.
Back
Top