Jump to content

fluid | fixed

Mountain Lion kernel testing on AMD (don't ask help here: use the Help Topic)

Mountain Lion AMD legacy kernel x64_86 ssse3 ssse3 emulator

  • Please log in to reply
2466 replies to this topic

#1461
byransays

byransays

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Upstate NY

View PostAndy Vandijck, on 06 January 2013 - 04:42 PM, said:

I'm back and have redesigned the kernel some more.
It needs testing A.S.A.P. (+feedback ;))
Source diff is included.
I've also made the diff ready for Lion (needs merging).
Pentium D and AMD users should like it ;)
It shouldn't panic anymore :D
Don't ask which version it is please (it's 10.8.2 lol)

This one seems to be working very well, it doesnt crash with the trackpad prefpane.
I do notice I cant access my NTFS partition anymore though...is this kernel related? The system doesnt even see it.

I am still running safeboot because of Nvidia, however maybe its due to the kernel or because of me changing smbios to imac12,2 but even as buggy as they are with no qe/ci it runs a bit faster with things like launchpad.

edit: scratch that, foot in my mouth. I put in an SMBIOS but it didnt load it, it still sees it as a macpro 3,1

edit 2: scratch that, I remembered I chose to do a macpro 5,1 smbios instead...funny thing is it took the serial I chose for the SMBIOS but didnt take the SMproductname, it still sees it as a 3,1 not a 5,1

#1462
Andy Vandijck

Andy Vandijck

    InsanelyMac Legend

  • Coders
  • 1,082 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Here is the new kernel, opemu enhanced for SSE3 emulation (some P4's with 64bit and early Athlon64 cpu's require SSE3 emulation).
Test please ;)

View Posttheconnactic, on 06 January 2013 - 08:17 PM, said:

Use RAID mode, jtsanborn. It usually implies AHCI.

P.S.: Great job, Andy! I still didn't have the opportunity to test your latest kernel, but i already compiled it here on my laptop, since i'm not home.

Do you have any idea why all the kernels seem to have a high degree of incompatibility with nVidia GPUs? Maybe, perhaps, some dyld thing...?
I wish I knew...
I don't have a clue why the NVidia GPU's don't work.
(I have a NVidia Geforce 8300 GS and I also use this kernel... it seems to work fine, but I have Intel :X)

Attached Files



#1463
instant idiot

instant idiot

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 169 posts
  • Gender:Male

View PostAndy Vandijck, on 06 January 2013 - 08:33 PM, said:

Test please ;)
AMD Athlon II x4 640:
32 and 64-bit apps working!
Stock corecrypto working!
It even wash--oh, I guess it didn't wash the dishes after all. Must've been the cat. :D
No more QuickTime panics.

Intel Pentium D 3.4 GHz:
64-bit apps working!
32-bit apps, well, uTorrent launches but TextWrangler doesn't. I don't think I have any more 32-bit only apps on my system to test, but if anyone wants to point out a few, I'll test them.
Stock corecrypto working!
No more QuickTime panics.

View PostAndy Vandijck, on 06 January 2013 - 08:33 PM, said:

enhanced for SSE3 emulation
I haven't any 64-bit non-SSE3 CPUs.

Just curious, with all this emulation going on, will there be any significant performance impacts?

#1464
spakk

spakk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 806 posts
  • Gender:Male
  • Location:Germany
its stucks on jnl disk0s4 : journal replay done

#1465
Deltac0

Deltac0

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 263 posts
  • Gender:Male
  • Location:Finland
  • Interests:Caffeine, OS X, AMD Hackintosh

View PostAndy Vandijck, on 06 January 2013 - 08:33 PM, said:

Test please ;)

Phenom II x4 965

Boots slowly, but is otherwise awesome work! :)
Only few graphic glitches exist in my system (ATI).
32 and 64 seems both to be working 100%! :)

Now only the graphics issues need a fix! (Both ATI & NVidia) :)



EDIT: Forgot this: I used vanilla corecrypto and it passed the FIPS test fine. :)

#1466
instant idiot

instant idiot

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 169 posts
  • Gender:Male

View Postjtsanborn, on 06 January 2013 - 11:50 PM, said:

Slowly Is how many time? 5 minutes?
Come to think of it, mine boots a bit slowly too; it boots in about 1:40 with the Athlon II (even longer for the Pentium D) from Chameleon to the login screen.

#1467
Lacedaemon

Lacedaemon

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:United States
  • Interests:Hackintosh, Android, Linux, Servers, Jailbreaking

View Postinstant idiot, on 06 January 2013 - 08:43 AM, said:

Try mach_sse42_only from here. I think it's the best working kernel at the moment.
Thanks for the suggestion, instant idiot!  I'll try AnV's latest amd_kernel first, then if that doesn't work, I'll go for the mach_sse42_only.

#1468
instant idiot

instant idiot

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 169 posts
  • Gender:Male
As far as I can tell, AnV's latest kernel does work as well as mach_sse42_only.

