Jump to content
Sign in to follow this  
Allan

Como corrigir a memória de video

Recommended Posts

Em alguns casos o?GraphicsEnabler?do Chameleon funciona para ativar o vídeo, porém a quantidade de VRAM aparece errada. Isso é apenas visual, mas para quem quiser acertar, aqui vai uma forma:


?


Rode este comando no terminal para obter o string device-properties gerado pelo Chameleon:



ioreg -lw0 -p IODeviceTree -n efi -r -x | grep device-properties | sed 's/.*<//;s/>.*//;' > ~/Desktop/device-properties.hex

Converta para plist (coloque o?gfxutil.zip?no desktop)



cd ~/Desktop
./gfxutil -s -n -i hex -o xml device-properties.hex device-properties.plist

Edite a VRAM no device-properties.plist ??



<key>VRAM,totalsize</key>
<string>0x40000000</string>

O valor está em hexa, pode converter para decimal usando a calculadora no modo programador, mas normalmente basta dividir ou dobrar o valor que você já conhece.


?


Exemplos:


0x20000000 = 536870912 (bytes / 1024^2 = 512 MB)


0x40000000 = 1073741824 (bytes / 1024^2 = 1024 MB ou 1 GB)


0x80000000 = 2147483648 (bytes / 1024^2 = 2048 MB ou 2 GB)


?


Converta o device-properties.plist editado para hex



./gfxutil -i xml -o hex device-properties.plist device-properties-new.hex

Copie o string do arquivo device-properties-new.hex para a chave device-properties no arquivo /Extra/org.chameleon.Boot.plist



?<key>device-properties</key>
?<string>cole o string aqui</string>

Desative o GraphicsEnabler (ou remova a opção)



?<key>GraphicsEnabler</key>
? ?<string>No</string>

Para quem usa Clover o ajuste pode ser feito através da opção VRAM no config.plist



?<key>Graphics</key>
? ?<dict>
? ?? ?<key>Inject</key>
? ?? ?<true/>
? ?? ?<key>VRAM</key>
? ?? ?<integer>1024</integer>
? ?</dict>

Fonte:?Olarila


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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.