Help - Search - Members - Calendar
Full Version: HowTo - SSE3 Kernel with Sleep + SpeedStep
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4, 5, 6, 7
haribo
i tried this from andrew, but i get the message, "nvram is not supported on this system"
any ideas
harry
consolation
QUOTE(munky @ Mar 10 2007, 01:33 AM) *
I started a discussion thread for the no wake from sleep problem: http://forum.insanelymac.com/index.php?showtopic=44283

I will outline my findings there. Sounds like you may be on to something...

As for hibernate, this is something i've been wondering too...

http://andrewescobar.com/archive/2005/11/1...sleep-your-mac/

If you search that page for the word 'hackintosh' you see someone reporting it working on his hack. smile.gif might try this myself wink.gif


Here is some more info, but it's all for old fcode based PPC architecture
http://matt.ucc.asn.au/apple/machibernate.html#makeitwork

Regardless I tried it, as expected nvram is not there in the same way as ppc.

Last login: Sat Mar 10 02:37:26 on console
Welcome to Darwin!
Consolation:~ consolation$ sudo nvram nvramrc='"/" select-dev
> " msh" encode-string " has-safe-sleep" property
> unselect
> '
Password:
nvram: nvram is not supported on this system.
Consolation:~ consolation$ sudo nvram "use-nvramrc?"=true
nvram: nvram is not supported on this system.
Consolation:~ consolation$ sudo pmset -a hibernatemode 1
Consolation:~ consolation$ sudo reboot


It did create the sleep image in var/vm/
It does sleep the computer.
BUT-
system fans stay on,
all the usb devices are unwakeable,
system won't wake.

Regardless, I think that you are onto something with this munkey.
Ferret-Simpson
Ok, my issue appears different from anyone elses.

Restart is fine on every kernel except for the Speedstep.

I can't shutdown on any kernel. Goes to my background image and sits there.

The system won't sleep. It stops doing anything, and the screen goes black, but the system never actually goes into sleep mode.
carpao
About my "success" in waking up... it is not a deterministic thing at the moment...

the best that I am able to understand is a sort of dependancy by the fact to kill the SystemUIServer ...

but I am not able to reproduce it in a deterministic way... just sometimes...


Here My observations:
when I succeeded in waking I killed it together another process...
after that I sleep and wake up several times...

