Jump to content
[ IMPORTANT ] Premium and Donators users ×
Olarila Professional Hackintosh Services ×

Recommended Posts

Posted (edited)

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 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>

 

Fonte:

http://Olarila.com/forum/viewtopic.php?f=2&t=40


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>

gfxutil.zip

Edited by Guest

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Bom tópico


Eu estou com uma GTX 580 3gb da Palit para testar , com certeza vou aproveitar essas dicas.


obrigado.

ASUS P6X58D-E/12GB/i7-960 8MB 3.20GHz/NVIDIA GTX 650/WINDOWS 10/YOSEMITE

X87-DELL-16GB-DDR3-1600MHZ/XEON E3-1220v3 8MB/NVIDIA GTX1050/WINDOWS 10/XUBUNTU/OSX-SIERRA

Posted

Não, agora mudou. O VRAM permanece igual mas o GraphicsInjector foi desmembrado


http://clover-wiki.zetam.org/Configuration/Graphics#VRAM


http://clover-wiki.zetam.org/Configuration/Graphics#Inject

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Assim?

 

<key>Graphics</key>
<dict>
<key>GraphicsInjector</key>
<string>Yes</string>
<key>Inject</key>
<true/>
<key>VRAM</key>
<string>1024</string>
</dict>

Z97 Maximus VII Formula  i7 4790K  RX580 8GB  32Gb 1866Mhz  Clover em UEFI

Posted

Olha o que diz lá no wiki

Enabled by default.

ou seja, não faz diferença botar true ou nem botar nada.


GraphicsInjector não existe mais, já corrigi o primeiro post.


Isto é suficiente

   <key>Graphics</key>
  <dict>
     <key>VRAM</key>
     <integer>1024</integer>
  </dict>

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Hello Fellas,


I'm trying to do this same commands, extracting with IOreg is working... but when trying to convert the HEX to PLIST I'm getting this message from gfxutil :


gfxutil: cannot convert from hex to bin, invalid hex inputfile 'device-properties.hex'!


Anyone experienced this ? Any help ?


Thank you !



A.

Posted

Check if device-properties.hex is not empty.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Hello,


Now the commande worked, but the PLIST generated file doesn't look at all to what is described here, no VRAM or anything like that (see attachement Hex & Plist).


I'm booting with Clover, worth noticing to say that I tried the inject method but it didn't worked, so I'm willing to switch back to Chameleon if it can fix this GPU problem, since even in Cuda-Z the amount of VRAM is incorrect.


Thank you,


A.

files.zip

Posted

Looks like those properties are generated by Clover and there's no video injection.


If you use Clover, set the VRAM option in config.plist (will work only if Inject=true)

http://clover-wiki.zetam.org/Configuration/Graphics#VRAM

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Eu digitei a linha de codigo e apareceu o device-properties. hex so que na hora de converter ele não conveerte



aparece



cannot convert from hex to bin



eu li que era pra fazer se o hex tava vazio



mas como posso ver isso? e se tiver vazio o que devo fazer?

Posted

Se está vazio é porque o vídeo não foi ativado injetando device-properties.


No Yosemite não funciona, dá a mensagem "invalid hex inputfile (filesize dont match or zero)".

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...