-
Notifications
You must be signed in to change notification settings - Fork 45
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
[Docs] Clarification of DVMT stolen calculation #1585
Comments
You cannot add "missing" memory in WEG. At most you can force the framebuffer to use less memory, this is what these options are about. And it will either fail or work unstable (or more or less ok). It is weird that you cannot change the option via setup_var while you can do that to e.g. CFG Lock. Maybe there is a bug in grub shell or your actions, but it is out of our scope. |
Thanks for these clarifications, indeed none of those patches are in the config.plist now The system successfully boots macOS recovery (11.2.3) without panics, so I guess the 32MB value is fine, and matches the |
That most likely means the value is not enough. The only thing that exists is https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md#hdmi-in-uhd-resolution-with-60fps. |
Should be 01 I believe. Counts from 00. |
It took me five months to discover that DVMT settings were preventing 4K resolution. Lessons learned include:
For more details see: https://www.tonymacx86.com/threads/how-to-configure-4k-resolution-for-an-optiplex-3090-mff.321968/post-2364717 |
Today I've successfully managed to unlock the following hidden options with
setup_var
:CFG Lock
set to 0x00 with the command:setup_var 0x4A3 0x00
DVMT Total Gfx Mem
set to MAX with the command:setup_var 0x234 0x03
My question arises when I try to unlock
DVMT Pre-Allocated
(I'm using a 4K display, so 128MB of preallocated required) with the command:Having checked the Bios offset beforehand:
And the result is the following:
Which corresponds to:
#define GRUB_EFI_SECURITY_VIOLATION GRUB_EFI_ERROR_CODE (26)
I've even tried other values and other
setup_var2
,setup_var_3
etc but unfortunately the result is the same. So I've checked WhateverGreen manual, to see how I would add the missing MBs from 32MB of pre allocated all the way to 128MB, but it wasn't clear to me, since this is an hybrid situation, where only Pre-Allocated cannot be modified - what is necessary to add apartframebuffer-patch-enable
Should I need only more
framebuffer-fbmem
set to (128-32)=96MB missing for the 4K display (the 32MB are already provided by the BIOS by default) hence increasing the hypotetical DVMT Pre-Allocated value to 128MB?Here's the dump for easy access, thanks for your time.
The text was updated successfully, but these errors were encountered: