InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Leopard 10.5 (http://infinitemac.com/forumdisplay.php?f=85)
-   -   [Solved] AMD Dual Core Timing Issue AKA Mouse Bug (http://infinitemac.com/showthread.php?t=734)

mrburns05 03-30-2008 06:06 AM

hmm...i guess that explains it then ...i thought maybe i had a problem to fix, hehe. thanks for explaining.

ghostdex 03-30-2008 10:42 PM

Quote:

[cite] emaxxx:[/cite]Hi guys.
I had this issue (mouse jumping and reboots after hours of bittorrent and heavy download overnight) a while ago (10.5.1) and after reinstalling Leopard many times, replacing kext and hardware components like usb2 and network i found It could probably be related to APIC implementation in BIOS. What led me to this was the fact that my crash happens overnight or after waking up from the screensaver. So I tought about ACPI problems. All of this only happened when running both CPUS. With cpus=1 all worked well. Searching around I found that some users had issues even in windows with heavy overclock and dual core AMDs related to APIC Advanced Programmable Interrupt Controller that in dual core processors could led to some stability issues. The solution for me was to select the 1.1 version in Bios and not the 1.4 (default). Also I set the IRQ manually. I have a NF4 DFI Ultra-D motherboard. Hope this helps.
This solved my issues, too!

agrafuese 03-30-2008 11:21 PM

Quote:

[cite] ghostdex:[/cite]This solved my issues, too!
I actually looked into my BIOS for the APIC setting, and mine was grayed out for some reason. It also looked like I would only have the choice between "on" or "off" ...so I don't think it would have let me pick a version number, like emaxxx said. So no go for me.

seren 03-31-2008 12:52 AM

On my board its called MPS Version control i have a DFI Ultra-ii-m2 Nforce4-Ultra

Firewalk 03-31-2008 06:54 AM

My system finally seems stable 48 hrs uptime no bugs, used transmission for torrents still fine, stress tested to hell and back, all seems ok. for me the answer was to remove 2 gig of ram from my 4 gig system now working like a charm..thanks to the devs and all the people on the forums for there help..

Firewalk

bhast2 03-31-2008 02:41 PM

its something with 4 gigs of ram that kills the system

Quote:

[cite] Firewalk:[/cite]My system finally seems stable 48 hrs uptime no bugs, used transmission for torrents still fine, stress tested to hell and back, all seems ok. for me the answer was to remove 2 gig of ram from my 4 gig system now working like a charm..thanks to the devs and all the people on the forums for there help..

Firewalk

Firewalk 03-31-2008 08:44 PM

Hi bhast2, do you think 3 gig would be ok..if so in what banks..

Firewalk

seren 04-01-2008 10:54 AM

I have 4gb ram and i had this same problem. I had to turn OFF "Memory Hole Remapping" or Remap Memory Hole some BIOS are different. I found this option in my DRAM setting menu where i set CAS/RAS/TRCD /etc..

Quote:

[cite] bhast2:[/cite]its something with 4 gigs of ram that kills the system

Quote:

[cite] Firewalk:[/cite]My system finally seems stable 48 hrs uptime no bugs, used transmission for torrents still fine, stress tested to hell and back, all seems ok. for me the answer was to remove 2 gig of ram from my 4 gig system now working like a charm..thanks to the devs and all the people on the forums for there help..

Firewalk


bhast2 04-01-2008 01:22 PM

3 gigs are fine i have mine in Dimm1 Dimm 2 Dimm 4
http://img440.imageshack.us/img440/7562/picture1gv6.png
Quote:

[cite] Firewalk:[/cite]Hi bhast2, do you think 3 gig would be ok..if so in what banks..

Firewalk

Firewalk 04-01-2008 05:40 PM

Thank You bhast2, setup as per your instructions, working fine cheers again..

subsonic 04-03-2008 03:08 PM

Just a thought:

Whom of you guys with the choppy mouse is using Firefox as their main browser? I had those problems too, i stopped using Firefox anx anything releated to it (i.e. Thunderbird) and i had no crashes for 2 days (47 hours uptime). Could it be related to Firefox?

Ianxxx 04-04-2008 01:17 AM

That's what I was thinking originally but someone said they don't use it just Safari and still had the problem.

farcaller 04-04-2008 04:52 PM

idlehalt seem to do the trick. but the problem is that my CPU fan is controlled by OSX and it doesn't want to speed up, so I gave up with this idea. Will try with single-core boot.

agrafuese 04-05-2008 04:39 PM

Just thought I'd chime in and say I made the move over to Intel :)
I needed to get serious, and working with an AMD felt like playing with a little toy. I'm not sure what my experience will be like with this new setup, as I've only just put it all together, but I installed from the Retail DVD, replaced a few kexts, and it's running beautifully so far. Just to give a little perspective:

AMD 3800+ (2.0ghz stock)
1GB 400mhz RAM
Nvidia 8800GT 512MB
---------------------------
xBench score = 116 (at best, with no disk test)

Intel 6750 (2.6ghz stock)
2GB 800mhz RAM
Nvidia 6200TC 64MB (old school)
---------------------------
xBench score = 230 avg. (no disk test)

I'll be testing out my new system with the 8800GT later, but will probably keep the 6200 in it just because I still want to use my AMD for gaming. Also, I may be swapping out the E6750 for an E8400 in a few days. Either way, I really can't complain about a 100% performance increase.

Ianxxx 04-05-2008 05:48 PM

Quote:

[cite] agrafuese:[/cite]Just thought I'd chime in and say I made the move over to Intel :)
I needed to get serious, and working with an AMD felt like playing with a little toy. I'm not sure what my experience will be like with this new setup, as I've only just put it all together, but I installed from the Retail DVD, replaced a few kexts, and it's running beautifully so far. Just to give a little perspective:

AMD 3800+ (2.0ghz stock)
1GB 400mhz RAM
Nvidia 8800GT 512MB
---------------------------
xBench score = 116 (at best, with no disk test)

Intel 6750 (2.6ghz stock)
2GB 800mhz RAM
Nvidia 6200TC 64MB (old school)
---------------------------
xBench score = 230 avg. (no disk test)

I'll be testing out my new system with the 8800GT later, but will probably keep the 6200 in it just because I still want to use my AMD for gaming. Also, I may be swapping out the E6750 for an E8400 in a few days. Either way, I really can't complain about a 100% performance increase.
Welcome to the new club lol.
I wouldn't mind seeing your xbench scores, what mobo did you buy?

agrafuese 04-05-2008 11:53 PM

Hey Ian, no prob bud. I'll send you a bunch of different benches at insanelymac after I am finished doing some tests today - don't want to mix too much Intel talk over here, hehe. I'll be trying out AHCI vs IDE, time machine tests, may possibly swap in the 8800GT, and also might try out the 9.2.2 hacked kernel. At the moment, I am using the retail 9.2.2 kernel and it works really well! I get shutdown/restart, but I haven't tried sleep yet. See you over at insanelymac. :)

EDIT: Wow! Sleep works, and wake works with power button-tap!! :D So I have a 100% working retail/vanilla system.

subsonic 04-06-2008 03:54 AM

Same here, i'm going to say bye bye to AMD soon. I'm tired of having a not perfectly running OS since i need to work with it. It's not just some fun. I know, some ppl might say "then use another, stable OS". Anyways, my decision is to use Leopard so i do whatever is necessary to get it stable (except buying a real and overpriced Mac).

So i've ordered the same hardware lanxxx got:
Gigabyte GA-EP35-DS3R
Intel Core 2 Quad Q6600 4 x 2,4GHz
and 4 Gig Kingston HyperX 2 GB Kit DDR2-1066

I'll give it a try with 4 gigs, i'm sure it'll work =) At least i hope so ^

agrafuese 04-06-2008 03:13 PM

yeah 4 gigs will work, i think. i only have 2, but one of the guides i read for DS3* boards said there's a way to get it to work. just can't remember right now :) i'm with you on the importance of a stable system. i have a feeling that a good number of people on these forums either don't run anything demanding on their systems, or they just don't use their systems enough to notice the issues we've been having. but, hell, i'll keep running my AMD as a hackintosh with Tubgirl 10.4.10 ... but that's about all it's good for in the hackintosh realm. :\