#1469
Lacedaemon

Lacedaemon

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:United States
  • Interests:Hackintosh, Android, Linux, Servers, Jailbreaking

View Postinstant idiot, on 07 January 2013 - 05:36 AM, said:

As far as I can tell, AnV's latest kernel does work as well as mach_sse42_only.
Not for me. :glare: The installer still crashes with AnV's kernel, now moving on to mach_sse42_only.

Update: Booted with mach_sse42_only, got "Waiting for root device".  Looks like I'll need that AppleNForceATA after all!

Edited by Lacedaemon, 07 January 2013 - 06:08 AM.


#1470
mac_carol

mac_carol

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 131 posts
  • Gender:Not Telling

View PostAndy Vandijck, on 06 January 2013 - 04:42 PM, said:

I'm back and have redesigned the kernel some more.
It needs testing A.S.A.P. (+feedback ;))


Found 1 more issue :)

is it necessary to perform the FIPS TEST  twice ?


TEST #1:  After corecrypto.kext started!

Posted Image



TEST #2:  After Kernel is LP64

Posted Image

#1471
happel

happel

    InsanelyMac Protégé

  • Members
  • Pip
  • 25 posts

View PostAndy Vandijck, on 06 January 2013 - 08:33 PM, said:

Here is the new kernel, opemu enhanced for SSE3 emulation (some P4's with 64bit and early Athlon64 cpu's require SSE3 emulation).
Test please ;)

This one is great! Boot takes about twice the time of sinetek's mach_sse42_only, but hey, everything just works :).

#1472
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,796 posts
  • Gender:Male
@andyvand

on some PC there is a lag  on screen , videos and audios --> overcomes by this command under terminal to make cpu usage over 20 % this fix this lags
yes > /dev/null

can this fixed on kernel like making a flag on kernel allow users having this problem to make cpu usage like 10 / 15 % on idle state

thanks

#1473
Andy Vandijck

Andy Vandijck

    InsanelyMac Legend

  • Coders
  • 1,082 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Yes.
I will be recoding it later today ;)

#1474
akimoa

akimoa

    -AMD- -moof-

  • Local Moderators
  • 171 posts
  • Gender:Male
  • Location:Black Forest (GER)
Could it be  that the window server   launching the gui  interfaces doesnt get full attention of the kernel yet  ?

just brainstorming  !


pfff

i just compared  the logs off my intel system with a 5750 and the amd system with the 5770

seems like there is no diffrence at all ....

bollox !

also booted the intel system with latest anvkernel  also POSTs Fips twice and macx swapon  gab takes round 30 sec (SSD though)  

no GUI trouble either offcourse

@mohamed


yes > /dev/null

that trick didnt work here ;)

#1475
Andy Vandijck

Andy Vandijck

    InsanelyMac Legend

  • Coders
  • 1,082 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Few... the work is about done.
I've optimized the opemu so that it runs ssse3 emu pass first, then sse3 emu, then syscall, then monitor skip and last fisttp replacement to fistp (just added that)
Needless to say this is much faster code...
Post soon... ;)

#1476
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 1,738 posts
  • Gender:Male
Way to go, Andy!

#1477
Andy Vandijck

Andy Vandijck

    InsanelyMac Legend

  • Coders
  • 1,082 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Here it is... the new kernel.
It should be more efficient in performing instruction emulation (First SSSE3 pass, then SSE3 pass in 3 steps as this is more efficient, next sysenter, then monitor/mwait skipp for those without SSE3 and last fisttp to fistp replacement for those without SSE3).
It also has fisttp to fistp on-the-fly in memory replacement (added it in opemu) for those without SSE3.
Source diff included. ;)
Test please :D and report back too ;)

Attached Files



#1478
Rasmus Rasmussen

Rasmus Rasmussen

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
Hey Anv Worked here, and were faster compared to your previous kernel :)

but for some reason my 6850 acts up where my 4870 is acting as it should, without garbling in osx.

Thx here take a 

Best Regards Racermussen

#1479
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 1,738 posts
  • Gender:Male
Hi, Andy!

Just tested your latest and greatest. Boots fine with -x, faster than earlier iterations. But the best thing, that convinces me that we're going to the right direction, is that, without -x, it boots smoothly... to a white screen with mouse pointer cursor (that i can control at will). Okay, this is not working, but it's far far better than the previous heavy fractal fragments without any mouse cursor or even the white screen with spinning pinwheel and frozen mouse cursor of the previous kernel. This evolution hints that the problem with nVidia (and some ATI) graphics is perhaps related to encryption, not a library.

Best regards and keep on the good work!

EDIT: Maybe it's not encryption after all: booting with -f gave five consecutive KPs with kextd.

EDIT 2: Finally the boot completed successful with -f. Unfortunately, bad news: the heavy fractal fragments are back.

#1480
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,796 posts
  • Gender:Male
the problem of lag not fixed ?





2 user(s) are reading this topic

2 members, 0 guests, 0 anonymous users


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