Jump to content

OSX 10.7, 10.8 and 10.9 on the Dell XPS 1340 laptop

* * * * * 3 votes

  • Please log in to reply
303 replies to this topic

#141
z1326

z1326

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
to bcc9:
So you mean you get your 9400M G work in mountain lion though DSDT,and this DSDT is the "dsdt.lion.v5.zip" in post #1,right?
Since the Alienware brand is designed for PC-game funs and geeks,so in the BIOS of Alienware M17X you can disable ether the integrated 9400m or the graphics co-processor(GTX260M SLI).So if I disable the co-processor(GTX260M SLI) and leave the 9400M G,can I still use your DSDT?

#142
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

to bcc9:
So you mean you get your 9400M G work in mountain lion though DSDT,and this DSDT is the "dsdt.lion.v5.zip" in post #1,right?

Yes, I upgraded a 1340 with 9400m graphics to mountain lion, and the dsdt solution worked just fine, no change required from osx 10.7. Also, with 10.7, GraphicsEnabler worked with the 9400m too, but some users with the 9200m co-processor complained that it didn't work. I have no such hardware to debug with beyond what you see in earlier posts in this thread.
]

Since the Alienware brand is designed for PC-game funs and geeks,so in the BIOS of Alienware M17X you can disable ether the integrated 9400m or the graphics co-processor(GTX260M SLI).So if I disable the co-processor(GTX260M SLI) and leave the 9400M G,can I still use your DSDT?

Interesting, I would assume you can use the same injection strings for your hardware so long as the strings are being injected to the one PCI graphics device that is actually enabled. I would think GraphicsEnabler=yes would work too.

#143
z1326

z1326

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
to bcc9:
In my bios there is a "Graphics Setting" menu under the "Advanced" label,and get in the "Graphics Setting" you can see 4 choices listed as "Hybrid Graphics" "Integrated Graphic" "PCIE Gen2" and "ASPM (L0s/L1)" ,each of them could be enabled or disabled. I assume the "Integrated Graphic" controls the 9400M G and the "PCIE Gen2" controls the GTX260M SLI. What do you think? Is that right?
Just now I disabled the "Hybrid Graphics" and "PCIE Gen2" and left the "Integrated Graphic" in enabled status.
Then I used your "dsdt.lion.v5.zip",I put the DSDT.aml into /Extra,and start the system, the system is OK, I got the right information about the 9400M G in the system report.but resolution cannot be changed and the QE-CI didn't work.Apparently the NVDANV50Hal.kext was not loaded.So I inject the device-ID 086210de of my 9400M G into NVDANV50Hal.kext---info.plist,reatart the OSX system,I saw NVDANV50Hal.kext was loaded and registryed on the chameleon -v mode information but then I got a black screen.What was worse,I tried this DSDT.aml in 10.7 lion,an lion,attempting to drive the 9400M G.another black screen.
So what's your devvice-ID of 9400M G? Is it 086210de?And is there a 9200mgs graphics card in your XPS 1340?

#144
z1326

z1326

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
By the way, in the system report, the Graphics is displayed as NVidia GeForce 9400M G,But the VRAM is only 4MB,and it became 3mb after put your smbios.plst and the org.chameleon.Boot.plist into /Extra.

#145
olegpronin

olegpronin

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
Hi guys and bcc9. How are you? I hope you're fine.

Just want to notive that AGPM kext injector must be changed. The path in AGPM was in the root with MacBookPro5,5.
Now it must be in the Machine/MacBookPro5,5

I'm talking about 10.8

Please add in the first post

#146
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

Hi guys and bcc9. How are you? I hope you're fine.

Just want to notive that AGPM kext injector must be changed. The path in AGPM was in the root with MacBookPro5,5.
Now it must be in the Machine/MacBookPro5,5

I'm talking about 10.8

Please add in the first post

Hey, long time... I had forgotten to even check that one. Thanks, I've added a new 10.8 version of 9400m_gstate_inject to post #1. Hopefully it works, I don't have a kill-a-watt with me right now to test fully.

z1326,
I'm going to follow up in your alienware thread as your issues seem to not apply to 1340 users.

#147
aliveli123

aliveli123

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
I also can't get installer gui screen while trying to install 10.8 (1340 with g210m, used alternate dsdt, other files in 1st post is also included in /Extra). GraphicsEnabler does not make a difference as expected. It seems like graphics stop working after boot loading process. and since I can't start installation procedure, I can't (or don't know how to) get a ioreg dump.

#148
olegpronin

olegpronin

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
Hi again, bcc9. I forgot how I checked out agpm myself without any kill-a-watt and can't check.
I used very long time windows 7, then I moved to arch linux for some time. Then I tried windows 8, understood that it is a {censored} and decided to return back to 10.8 and seems like it was best idea.

I tried to work with Clover bootloader setup, but it doesn't see our mcp79 ahci controller.
xpc - still not work.
So, I use chimera now, seems to be good.

10.8 seems to be much better than 10.7 after some time of usage.
Mac OS X still has worse power management than windows 7 for me, but it's not so critical. Playing with mac models now to make some results about draining the battery.

#149
z1326

z1326

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Hi,bcc9,I've left some questions for you in my Alienware thread.Could you please go and have a look?

#150
olegpronin

olegpronin

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
bcc9, you made wrong injector. It the "Machine" need to be added, not "Machines"

#151
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

Hi again, bcc9. I forgot how I checked out agpm myself without any kill-a-watt and can't check.

Previously, we changed the LogControl setting in the AGPM plist to turn on logging of the g-state transitions. Also you guys measured the rate at which your batteries drained.

I used very long time windows 7, then I moved to arch linux for some time. Then I tried windows 8, understood that it is a {censored} and decided to return back to 10.8 and seems like it was best idea.

Ha, yes the person who has my 1340 runs osx on it full time these days. Only had 1 program which got us to reboot into windows in the last 6 months. (Could have just used virtualbox for that case too.)

I tried to work with Clover bootloader setup, but it doesn't see our mcp79 ahci controller.

clover boots on this sytem via a usb thumb drive. I can't believe it wouldn't work via a sata disk as well.
Edit: Ok, I assume it boots via ahci, but then doesn't show the ahci disks as boot options?
Clover adds so much more complexity than the boot-132 bootloaders, I don't see a benefit in it at this point. What am I missing?

So, I use chimera now, seems to be good.

I'm still using chameleon not tonymac's branch of chameleon. Have you found anything working better with chimera?

bcc9, you made wrong injector. It the "Machine" need to be added, not "Machines"

Huh? In /System/Library/Extensions/AppleGraphicsPowerManagement.kext/Contents/Info.plist:

<key>Machines</key>
in 9400m_gstate_inject.kext/Contents/Info.plist:
<key>Machines</key>

I also can't get installer gui screen while trying to install 10.8 (1340 with g210m, used alternate dsdt, other files in 1st post is also included in /Extra). GraphicsEnabler does not make a difference as expected. It seems like graphics stop working after boot loading process. and since I can't start installation procedure, I can't (or don't know how to) get a ioreg dump.

ioreg can be run from the shell in safe mode. Does that work?
If you move the nvidia kexts out of the way, does the system install fine (with lower resolution)?

#152
olegpronin

olegpronin

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
What am I missing? -> Absolutely nothing :)

I'm still using chameleon not tonymac's branch of chameleon. Have you found anything working better with chimera? -> No, I was suggested to try it and it works well. I really see no much difference.

Huh? In /System/Library/Extensions/AppleGraphicsPowerManagement.kext/Contents/Info.plist:

<key>Machines</key>
in 9400m_gstate_inject.kext/Contents/Info.plist:
<key>Machines</key>


I said info by ioreg, there is machine without 's'.

yes, you're right.

Attached Files



#153
Gambit642

Gambit642

    InsanelyMac Protégé

  • Members
  • PipPip
  • 99 posts

I don't know why you're having such troubles. Sounds like the proper graphics injection strings are missing from your ioregistry (which should be injected via the dsdt). I recommend you check your ioregistry, making sure the injection strings are being injecting to the 9400M device.

I also don't know why you're patching iopcifamily, or using myhack, or mucking with your caches. (When you use plist.v3, chameleon boots without UseKernelCache=yes, and so your kexts in /Extra/Extensions should be loaded no problem). The Installer GUI came up for me without any of those extra steps.

Finally got a chance to take another look. I can confirm that the DSDT is being loaded.
with the flag | DSDT=hd(0,2)/Extra/DSDT.aml
I can see:
NVDANV50HAL loaded and registered

when I omit the DSDT line:
[AGPM Controller] unknown platform

Still freezes at
[IOBluetoothHCIController][start] -- completed

Last thing I see in the console is:
DSMOS has arrived
[IOBluetoothHCIController][start] -- completed
macx_swapon success
[Freezes here]

Additionally, when I get in to the OS with safe mode, I can see that audio, wifi and audio are working so I know the DSDT is loading...it gets the wifi to be detected. The freezing occurs for both the Vanilla installer or the OS boot

#154
olegpronin

olegpronin

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
Sent a pm to bcc9, but I'll duplicate here.

