acidanthera / bugtracker

Acidanthera Bugtracker
381 stars 43 forks source link

Possible bug? Mac OS 1st stage boot screen not displayed with UGA video cards #1498

Closed CornCat78 closed 3 years ago

CornCat78 commented 3 years ago

Boot picker is visible but no 1st stage (grey background with Apple logo) boot screen. Screen remains gray immediately after OS selection from boot selection menu. 2nd stage (black screen with Apple logo) appears shortly after. Setting OC boot-args to verbose does result in text being displayed during 1st stage boot.

System: Mac Pro 3,1 GPU: Apple EFI Radeon 7950 OS: Catalina 10.15.7

EFI folder and all logs attached. Archive.zip

Edited to add: video output works correctly on RefindPlus boot picker.

dakanji commented 3 years ago

@vit9696 ... ok to add this to docs?

  \emph{Note}: This property is only active when GOP is available and is
  disabled otherwise (is always equivalent to \texttt{false}).
CornCat78 commented 3 years ago

@vit9696 sorry, but can you confirm that the TextRenderer value should be changed from BuiltinGraphics to SystemGeneric? image

vit9696 commented 3 years ago

@dakanji Could do, yes. Maybe Current implementation behind will only be active when GOP…

@CornCat78 yeah.

CornCat78 commented 3 years ago

@vit9696 NOOPT build with renderer set to SystemGeneric:

See attached log. Will test with T1 build now. opencore-2021-02-21-135652.txt

dakanji commented 3 years ago

Just to close out the now redundant RP tests, the AppleFramebuffer is available before RP is loaded and is available as the first line of code in the entry function.

CornCat78 commented 3 years ago

@vit9696 NOOPT-1 build using SystemGeneric renderer results in the following:

Logs attached. opencore-2021-02-21-140733.txt

dakanji commented 3 years ago

Assume these are all with AppleFramebuffer set to false.

Not doubting @vit9696 but can you confirm that everything works when that is set back to true (as it should when that setting is ignored)?

Not on 0.6.6 obviously

vit9696 commented 3 years ago

Good. I updated the GopPassThrough PR with the latest changes. Please make sure this version works fine with both SystemGeneric and BuiltinGraphics. If it is ok, I will push it to master OpenCore-4c8a2de6-NOOPT.zip

CornCat78 commented 3 years ago

@dakanji yes, AppleFramebufferInfo was set to false for both NOOPT and NOOPT-1 tests. @vit9696 sure, give me a few minutes to test. Will revert shortly.

dakanji commented 3 years ago

yes, AppleFramebufferInfo was set to false for both NOOPT and NOOPT-1 tests.

Please test whatever is the "final" one with it set to true at some point. Just to close everything out.

Thanks

CornCat78 commented 3 years ago

@vit9696 just completed testing the latest build toggling between SystemGenericand BuiltinGraphics. In both instances, OpenCanopy and 1st stage boot screen were visible and functional. Logs are included below.

  1. BuiltinGraphics: opencore-2021-02-21-142342.txt

  2. SystemGeneric: opencore-2021-02-21-142805.txt

For a MP3,1 with UGA such as mine, what is the optimal setting you would recommend using?

CornCat78 commented 3 years ago

@dakanji , sure. Will test that now and provide you with the results and corresponding log. Give me a few minutes.

CornCat78 commented 3 years ago

@dakanji, in order to be thorough I tested AppleFramebufferInfo set to True with both SystemGeneric and BuiltinGraphics. Results and logs follow:

  1. SystemGeneric: OpenCanopy is visible and functional. 1st stage boot screen shows black screen with initial verbose output (photo previously provided about an hour ago) until login prompt. opencore-2021-02-21-144009.txt

  2. BuiltinGraphics: OpenCanopy is visible and functional. 1st stage boot results in blank grey screen until login prompt. opencore-2021-02-21-144433.txt

And I just want to say thanks to you, Dayo and especially @vit9696, as well as @PMheart and @startergo . All of you guys are amazing. I've learned so much about OpenCore and even RP through this experience. I really appreciate all the work you do.

vit9696 commented 3 years ago

@CornCat78 I would recommend BuiltinGraphics as it should give better text output.

As for AppleFramebufferInfo=YES, I am puzzled. Are you sure you made these tests with OpenCore-4c8a2de6-NOOPT.zip? Because there should be no difference with this build whether you have AppleFramebufferInfo=YES or AppleFramebufferInfo=NO.

CornCat78 commented 3 years ago

@vit9696 regarding my tests with AppleFrameBufferInfo set to YES, I used the last build you provided at this link: https://github.com/acidanthera/bugtracker/files/6017846/OpenCore-4c8a2de6-NOOPT.zip

vit9696 commented 3 years ago

Found it. Please retest that this build does not harm you with AppleFrameBufferInfo set to YES. All committed to master.

OpenCore-484c91d3-NOOPT.zip

dakanji commented 3 years ago

@vit9696 ... regarding GOP Pass Thru, is there any undesirable feedback when UGA Pass Thru is also set? If so, should one of them not be set up such that it disables the other when it is set? That is, make them mutually exclusive if there is indeed such undesirable feedback?

CornCat78 commented 3 years ago

Found it. Please retest that this build does not harm you with AppleFrameBufferInfo set to YES. All committed to master.

OpenCore-484c91d3-NOOPT.zip

Yes, this build works perfectly with AppleFrameBufferInfo set to YES. OpenCanopy is functional, followed by 1st stage boot screen, then ironically enough, 2nd stage boot screen appeared as well.
Thank you again @vit9696.
image

Logs attached: opencore-2021-02-21-152342.txt

vit9696 commented 3 years ago

GOP Pass Thru and UGA Pass Thru can be enabled together. They are harmless.

dakanji commented 3 years ago

2nd stage boot screen appeared as well

Seems an enhancement. Even over directly booting ... https://youtu.be/iSh405fhaHI