Galaxy s7 edge crash
|
03-17-2016, 03:24 PM
Post: #16
|
|||
|
|||
RE: Galaxy s7 edge crash
The S7 is out for just a week, it's normal that it'll take some time.
|
|||
03-18-2016, 04:32 AM
Post: #17
|
|||
|
|||
RE: Galaxy s7 edge crash
Same problem on my galaxy s7 edge. Following thread.
|
|||
03-18-2016, 09:30 AM
Post: #18
|
|||
|
|||
RE: Galaxy s7 edge crash
Hopefully a nightly build will be released which has better compatibility. I guess just keep testing with all the new releases that comes out to see if it works.
|
|||
03-20-2016, 06:09 AM
Post: #19
|
|||
|
|||
RE: Galaxy s7 edge crash
Latest nightly seems good so far but haven't done much testing.
|
|||
03-20-2016, 04:50 PM
(This post was last modified: 03-20-2016 05:59 PM by Bronxc.)
Post: #20
|
|||
|
|||
RE: Galaxy s7 edge crash
Galaxy s7 edge, latest 1.2.2 don't work any games!! Crash on opening app.
Resolved: with Multithreaded on, I/0 timing method Simulate UMD delays and Frameskip auto, Audio Latency: high, Audio Sync off; works well!!!! Edit: nope, crash again!!!! |
|||
03-20-2016, 07:46 PM
Post: #21
|
|||
|
|||
RE: Galaxy s7 edge crash
Mine seems to work for a while.. Then keeps crashing. Can usually get it going again by deleting data and saves.
|
|||
03-22-2016, 03:01 AM
Post: #22
|
|||
|
|||
RE: Galaxy s7 edge crash
Does anyone have one of these devices and a compiler to test out some things?
It seems like it might be related to cache line sizes, but to verify that I need someone to try some code on the device. -[Unknown] |
|||
03-22-2016, 07:49 PM
Post: #23
|
|||
|
|||
RE: Galaxy s7 edge crash
If you can give me some steps I'll be glad to do it. I'm a tech savvy person currently majoring in computer science.
|
|||
03-22-2016, 10:15 PM
(This post was last modified: 03-22-2016 10:17 PM by chdcchris.)
Post: #24
|
|||
|
|||
RE: Galaxy s7 edge crash
Hey there. I'm coming from the Dolphin forum to report about the crashes. Dolphin seems to do the exact same thing when Dynarec JIT is enabled.
I've investigated the problem a bit with logcat and it seems that the crashes are very similar. If anyone is interested, here are both errors. Code: 03-22 23:40:30.997 18606-19793/? A/libc: Fatal signal 4 (SIGILL), code 1, fault addr 0x7f45bfd2e0 in tid 19793 (CPU thread) Code: 03-22 23:43:38.487 3152-3152/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Now I seem to have found a temporary workaround for this. I've made a video doing some random testing with PPSSPP and Dolphin. This video shows two crashes happening first, then later I get it to work. I don't seem to be able to post links yet, so I'll just post the youtube video id: watch?v=ayhFpSA-Jw0 This worked for me most of the times (With a few occasional crashes) As shown in the video: 1. Run PPSSPP 2. Disable Dynarec in settings 3. Run the game to a point after the crashes happen 4. Go back in settings and enable dynarec 5. Go back to the game with the back button 6. The game should run fine after that 7. If it just doesn't seem to work restart phone and try again. I have tried a similar method with dolphin and for me, it greatly increases the chances of running the game. I really hope this will help in finding the problem. If we can figure this out, it will help the Dolphin community too. |
|||
03-22-2016, 11:45 PM
(This post was last modified: 03-22-2016 11:47 PM by [Unknown].)
Post: #25
|
|||
|
|||
RE: Galaxy s7 edge crash
(03-22-2016 07:49 PM)cha0tic Wrote: If you can give me some steps I'll be glad to do it. I'm a tech savvy person currently majoring in computer science. Awesome. So first, you'll need to get going with an Android build setup. If you're on Linux, make sure you have ant and java and stuff installed. If you're on Windows, you can install WinAnt ( https://code.google.com/archive/p/winant/ ). Then get the Android SDK, and install it: https://developer.android.com/sdk/index.html (you can use the "Other options" if you want too.) And also the NDK: http://developer.android.com/ndk/downloads/index.html On Windows, you can also just get e.g. NVPACK, which basically has everything you'll need: https://developer.nvidia.com/codeworks-android Once you've got that installed, the next step is to grab PPSSPP. If you don't have it already, you also need Git. https://git-scm.com/downloads Then run in a terminal / command prompt: git clone --recursive https://github.com/hrydgard/ppsspp.git cd ppsspp/android If on Windows, use (insert your NDK path): set NDK=C:\AndroidNDK On Linux/Mac: export NDK=/path/to/ndk Now just type: ant debug This will make it compile. It could take 20 minutes, but once it's done, you can run this to install it on your device (make sure it's plugged in, and you've activated debugging by tapping the build identifier 7 times in Android settings): adb install -r bin/PPSSPP-debug.apk --- Once you've done all of the above, and you've made sure you can compile and run the app... it's time to actually make changes. Edit ppsspp/Common/Arm64Emitter.cpp, and look for this: Code: void ARM64XEmitter::FlushIcacheSection(u8* start, u8* end) This is the part that does cache invalidation. Just in case it is not invalidating incorrectly, what I want to try is increasing the size of the invalidation. There's some suspicion that the OS is calculating the wrong instruction cache line size. So replace the above with this: Code: void ARM64XEmitter::FlushIcacheSection(u8* start, u8* end) If that doesn't work, which it may not, we can try this one instead: Code: void ARM64XEmitter::FlushIcacheSection(u8* realStart, u8* realEnd) Another thing we can try, although it's silly, it could work - flushing twice: Code: void ARM64XEmitter::FlushIcacheSection(u8* realStart, u8* realEnd) If all else fails, we can try flushing *everything*, to try to confirm if it really is this or not (this could be not great for performance...): Code: void ARM64XEmitter::FlushIcacheSection(u8* realStart, u8* realEnd) After making each change, you can run "ant debug" to compile again, and the "adb install -r bin/PPSSPP-debug.apk" command again to reinstall on your device. It will be much quicker to compile the second time, since it only recompiles things you changed. If none of those things help, it probably isn't actually icache related. But that will be very interesting, if so. -[Unknown] |
|||
03-23-2016, 01:53 AM
Post: #26
|
|||
|
|||
RE: Galaxy s7 edge crash
I got Ubuntu on my laptop so I might try this at some point.
|
|||
04-04-2016, 06:07 PM
Post: #27
|
|||
|
|||
RE: Galaxy s7 edge crash
Any updates? Crashing on pretty much every single game with dynarec jit enabled.. disabling this runs the games fine but with major lag... galaxy s7 user
|
|||
04-06-2016, 07:19 PM
Post: #28
|
|||
|
|||
RE: Galaxy s7 edge crash
Not sure if anyone tried the things unknown posted, so assuming there's no update
|
|||
04-07-2016, 08:56 AM
Post: #29
|
|||
|
|||
RE: Galaxy s7 edge crash
Hopefully the devs will do their magic. Really want this to work. Upgraded from a s4 to an s7 edge and want to see how PPSSPP performs on this phone (when its fully optimised).
S7 edge. A powerful phone, but restricted by apps not optimised for it. (A good example is GTA San Andreas. Seems to be more buggy on the s7). |
|||
04-07-2016, 01:33 PM
(This post was last modified: 04-07-2016 01:33 PM by TkSilver.)
Post: #30
|
|||
|
|||
RE: Galaxy s7 edge crash
Unfortunately it is not always optimizations that are needed on Samsung devices.... sometimes Samsung just screws up drivers or base android with their "optimized version". So sometimes it is purely bug fixing what Samsung did differently from everyone else until they do something else odd and it starts all over again.
|
|||
« Next Oldest | Next Newest »
|