-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS7 on A5 devices load game crash generally #5047
Comments
more info is nesesary.......... my iphone 5S is fine using the latest build. angelxwind repo. |
Well, the iPhone 5S doesn't use an A5, only the iPhone 4S does (and certain iPads and etc.) It probably crashes on devices that aren't rooted and jailbroken, not sure, have not tested. -[Unknown] |
A7 is fine, but 4s and ipad2 is broken. |
Did it used to work? It would help immensely to know which version was the first to not work, and which before that last did work. -[Unknown] |
I'm testing. |
Ios5 on an A5 device works fine, but ios7 is broken. 0.9.1-2286 is crash when loading game. |
0.9.1-2286 is hold build try to install the latest build from angelxwind repo. is v0.9.6-372 after that reply here. |
The latest version of the a5 devices all crashes. |
um very strange issue,affected only A5 devices. in IOS 5 all builds working on A5,but not in IOS 7,right? also this problem no afected A6/A7 chips on Ios 7. maybe you have very low Ram in ios 7,try to run ppsspp in safe mode? |
That's true, A5 device's RAM was too small. If cleans up the good memory to enter again, the crash probability is small |
So I have given it some more tests - games simply won't start on my ipad 2 anymore, whatever settings I use (and I've spent a lot of time trying them all). |
What happens when you try to build with Xcode on Mavericks? -[Unknown] |
I finally decided to take the plunge and JBed my Ipad 3 (which is on 6.1.x firmware) with posixpwn a few days ago. Tried out PPSSPP (angelxwind repo, v.0.9.6-566-gb333e5b) on it, and am facing the same issue in this report. In my case though it seems like the HW Transform setting might be the key. PPSSPP crashes when loading quite a number of games with it on, but with it off, those games don't crash when loading. Games tested include Crisis Core (outside the Shinra building it crashes with a 100% certainty if HW Transform is enabled.). |
This is why an archive of iOS builds would be useful, and not just the latest and greatest.. |
Is there an easy way to get logs from the iOS builds? |
See #5191. iPhone Configuration Utility should do it, apparently. -[Unknown] |
Ah, good. Mostly interested if this is shader compilation errors or something else. @solarmystic could you install the iPhone Configuration Utility and see if you can grab a log? Will have an iOS setup of my own soon, too. |
I have reached out to angelXwind see if by chance she keeps an archive of If not I'll come back and ask advice to get Xcode to compile again (I'll On Tuesday, January 28, 2014, Henrik Rydgård notifications@github.com
|
She's explaining me how to fix Xcode in Mavericks:
I won't be able to try until next week but I'll give it a shot. |
It seems this does not affect all games: #3179. That fact is probably very important. Understanding what games do and don't work (and more importantly what those games do and don't do) would probably help a lot. -[Unknown] |
Yes, I have tried systematically those games I have and here's the outcome: Starting every time: Starting sometimes (random, may depend on what programs are in the Not starting: On Thursday, January 30, 2014, Unknown W. Brackets wrote:
|
@unknownbrackets |
Did you use the ios toolchain file with cmake as per the instructions? If yes, I don't know... maybe the toolchain file isn't working well with the new Xcode version. -[Unknown] |
if by this you mean http://iosopendev.com/download/ then yes, unfortunately. Sorry I'm very new at this, and would really need some help to get going... I hope one of the iOS devs specialists can help compile the old versions (between v0.9.6-338-g367a5b7 and v.0.9.6-566-gb333e5b) to narrow down the bug. |
I have reinstalled macports, then cmake, then started anew from scratch, and now stuck when compiling ffmpeg - gcc unable to create an executable file ... |
Oh, it's in xxhash? Try disabling the XXH_USE_UNALIGNED_ACCESS define. -[Unknown] |
Yep disabling the XXH_USE_UNALIGNED_ACCESS fixed it. |
Sounds like we need an iOS check or something. Maybe clang provides us with information gcc doesn't here. Interesting if this is affecting iOS 7 specially, though... -[Unknown] |
Tried to compile with older XCode (4.6.3 + iOS SDK 6.1) - Monster Hunter works without disabling XXH_USE_UNALIGNED_ACCESS. Seems like issue with newer Clang, not iOS 7. |
Ah, newer clang. It may even be that it was not generating unaligned accesses before even when requested, and now they changed it to be able to... or something. Well, XXH_USE_UNALIGNED_ACCESS has confused both me and @xsacha. The comment above it and its name make it hard to be sure if defining it as 1 makes it use aligned addresses or not. But yes, whatever is faster and less crashy seems better for sure. Doing it specifically for iOs makes sense. Worth noticing: xxhash has been updated since we pulled it in: The latest change is related to alignment so this may be related. We should probably update it. -[Unknown] |
As a followup onto my previous comment (#5047 (comment)), I've discovered a build that does not crash with the games I've tested, even when Hardware Transform (which as I mentioned earlier on seems to be the decider) is enabled on my JB'ed Ipad 3 with 6.1.x firmware. It's 0.9.6-187 038b0f5 which I manage to find thanks to this helpful poster (Nishe76, http://forums.ppsspp.org/showthread.php?tid=9055&pid=71689#pid71689) in the iOS section of the ppsspp forums. Games tested:- @hrydgard @unknownbrackets @brujo5 Also, is there a way to take in app screenshots for the iOS ppsspp app to attach it to a github post when reporting issues? |
Press the power and home buttons at the same time (iirc.) It will take a screenshot in your Photos. So, I guess sometime after that build is when the problem started? -[Unknown] |
Just to recap, there seems to be 2 problems at play: |
With the latest build (v0.9.6-802) the crash to desktop is still present on A5 devices. That said, turning off HW Transform seems to randomly make some games start (for example Danganronp, FF7CC , MGSPW, started - but still not P3P, Patapon 3, 3rd Bday - and these just don't start anymore: Star Ocean, GoW, Hakuoki). |
It's probably not hardware transform, but rather vertex cache. The problem is likely xxhash. Hardware transform off means vertex cache is also off. You should get better performance with vertex cache off and hardware transform on. -[Unknown] |
HW Xfm ON + Vertex Cache off: still crash to springboard HW xfm OFF : Vertex cache OFF: |
Hmm. Then it's probably a shader compile error I guess. I was under the impression that some games started to crash after the xxhash change, that weren't crashing before. Maybe this was only on non-A5 or non-iOS 7 devices. -[Unknown] |
The commit you did to fix xxhash seemed to do the trick at least partially! So here the outcome: |
So it seems the bulk issue is fixed and maybe this thread can be closed, @unpeng ? |
How is this now? -[Unknown] |
As far as I can tell, it's all good now since the commits from kaienfr On Sunday, March 16, 2014, Unknown W. Brackets notifications@github.com
|
(I think this was fixed at same time as #5513 but as I didn't extensively On Sunday, March 16, 2014, Benoit Sauvage
|
No description provided.
The text was updated successfully, but these errors were encountered: