skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.1k stars 345 forks source link

Reicasts restarting the device after upgrading to kitkat #200

Closed sergioroprado closed 10 years ago

sergioroprado commented 10 years ago

My phone was on android 4.3 and everything was working fine with the emulator but after I updated the device to 4.4.2, randomly when I try to run a game, sometimes it restarts the phone. In San Francisco Rush 2049 this problem ALWAYS happens before starting the race.

Note: I tested all the compiled commits that I have (I have all) to see if this problem appeared only in some more rescente version or if it's a problem with 4.4.2 and found that in all of them the problem happens.

My device: Galaxy note 3 SM N9005 (Snapdragon 800)

sorry for my bad english

Sephkateno commented 10 years ago

@sergioroprado Ok so tried sonic adventure pal version and I think it's safe to assume that the game works ok so far played for over half an hour and the emu didn't crash the only change I did this time around in the settings is changing the dc region from drastic to NTSC-U/PAL-M/PAL-N Also what I forgot to mention is that the emu made my phone restart only once in game settings when i changed from 50 mhz to 60 mhz screen settings except that all went well will try playing again resident evil and will change kernel to see what gives.Will try san fransisco tomorrow my internet connection sucks at this time. Also I dond't know if it makes a diffence but my RECV rom is gdi and sonic adventure is cdi maybe that could be the cause of the fcs.

skmp commented 10 years ago

A reboot is a reboot. Since 50 hz leads to less reboots i bet its domething stressing the driver. Could be related to the unverified texture leak we have

Sephkateno commented 10 years ago

From what I can understand my game Resident evil code veronica makes the emu crash at some point after some progress has been made in game I tried leaving the game with frameskip on and do nothing for over 10 minutes it didn't crash then progressed the game like normal the emu crashes into a fixed point in the game but it isn't the rom because if I open the game again and resume from the last save point the game won't crash at the same point but later on into another point it is like making a save at 3% of the game total progress and the game crashes at 7% but if I resume from the save at 3% (after the crash at 7%) the game will crash at 13% of the game and if I make a save at 10% and continue after the crash the game will freeze at 17% it is like the emu can't handle too much and crashes and if you resume the emu it again crashes after the same amount of progress has been made....(Also the percenteges above are figuratively speaking)

Sephkateno commented 10 years ago

The game I have sonic adventure is cdi and the only reboot I had was from changing from 50 hz to 60 hz the game at the start let's you choose what freaquency you want if I set from there 60hz it won't reboot it will play like normal only from the settings the reboot happened and I didn't try it twice :-P The other game RE code veronica is gdi there the problem with the crashes is not bybassable I'm afraid so in general sonic adventure is way more playable than resident evil....

Sephkateno commented 10 years ago

Also is there a program to convert gdi to cdi maybe that's the case here....

AbandonedCart commented 10 years ago

Might be a flat out overflow.

Sephkateno commented 10 years ago

It can't be a kernel issue just tested on three very different kernels the crash on RECV is still there and on top of that tried another rom of the game on cdi format this time and still the same crashes happen

MrPsyMan commented 10 years ago

Yeah, it's a different issue. This issue is about the device rebooting. It's not about reicast crashing unexpectedly.

AbandonedCart commented 10 years ago

We can take this one to https://github.com/reicast/reicast-emulator/issues/367 since they are both Update == Restart

sergioroprado commented 10 years ago

@Sephkateno try this kernel: http://forum.xda-developers.com/showthread.php?t=2581888
This solved all my problems :)