Ianxxx 04-06-2008 09:02 PM

Quote:

[cite] agrafuese:[/cite]Hey Ian, no prob bud. I'll send you a bunch of different benches at insanelymac after I am finished doing some tests today - don't want to mix too much Intel talk over here, hehe. I'll be trying out AHCI vs IDE, time machine tests, may possibly swap in the 8800GT, and also might try out the 9.2.2 hacked kernel. At the moment, I am using the retail 9.2.2 kernel and it works really well! I get shutdown/restart, but I haven't tried sleep yet. See you over at insanelymac. :)

EDIT: Wow! Sleep works, and wake works with power button-tap!! :D So I have a 100% working retail/vanilla system.
When I use vanilla kernel shutdown only works now and again what release etc. are you using? I can't find a hacked 9.2.2 kernel, or do you mean the one thats floating round this forum?
also subsonic if you get board with ICH9R then I don't think you have a problem if you get board with 9ICH then you need to use the new driver for it.

Almas 04-12-2008 06:56 AM

I'm going to put my 2 cents out there, I have been looking at this problem for this past 2 weeks and I've carefully monitored the work load on my pc. What I found was I don't have the performance bog monster until I play about 2 hours of warcraft 3. After that you can clearly see the Warcraft 3 menus moving up and down sparaticly, at that moment everything goes glitchy and mouse movements crazy that exact moment when warcraft 3 for me hits the crazy menu bars movement is when the bogging starts. That's all I really know from now but I can maintain a controlled environment, until I get into warcraft 3, warcraft 3 is a guarantee catalyst to the problem. It's the only application that can cause the mystery system bog monster :P. Hope that helps somehow.