after the reboot ... I was not able to wake up again...
but after that I kill it I succeeded again... (but this was not true a third time.... :-( )

If I kill the process before sleep. it restarts immediately... so to test this methos I had to be able to connect the computer to a net and connect to it by ssh...

If I kill it during the waking freezed phase... it does not restart. the first graphical evidence of it is that several icons of the menubar (and the clock itself) does not appear...
It is possible however to start it explicitly (it is under /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer

If all fail... instead of rebot by ssh it is possible to kill the loginwindow process and this corresponds to make a signoff of the current user (and closing all its application...) and the login form appear immediately

I hope that this could be a starting point to understand better what block the waking up of the video
munky
capao: good work! i will try out a few things based on your ideas here.

btw, im posting my theories and findings in the thread linked in my sig.
Arcanis
Talking about sleep and waking up..

I've closed my laptop lid when I went to sleep (so, the laptop goes into sleep mode), and when I woke up today, I was hopeless so I just opened my laptop and I was ready to shut it down, but I just pressed a key and the system woke up!

But if I close the laptop lid and open it up inmediately, video won't be up again, but the system is responsive.

My laptop is a Dell Inspiron 6400
graphic Design
With all specs in my signature and I can sleep/wake up with no problem, should I apply this patch?
Thanks in advance!
fabioxx
please tell me your bios settings, i can't sleep with my system and it is similar to the one you have.
does sleep depends by the video card?
bye.
ppan76
QUOTE(Kiko @ Mar 9 2007, 02:55 AM) *
Oh, so im not good enough for you am i? tongue.gif
heres the link
http://forum.insanelymac.com/index.php?s=&...st&p=317480


No you aint good enough. No NUTSSSS for you

But back on topic, the new kext didnt improve or fix what I posted previously. CPU is stuck at 1GHz.

Let me know if you have other files to test.
fabioxx
hi, i'm here again to ask help.
i downloaded paulicat pkg, then APCICPU given by Kiko, replaced the one in startupitems, repaired permissions, put S1 or S3 mode in bios, but the pc don't go in stop, i hear a clack of the hard disk and mouse cursor disappear, as it will go in sleep, but the screen is always on with the desktop.
what is the procedure, if anyone have the patience to explain to me, i'm a newbie and apologize if my request is too simple.
I have the latest semthex kernel installed (the one in the signature must be updated).
Bye.
offall
Apprently 10.4.9 is out there

Can any one can confirm whether Paulicat's speedstep kernel's going to work under 10.4.9?

And the CPUthrottle?
graphic Design
QUOTE(fabioxx @ Mar 13 2007, 03:10 PM) *
please tell me your bios settings, i can't sleep with my system and it is similar to the one you have.
does sleep depends by the video card?
bye.


My bios setting is setup as default!
I think the sleep is depended of video card & the kernels
fabioxx
thank you, anyway with qe/ci working on the radeon 9800 pro, i can't sleep, maybe i made something wrong installing paulicat's patch, having the same error message others reported.
i wil try again.
bye
rparker
I installed the mpkg that paulikat listed on page 2. Now, when I sleep from the menu, and then wake, the desktop flashes for a second, then all i see is a black with my mousepointer.


I have a core 2 duo, on an Asus P5W DH mobo. Nvidia 7600gt video with natit.
casamac
what about the sse2 support??

How i can help to improve it?
capitao roby
Did anyone have troubles with bluetooth after the installations of Paulicat's kernel?

Mine has stopped working mellow.gif

Now I wanted to unistall to see if has anything to do with it this but I don't know how.

Besides, I still cannot wake from sleep and when I shutdown, it restarts, and when I restart, it shuts down tongue.gif . That didn't bothers me much. What I need is bluetooth for the mouse.

Help, please, someone...
Glauber Lobo
Hi Guys,

any news about the SSE2 sleep mode support ??


thks
devilhood
I'm sure if there is any news regarding SSE2 Sleep + SpeedStep support, you will hear it here, but it's definitely not a priority for most dev's these days.

You're better off spending a small amount of cash on eBay to upgrade to an SSE3 capable processor, it will save you a lot of trouble in the long run.

Edit: It would appear Semthex is already working on it tongue.gif
Kiko
Its not that it isnt a priority, it just that paulicat is very busy, and hasnt had a chance to spread his source with the other devs. So just wait till he's not busy and then hopefully we will have a new sse2 out
aniphreak
im using 10.4.9 from jas and sleep works seamlessly!!
carpao
I upgraded to 10.4.9 and now the sleep works (or at least I think...)
At the moment I didn't hack to have the current status battery on the menu bar So I don't know if this has some conseguences...


However it is very fast so I'm not sure about the effective sleep status.
In the log I have only:
System Sleep
System Wake



Is there some hope for the speedstep with the new kernel?
I'm using now:
8.9.1 Darwin Kernel Version 8.9.1: Thu Mar 26 20:55:00 PST 2007; netkas: 792.18.15~1/RELEASE_I386 i386 i386
jake123
Is there a new mirror that I can download the installer from, there was a mirror to download a kext, but i think it said on the first post that it was an installer.....


thanks
jujubeanie21
I'm thinking about trying this... One thing though; my BIOS [ASUS P5P800-SE] has an option to repost video after S3 sleep... should I enable that option? Its been haunting me, giving me hope that itll somehow recover the video (just as I hope this fix will). I believe I read somewhere on this forum that posting the video after sleep was whats causing the issue...
sonofacpu
I don't know what to do to make this work. I installed the package, restarted, and Mac OS stops on the blue desktop. I could move the mouse, but nothing else worked, and there was a lot of hard disk activity. Then, after a while, it hanged. I had to get back to my old kernel (the one here http://forum.insanelymac.com/index.php?sho...0&start=40) and it started again...

I tried replacing the loginwindow.app and System.kext, but nothing worked. What am I doing wrong? I am using 10.4.9, with the older kernel.
SemjaZa
Dear guys,

I recently came over this nice little page at fatwallet.com

I really appreciate when people do hard work, and certainly do not
like when their work is abused, like Paulicats work.... which I will now show you....

check this link...

kiko has done it again... and he cant even write a deasent C program....
Search for kiko on this page:

http://www.fatwallet.com/t/18/709075/10364604#m10364604

also check this link:
http://forum.insanelymac.com/index.php?sho...mp;#entry313230

Now, please support Paulicat and thank him for the work... it was not kiko that did this.

Kiko did no {censored}in fix... also check the nice comment in semthexs profile here:

http://forum.insanelymac.com/index.php?showuser=60299


I would really love it, if some of the admins told him to calm down, and behave.

How can this community let such comments stand in someones profile? Abusive behavior like
that should not even happen.


Semjaza.
XofVerlis
QUOTE(SemjaZa @ Apr 11 2007, 06:39 PM) *
Dear guys,

I recently came over this nice little page at fatwallet.com

I really appreciate when people do hard work, and certainly do not
like when their work is abused, like Paulicats work.... which I will now show you....

check this link...

kiko has done it again... and he cant even write a deasent C program....
Search for kiko on this page:

http://www.fatwallet.com/t/18/709075/10364604#m10364604

also check this link:
http://forum.insanelymac.com/index.php?sho...mp;#entry313230

Now, please support Paulicat and thank him for the work... it was not kiko that did this.

Kiko did no {censored}in fix... also check the nice comment in semthexs profile here:

http://forum.insanelymac.com/index.php?showuser=60299
I would really love it, if some of the admins told him to calm down, and behave.

How can this community let such comments stand in someones profile? Abusive behavior like
that should not even happen.
Semjaza.


blink.gif What the hell? And then there was the time that his 10.4.9 updater didn't work thumbsdown_anim.gif
joe75
Damn... Kiko ohmy.gif


tomato.gif
Ropiku
Can you please post a link to the extension ? The link on page 2 doesn't work.
offall
QUOTE(SemjaZa @ Apr 11 2007, 01:39 PM) *
kiko has done it again... and he cant even write a deasent C program....

Now, please support Paulicat and thank him for the work... it was not kiko that did this.


With all the respect to Paulicat for releasing the great kernel, I have to say Kiko did contribute fair a bit in this project AFAK

The first cputhrottle kext from paulicat doesn't work for me and kiko fixed it with his mod version.
And his code is still running in my system happily while I am typing this

so it is unfair to say kiko didn't do anything.

p.s. 1
Kiko's cputhrottle kext works quite well except it generate great amount of log in my system log, which I believe may consume my cpu power,
I really hope kiko can release a version suppress those log output

p.s. 2.
I don't know and don't care what happened between kiko and smeth, but it clearly bad to attact someone like that, kiko himself or Mod should definitely delete such a comment
Kiko
I jsut got round to reading this lol, offall, i'll make a new kext with no debugging, and semjaza, go `fuc-k yourself. I never said i made the kernel, nor did i take any credit for making the kernel, first get ur frikking facts right jackass. i made a installer with paulicats kernel in it, and a modified kext in it. if you dont like it, go suck on smthxs balls

EDIT: woops, i shouldnt have said the last part, you already seem to be doing that

EDIT 2: and Xofverlis, who the {censored} are you, bad luck if my upater didnt work on your pc, if you actually read the readme, it says, "this may fck your pc up" simple. it worked on all my pc's. and most others. for those that it didnt work on, im sorry.
rathalos
kiko, the sse2 speedstep kernel is out, go check the sources.... umm... ur current one doesnt work at all on this sse2 speedstep kernel...

once loaded, system goes sluggish... runs at correct fsb (533mhz) and runs at 1066mhz, or 800mhz...... sluggish like hell.....
Kiko
i've got a sse3 proc, but no 10.4.8. i'll check tonight and post new throttle kext

can you post your sysctl output (syctl -a | grep freq)

And i better be careful, i might get a letter bomb for modifying open source code (stupid semjazza and xofverlis)

EDIT: Ok i got your dmesg and your sysctl, it seems to be working, but the sluggishness is a timing issue, i dont know what/if any changes semthex made to the timing, but it sounds like it isnt updating the system clock speed
carterj
the sluggishness is an old problem, was there already with the 8.6.1 kernel and nialls kext did not enable acpi powerstates below or equal 1 ghz in order to avoid the problem and he did not see any possibility to correct the bug.

rathalos, you seem to be using a kext with all powerstates enabled, try loading the acpicputhrottle kext based on acpi ( not direct drive! ) posted here by kiko a few pages ago which has the inappropriated powerstates disabled.
rathalos
carterj, i tried all the kexts already.... all produce the same results of timing problem..... sluggish movements.... and slow clock, audio stuttering.... it seems to be a kernel problem.... seems to be missing rtc_clock() inside that resync the clock according to the cpu freq.....
casamac
now i have the semthex's sse2 beta kernel on my machine. How i can know if the speedstepping is working ok?



Last login: Mon Apr 16 16:36:16 on ttyp1
Welcome to Darwin!
JurelPc:~ jurel$ uname -a
Darwin JurelPc.local 8.8.1 Darwin Kernel Version 8.8.1: Sun Apr 15 16:27:42 CEST 2007; semthex:/src/nn2_SSE2/BUILD/obj/RELEASE_I386 i386 i386
JurelPc:~ jurel$
Kiko
carterj, the sluggishnes sshouldnt be caused by power states below 1gHz Plauicat had 800mhz enabled on his core duo, and it worked fine, this seems to a be a issue of the clock not updating according to the throttled speed, if i recall this wasnt a issue in the sse3 kernel, so something must have changed, if you are able to turn off that auto-fsb detect crap in the kernel, try it then
prussiap
hey guys..

basically i'm a noob and read through all this.. have almost everything working my install but sleep...

I have the jas 10.4.8 with ppf1/2
and the koolkal update to 10.4.9.. but i can't seem to find much info on the koolkal update sad.gif

also i can't get sleep working on my update.. any ideas on what to do.. I'm not sure how to begin.

I have SSE3 working too.

dGV
carterj
QUOTE(Kiko @ Apr 16 2007, 10:40 PM) *
carterj, the sluggishnes sshouldnt be caused by power states below 1gHz Plauicat had 800mhz enabled on his core duo, and it worked fine, this seems to a be a issue of the clock not updating according to the throttled speed, if i recall this wasnt a issue in the sse3 kernel, so something must have changed, if you are able to turn off that auto-fsb detect crap in the kernel, try it then


ok i was recalling the discussion with niall over the acpicputhrottle on 8.6.1 sse2 kernel, where this "not updating according to speeds under 1 ghz" was not fixable. maybe on sse3 cpu there never was that problem.
i downloaded the fixed acpicputhrottle.kext based on apci ( not direct drive, will try it now ) you posted in this thread and it had all the powerstates below 1 ghz disabled ( but works (more or less) on the new speedstep kernel), so i really have no experience with speeds below 1 ghz on the new 8.8.1 sse2 speedstep kernel. i think i still have an old acpi acpicputhrottle.kext with all states enabled, maybe that will work.
as soon as i get a frequency below 1 ghz we'll see if the problem is still there.

ok i loaded my old kext with all states enabled and it worked. not really so.

on manual switching with sysctl -w kern.cputhrottle_curfreq=xxx where xxx = 600,800,1000,1200,1700 the throttle will sometimes succeed and other times not.
the audio is scratchy whenever the kext is loaded and the playback speed of mp3 varies with the frequency... it is comically slow with 600 and normal at 1700, but the audio scratchiness recovers after a while on one frequency.
the speed of animations ( dock, minimizing etc ) varies with the clockspeed but the system never becomes so unbearably sluggish as others seem to experience...

regarding the auto-fsb detect to turn off, i don't know how tongue.gif
Kiko
Ok i have a 10.4.9 kernel compiled from sources booting on my pc. im adding the efi patch to get me to GUI then i'll add speedstep to see if anything has changed
paulicat
http://www.hostclip.com/dl/e1f5facfa6fc0e90f00c48538c3fbecb

10.4.9 kernel for SSE3, hpet with speedstep. Oh, and I changed code for wake from sleep, had to make an hpet call to wake properly. Now I can sleep it for hours and it wakes in about 5 seconds.

Beat ya kiko wink.gif
cmesky
QUOTE(paulicat @ Apr 18 2007, 07:54 PM) *
10.4.9 kernel for SSE3, hpet with speedstep. Oh, and I changed code for wake from sleep, had to make an hpet call to wake properly. Now I can sleep it for hours and it wakes in about 5 seconds.


thumbsup_anim.gif

Are the updated sources for this kernel available somewhere? I have the original patchset, but it would be great to see what improvements you made.
paulicat
Not yet available sorry. I need sleep.

Quick update, my kernel "reports" cpu as core solo, but both cores will work fine.
I don't have latest patchset for cpu detection for reporting.
Kiko
paulicat, actually i beat you tongue.gif look at this thread
http://forum.insanelymac.com/index.php?s=&...st&p=349271

and both me and you are stuck on the cpu thing lol my core 2 duo shows up as core 2 solo x-D. fix that tonight
kernel available on #kernel irc.moofspeak.net, NoHPET/HPET, NX disabled, auto-fsb, sleep working (for me), SSE3
carterj
aaaaand..... sse2?

don't forget sse2 tongue.gif tongue.gif
Kiko
i never got sse2 source, so im having to piece it together myself, but netkas or paulicat should have the source, so they will have a kernel before me i assume
cyclonefr
kiko can u post the CPUThrottle 2 .kext? thanx
Russ-ST24
Hi Guys,
Kudos for the attempts to get our laptops to sleep, I have an IBM X60T which has a 1.83 Core Duo. I have JaS 10.4.8 running with SSE3 and Power Bundles.
Got the sound working fine, and have a WG511T PC Card working until the onboard wireless drivers are fixed. So the only real pain I suffer now is the lack of sleep which to be honest I use all the time in Windows and on my 2 macs. (Just really want OSX on my Tablet).
Can someone recap for me if possible the steps I would need to take including ideas on where to get the files from on how to go from a standard install of JaS 10.4.8 from the DVD to the latest patched Kernel for SSE3 support.
I understand sleep is not working for everyone but am I right in thinking it is for some users?

Thanks in advance for your help. I am happy to get involved and post log files etc once I have the new bits I need installed.

Regards

Russ
carpao
QUOTE(Russ-ST24 @ Apr 19 2007, 02:17 PM) *
Hi Guys,
Kudos for the attempts to get our laptops to sleep, I have an IBM X60T which has a 1.83 Core Duo. I have JaS 10.4.8 running with SSE3 and Power Bundles.
Got the sound working fine, and have a WG511T PC Card working until the onboard wireless drivers are fixed. So the only real pain I suffer now is the lack of sleep which to be honest I use all the time in Windows and on my 2 macs. (Just really want OSX on my Tablet).
Can someone recap for me if possible the steps I would need to take including ideas on where to get the files from on how to go from a standard install of JaS 10.4.8 from the DVD to the latest patched Kernel for SSE3 support.
I understand sleep is not working for everyone but am I right in thinking it is for some users?

Thanks in advance for your help. I am happy to get involved and post log files etc once I have the new bits I need installed.

Regards

Russ


In my case the sleep starts working after the update to the 10.4.9 version
paulicat
Heh kiko, yup you got me, my bad wink.gif
If you get the cpu detection working, please pass the source over. I know it took me a while to hand my speedstep source over but you did get it right? wink.gif

As for sse2 sources, I don't have them, and I can't say I care either, I don't have any sse2 to test against.

As for sleep Russ-ST24, give some details to your particular sleep problem.
I can say that sleep works 100% for me after the code change I added to this 10.4.9 kernel I just released.
Before, it wouldn't wake up from sleep properly, now, its back up in a matter of seconds.

Paulicat.
Russ-ST24
Thanks for the info, I am also trying to get the 10.4.9 upgrade without any luck, I dont have a demoniod account.
When I get it I will try it out.

Russ
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.