PDA

View Full Version : ST19/Cemu freezing


bj62
05-31-2008, 02:39 PM
I run ST19 with Auxshare on one receiver and cemu on another. With both running I noticed both freeze at different times. When st19 freezes, Cemu is working. When Cemu freezes St19 is working. It seems to cycle between the two every 1 to 3 minutes. Anyone else notice this?

MIKEHAWKISLARGE
05-31-2008, 03:58 PM
Same here on st19 bev

JT
05-31-2008, 08:54 PM
Not getting it on Charlie, but Cemu on Bev is freezing regularly here. Try recompiling with the module0 that seaboard posted yesterday. I'm guessing that will clear things up.

andyman
06-01-2008, 05:04 AM
after recompiled still has freezing?

MIKEHAWKISLARGE
06-01-2008, 07:53 AM
Read i was a timing issue we may need a new auxshare

bj62
06-01-2008, 03:02 PM
recompiled - still freezes. Freeze alternates between CEMU and ST19. When one application freezes, the other is working.

JT
06-01-2008, 04:26 PM
Bev or Charlie guys? Charlie seems fine.

MIKEHAWKISLARGE
06-01-2008, 04:54 PM
Bev JT

bj62
06-01-2008, 06:49 PM
Bev

sumpin4me
06-01-2008, 09:02 PM
which version of cemu are you guys running?
for the freezing with B3V in version 2.09h, try this:

open the nagra2.cc file, and comment out line 854 like such:


BN_mod_exp(B, A, B, D, ctx);
//BN_one(A);

mapCycles = val;

btw, this is in the "cMap0101::Map3e" section. credit for this mod goes to Fireball-xb1. :D

and while you are at it, if you haven't already done the Eeprom update patch for 2.09h it needs that too:

in nagra2.cc at line 1537 increase the loop counter to 200,000 like such:

