Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dGPU not shown when using Connectorless ig-platform-id #5

Open
andreszerocross opened this issue May 20, 2019 · 33 comments
Open

dGPU not shown when using Connectorless ig-platform-id #5

andreszerocross opened this issue May 20, 2019 · 33 comments
Labels
bug Something isn't working

Comments

@andreszerocross
Copy link

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

@MuntashirAkon
Copy link
Owner

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

@andreszerocross
Copy link
Author

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

@MuntashirAkon
Copy link
Owner

MuntashirAkon commented Jun 1, 2019

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

@MuntashirAkon MuntashirAkon changed the title Discrette GPU is not Detected in DPCIManager.app dGPU not shown when using Connectorless ig-platform-id Jun 5, 2019
@MuntashirAkon MuntashirAkon added bug Something isn't working confirmation needed labels Jul 7, 2019
@andreszerocross
Copy link
Author

image
Can't run the tool :)

@andreszerocross
Copy link
Author

NSArray *graphics = @[@{@"model":@"Unknown", @"framebuffer":@"Unknown", @"ports":@0}];

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

@MuntashirAkon
Copy link
Owner

MuntashirAkon commented Jul 19, 2019

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.

@andreszerocross
Copy link
Author

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

@MuntashirAkon
Copy link
Owner

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.

@andreszerocross
Copy link
Author

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

@MuntashirAkon
Copy link
Owner

Use DTListGPU argument to list GPU.

@andreszerocross
Copy link
Author

image

@MuntashirAkon
Copy link
Owner

So it works fine on the command line version.

@andreszerocross
Copy link
Author

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

@MuntashirAkon
Copy link
Owner

MuntashirAkon commented Jul 21, 2019

Ok, I'll take a look.

@MuntashirAkon
Copy link
Owner

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
Copy link
Owner

MuntashirAkon commented Jul 23, 2019

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

@andreszerocross
Copy link
Author

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.

@MuntashirAkon
Copy link
Owner

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

@andreszerocross
Copy link
Author

image

This

@MuntashirAkon
Copy link
Owner

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

@MuntashirAkon
Copy link
Owner

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

DPCIManager.app.zip

@andreszerocross
Copy link
Author

image
No interesting log...

@andreszerocross
Copy link
Author

andreszerocross commented Aug 3, 2019

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
Copy link
Author

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

@MuntashirAkon
Copy link
Owner

Perhaps there was a bug in the OS itself.

@juanpedrojose
Copy link

juanpedrojose commented Sep 8, 2019

@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

@MuntashirAkon
Copy link
Owner

Run the attached app using Terminal, like this:

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

send me the Terminal outputs.

DPCIManager.app.zip

@MuntashirAkon MuntashirAkon reopened this Sep 8, 2019
@juanpedrojose
Copy link

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

@MuntashirAkon
Copy link
Owner

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

@juanpedrojose
Copy link

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] (
)

@remorses
Copy link

I have the same problem, when running dscpi DTListGPU i get

$ dspci DTListGPU
Caught: NSRangeException: *** -[__NSCFConstantString substringToIndex:]: Index 18446744073709551615 out of bounds; string length 0

@MuntashirAkon
Copy link
Owner

I have the same problem, when running dscpi DTListGPU i get

Previously it gave the correct results. Is the graphics section in DPCIManager is empty as well?

@remorses
Copy link

I have the same problem, when running dscpi DTListGPU i get

Previously it gave the correct results. Is the graphics section in DPCIManager is empty as well?

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants