Contribute
Register

Can use iGPU for monitor and RX 580 for compute?

Status
Not open for further replies.
Joined
Apr 3, 2013
Messages
26
Motherboard
ASUS B85 Vanguard
CPU
i5 4590
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
I run Mojave hackintosh with RX 580 8GB (DVI Only) and LCD 1080p 24inch smooth.
But because LCD not sharp like Retina so I buyed 27inch 4K.
The problem is my RX 580 GB just only DVI-D, but my mainboard has DP Port.
So I have to use DP to connect LCD 4k with iGPU.

In Windows, everything works so well. I can play game at 4k resolution (some games allow RX 580 will compute and iGPU for display).
But in the hackintosh side, I just can boot with -wegnoegpu (no use RX 580)

So can I use this RX 580 for compute with NO monitor connect? (FCP or something need more resource)

Thank you so much.

ps: dont buy 4K 27inch because hiDPI is only 1080p so everything too big, let buy 2K 24inch or 5K 27inch.
 
Last edited:
How to use iGPU Monitor without boot agr -wegnoegpu
Desktop HD4600 requirements:
- config.plist/Graphics/Inject/Intel=true
- config.plist/Graphics/ig-platform-id=0x0d220003
- config.plist/Devices/FakeID/IntelGFX=0
- BIOS DVMT-prealloc 64mb
- digital connection to your monitor (VGA not supported)
- VT-d disabled or use dart=0

Use HiDPI near Retina (8/10 Windows 4K)
Use command from enable-HiDPI.sh (search google)

My Lenovo S28u 10 4K will use 1920x1200 HiDPI
 

Attachments

  • Screen Shot 2020-09-08 at 7.16.52 PM.png
    Screen Shot 2020-09-08 at 7.16.52 PM.png
    422.1 KB · Views: 78
  • config.plist
    10.4 KB · Views: 80
I will text CPU iGPU dGPU Benchmark
ps: hope all application macOS can use this dGPU for computing.
but I saw the windows effect not smooth with 4K monitor.
 

Attachments

  • Screen Shot 2020-09-08 at 7.29.48 PM.png
    Screen Shot 2020-09-08 at 7.29.48 PM.png
    926.3 KB · Views: 82
  • Screen Shot 2020-09-08 at 7.31.12 PM.png
    Screen Shot 2020-09-08 at 7.31.12 PM.png
    1,016.2 KB · Views: 69
  • Screen Shot 2020-09-08 at 7.33.34 PM.png
    Screen Shot 2020-09-08 at 7.33.34 PM.png
    1,017.7 KB · Views: 66
Last edited:
can I use this RX 580 for compute with NO monitor connect? (FCP or something need more resource)


@shenlong2210,

This is not a configuration that Apple natively supports, Mac"s that ship with dGPU's have them configured as the primary display adapter and the IGPU is configured as "Headless" for compute only features such as IQS.

I've never tried to configure a system the way you want so i'm not sure if it is possible or not, even if you use a non headless IGPU PlatformID (which I assume you are already doing), the issue is that no real Mac's have GPU configs like that so it is unlikely that MacOS will use the dGPU in the way you want.

Some Apps such as FCPX support specific config options that allow you to specify which GPU to use for rendering effects and transitions on, which may help you.

The best long term solution would be to replace the RX 580 with a AMD card that can drive your 4K monitor and configure the IGPU as Headless, that way you are mimicking how a real Mac is configured which is always the approach to get MacOS running on non-Apple hardware.

Cheers
Jay
 
Last edited:
Yes, I willl buy a new AMD dGPU.
This is temporary solution.
Thank Jaymonkey.

So lucky, many apps support computing on stronger VGA. Final Cut Pro too.
Render/Share GPU auto select my RX 580 8GB. Great.

ps: I'm trying to change current SMBIOS to Macbook Pro, because I see the function Auto Switching GPU if the macbook has dGPU.
 

Attachments

  • Screen Shot 2020-09-08 at 9.54.58 PM.png
    Screen Shot 2020-09-08 at 9.54.58 PM.png
    752.3 KB · Views: 88
Last edited:
but first of all, I need to make my 4K 28inch monitor with HiDPI 1920x1080 or 2k.
I followed the tonymacx86 Rehabman guide & an auto script
but seem not perfect.

My monitor is Lenovo S28u-10 4K 3840 x 2160 but
DPI available resolution is 1920 x 1200, but stretch full screen and not right ratio
if I use auto script so its has 1080p DPI 1920 x 1080 but appear 2 black top bottom and no Overscan function in Display macOS.

So
I need a right monitor plist override?
or need to patch something to make macOS detect right resolution of monitor?

Thank.
 
I think I will change EDID to make right monitor plist FIRST
(Credit to Dan Grove)

You will need need a computer where the screen works OK (typically running Windows) to retrieve the correct EDID to then port it to Mac.
MonitorInfoView (google to download) click on View > Lower Pane > EDID Hex Dump to actually see the Hex part.
1599638409271.png

Copy GREEN data into ONE line and test right data by paste into website http://www.edidreader.com/
If data right, you will have right plain text information your Monitor at the right panel.

We need convert this HEX to Base64 and paste into your monitor plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DisplayProductID</key>
<integer>13140</integer>
<key>DisplayProductName</key>
<string>Internal LCD</string>
<key>DisplayVendorID</key>
<integer>19619</integer>
<key>IODisplayEDID</key>
<data>
AP///////wBMo1QzAAAAAAASAQOAJhV4CoWVmVdPjyYhUFQAAAABAQEBAQEBAQEBAQEB
AQEBHCpATGGEHjAwICUAftcQAAAZAAAADwAAAAAAAAAAAC76BngAAAAA/gBTQU1TVU5H
CiAgICAgAAAA/gAxNzNLVDAxLUswMQogAEs=

</data>
</dict>
</plist>

You can google how to enable HiDPI or override ECID to know these data, files.

BUT

My hackintosh can not detect right resolution of 4K 28 inch monitor.
I have to patch iGPU.
 
WOAAAAAA
after following this guide

added the following into /Volumes/EFI/EFI/CLOVER/config.plist (section <key>KextsToPatch</key>):
Code:
<dict>
<key>Comment</key>
<string>framebuffer4K</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AwAiDQADAwMAAAACAAAwAQ==
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AwAiDQADAwMAAAAEAAAAAw==
</data>
</dict>

Note: do NOT use "-cdfon" boot parameter (suggested in other thread), monitor is flickering when it is active.
 

Attachments

  • Screen Shot 2020-09-09 at 4.52.03 PM.png
    Screen Shot 2020-09-09 at 4.52.03 PM.png
    435.9 KB · Views: 105
Status
Not open for further replies.
Back
Top