AddBreakpoint(0x6053);
AddBreakpoint(0x90ec);
while (!Run(200000)) // changed 2.09h
{
switch (GetPc())

credit for this mod goes to fathi. :D

re-compile after these changes and try that guys....

report back.

MIKEHAWKISLARGE
06-01-2008, 09:18 PM
Using ST19 anyone have an idea of what the problem is?

badbrains
06-01-2008, 10:28 PM
which version of cemu are you guys running?
for the freezing with B3V in version 2.09h, try this:

open the nagra2.cc file, and comment out line 854 like such:


BN_mod_exp(B, A, B, D, ctx);
//BN_one(A);

mapCycles = val;btw, this is in the "cMap0101::Map3e" section. credit for this mod goes to Fireball-xb1. :D

and while you are at it, if you haven't already done the Eeprom update patch for 2.09h it needs that too:

in nagra2.cc at line 1537 increase the loop counter to 200,000 like such:

AddBreakpoint(0x6053);
AddBreakpoint(0x90ec);
while (!Run(200000)) // changed 2.09h
{
switch (GetPc())credit for this mod goes to fathi. :D

re-compile after these changes and try that guys....

report back.

Getting unknown map type: 21

Black screen after 15 mins

Anyone have any luck with this?

bj62
06-01-2008, 10:54 PM
I'm using cemu version 1.3.43 and compiling with the latest module0 patch.
It did work well until yesterday. Now it freezes every 1 to 3 minutes for about 1 to 3 minutes.

JT
06-02-2008, 12:29 AM
Can confirm freezing on Bev with both Cemu and st19xl. Got to be a timer issue on bev for romless users.

bj62
06-02-2008, 01:11 AM
Can it really be a timer issue when the instant st19 freezes Cemu comes on and the instant cemu freezes ST19 comes on? Occasionally they are both on, but never both freeze at the same time. I have a split screen TV with one receiver connected to video 1 and the other connected to video2. I can watch both receivers at the same time. Video1 receiver running ST19 and Video2 receiver running Cemu.

oldtech58
06-02-2008, 01:47 AM
that's only one instance(with st19) it still could be a hardware problem in that situation.
st19 auxshare cardless has not been freezing for me. using laptop with just over a 2gig
cpu. then there's the "max mel" or derivative there of,it could be missing a beat.

only referring to d**h on this. yes timing could vary with individual equipment in use.

sumpin4me
06-02-2008, 03:49 AM
Getting unknown map type: 21

Black screen after 15 mins

Anyone have any luck with this?

Oh ok, i was unaware that B3V was using map21. then these mods will not work. these would only solve the minor freezing with the Map3E function.

none of the 3 versions of cemu include map21 at the present time.

sLaShEr
06-02-2008, 04:35 PM
So is auxshare working with d*sh? I wasn't aware that there was any problem - can anyone confirm?

If you are having issues - please post a log of aux communications.

sLaShEr.

Gamble
06-02-2008, 05:23 PM
Auxshare/St19 is working fine here on DN

sLaShEr
06-02-2008, 05:37 PM
Auxshare/St19 is working fine here on DN

Thanks Gamble,

Can you tell which map is being called?

sLaShEr.

Gamble
06-02-2008, 06:29 PM
sLaSher,

Sent you PM with log

sumpin4me
06-11-2008, 08:20 AM
guys, try this for freezing on b3v using cemu versions 1.3.X and 1.97b.

found at another site posted by Fireball and said to be working. replace the module1.inc with this and recompile.

{ // module 1 for b*v and d*sh 20080502 v3
BIGNUM *A=BN_new(); BIGNUM *B=BN_new(); BIGNUM *C=BN_new(); BIGNUM *D=BN_new();
BIGNUM *J=BN_new(); BIGNUM *Z=BN_new(); BN_CTX *ctx=BN_CTX_new();
unsigned char *_a=hw,*_b=&hw[0x10],*_c=&hw[0x20],*_d=&hw[0x30],*_j=&hw[0x40],*_z=hw;
unsigned int m=0x27+0x72+(A00[4]&0x3F)-0x79;
A00[0]|=A00[9];
memset(hw,0,sizeof(hw));
memcpy(hw,A00,0x05);
ExpandInput(hw);
RotateBytes(_a,0x10); BN_bin2bn(_a,0x10,A); RotateBytes(_a,0x10);
RotateBytes(_b,0x10); BN_bin2bn(_b,0x10,B);
RotateBytes(_c,0x10); BN_bin2bn(_c,0x10,C);
RotateBytes(_d,0x10); BN_bin2bn(_d,0x10,D);
RotateBytes(_j,0x08); BN_bin2bn(_j,0x08,J);
switch (m) {
case 0x39: //39,D0,04,
case 0x21:
{
BIGNUM *v=BN_new();
BN_zero(v);
BN_sub(J,v,D);
BN_set_bit(J,0);
BN_set_bit(v,64);
BN_mod_inverse(J,J,v,ctx);
BN_mask_bits(J,64);
BN_mod(D,D,v,ctx);
BN_mul(C,J,D,ctx);
BN_rshift(C,C,64);
BN_mask_bits(C,64);
BN_copy(Z,C);
memset(_z,0,8);
}
break;
case 0x38: //38,46,04,280
{
BIGNUM *s = BN_new();
BIGNUM *x = BN_new();
int Boctets=(BN_num_bytes(B)+7)>>3;
BN_zero(s);
for(int i=0; i<Boctets; i++) {
BN_rshift(x,B,i<<6);
BN_mask_bits(x,64);
BN_mul(x,x,B,ctx);
BN_add(s,s,x);
BN_copy(x,s);
BN_mask_bits(x,64);
BN_mul(x,x,J,ctx);
BN_mask_bits(x,64);
BN_mul(x,x,D,ctx);
BN_add(s,s,x);
BN_rshift(s,s,64);
BN_copy(Z,s);
if(BN_cmp(s,D)==1) { BN_sub(s,s,D); }
}
memset(_z,0,0x10);
}
break;
case 0x3A: //3A,4E,16,1408
{
BIGNUM *v=BN_new();
BN_zero(v);
BN_set_bit(v,136);
BN_mod(Z,v,D,ctx);
memset(_z,0,0x10);
}
break;
case 0x3E:
{
BN_mod_exp(B, A, B, D, ctx);
BN_copy(Z,A);
memset(_z,0,0x10);
}
break;
}
BN_bn2bin(Z,_z); RotateBytes(_z,BN_num_bytes(Z));
for (int i=11;i>-1;i--) hw[i]^=hw[i+4]; memset(&hw[4],0,0x7C);
}