DPCIManager icon indicating copy to clipboard operation
DPCIManager copied to clipboard

dGPU not shown when using Connectorless ig-platform-id

Open andreszerocross opened this issue 5 years ago • 33 comments

Orinoco.zip Screen Shot 2019-05-20 at 16 13 54 GPU is detected in System Report -> Graphics/Display and IOREG,, no problem with Acceleration

andreszerocross avatar May 20 '19 09:05 andreszerocross

@andreszerocross Ioreg is corrupted. Make sure you have used IORegistryExplorer v2.1 to extract it.

MuntashirAkon avatar Jun 01 '19 03:06 MuntashirAkon

With IOREG 3.0 you can open IOREG output from 2.1 and 3.0 version

andreszerocross avatar Jun 01 '19 11:06 andreszerocross

Have you tried with the dspci tool? Run dspci DTListGPU to see if it can show anything.

MuntashirAkon avatar Jun 01 '19 17:06 MuntashirAkon

image Can't run the tool :)

andreszerocross avatar Jul 18 '19 15:07 andreszerocross

https://github.com/MuntashirAkon/DPCIManager/blob/e66f29ddc84ba631adb2cea791640b4610a8818b/DPCIManager/Hardware.m#L54

Maybe it's about "@"ports":@0" because it's happened when i used connector-less IGPU framebuffer.

andreszerocross avatar Jul 18 '19 15:07 andreszerocross

Can't run the tool :)

Probably because you're on Catalina.

Maybe it's about "@"ports": @0 " because it's happened when i used connector-less IGPU framebuffer.

I'll take a look when I'm free.

MuntashirAkon avatar Jul 19 '19 04:07 MuntashirAkon

I try your command in Mojave too,,, it can't run.

andreszerocross avatar Jul 19 '19 17:07 andreszerocross

I try your command in Mojave too,,, it can't run.

Perhaps you didn't make it executable. Run

chmod +x /path/to/dspci

to make it executable before trying to run it.

MuntashirAkon avatar Jul 20 '19 01:07 MuntashirAkon

image

It's detected,, i thought it abut "@"ports": @0 "

There is no port for connector-less ig-platform-id, so this is the problem

andreszerocross avatar Jul 20 '19 20:07 andreszerocross

Use DTListGPU argument to list GPU.

MuntashirAkon avatar Jul 20 '19 23:07 MuntashirAkon

image

andreszerocross avatar Jul 21 '19 06:07 andreszerocross

So it works fine on the command line version.

MuntashirAkon avatar Jul 21 '19 08:07 MuntashirAkon

image

I just thought method to show total of "Ports" from IGPU is fail, because connector-less IGPU don't have connector. So all graphics array become fail.

I am not a coder, just my opinion

andreszerocross avatar Jul 21 '19 09:07 andreszerocross

Ok, I'll take a look.

MuntashirAkon avatar Jul 21 '19 10:07 MuntashirAkon

It's really difficult for me to debug since there's no way I can reproduce it.

Run the attached app using Terminal and send me the Terminal output.

DPCIManager.app.zip

MuntashirAkon avatar Jul 23 '19 00:07 MuntashirAkon

I just thought method to show total of "Ports" from IGPU is fail, because connector-less IGPU don't have connector. So all graphics array become fail.

Also, your IOReg says you have 6 ports which was reported properly by dspci. Screenshot 2019-07-23 at 7 17 37 AM

MuntashirAkon avatar Jul 23 '19 01:07 MuntashirAkon

Orinoco has 6 port, but IGPU has no port because i used connector-less ig-platform-id for skylake (0x19120001).

And what do you mean by run DPCIManager.app from terminal?? I have type "open -a dpcimanager.app path" but it just open dpcimanager.app and there is no further log in terminal.

andreszerocross avatar Jul 23 '19 01:07 andreszerocross

Orinoco has 6 port, but IGPU has no port because i used connector-less ig-platform-id for skylake (0x19120001).

It doesn't look for ports only at @IGPU.

And what do you mean by run DPCIManager.app from terminal?? I have type "open -a dpcimanager.app path" but it just open dpcimanager.app and there is no further log in terminal.

Open terminal and run:

/path/to/DPCIManager.app/Contents/MacOS/DPCIManager

MuntashirAkon avatar Jul 23 '19 03:07 MuntashirAkon

image

This

andreszerocross avatar Jul 24 '19 09:07 andreszerocross

@andreszerocross very interesting issue. The same code works fine for dspci.

MuntashirAkon avatar Jul 24 '19 13:07 MuntashirAkon

Just like above, run this app using terminal and send me the output.

DPCIManager.app.zip

MuntashirAkon avatar Jul 26 '19 03:07 MuntashirAkon

image No interesting log...

andreszerocross avatar Jul 26 '19 05:07 andreszerocross

Update : with Kabylake Processsor Desktop with connectorless ig-platform-id (0x59120003) + Radeon RX 570 in Mojave 10.14.4 there is no problem.

Radeon RX 570 shown actually in DPCI manager.

andreszerocross avatar Aug 03 '19 08:08 andreszerocross

Update : with Coffelake Processor i7-8700 with connectorles ig-platform-id (0x3E920003) + Radeon VII in Mojave 10.14.6 there is no problem.

Radeon VII is shown actually in DPCI manager

andreszerocross avatar Aug 03 '19 08:08 andreszerocross

Perhaps there was a bug in the OS itself.

MuntashirAkon avatar Aug 03 '19 08:08 MuntashirAkon

@MuntashirAkon I have the same issue on my Sapphire RX580 Nitro+ (Mojave 10.14.16).

~ dspci DTListGPU
{
    DeviceID = "1002:67DF";
    Model = "AMD Radeon RX 580";
    Revision = 00E7;
    SubdeviceID = "1DA2:E366";
    "hda-gfx" = "onboard-2";
    "ig-platform-id" = "ATY,AMD,RadeonFramebuffer";
    ports = 5;
}
Screen Shot 2019-09-08 at 11 03 37

juanpedrojose avatar Sep 08 '19 08:09 juanpedrojose

Run the attached app using Terminal, like this:

/path/to/DPCIManager.app/Contents/MacOS/DPCIManager

send me the Terminal outputs.

DPCIManager.app.zip

MuntashirAkon avatar Sep 08 '19 10:09 MuntashirAkon

send me the Terminal outputs.

DPCIManager.app /Users/alex/Downloads/DPCIManager.app/Contents/MacOS/DPCIManager
2019-09-08 13:27:37.475 DPCIManager[14810:466424] DBG: (
)
Screen Shot 2019-09-08 at 13 28 15

juanpedrojose avatar Sep 08 '19 10:09 juanpedrojose

DPCIManager.app /Users/alex/Downloads/DPCIManager.app/Contents/MacOS/DPCIManager
2019-09-08 13:27:37.475 DPCIManager[14810:466424] DBG: (
)

The same code works absolutely fine for dspci but not working on DPCIManager, interesting. Unfortunately, I can't reproduce it since I don't have a dGPU. Could you run the app below from Terminal and send me the Terminal output?

DPCIManager.app.zip

MuntashirAkon avatar Sep 13 '19 06:09 MuntashirAkon

Could you run the app below from Terminal and send me the Terminal output? Sure, here is the output. Not sure if it's helpful:

~ /Users/alex/Downloads/DPCIManager.app/Contents/MacOS/DPCIManager
2019-09-14 01:58:08.383 DPCIManager[3253:112111] (
)
2019-09-14 01:58:08.383 DPCIManager[3253:112111] (
)

juanpedrojose avatar Sep 13 '19 23:09 juanpedrojose