Jump to content
liemhatang

How to change DVMT for Dell System

Recommended Posts

That looks good and should work for HD520. Use latest Lilu (1.2.7) and WhateverGreen (1.2.3). Remove FakePCIID _Intel_HD_Graphics, IntelGraphicsFixup, IntelGraphicsDVMTFixup and Shiki. Check Preliminary part of WhateverGreen framebuffer patching instructions and remove other patches mentioned there that you can remove yourself with Clover Configurator, but backup your config first.

 

 

Share this post


Link to post
Share on other sites

My Dell 5570 has  these values :

Setting: DVMT Pre-Allocated, Variable: 0x795 {05 91 30 05 43 05 39 27 01 00 95 07 14 10 00 FE 00}
0x3EEC0                 Option: 0M, Value: 0x0 {09 07 31 05 00 00 00}
0x3EEC7                 Option: 32M, Value: 0x1 {09 07 32 05 30 00 01}
0x3EECE                 Option: 64M, Value: 0x2 {09 07 33 05 00 00 02}
0x3EED5                 Option: 4M, Value: 0xF0 {09 07 34 05 00 00 F0}
0x3EEDC                 Option: 8M, Value: 0xF1 {09 07 35 05 00 00 F1}
0x3EEE3                 Option: 12M, Value: 0xF2 {09 07 36 05 00 00 F2}
0x3EEEA                 Option: 16M, Value: 0xF3 {09 07 37 05 00 00 F3}
0x3EEF1                 Option: 20M, Value: 0xF4 {09 07 38 05 00 00 F4}
0x3EEF8                 Option: 24M, Value: 0xF5 {09 07 39 05 00 00 F5}
0x3EEFF                 Option: 28M, Value: 0xF6 {09 07 3A 05 00 00 F6}
0x3EF06                 Option: 32M/F7, Value: 0xF7 {09 07 3B 05 00 00 F7}
0x3EF0D                 Option: 36M, Value: 0xF8 {09 07 3C 05 00 00 F8}
0x3EF14                 Option: 40M, Value: 0xF9 {09 07 3D 05 00 00 F9}
0x3EF1B                 Option: 44M, Value: 0xFA {09 07 3E 05 00 00 FA}
0x3EF22                 Option: 48M, Value: 0xFB {09 07 3F 05 00 00 FB}
0x3EF29                 Option: 52M, Value: 0xFC {09 07 40 05 00 00 FC}
0x3EF30                 Option: 56M, Value: 0xFD {09 07 41 05 00 00 FD}
0x3EF37                 Option: 60M, Value: 0xFE {09 07 42 05 00 00 FE}
0x3EF3E             End of Options {29 02}

 

I changed to 0x2 and got DVMT=64. I would like to set it to 128 but I don't see such value. That means that my laptop can only get up to 64MB?

 

Also , 

should I change this value to max (default is 256) ?

Setting: DVMT Total Gfx Mem, Variable: 0x796 {05 91 44 05 45 05 F4 04 01 00 96 07 10 10 01 03 00}
0x3EF53             Option: 256M, Value: 0x2 {09 07 47 05 30 00 02}
0x3EF5A             Option: 128M, Value: 0x1 {09 07 46 05 00 00 01}
0x3EF61             Option: MAX, Value: 0x3 {09 07 48 05 00 00 03}
0x3EF68         End of Options {29 02}

Share this post


Link to post
Share on other sites

Hi everyone!

 

I just tried to do this on my Latitude E7250, with BIOS version A20 and I think that I might have messed up somewhere.

 

I followed the instructions and did the search for my DVMT and I found the following:

 

Spoiler

0x29261                 Setting: DVMT Pre-Allocated, Variable: 0x15B {05 91 BC 03 BD 03 7F 27 02 00 5B 01 14 10 01 3F 00}
0x29272                     Option: 32M, Value: 0x1 (default) {09 07 BE 03 10 00 01}
0x29279                     Option: 64M, Value: 0x2 {09 07 BF 03 00 00 02}
0x29280                     Option: 96M, Value: 0x3 {09 07 C0 03 00 00 03}
0x29287                     Option: 128M, Value: 0x4 {09 07 C1 03 00 00 04}
0x2928E                     Option: 160M, Value: 0x5 {09 07 C2 03 00 00 05}
0x29295                     Option: 192M, Value: 0x6 {09 07 C3 03 00 00 06}
0x2929C                     Option: 224M, Value: 0x7 {09 07 C4 03 00 00 07}
0x292A3                     Option: 256M, Value: 0x8 {09 07 C5 03 00 00 08}
0x292AA                     Option: 288M, Value: 0x9 {09 07 C6 03 00 00 09}
0x292B1                     Option: 320M, Value: 0xA {09 07 C7 03 00 00 0A}
0x292B8                     Option: 352M, Value: 0xB {09 07 C8 03 00 00 0B}
0x292BF                     Option: 384M, Value: 0xC {09 07 C9 03 00 00 0C}
0x292C6                     Option: 416M, Value: 0xD {09 07 CA 03 00 00 0D}
0x292CD                     Option: 448M, Value: 0xE {09 07 CB 03 00 00 0E}
0x292D4                     Option: 480M, Value: 0xF {09 07 CC 03 00 00 0F}
0x292DB                     Option: 512M, Value: 0x10 {09 07 CD 03 00 00 10}
0x292E2                     Option: 1024M, Value: 0x20 {09 07 CE 03 00 00 20}
0x292E9                     Option: 2016M, Value: 0x3F {09 07 CF 03 00 00 3F}
0x292F0                 End of Options {29 02}

 

0x29345                 Setting: DVMT Pre-Allocated, Variable: 0x15C {05 91 BC 03 BD 03 19 03 02 00 5C 01 10 10 01 10 00}
0x29356                     Option: 32M, Value: 0x1 (default) {09 07 BE 03 10 00 01}
0x2935D                     Option: 64M, Value: 0x2 {09 07 BF 03 00 00 02}
0x29364                     Option: 96M, Value: 0x3 {09 07 C0 03 00 00 03}
0x2936B                     Option: 128M, Value: 0x4 {09 07 C1 03 00 00 04}
0x29372                     Option: 160M, Value: 0x5 {09 07 C2 03 00 00 05}
0x29379                     Option: 192M, Value: 0x6 {09 07 C3 03 00 00 06}
0x29380                     Option: 224M, Value: 0x7 {09 07 C4 03 00 00 07}
0x29387                     Option: 256M, Value: 0x8 {09 07 C5 03 00 00 08}
0x2938E                     Option: 288M, Value: 0x9 {09 07 C6 03 00 00 09}
0x29395                     Option: 320M, Value: 0xA {09 07 C7 03 00 00 0A}
0x2939C                     Option: 352M, Value: 0xB {09 07 C8 03 00 00 0B}
0x293A3                     Option: 384M, Value: 0xC {09 07 C9 03 00 00 0C}
0x293AA                     Option: 416M, Value: 0xD {09 07 CA 03 00 00 0D}
0x293B1                     Option: 448M, Value: 0xE {09 07 CB 03 00 00 0E}
0x293B8                     Option: 480M, Value: 0xF {09 07 CC 03 00 00 0F}
0x293BF                     Option: 512M, Value: 0x10 {09 07 CD 03 00 00 10}
0x293C6                 End of Options {29 02}

 

0x293CA             Setting: DVMT Total Gfx Mem, Variable: 0x15D {05 91 D0 03 D1 03 1A 03 02 00 5D 01 10 10 01 03 00}
0x293DB                 Option: 128M, Value: 0x1 {09 07 D2 03 00 00 01}
0x293E2                 Option: 256M, Value: 0x2 {09 07 D3 03 00 00 02}
0x293E9                 Option: MAX, Value: 0x3 (default) {09 07 D4 03 10 00 03}
0x293F0             End of Options {29 02}

 

 

I choose the first value of 0x15B and ran the command. This was my output:

 

grub> setup_var 0x15B 0x3

Looking for Setup variable...

var name: Setup, var size: 12, var guid: ec87d643-eba4-4bb5 - a1-e5-3f-3e-36-b2-0d-a9

 

--> GUID does not match expected GUID, taking it nevertheless

expected a different size of the Setup variable (got 2638 (0xa4e) bytes). Continue with care...

successfully obtained "Setup" variable from VSS  (got 2638 (0xa4e) bytes).

offset 0x15B is: 0x01

setting offset 0x15b to 0x03

 

Is everything OK or do I have to dig out my SOC8 clip and programmer? ☹️ I'm attaching my extracted file.

 

Thanks!

 

zog

File_DXE_driver_Setup_SetupPrep IFR.7z

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...