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

GPU not properly initializing, WhateverGreen not loading? #1

Closed
mfischl opened this issue Nov 25, 2020 · 41 comments
Closed

GPU not properly initializing, WhateverGreen not loading? #1

mfischl opened this issue Nov 25, 2020 · 41 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mfischl
Copy link

mfischl commented Nov 25, 2020

I can not get pst the point of initializing the GPU, some additional info:

  • OS installer is BigSur
  • USB2 usb stick
  • No modifications to the config except what is necessary by the guide (AppleXcpmCfgLock, generated device data, ...)
  • Tried some bootflags for whatevergreen, but no success yet
  • Charging sound works when plugging in
  • Screen sleeps properly after some inactivity
  • When plugging in external monitor, the internal one goes black and never returns

https://www.tonymacx86.com/attachments/img_20201124_185435-jpg.498158/
Start of conversation: https://www.tonymacx86.com/threads/dell-inspiron-7586-i7-8565u-intel-uhd-620.277104/page-15

@hacker1024
Copy link
Owner

If you try creating a config from scratch using the info in the README, do you get the same issue? I'm wondering if I stuffed something up before pushing.

@hacker1024 hacker1024 added bug Something isn't working help wanted Extra attention is needed labels Nov 26, 2020
@mfischl
Copy link
Author

mfischl commented Nov 26, 2020

I will try that on the weekend, latest. Pumped to get this working 🚀

@merken
Copy link

merken commented Nov 26, 2020

If you try creating a config from scratch using the info in the README, do you get the same issue? I'm wondering if I stuffed something up before pushing.

Hi, I have the same setup, I followed Dortania's guide to setup mine, I'll link my repo sometime today.

Details of my setup:
Dell Inspiron 7586 2 in 1
8th Generation Intel(R) Core(TM) i7-8565U Processor (8MB Cache, up to 4.6 GHz)
Intel UHD 620 (device id 0x3EA0)
Intel Wireless 9560
NVIDIA GeForce MX150 2GB GDDR5 (not needed or either supported in macOS, will be disabled)
512GB M.2 PCIe NVMe Solid State Drive
15.6-inch UHD (3840 x 2160) 4K
originally had 16GBx1, DDR4, 2666MHz, replaced with 2x Crucial 16 GB SODIMM DDR4-2400

@mfischl
Copy link
Author

mfischl commented Nov 26, 2020

If you try creating a config from scratch using the info in the README, do you get the same issue? I'm wondering if I stuffed something up before pushing.

Hi, I have the same setup, I followed Dortania's guide to setup mine, I'll link my repo sometime today.

Details of my setup:
Dell Inspiron 7586 2 in 1
8th Generation Intel(R) Core(TM) i7-8565U Processor (8MB Cache, up to 4.6 GHz)
Intel UHD 620 (device id 0x3EA0)
Intel Wireless 9560
NVIDIA GeForce MX150 2GB GDDR5 (not needed or either supported in macOS, will be disabled)
512GB M.2 PCIe NVMe Solid State Drive
15.6-inch UHD (3840 x 2160) 4K
originally had 16GBx1, DDR4, 2666MHz, replaced with 2x Crucial 16 GB SODIMM DDR4-2400

Is it working for you?

@merken
Copy link

merken commented Nov 26, 2020

If you try creating a config from scratch using the info in the README, do you get the same issue? I'm wondering if I stuffed something up before pushing.

Hi, I have the same setup, I followed Dortania's guide to setup mine, I'll link my repo sometime today.
Details of my setup:
Dell Inspiron 7586 2 in 1
8th Generation Intel(R) Core(TM) i7-8565U Processor (8MB Cache, up to 4.6 GHz)
Intel UHD 620 (device id 0x3EA0)
Intel Wireless 9560
NVIDIA GeForce MX150 2GB GDDR5 (not needed or either supported in macOS, will be disabled)
512GB M.2 PCIe NVMe Solid State Drive
15.6-inch UHD (3840 x 2160) 4K
originally had 16GBx1, DDR4, 2666MHz, replaced with 2x Crucial 16 GB SODIMM DDR4-2400

Is it working for you?

No, same result as you have... it goes pretty far, screen dims, then nothing until after some time the screen goes dark and can be turned on again after keyboard or touchpad interaction.

Unplugging and plugging the power supply triggers a chime through the speakers.
I can get Apple VoiceOver to start, sounding through the speakers, last thing it says is : YOU ARE CURRENTLY ON AN IMAGE in a robotic voice.

So yeah, pretty close

@merken
Copy link

merken commented Nov 26, 2020

Here's my repo:
https://github.com/merken/Inspiron7586

@merken
Copy link

merken commented Nov 26, 2020

Small question, the platform id and device id from this repo is
AAPL,ig-platform-id
CQClPg==
AAPL,slot-name
Internal@0,2,0
device-id
mz4AAA==

According to the Guide, it should be
image

00009B3E for platform
9B3E0000 for device id

Are your values converted in some way?

@hacker1024
Copy link
Owner

Yes, they are stored in base64 form in the plist.
The ProperTree editor converts this for you.

@merken
Copy link

merken commented Nov 26, 2020

This is where I'm at with Big Sur:
image

@merken
Copy link

merken commented Nov 26, 2020

Ok, I'm done starting from scratch and I'm back at the point where it says that those two lines: start entered, displayed above.

I believe to have done everything correctly... Followed the guide. Screen dims at the end of those lines but no installer.

Do I need to re-create the installed from scratch? Format USB and repeat the process?

@mfischl
Copy link
Author

mfischl commented Nov 26, 2020

Ok, I'm done starting from scratch and I'm back at the point where it says that those two lines: start entered, displayed above.

I believe to have done everything correctly... Followed the guide. Screen dims at the end of those lines but no installer.

Do I need to re-create the installed from scratch? Format USB and repeat the process?

I checked you repo and saw that you switched to opencore 0.6 also? For me it yields the same results as before and for you, boot till that ltlwm wall and then slight screen dim and nothing. Has to be some whatevergreen config I guess.

@mfischl
Copy link
Author

mfischl commented Nov 26, 2020

@merken I read a forum post which stated that removing device-id would at least let them see things and boot the installer (But later it would not let them have acceleration, fine). Doing that it seems like I get in a way different state. It goes past the sceenshot you posted, then, pressing keyboard keys would produce output along the lines that something is recognized as being pressed. Also there is infinite output of the wifi. I think its just the wifi scanning for access points. Maybe that helps you get along further.

@merken
Copy link

merken commented Nov 27, 2020

@merken I read a forum post which stated that removing device-id would at least let them see things and boot the installer (But later it would not let them have acceleration, fine). Doing that it seems like I get in a way different state. It goes past the sceenshot you posted, then, pressing keyboard keys would produce output along the lines that something is recognized as being pressed. Also there is infinite output of the wifi. I think its just the wifi scanning for access points. Maybe that helps you get along further.

Thanks but leaving the device-id blank causes a kernel panic early on the boot.

I'm trying different configurations, but i seems this repo has thought out most of the issues, not sure what is causing the holdup...

I did get some progress by re-ordering the loading of the kexts, in the logs is shows that WhateverGreen.kext is being loaded successfully.

Now it loops on itlwm, seems to keep rescanning...

@merken
Copy link

merken commented Nov 27, 2020

Ok, progressing slowly, now I get disk3 device is write locked when trying to install Big Sur

@mfischl
Copy link
Author

mfischl commented Nov 27, 2020

Ok, progressing slowly, now I get disk3 device is write locked when trying to install Big Sur

Is that already with a GUI spinned up? Or still not past the verbose? Also can you push your changes to your repo, maybe I can help on that.

@merken
Copy link

merken commented Nov 27, 2020

Ok, progressing slowly, now I get disk3 device is write locked when trying to install Big Sur

Is that already with a GUI spinned up? Or still not past the verbose? Also can you push your changes to your repo, maybe I can help on that.

No GUI, still in verbose, endlessly....

I'm pushing now

@merken
Copy link

merken commented Nov 27, 2020

Updated the repo, added the current status

@merken
Copy link

merken commented Nov 27, 2020

@hacker1024 What is your BIOS version?

@mfischl
Copy link
Author

mfischl commented Nov 27, 2020

@hacker1024 also what are your bios settings? I feel like this could be crucial also

@merken
Copy link

merken commented Nov 27, 2020

@mfischl I'm reaching the macOS installer! (Catalina)

Keyboard does not work..., WIFI seems to be working, I can connect to an open WIFI access point!

Pushing to my repo sometime later today, once the keyboard is fixed

@merken
Copy link

merken commented Nov 27, 2020

Hi, got it working using opencore 0.6.3 and Catalina:
https://github.com/merken/Inspiron7586

BIOS settings are in the readme

I'll experiment with never kext versions to see if I get bluetooth working, and fix audio

@mfischl
Copy link
Author

mfischl commented Nov 28, 2020

Hi, got it working using opencore 0.6.3 and Catalina:
https://github.com/merken/Inspiron7586

BIOS settings are in the readme

I'll experiment with never kext versions to see if I get bluetooth working, and fix audio

Can confirm this working. I am currently installing 🎉 Did you always have bios version 1.7.1? I just upgraded and wonder if it also has to do with that.
@hacker1024 I wonder what was different to your setup?

@merken
Copy link

merken commented Nov 28, 2020

Hi, got it working using opencore 0.6.3 and Catalina:
https://github.com/merken/Inspiron7586
BIOS settings are in the readme
I'll experiment with never kext versions to see if I get bluetooth working, and fix audio

Can confirm this working. I am currently installing 🎉 Did you always have bios version 1.7.1? I just upgraded and wonder if it also has to do with that.
@hacker1024 I wonder what was different to your setup?

Yes my machine was on 1.7.1 since march, I dare not to upgrade to 1.8.0... but I figured out that the CFG LOCK is the same in 1.7.1 and 1.8.0 so it should work on both...

Are you installing Big Sur ?

Also, after the verbose. It takes about 2-3 minutes for anything to show up...black screen for minutes and after a while the display functions normally... This is the same when you boot the machine after install... Still trying to figure out what6 the cause of it

@mfischl
Copy link
Author

mfischl commented Nov 28, 2020

Alright, successfully installed and usable 🎉
No, I installed Catalina.

I have the same issue with the black screen. On the installation process, the screen reader started on its on, hinting that everything was loaded already but the graphics didn't yet come on. Maybe something with the order of kexts you mentioned?

If you want I can also open an issue on your repo with what works and what doesn't for me?

@hacker1024
Copy link
Owner

I'm on 1.8.0. I have no idea why my config seems broken on your machines...

@merken My HDMI port works BTW, it's connected to the IGPU. I just need to plug it in before booting.

@merken
Copy link

merken commented Dec 1, 2020

Now I'm on 1.8.0 too, the only difference is that I'm on Catalina...

After minutes the screen comes up, Not sure if its a backlight issue... Connecting a HDMI monitor via the USB C port allows me to log in, but the main laptop panel remains dark until minutes after boot...

Any ideas?

@hacker1024
Copy link
Owner

@merken Are you sure you have the required SSDT-PLNFCFL.aml ACPI file? It's required for proper backlight functionality on Coffee Lake (which is our Whiskey Lake generation's closest popular relative, and of which most things apply to Whiskey Lake as well).

@hacker1024
Copy link
Owner

I've just pushed some changes, including some GPU configuration changes. They may help.

@mfischl
Copy link
Author

mfischl commented Dec 30, 2020

Ha, neat! I will try that when I have time. Your config is still for Big Sur right? Any chance that same thing will work with Catalina also?

@merken
Copy link

merken commented Jan 3, 2021

SSDT-PLNFCFL.aml

Sorry, I tried this with no luck... Also updated kexts to latest, no change

@merken
Copy link

merken commented Jan 4, 2021

@hacker1024 You may close this issue, I've found a fix and will take this further on my repo: https://github.com/merken/Inspiron7586

Thanks for your work and support!

@hacker1024
Copy link
Owner

That's great to hear.
I'm perplexed at how I don't need the patch and you do - we have the same machine, after all... Interesting.

@hacker1024
Copy link
Owner

I got a dead pixel on my display, and Dell upgraded me to 4K for free. Now I'm getting the problem reported here! Mystery solved, I guess.

@merken @mfischl, on another note, how's the response time on your panels? It's noticeably bad compared to my old 1080p panel, especially when I move a white-bordered cursor on a black background.

@mfischl
Copy link
Author

mfischl commented Aug 25, 2021

@hacker1024 not really to be honest… Everything was bliss as far as I could tell.

Did you manage to also solve that issue? I layed my Dell to rest for some months now and I am inclined to try your repo again since you seem to have solved the sleep issue also. Tell me if you need some help debugging/trial and errorring this.

@hacker1024
Copy link
Owner

hacker1024 commented Aug 31, 2021

@mfischl Turns out I just needed one WhateverGreen option that @merken was already using:

<key>enable-max-pixel-clock-override</key>
<data>AQAAAA==</data>

I've pushed this in this commit, which has been merged into my monterey branch (which should also work for Big Sur, by the way). It's a little messy because I removed useless connector properties, but that option was all that was needed.

@mfischl
Copy link
Author

mfischl commented Sep 3, 2021

@hacker1024 Yes, seems like that worked, great! Seems like I still have the sleep issue though. But I also have to add that I only tried tour version off a USB, is that something that might influence that? But I guess bot since waking up from sleep won't read the EFI at all

@hacker1024
Copy link
Owner

@mfischl Which sleep issue exactly?

@mfischl
Copy link
Author

mfischl commented Sep 3, 2021

@hacker1024 Well, when I close the lid, wait for a minute and reopen, the keyboard lights go on for a second and then it crashes without ever turning on the screen, and the immediately reboots

@hacker1024
Copy link
Owner

@mfischl I had that issue before configuring power management. Perhaps that's your problem?

@mfischl
Copy link
Author

mfischl commented Oct 5, 2021

@hacker1024 Ah, I thought because you striked it through in the readme its not necessary anymore, its this one right? https://dortania.github.io/OpenCore-Post-Install/universal/pm.html#using-cpu-friend I'll try that next, thanks!

@hacker1024
Copy link
Owner

I've pushed this in this commit, which has been merged into my monterey branch (which should also work for Big Sur, by the way). It's a little messy because I removed useless connector properties, but that option was all that was needed.

Oops - turns out I removed important LSPCON properties in that commit, preventing me from solving an annoying HDMI hot-plugging problem for a pretty long time...

That's fixed now. The IGPU device ID has also been changed to better represent the UHD 620, and the framebuffer ID has been tweaked as well to align with the WhateverGreen manual's recommended values.

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

No branches or pull requests

3 participants