Chameleon

Issue 99: Nvidia GT 540M

Reported by Tablin Arya Juanda, Jun 30, 2011

will GraphicsEnabler support my optimus driver?

I have Nvidia GT 540M VGA in my laptop device id is 10de 0df4

when i use GraphicsEnabler=Yes it say unknown, i try to build 
chameleon and insert my device id in list, it recognize the name but 
can't detect the memory size, i thing chameleon can't find tho rom 
and patch the nvdia ROM

My ASUS N43SL use i5 2410 with intelHD 3000, i use MacbookPro8,1 to 
enable my internal HD 3000

anything i can do to make it work?

thx 

best regards


Arya

Comment 1 by Pedro A. Aranda, Jul 5, 2011

Same here with the NVidia 310M of my ASUS U30Jc. Board
gets recognised but Chameleon doesn0t find the RAM size (says -4095 
MB) nor the ROM and ROM patching doesn0t work either...

BR,/PA

Comment 2 by Azimutz, Jul 6, 2011

Got one of those to try to crack one of these days (0df4), but mine 
is on a Acer.
hum... maybe Chameleon is messing up with these cards due to the 
presence of the Intel HD?? Or the address of the rom changed??

Tablin, all i can do is add you dev id to the trunk so you don't 
have to do it; i have others to add.

Comment 3 by Tablin Arya Juanda, Jul 6, 2011

Charles did you get the nvidia work? Thx for updating the device id

Comment 4 by Azimutz, Jul 6, 2011

No, didn't had time to try it yet, but i suspect i'm going to have 
the same problem?!... we'll see.
I'm just waiting on some feedback to add the devices.

Comment 5 by Pedro A. Aranda, Jul 10, 2011

Just a thought that's been bugging me. Wouldn't it help if Chameleon 
injected the Intel Arrandale graphics adapter EFI stuff?

Comment 6 by Tablin Arya Juanda, Jul 10, 2011

just add more info

in my bdmesg:

nVidia Unknown -4095MB NV1ff [10de:0df4] :: 
PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
ERROR: dcbtable_version is 0x10
ERROR: nVidia ROM Patching Failed!
Intel VGA Controller [8086:0116] :: PciRoot(0x0)/Pci(0x2,0x0) 
(currently NOT SUPPORTED)

Comment 7 by Pedro A. Aranda, Jul 11, 2011

I just stumbled over this:
http://forge.voodooprojects.org/p/chameleon/issues/109/

BTW, I'll upload my bdmesg when I get back home...

Comment 8 by fiox89 F, Jul 11, 2011

I also have nvidia optimus. Nvidia 310M / intel hd graphics

nVidia Unknown -4095MB NV1ff [10de:0df4] :: 
PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
ERROR: dcbtable_version is 0x10
ERROR: nVidia ROM Patching Failed!
Intel VGA Controller [8086:0116] :: PciRoot(0x0)/Pci(0x2,0x0) 
(currently NOT SUPPORTED)

same issue

Comment 9 by Azimutz, Jul 12, 2011

Hi guys, sorry for delay...
According to this error:
ERROR: dcbtable_version is 0x10

patching the rom will fail, since that table is not recognized by 
the code. Anyway, before we accept this as a Chameleon issue, can 
you guys check this stuff
http://www.tonymacx86.com/viewtopic.php?f=15&t=8625
linked on issue 48?! If i do understand, changing between Windows 
and OS X is causing problems; don't know if it applies here?!

Thanks for the feedback :)

Comment 10 by Tablin Arya Juanda, Jul 13, 2011

i don't have much problem with internal HD3000, its work and have 
acceleration (1366x786, transparent bar) with macbookpro8,1 in 
smbios, just can't use dual display with via port (hdmi not tested)

i just doing googling for solution, on linux they use acpi_call 
method to disable and enable card, and bumblebee driver(like optimus 
on windows)
http://linux-hybrid-graphics.blogspot.com/

added more info :

Intel HD Graphics 3000:

  Chipset Model:	Intel HD Graphics 3000
  Type:	GPU
  Bus:	Built-In
  VRAM (Total):	384 MB
  Vendor:	Intel (0x8086)
  Device ID:	0x0116
  Revision ID:	0x0009
  Displays:
Display:
  Resolution:	1366 x 768
  Pixel Depth:	32-Bit Color (ARGB8888)
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Built-In:	Yes
Display Connector:
  Status:	No Display Connected
Display Connector:
  Status:	No Display Connected
Display Connector:
  Status:	No Display Connected

lspci info 

00:02.0 VGA compatible controller [0300]: Intel Corporation Unknown 
device [8086:0116] (rev 09) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Unknown device [1043:15f2]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at dd400000 (64-bit, non-prefetchable)
	Memory at <ignored> (64-bit, prefetchable)
	I/O ports at e000
	Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- 
Queue=0/0 Enable+
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCIe advanced features <?>

01:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown 
device [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Unknown device [1043:15f2]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at dc000000 (32-bit, non-prefetchable)
	Memory at <ignored> (64-bit, prefetchable)
	Memory at <ignored> (64-bit, prefetchable)
	I/O ports at d000 [disabled]
	Expansion ROM at dd000000 [disabled]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ 
Queue=0/0 Enable-
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [b4] Vendor Specific Information <?>
	Capabilities: [100] #10de

Comment 11 by Azimutz, Jul 16, 2011

Hi Tablin... sorry for the late answer...

yep, it seems the Intel HD embedded on the "Core i" 
processors "it's/can be" an issue.
But, did you checked the nVidia stuff i asked i my previous post?... 
that's the issue here! One thing at a time please.

Comment 12 by Cosmosis Jones, Jul 18, 2011

Labels: Target:2.1
Status: Accepted
Owner: azimutz

Comment 13 by Cosmosis Jones, Jul 18, 2011

Labels: Target:2.0 Target:2.1

Comment 14 by Cosmosis Jones, Jul 18, 2011

Labels: Type:Enhancement Target:2.1 Type:Defect Target:2.0

Comment 15 by fiox89 F, Jul 18, 2011

Thanks for your work chameleon team :)

Comment 16 by idd pioneer, Aug 24, 2011

Hello all, I am new here, and My note is exactly like the one from 
Tablin Arya Juanda, except the dev id of my intel that is: 0126 
see:

00:02.0 VGA compatible controller [0300]: Intel Corporation Unknown 
device [8086:0126] (rev 09) (prog-if 00 [VGA controller])
	
01:00.0 VGA compatible controller [0300]: nVidia Corporation Unknown 

device [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Unknown device [1043:15f2]

Comment 17 by Pedro A. Aranda, Aug 30, 2011

Hi folks, I'm back from Internet-less holidays during which I was 
able to hack a bit. I hope this helps here, but I'll do multiple 
posts. 

Part here is I have updated to Chimera 1.5.0
Chameleon 1.5.0 (svn-r1394) [2011-08-23 13:57:45]
and I have been able to patch the DSDT of by ASUS U30Jc
to disable the NVidia stuff. 

Basically, what I have now in lspci is:

paag's MacBook:~ paag$ lspci -vnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 
Arrandale Integrated Graphics Controller [8086:0046] (rev 18) 
(prog-if 00 [VGA controller])

As far as video is concerned.

However, I'm not able to get the native 1366x768 resolution of my 
screen nor the AppleIntelGraphicsHD kext up and running.

Comment 18 by idd pioneer, Oct 5, 2011

Hello guys I have found a way to enable and disable the Nvidia using 
the idea of bumblebee guys in linux:
see here:
https://github.com/MrMEEE/bumblebee/tree/master/install-files/ubuntu
I tried it in windows using an acpi caller program and it worked 
well, in my notebook I used the _ON and _OFF methods to play with 
the card, but now I am messing with the kexts of the nvidia GT 540 
and other thing: the LCD is not recognized so the CRT out too but 
the hdmi is very good and recognizing the LCDs and TVs I plug in 
there.
See my DSDTs attached, the original and the modified.

Comment 19 by Cosmosis Jones, May 8, 2012

Owner: mingy

Comment 20 by Cosmosis Jones, Oct 29, 2012

No Movement
Status: Invalid

Comment 21 by Stewart Adam, Nov 20, 2012

How come this was given a milestone and then closed as invalid with 
no explanation?

This doesn't seem like an invalid issue, OP describes the problem 
well: ROM patching fails and memory size detection is incorrect on 
some newer nVidia GT(X) cards.

I am seeing this as well on a GTX 580, device ID 10de::1080.

Comment 22 by Cosmosis Jones, Nov 20, 2012

cuase mingy wasn't workign on it.. and we wanted to close it out and 
it had other stuff in it about optimus and multiple gpus.

please open a NEW ticket w/ the relevant information attached.

Created: 12 years 8 months ago by Tablin Arya Juanda

Updated: 11 years 3 months ago

Status: Invalid

Owner: Moik The

Followed by: 7 persons

Labels:
Priority:Medium
Type:Enhancement
Target:2.1