Contribute
Register

1.9.1 : GTX 560M : Mem fix within, but hangs on rom bcopy :(

Joined
Nov 4, 2011
Messages
129
Mac
Classic Mac
Mobile Phone
When booting Chimera 1.9.1 with GraphicsEnabler=yes, incorrect mb is showing and then stops from loading up Lion.

Using PCI-Root-UID value: 0
nVidia GeForce GTX 560M 0MB NVcf [10de:1251] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
Please can you patch in support for this configuration?

Graphics card: 1.5GB GDDR5 NVIDIA® GeForce® GTX 560M
Vendor: NVIDIA (0x10de)
Device ID: 0x1251
Revision ID: 0x00a1

If you need any more details, please let me know :)

Thanks
 
Joined
Nov 4, 2011
Messages
129
Mac
Classic Mac
Mobile Phone
Re: 1.9.1 : GTX 560M : 0mb mem : No boot

I put this code in to fix the memory detection problem ( Line starting: case 0x1251 )
Code:
	// Workaround for 9600M GT, GT 420/430/440 & GT 525M
	switch (nvda_dev->device_id)
	{
		case 0x0649: vram_size = 512*1024*1024; break;	// 9600M GT
		case 0x0DE0: vram_size = 1024*1024*1024; break; // GT 440
		case 0x0DE1: vram_size = 1024*1024*1024; break; // GT 430
		case 0x0DE2: vram_size = 1024*1024*1024; break; // GT 420
		case 0x0DEC: vram_size = 1024*1024*1024; break; // GT 525M
		case 0x0DF5: vram_size = 1024*1024*1024; break; // GT 525M
		case 0x1251: vram_size = 1536*1024*1024; break; // GTX 560M 1.5gb
		default: break;
	}
But... Chimera still hangs. So I have put in some extra debug info and it turns out that it is hanging on bcopy when copying the nvRom. This is the output...

Using PCI-Root-UID value: 0
nVidia GeForce GTX 560M 1536MB NVcf [10de:1251] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
Attempting to use bios from card.
Locating nvRom location.
Base nvRom location gave : 0xcc700000
Starting bcopy of 65536 Bytes into rom.
-- Then nothing --

Seems odd that bcopy would fail right? I'll have to run some more tests to see if I can find out why.

-- Update --
I could be off, but when checking the first 2 bytes which should be the signature of the rom it returns 0xFF 0xFF, but the check after the bcopy is looking for 0x55 and 0xAA which leads me to assume the correct rom address has not been found. So I guess this is why bcopy is failing. This comment in the source is correct :lol:
// TODO: we should really check for the signature before copying the rom, i think.

-- Extra Update --
It's certainly something to do with the way it reads the bios rom from the card. I took a copy of the bios rom and Chimera boots ok when I use UseNvidiaROM=Yes.
Need to work out the DSDT edits for dual graphics cards now - fun!
 
Joined
Jun 12, 2011
Messages
23
Motherboard
El Capitan 10.11.4
CPU
i7 3610QM
Graphics
GTX 670m 3GB GDDR5
Mac
MacBook Pro
Classic Mac
iBook
Mobile Phone
Android
Hello, I have an Asus G74SX-DH71 and a GTX 560M 3GB GDDR5.
I added the vendor id and device id but the GPU is freeze after a few minutes. Any solution?
 
Joined
Mar 3, 2011
Messages
271
Motherboard
Asrock z77 Professional M
CPU
i7 3770k
Graphics
EVGA gtx 760 Ti 4GB
Mobile Phone
Android
I own a g74sx too, and I have same problem with last chimera version. I tryed an older one and system is a bit unstable now (I had a KP on boot, and sometimes voodoo kexts are not properly loaded) but video memory is fully recognized. version I tryed that shows correct memory is... 1.9.1!!! which for some reason worked for me, while I had problem with both 1.10 and 1.11.
 
Top