extract latest windowserver crash log from /Library/Logs/DiagnosticReports folderYes it was a clean install of 10.14.5
extract latest windowserver crash log from /Library/Logs/DiagnosticReports folderYes it was a clean install of 10.14.5
Good news from the "doubly-unsupported" MB4,1.
While there still is no solution for the brightness control of the display on this machine, I found a way to get back display backlight power-off while semi-sleeping (utilizing NoSleep in v1.5.1) or when the lid is closed.
Unfortunately, this is a tiny hardware modification that I´ll document later today. It can be done with medium soldering skills and fits nicely into the machine so everything can be assembled back to the original closed state. Total time to do this: Around 1h, with parts costing below €1,-
So here we go with the circuit for the modification.
The BOM consists of
1x 74HCT04 hex inverter logic IC
2x 1kOhm resistors (any wired non-SMT type will do)
The idea behind the circuit is to use the SMC-generated LED PWM signal that ramps from off (floating) to 100% on (3.3V) whenever either the lid is closed, during startup or when macOS tries to enter sleep mode (which is prevented by the NoSleep extension because we could never wake up after that). This signal could be used directly as a driver for the PWM LCD input, only it has a reverse logic for that. Screen backlight is on when the signal is 3.3V and off at 0V.
So we need to invert it at least 1x (but in case of optional additional R-C timing that might have been we do it 3x here).
Pls. excuse the free-hand drawing of the circuit (and Euro style for Rs and IC gates) - I did not like to fire up an ECAD system on my weekend ;-) for this li´l circuit.
View attachment 841915
I skip all steps needed to get to the right place on the PCB, so we dive right in:
1.
View attachment 841916
2.
View attachment 841917
3.
View attachment 841918
4.
View attachment 841919
5.
View attachment 841920
6.
View attachment 841921
7.
View attachment 841922
Any chance that even a full SSE4.x emulator could be done? That would bring latest macOS (from 10.12 upwards) to MacPro 1,1 & 2,1 Xeons and MacBook Pro 3,1 Meroms... ?Another data point re: SSE4.2 patch for MP3,1:
I have been working on a full SSE4.2 emulator kext that will (hopefully) support the AMD video cards, as well as any new SSE4.2 software that comes down the road later.
...
I'll post more about the emulator here when it's ready for release (or broader beta-testing).
log stream
My emulator traps invalid opcodes and tries to handle them if it can. There's no reason it couldn't have more instructions added, including SSE4.1. However, I'd note that while SSE4.2 adds a manageable 7 instructions (each with their own various addressing modes), SSE4.1 adds another 47 (or 48, I haven't really researched it), each of those having various addressing modes, quirks, etc. It would be a major undertaking, and I'm not sure if there would be sufficient demand to warrant the effort.Any chance that even a full SSE4.x emulator could be done? That would bring latest macOS (from 10.12 upwards) to MacPro 1,1 & 2,1 Xeons and MacBook Pro 3,1 Meroms... ?
Great newsNetkas' patch will always be faster than a full emulation, because it doesn't have the overhead of exception processing and instruction decoding. However, it applies only to a single file (AMDMTLBronzeDriver), which may or may not fill all of the needs of a given AMD GPU, and it appears (for now) to be OS version-specific. I think that long-term, an external SSE4.2 emulator will hold up better in the face of updates from both Apple and third-party driver suppliers - assuming the emulator is fast enough to avoid graphical anomalies, timing glitches, etc. Time will tell.
The other one that's common in the AMD drivers/bundles is popcnt (technically not SSE4.2, but contemporary, so it might as well be), which is easy enough to emulate efficiently. The tricky bit is supporting all the addressing modes...I also have checked opengl bundle and it doesn't use sse4.2 recently (but was using it in 10.14.0)
afair, I have only seen pcmpgtq as the only sse4.2 instruction to be used by drivers.
That would be awesome. I think the cMP got enough juice left for emulation.Any chance that even a full SSE4.x emulator could be done? That would bring latest macOS (from 10.12 upwards) to MacPro 1,1 & 2,1 Xeons and MacBook Pro 3,1 Meroms... ?
My emulator traps invalid opcodes and tries to handle them if it can. There's no reason it couldn't have more instructions added, including SSE4.1. However, I'd note that while SSE4.2 adds a manageable 7 instructions (each with their own various addressing modes), SSE4.1 adds another 47 (or 48, I haven't really researched it), each of those having various addressing modes, quirks, etc. It would be a major undertaking, and I'm not sure if there would be sufficient demand to warrant the effort.
Could you please point to exact binary in 10.14.5 to use popcnt ?The other one that's common in the AMD drivers/bundles is popcnt (technically not SSE4.2, but contemporary, so it might as well be), which is easy enough to emulate efficiently. The tricky bit is supporting all the addressing modes...
Sorry, I misspoke earlier (too many windows open at once) - the only AMD binary I've found that uses popcnt is AMDSharedIL (/S*/L*/E*/AMDShared.bundle). This is the same in High Sierra. The other drivers (AMDRadeonX3000GLDriver, AMDRadeonX4000GLDriver, AMDRadeonX5000GLDriver, AMDRadeonX5000MTLDriver, AMDMTLBronzeDriver) all use pcmpgtq. (Note that I haven't looked at everything, those are just what I've encountered so far.) (Also note: I'm at 10.14.3, but IIRC, every 10.14.0-10.14.3 I've looked at so far has shown the same thing. I can't speak directly re 10.14.5, though. Also, all but AMDRadeonX5000MTLDriver use pcmpgtq in High Sierra as well.)Could you please point to exact binary in 10.14.5 to use popcnt ?
I have searched with otool -Vvt binary | grep popcnt
and haven't found in kext/opengl/metal
Thanks!
you can install the legacy video patch from your usb Mojave patcher boot into it then click on post install select it from the listim try to install the Legacy Video Card Patch but every time I get an error.
im do it but went the system boots up the app notify me there's a updateyou can install the legacy video patch from your usb Mojave patcher boot into it then click on post install select it from the list
maybe reinstall the patch updater from the post install then try the legacy patch update after booting back into your desktopim do it but went the system boots up the app notify me there's a update
Ok i go to do that.maybe reinstall the patch updater from the post install then try the legacy patch update after booting back into your desktop
00000000000439bc popcntq %rax, %rax
00000000000439e8 popcntq (%rcx), %rsi
0000000000043a21 popcntq %rdx, %rcx
0000000000065793 popcntq %rax, %rax
00000000000657bf popcntq (%rcx), %rsi
00000000000657f8 popcntq %rdx, %rcx
000000000006f3a7 popcntq (%r15,%rcx,8), %rdx
See page #1 for details.How is it working on MacBook Pro mid 2010?
See page #1 for details.
Works fine, depending mainly on GPU(s).
If the 2010 with i5 is not up to your performance expectations, there must be something wrong on your individual system. Low RAM, HDD instead of SSD, or some additional quirky software installations perhaps. Make sure that graphics accel. really works. After spotlight indexing is done, Mojave runs as fast as (High)Sierra did, from C2D systems upwards...Well I got an i5 MBP mid 2010 and the last time I tested (before .4) all was working fine with general slowness. Anyone has tested it on latest versions?
If the 2010 with i5 is not up to your performance expectations, there must be something wrong on your individual system. Low RAM, HDD instead of SSD, or some additional quirky software installations perhaps. Make sure that graphics accel. really works. After spotlight indexing is done, Mojave runs as fast as (High)Sierra did, from C2D systems upwards...
Perhaps you should complain to General Patton instead of General Slowness? ;-)
A sure way to tell if accel works on any GPU is to see if you get opacity on the finder (side bar, dock, window panes etc.). If not accelerated, you get solid black or white surfaces there.I think that it was a problem due to graphics accel.
Intel hd graphics works as expected, but I think the Nvidia card Is making troubles when I open apps like Spotify that need graphics accel.
Later I'll test the new version, but how to make sure that graphics acceleration works for both cards?