How do you, guys, use the external vga display? I can't understand how make it working normally.

1. it doesn't support hotplug it seems. there is needed to do a reboot or sleep then external vga detects. When I turn off external vga and eject the cable, it still think that vga monitor is there until reboot/restart.
2. I tried different nvcaps + injector from MacBook5,2 with 9400m card with different nvcaps, but no luck. Still same trouble.
3. when I get external monitor (1920x1080) and laptop's display both working, how can I use full screen external with 1920x1080 resolution? It seems it's not possible here. I can set 1080 resolution only when my laptop display increases the workspace. In mirror mode I can't do it. I loved the option in windows - when you close the laptop lid with external vga display connected, it automatically swithed resolution to 1920x1080p and since lid is closed, internal display is turned off. Once lid is opened, external display is switched to same resolution like laptop's display.

Did anybody try similar fixes?

#155
olegpronin

olegpronin

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
ok, found how we can get rid openhaltrestart.

I have recompiled chameleon with restart fix, exactly ps2 restart fix:


fadt_mod->Flags|= 0x400;
fadt_mod->Reset_SpaceID = 0x01; // System I/O
fadt_mod->Reset_BitWidth = 0x08; // 1 byte
fadt_mod->Reset_BitOffset = 0x00; // Offset 0
fadt_mod->Reset_AccessWidth = 0x01; // Byte access
fadt_mod->Reset_Address = 0x64; // Address of the register
fadt_mod->Reset_Value = 0xfe; // Value to write to reset the system

but I don't understand, why it doesn't work when I simply enable it in my config. There is the line about intel cpu in sources that disables this existed facp fix.

But anyway, got it working, and for people who doesn't want to recompile chameleon, here is the boot file from latest trunk with working reboot. You can remove openhalt.

Attached Files

  • Attached File  boot.zip   141.08KB   12 downloads


#156
z1326

z1326

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Hi bcc9:
I've made some progress but got some new questions,could you have a look?
http://www.insanelym...howtopic=281723

#157
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

[/CODE]Additionally, when I get in to the OS with safe mode, I can see that audio, wifi and audio are working so I know the DSDT is loading...it gets the wifi to be detected. The freezing occurs for both the Vanilla installer or the OS boot

So then it would seem to be a matter of figuring out which kext is causing the freeze by process of elimination, unless you are ready to debug with a remote debugging session.

Sent a pm to bcc9, but I'll duplicate here.

How do you, guys, use the external vga display? I can't understand how make it working normally.

1. it doesn't support hotplug it seems. there is needed to do a reboot or sleep then external vga detects. When I turn off external vga and eject the cable, it still think that vga monitor is there until reboot/restart.
2. I tried different nvcaps + injector from MacBook5,2 with 9400m card with different nvcaps, but no luck. Still same trouble.
3. when I get external monitor (1920x1080) and laptop's display both working, how can I use full screen external with 1920x1080 resolution? It seems it's not possible here. I can set 1080 resolution only when my laptop display increases the workspace. In mirror mode I can't do it. I loved the option in windows - when you close the laptop lid with external vga display connected, it automatically swithed resolution to 1920x1080p and since lid is closed, internal display is turned off. Once lid is opened, external display is switched to same resolution like laptop's display.

Did anybody try similar fixes?

I don't even have a VGA cable at my current address so I cannot test this again. Last I checked a few years ago, VGA was working, but I didn't test hot-plugging.

As for resolutions, yes, I think you have to extend your desktop instead of using mirroring mode in order to use both displays at full resolution.

#158
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

ok, found how we can get rid openhaltrestart.

I have recompiled chameleon with restart fix, exactly ps2 restart fix:

Thank you, I hadn't noticed that this fix made it into chameleon.
I've updated post #1 with a link to the current chameleon (r1992 or later have this fix).
I've also updated the org.chameleon.boot.plist in post #1 to include the necessary PS2RestartFix string.

Nice to finally be able to get rid of OpenHaltRestart.

#159
bfbruin

bfbruin

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
Hey all!

Bcc9, thanks once again for keeping my laptop all sparkly and new. You have no idea how many people still comment, 3 years on, about how awesome it is that my Dell runs the latest OS X.

I was wondering whether anyone had fully figured out how to fix the "black screen upon GUI load issue" yet. I know that bcc9 had not been able to replicate it using his own setup, but I was wondering if anyone else had some better luck than myself. I followed Post #1 to the letter, and I tried various alternate approaches to solving the issue.

