justmike said:Why would you not load games through base 58 from 249?
Because it's still buggy, many games are not working and it's slow.
justmike said:Why would you not load games through base 58 from 249?
BBogey said:justmike said:Why would you not load games through base 58 from 249?
Because it's still buggy, many games are not working and it's slow.
justmike said:BBogey said:justmike said:Why would you not load games through base 58 from 249?
Because it's still buggy, many games are not working and it's slow.
Not worth it then.
BBogey said:If drive spin downs or load_count_cycle is still growing rapidly, I might try change the watchdog timer to 4 seconds to prevent the heads be parked or spin down. But with latest ehci there still might be the controller lag issue, when running watchdog, so the root cause needs to be found.
davebaol said:@BBogey and every coder out there
Can you please investigate about difference in loop.c between rev19 (no lag) and rev20 (first rev with lag)?
I'm pretty sure ehci module in rev20 has been committed in date 2010-07-31 while ehci in rev19 is the older one committed in date 2010-02-27.
Here is ehci module history: https://github.com/waninkoko/ehci-module/commits/master/
Main difference in rev20 is the addition of es.c source which define a new function for retrieving title_id.
This function is invoked by loop.c in the main loop when opening the device.
Do you think this function call can cause the infamous lag?
EDIT:
I was a good coder 10 years ago, so I can inspect code and speculate on it but actually I'm not able to compile source for Wii.
Yes really slow, maybe about 5-10 times slower. I didn't measure it.davebaol said:Interesting.... after reverting just thread priority are loading times slower than original rev19?
BBogey said:I'm pretty worried that when ehci module is making wake up calls to disk every 10 seconds, and increases load_cycle_count, it wears my drive too quickly.
So I compiled the latest ehci source from wanikokos git (commit f53e23c7f747cca9028ca6002b616b5a0fca378f), and disabled the watchdog for waking up the drive.
If someone else who has problems with games with rev19 ehci, you could try this method also.
Edit: Here's the complied elf with watchdog disabled: http://www.megaupload.com/?d=LOCO5THU
Just replace it in modmii modules rev19 folder, remove old wad and then build the 249beta wad again.
netspy said:Thanks BBogey, nice work !
I can confirm what x4mer just said before. With your modified EHCI rev21, the controller lag occurs when you come back to the Warioland Shake It menu after waiting for a little while. With EHCI rev19, the lag seems to have disappeared completely.
I have had nothing but positive results.justmike said:Is it safe to do so, any problems encountered thus far or is it good to go?
AFAIK only drawback is Shaun White Skateboarding doesn't work.Lacius said:I have had nothing but positive results.justmike said:Is it safe to do so, any problems encountered thus far or is it good to go?
Hi Xflak, thanks for your great work!XFlak said:Download ModMii4.4.5B-BETA HERE
This is a special test version of ModMii for people experiencing controller lags with cIOSs using base IOS56
This BETA version of ModMii can build cIOS249[56]-v21[EHCI-v19].wad for testing from Download page 4
Enjoy!
It's absolutely normal since the EHCI module has been replaced so MD5 check fails.[*]Use MultiMod Manager to install cIOS249[56]-v21[EHCI-v19].wadQUOTE said:Checking entries in COPY_TO_SD\Download_Log.md5
COPY_TO_SD\WAD\cIOS249[56]-v21[EHCI-v19].wad: Invalid
Results: 1 files processed, 0 good files, 1 bad files.
Wow! thanks davebaol, I'll test it now!davebaol said:Ok guys, after sleeping 10 years the old coder in me is risen again.
I've fixed the lag issue in ehci module of rev21.
It was a stupid bug inside the timer used by the watchdog.
Here is the final result:I've heavily tested this solution with 4 different drives affected by lag issue, one of them (a Western Digital Elements SE - 2,5" - 1TB) manifesting severe symptoms, a 10 seconds cycle with the following base sequence:
- the lag is completely gone
- the watchdog is alive and kicking (contrary to BBogey's solution)
- Shaun White Skateboarding works perfectly on base 56 and 57 (previous cIOS249[56]-v21[EHCI-v19] doesn't support that game).
Now all my drives run fluently.
- 1 sec. LAG
- 1 sec. NO LAG
- 1 sec. LAG
- 7 secs. NO LAG
Here is a compiled version of the fixed ehci module ready to build the cios with ModMii4.4.5B-BETA (just replace the module)
http://www.mediafire.com/?h4izwbtbfazj5je
Hope you like it