My Specs;

Asus A8N-SLI Deluxe
2GB Patriot Dual Channel 3-3-3-8 Ram
AMD Opteron 180
8800GT

I'm all for someone brilliant fixing this problem! :D

Almas 04-15-2008 09:25 AM

Is there anyway yet known to prolong the strange problem clearing memory erasing cache something?

R0GUE 05-27-2008 05:21 PM

It seems that memory intensive apps can cause issues, as prolonged use of Photoshop CS3 causes this bug too. Adjusting the memory/performance settings within PS itself can stave off the bug for a while longer, but eventually it catches up. It's the only app that causes this for me which is a great shame as I use PS quite a lot.

rohitkpatil 05-31-2008 09:02 AM

Hi,

I am running Leo4all v3 10.5.2

I also had this issue, but when i switched from PCI WiFi card (D-Link DWL-G510 Rev c) to the USB WiFi stick(D-Link DWL-G122) , the problem solved.

Xbench score = 155 (Without Disk Test)

Xbench Score = 122 (With Disk Test)

My sys config::

AMD Athlon FX-60 @ 2.6 GHz
Asus A8N -SLI Deluxe
2 GB Mushkin DDR500 Ram @ 400 MHz
eVGA 8800GT SC 512 MB (GFX-String with NVinstaller.41 and patched Div ID Files, QE / CI Enabled)
Asus SATA DVD-RW
Seagate 250 GB SATA II HDD

rohitkpatil 06-03-2008 12:21 PM

One more update :
For people who having Logitech Mouse, there is Logitech driver and control utility for Mac OS x on Apple's site.

I found serious improvement using my Logitech USB keyboard/mouse.

http://www.apple.com/downloads/macosx/drivers/logitechcontrolcenter.html

check out

StealthMode 06-05-2008 03:58 AM

I only notice the mouse stutter bug when I am transferring large files, across HD's for instance. Otherwise everything works great. Is it something to do with the ata/sata drivers?

snyder9 06-13-2008 03:23 PM

Quote:

[cite] seren:[/cite]On my board its called MPS Version control i have a DFI Ultra-ii-m2 Nforce4-Ultra
Same on mine. I got a DFI Lanparty Nforce 4 SLI-DR.
Just switched it to 1.1
Will report back on what happens.

rohitkpatil 06-13-2008 03:54 PM

one more suggestion, in motherboard BIOS, try changing your ACPI -APIC settings. Try S3.

Avoid S1 and S3 together.

snyder9 06-14-2008 06:11 PM

Quote:

[cite] snyder9:[/cite]
Quote:

[cite] seren:[/cite]On my board its called MPS Version control i have a DFI Ultra-ii-m2 Nforce4-Ultra
Same on mine. I got a DFI Lanparty Nforce 4 SLI-DR.
Just switched it to 1.1
Will report back on what happens.
System running for 30+ hours now. One Firefox crash (probably website related).
No mouse movement bug though as yet. :)

snyder9 06-16-2008 12:08 PM

Unfortunately about 5-6 hours later, the mouse movement bug reappeared along with some weird behavior in Safari and segmentation errors repeatedly crashing Adium.
I changed the ACPI settings to S3 but this didn't seem to help.
Installed the 9.2.2 kernel, and though the system felt a little smoother - the mouse bug was still persistent.

Would this bug show up if I install leo4allv3?

rohitkpatil 06-17-2008 07:06 PM

Quote:

[cite] snyder9:[/cite]Unfortunately about 5-6 hours later, the mouse movement bug reappeared along with some weird behavior in Safari and segmentation errors repeatedly crashing Adium.
I changed the ACPI settings to S3 but this didn't seem to help.
Installed the 9.2.2 kernel, and though the system felt a little smoother - the mouse bug was still persistent.

Would this bug show up if I install leo4allv3?
I am using Leo4all v3, and i have no problems, so i guess you can give it a shot.

Voyn1x 06-18-2008 01:59 PM

I've reverted to using CPUS=1 until a proper fix has been found :(

Stability is more important to me than performance. Nothing worse than an app quitting and losing work!

Puttabong 06-18-2008 02:02 PM

Voyn1x, if you haven't already, try Leo4Allv3. It might solve the problem.

However, I use zephy's release and it seems to work fine, even after about 10 hours of uptime.

R0GUE 06-18-2008 02:29 PM

You seem to be one of the lucky ones Puttabong. My machine runs great, but as soon as I start loading files into Photoshop, run a few filters and layer styles, the bug appears and a reboot is necessary. I'm toying with installing Leo4All until my Intel kit arrives.

Voyn1x 06-18-2008 07:17 PM

@Puttabong, yeah i've thought about it - i'm hoping it might of fixed itself after updating to 10.5.3. I haven't got around to trying it again without CPUS=1 yet.

I'll report back when I have. :)

snyder9 06-18-2008 08:43 PM

Quote:

[cite] rohitkpatil:[/cite]
Quote:

[cite] snyder9:[/cite]Unfortunately about 5-6 hours later, the mouse movement bug reappeared along with some weird behavior in Safari and segmentation errors repeatedly crashing Adium.
I changed the ACPI settings to S3 but this didn't seem to help.
Installed the 9.2.2 kernel, and though the system felt a little smoother - the mouse bug was still persistent.

Would this bug show up if I install leo4allv3?
I am using Leo4all v3, and i have no problems, so i guess you can give it a shot.
Can you tell me what all you have changed in the BIOS (if anything) to solve the problem?
Memory Timings, APIC, etc.

The stuttering problems usually for me occurs after watching 720p content which puts a lot of strain on my 4200+X2 with VLC.

Also, does it matter that I have 512mb x 4 running in dual channel in my system? I read earlier in this thread that someone solved the problem running 3gb instead or 4gb. Is this the same sort of problem?

Ianxxx 06-19-2008 02:31 PM

Quote:

[cite] snyder9:[/cite]
Quote:

[cite] rohitkpatil:[/cite]
Quote:

[cite] snyder9:[/cite]Unfortunately about 5-6 hours later, the mouse movement bug reappeared along with some weird behavior in Safari and segmentation errors repeatedly crashing Adium.
I changed the ACPI settings to S3 but this didn't seem to help.
Installed the 9.2.2 kernel, and though the system felt a little smoother - the mouse bug was still persistent.

Would this bug show up if I install leo4allv3?
I am using Leo4all v3, and i have no problems, so i guess you can give it a shot.
Can you tell me what all you have changed in the BIOS (if anything) to solve the problem?
Memory Timings, APIC, etc.

The stuttering problems usually for me occurs after watching 720p content which puts a lot of strain on my 4200+X2 with VLC.

Also, does it matter that I have 512mb x 4 running in dual channel in my system? I read earlier in this thread that someone solved the problem running 3gb instead or 4gb. Is this the same sort of problem?
Your memory configuration should make no difference the 4gb problem is caused by 32 bit limitations. As for solving the mouse movement bug as far as I know the only cure is still the idle halt in com.apple.boot.plist "see earlier in this thread". If you use it keep a close eye on your processor temperature.

Voyn1x 06-19-2008 07:14 PM

I thought IDLEHALT=0 had cured it for me initially, but after working for a period of time in photoshop the jumpy mouse came back unfortunately :(

It only seems to delay the problem.

naquaada 06-19-2008 07:27 PM

Have you tested the keyboard mouse? Go in System Preferences -> Universal Access -> Mouse and switch on the keyboard mouse. Now you should be able to control the pointer with the numpad keys.

Have you a function 'USB Legacy support' enabled in BIOS? Some computers have problems with mouse and/or keyboard if it's enabled.

R0GUE 06-19-2008 07:30 PM

Quote:

[cite] Voyn1x:[/cite]I thought IDLEHALT=0 had cured it for me initially, but after working for a period of time in photoshop the jumpy mouse came back unfortunately :(

It only seems to delay the problem.
Exactly the same problem here mate.

naquaada 06-19-2008 07:33 PM

Hm, the only problems with mouse I ever had were artefacts caused by a wrong gfx driver. On 5 machines, all using Logitech PS/2 mouse/keyboard combos. But USB works too.

I read a long time ago that AMD stuttering problems could be solved to set the CPU multiplicator to a .5 value if the BIOS supports this. so 10.5 insted of 11. But this was maily ment to Dual-Core CPU problems.

R0GUE 06-19-2008 09:09 PM

I'm going to try running with the cpus=1 flag and see how that works out. From what I gather it might well be attributed to a timing issue between the two cores, so rather than use idlehalt flag I'll see how this pans out.

snyder9 06-19-2008 09:47 PM

cpus=1 is very stable for me.
It's not ideal though if I you can't use both cores. I can barely play 720p with one core only.

As for the multiplicator, if I change it to 10.5 what else do I have to adjust as my system does not POST on this setting.
FSB is at 200 and LDT/FSB freq ratio is on Auto. I have a 4200+ X2.

naquaada 06-19-2008 10:45 PM

It is perhaps depending on the mouse resoulution? My pointer speed is set at the third marker from the left, but I need only 2 x 2 cm to span the 1600 x 1200 pixel screen size. Don't know which resolution my mouse has, maybe 800 or so. It's an optical mouse.

Voyn1x 06-19-2008 10:48 PM

Quote:

[cite] naquaada:[/cite]Have you tested the keyboard mouse? Go in System Preferences -> Universal Access -> Mouse and switch on the keyboard mouse. Now you should be able to control the pointer with the numpad keys.

Have you a function 'USB Legacy support' enabled in BIOS? Some computers have problems with mouse and/or keyboard if it's enabled.
I do have legacy support enabled in the bios. Surely if it was that then cpus=1 shouldn't make a difference but it does. With this kernel flag my system is solid as a rock, unfortunately losing 25 points off my xbench score in the process :(

@ Rogue, i am inclined to agree it must be a timing issue - seems everyone who has experienced this problem are all running x2 processors.

naquaada 06-19-2008 11:27 PM

I have an Opteron 185, it's a also a Dual-Core cpu, it's working perfectly, no mouse problems. I even use it overclocked from 2,6 Ghz to 2,86 GHz, still no problems.

Do you have the mouse problem already in the installation DVD or in safe mode (boot with -x). Maybe it's a gfx driver problem. I also have deleted all GeForce, NVDA* and other ATI gfx kexts except my RadeonX1000 kexts.

R0GUE 06-20-2008 09:01 AM

My machine has now been up for well over 12 hours without any sign of the bug. Last night I was working in Photoshop without a hitch and after leaving the machine on over night it's still running along quite happily. I'm wondering if certain apps that use SMP are causing the problem - more specifically third party apps. I think it's safe to assume that this is not a 'mouse bug' per se, but a timing issue between the two cores making the system skip and stutter and the mouse pointer to freak out. I'll keep on testing and report back in later.

naquaada 06-20-2008 11:34 AM

Could you tell me your bus frequency and the multiplicator settings? Mine is actually 220 MHz, Multiplicator 13x, Vcore 1.3125 V. I'll test the settings you have when you post them. But I presume you both thave an Athlon 64 X2 processor which have 2x 512K Level-2-Cache. The Opteron series and the FX-60 (Socket 939) have 2x 1MB L2-Cache. I phoned with the AMD support and they said they're replacing the missing 512K with 200MHz more bus frequency.

Was a great game yesterday, Germany-Portugal. I'm no big soccer fan, but it was good for me: I got a 7 Euro Paypal-Coupon from ebay 'cause we're in the semi-final :-D

Puttabong 06-20-2008 01:22 PM

Voyn1x, we have the same CPU, hence I don't believe the mouse stuttering problem is related to Dual Core. Actually I can remember that I had this problem a long time ago, when I was starting with OSx86. I think it must be due to (driver?) incompatibilities because apparently I didn't experience this problem for months, since my machine is configured fine.

Tell me what I shall do to test whether I really don't have the problem - which tasks shall I run?
I use a lot of resources of my machine and most of the time got it running for several hours.

Voyn1x 06-20-2008 02:01 PM

@naquadda,

I'll be able to give my bios settings tomorrow, i'm away from my hack until then :)

@Puttabong,

Try running some heavy filters in photoshop, or do something cpu intensive.

The problem doesn't normally appear until at least 10hrs+ have passed. You'll notice it most if you try to drag a window around, you should see it jump about. Leave Firefox open and see if it quits with a 'divide by zero' error at all, it normally quits every couple of hours for me.

Eventually you should start to get the 10810 error which is only fixable by logging out and back in again. I believe this is all related to the mouse bug since all of these issues are solved if i you boot with cpus=1.

Voyn1x 06-20-2008 02:19 PM

to add, when using cpus=1 my system was up for 2 weeks with no reboots or errors of any kind.