Rundown: OSX Mountain Lion Install Disc as modified to be run from an external hard drive, on which I have also I am using Chameleon r2059. /Extra includes a copy of all the parts of my working 10.7 build, although fresh versions of all of the kexts / plists as laid out in Post #1. Have booted verbose successfully, all the way up until the handoff to GUI, when the screen turns off. External Hard Drive activity is still going strong, no reboot taking place, I just know that something is screwing with my ability to view the GUI.

The current gamut of workarounds I have seen here, be they Safe Mode or disabling GraphicsEnabler, have lead to dead ends. I am using the latest Chameleon build, and I question if it can be attributed to the GUI issue. Nonetheless, booting up with Chameleon r1650 (from my 10.7 build) leads to a quick reboot loop. Also, could be the 9500 dual graphics I am slinging, but I'd rather not blame my tools.

I am not willing to try anything third-party like myHack for the time being, as I have spent too much time learning from this community, and the hundreds of posts over the past few years, to give up. While my 10.7 build has been working fine, I am committed to finding some sort of resolution to this issue, as I am certain that I am not alone in this. I ask of this community: are there any suggestions you can offer, or potentially diagnostic messages I can offer, to allow us to figure this out once and for all?


EDIT: FOR ANYONE HAVING TROUBLE WITH THE INSTALL GUI NOT LOADING. GET THE UPDATED VERSION OF YOUR DSDT FROM POST#1. DO NOT USE YOUR OLD DSDT from 10.7. A useful and relevant post about this was found here shortly after I wrote this message and shortly before realization rained down upon me.

{censored} yeah, InsanelyMac! Kudos, bcc9!

Edit 2: Alright. So. Was able to install Mountain Lion to a second partition. Currently only able to boot to said partition using -x, but keyboard and mouse do work, as does wifi and sleep/wake function with lid close.

In regular, -f and -s, I seem to be in the same situation as Gambit642. Verbose boot freezes after some sort of Bluetooth reference (at times VoodooBattery loading), and does not recover, though it does not panic either. Progress moving at a quick clip, hopefully will be able to sort all out soon. Currently stuck here. I do know that it absolutely has to be graphics related, since my -x boot results in stuttering graphics.


#160
bfbruin

bfbruin

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
So.

I spent the entirety of this morning setting myself on fire in every way I could possibly conceive.

It would seem that my current issues are entirely related to my 9500M Card, a photo of which seems well-destined to fit besides the dictionary definition of "Diminishing returns". This is a common problem for many others on InsanelyMac, who have discovered a potential solution in installing previous Nvidia drivers to mitigate their own problems, in addition to playing around with NVEnabler 64.kext and constructing .pkg files to run custom scripts. For reference, I point interested onlookers here, in addition to here.

From what I have been able to glean, these solutions do not work for 9500M owners, simply because only the 9200GS (the second card) is seen by the system and used. NVEnabler 64 seems to show a "probe fails" error simply because it's expecting your 9400M to rev up and save the day, while it is only able to see the 9200GS (this further explains the graphics stuttering.) All I ended up with were dead ends, a kernel panic from running without GraphicsEnabler=Yes, and an inability to boot to GUI even in safe mode upon the loading of NVEnabler 64. That one required me to delete NVE* via Terminal from the ML Install Disc.

For what it's worth, I'm currently running the kexts uploaded by these gents. This is in addition to GraphicsEnabler=Yes, which seems to be necessary for all to pass at the very least into Safe Mode via -x. The kexts don't seem to either help or hurt, and -x still allows me to have my GeForce 9400M G detected by ML.

EDIT: Alright. Let's crank this out. Apparently another user was able to succeed with the following:

People already solved the problem by a user who helped us, one must place the "NVDANV50Hal.kext" of DP4 verify who is registered and loaded, then use the "NVENABLER.kext" with EFI strings in org.chameleon.Boot.plist and GraphicsEnabled = yes and it works perfectly if you have a kernel panic, put your device id in your "NVDAResman.kext".


EDIT 2: So it's no longer stuck during verbose boot, which is good news. Unfortunately, it panics with NVDAResman.kext. The key kexts appear to be NVDANV50Hal.kext as well as NVDAResman.kext. Assuming you would be able to go to System Report and copy your Device ID and Vendor ID, modification of the Info.plist files in one or either of the kexts appears to offer some sort of progress.

EDIT 3: Alright, so I was told that while adding DeviceID is required, so is running NVEnabler. Except that NVEnabler didn't help matters at all. Sticking with GraphicsEnabler=Yes.


Again, if anyone is out there watching, I sure could use a hand. My setup is workable, but I can't even run Hi-Speed USB, so my attempts at a Time Machine backup (my safety rope in case anything goes wrong) would run at a max of 3.0 Mbps... for 24 Gb.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy