-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fix yellow screen in WhateverGreen on Ryzen systems when mtrr_update_action (fix PAT) is disabled #1137
Comments
opencore-2020-09-07-133725.txt This are my log files after disabling/enabling various options in BIOS, including:
Not really sure which options are connected to which log, first log (see date in filename) is from my default config. Seems that errors are similar, everything is about My setup:
|
opencore-2020-09-07-172256.txt Log from 0.6.1 |
Hi HoshiYamazaki, I can boot when mtrr_update_action (fix PAT) is disabled (3950X with ASRock X570 Steel Legend) I need to wait some minutes to have a usable GUI and get some graphical glitches, but OpenGL test in Cinebench 15 went up at 130 fps as in proxmox, Minecraft works at 300 fps, just like in proxmox... this is the right direction to investigate!!! |
We don't support AMD CPU, though we empathy with its problems. |
Hiya, I use OpenCore 0.6.0 (yes, I know I will test today release too) and we finally found culpirit in GPU performance on Ryzentoshes, the problem is in old patch called
![image](https://user-images.githubusercontent.com/21007545/92365565-49427500-f0f4-11ea-9e3a-debad7b4abf3.png)
![image](https://user-images.githubusercontent.com/21007545/92365569-4ba4cf00-f0f4-11ea-975d-c64cd36d05c0.png)
algrey - mtrr_update_action - fix PAT
.Also I know I shouldn't describe issue here, but maybe it fits and can be fixable in WhateverGreen.
So, basically this patch probably breaks MTRR caching causing some desync beetwen threads and slowdowns perf even about 500%:
AMD-OSX/bugtracker#5
BUT, if we disable the patch, people on discord (and me) are getting black screen, and after minute or two it becomes yellow (on system boot/startup). For some reason (probably not all) TRX40 systems does not need this patch anyway which was confirmed by Pavo-IM (this is why we know that this is the problem).
We are not sure what causes the yellow screen, so I will try to post logs when I will come to home from work. If this is not fixable in kexts/OC we gonna investigate patches probably.
AMD OSX patches:
https://github.com/AMD-OSX/AMD_Vanilla/blob/opencore/17h/patches.plist
Specific patch HEX override corresponds to:
![image](https://user-images.githubusercontent.com/21007545/92365642-65dead00-f0f4-11ea-9476-5351a24881e9.png)
![image](https://user-images.githubusercontent.com/21007545/92365662-6d9e5180-f0f4-11ea-95a9-063aa6d1e404.png)
Resources:
https://en.wikipedia.org/wiki/Memory_type_range_register
https://forums.developer.nvidia.com/t/mtrr-performance-gains-are-impressive-but-hard-to-achieve/31931
https://askubuntu.com/questions/48283/poor-graphics-performance-due-to-wrong-mtrr-settings
The text was updated successfully, but these errors were encountered: