Trying to load any game which loads a video (apparently) results in a crash. Trace below: 27:51:036 threadmain I[KERNEL]: HLE/sceKernelThread.cpp:2064 0=sceKernelStartThread(346, 40, 09753260) 27:51:036 threadmain I[KERNEL]: HLE/sceKernelThread.cpp:2064 0=sceKernelStartThread(347, 16, 0974f210) 27:51:037 MPEGreadThre I[ME]: HLE/sceMpeg.cpp:352 Stream offset: 2048, Stream size: 0x82800 27:51:037 MPEGreadThre I[ME]: HLE/sceMpeg.cpp:353 First timestamp: 90000, Last timestamp: 1080990 27:51:043 threadmain E[ME]: HW/MediaEngine.cpp:82 FF: Assertion 0 failed at libavcodec/utils.c:601 Aborted (core dumped) I guess this needs rebuilding against newer libavcodec. Thanks!
CC: (none) => jan-bugs
(In reply to JanKusanagi from comment #0) > Trying to load any game which loads a video (apparently) results in a crash. > > > I guess this needs rebuilding against newer libavcodec. > @ Rémi Are you OK with being the assignee for this bug report?
CC: (none) => marja11Assignee: bugsquad => rverschelde
PPSSPP was already rebuilt against the newest ffmpeg, but that's indeed what causes the issue. There is an upstream bug report about it, but without a fix so far: https://github.com/hrydgard/ppsspp/issues/9026
Keywords: (none) => UPSTREAMSee Also: (none) => https://github.com/hrydgard/ppsspp/issues/9026
Severity: major => critical
Thanks Rémi! Keeping an eye on that issue now.
Looks like they're making good progress \o/ https://github.com/hrydgard/ppsspp/issues/9026#issuecomment-289855718
For the reference, ppsspp 1.4.2 in Cauldron and Mageia 6 no longer crashes on videos, but they are badly decoded so not really enjoyable. Still, much less critical as games can still be played.
Summary: PPSSPP crashes on video load => PPSSPP badly decodes videos with ffmpegSeverity: critical => normal
Source RPM: (none) => ppsspp-1.4.2-1.mga6.tainted
Whiteboard: (none) => MGA6TOO
Seems like they fixed this upstream, so hopefully their next release can (really) fix this bug (that is, the video corruption) =)
I tested the patch locally on top of 1.6.3 and it's indeed much better. Not perfect yet (it's pretty choppy on the video I tried), but I'll wait for 1.6.4 and push that to Mageia 6.
For the record, 1.7.1 is out, and should have the fix for this included: http://ppsspp.org/#news =)
Thanks for the reminder, I'll work on the update now.
Fixed in Cauldron with ppsspp-1.7.2-1.mga7.tainted! There's another issue when building against recent FFmpeg (upstream froze their version at 3.0.2) which causes choppy playback of videos, but that's already better than a crash and games are playable: https://github.com/hrydgard/ppsspp/issues/11490 With some luck it might perform fine on Mageia 6 with ffmpeg 3.3.x. Mageia 6 advisory incoming once I've managed to build the update candidate.
Whiteboard: MGA6TOO => (none)Version: Cauldron => 6
Advisory: ========= Updated ppsspp package fixes crash on video decoding PPSSPP before 1.7.0 used to crash on video decoding when built against a recent FFmpeg system library (bug 9026). This is now fixed with version 1.7.2, also providing many new features and bug fixes. Video playback issues may still occur (bug 11490), but should no longer crash. This updates also introduces the rapidjson package in Mageia 6, which is a dependency for recent PPSSPP. References: - https://github.com/hrydgard/ppsspp/issues/9026 - https://github.com/hrydgard/ppsspp/issues/11490 RPMs in core/updates_testing: ============================= rapidjson-1.1.0-1.mga6 RPMs in tainted/updates_testing: ================================ ppsspp-1.7.2-1.mga6.tainted SRPMs: ====== core: rapidjson-1.1.0-1.mga6 tainted: ppsspp-1.7.2-1.mga6.tainted
QA Contact: (none) => rverscheldeAssignee: rverschelde => qa-bugs
@ Jan: I had choppy video playback after this update on Cauldron playing Crisis Core - could you test on Mageia 6 and see if it's the same, or if it performs better with older FFmpeg?
MGA6-32 MATE on IBM Thinkpad R50e No installation issues. At CLI: $ ppsspp 2008-08-28\ 07.51.03\ aus2008win2.avi Vulkan is not available. I: Config.cpp:490: Longest display side: -1 pixels. Choosing scale 1 40:14:129 Core/Config.cpp:1462 E[LOADER]: Failed to read /home/tester6/.config/ppsspp/PSP/SYSTEM/controls.ini. Setting controller config to default. I: NativeApp.cpp:560: Boot filename found in args: '2008-08-28 07.51.03 aus2008win2.avi' 40:14:188 Core/Config.cpp:1135 E[LOADER]: Error saving config - can't read ini '/home/tester6/.config/ppsspp/PSP/SYSTEM/ppsspp.ini' 40:14:203 Core/Config.cpp:1180 I[LOADER]: Config saved: '/home/tester6/.config/ppsspp/PSP/SYSTEM/ppsspp.ini' 40:14:203 Core/Config.cpp:1186 E[LOADER]: Error saving config - can't read ini '/home/tester6/.config/ppsspp/PSP/SYSTEM/controls.ini' 40:14:204 Core/Config.cpp:1193 I[LOADER]: Controller config saved: /home/tester6/.config/ppsspp/PSP/SYSTEM/controls.ini Pixels: 960 x 544 Virtual pixels: 960 x 544 Sorry, this program requires OpenGL 2.0. GL init error '' E: SDLMain.cpp:575: Output audio samples: 1024 (requested: 2048) loading control pad mappings from gamecontrollerdb.txt: SUCCESS! Segmentatiefout (geheugendump gemaakt) This old laptop has OpenGL 1.3, so this test is not possible. At least the avi file still plays OK in vlc, so the insttallation of ppsspp does not affect it.
CC: (none) => herman.viaene
@ Rémi, thanks for the update! I also use Cauldron, not Mga6, but I might be able to test on an Mga6 machine one of these days. I've checked that I also get choppy video playback (but at least, you can see the video xD). Choppy, in this case = fine for a few frames, then stop for 1/3 of a second or so, repeat, and so on. RE: rapidjson, I don't have that package installed after upgrading ppsspp to this 1.7.2.
@ Jan: Ok, you can test on Cauldron then. I've since pushed -3.mga7 and -4.mga7 which should also work around the choppy playback issue: http://svnweb.mageia.org/packages?view=revision&revision=1328671 It's not a proper fix as I had to revert an upstream commit, but it should be better than the alternative for the time being. I'll add that to the mga6 update candidate too. > RE: rapidjson, I don't have that package installed after upgrading ppsspp to > this 1.7.2. That's ok, it's a header-only compile-time dependency.
Video playback seems perfect with 1.7.2-4.mga7, thanks!! =)
@ Jan: Just pushed a less intrusive workaround for the choppy playback issue in 1.7.2-5.mga7, please check that it still works as expected. @ Herman: Indeed OpenGL 2 is needed for this one. Pushing the same to Mageia 6 too (building now, will be available within 1h): Advisory: ========= Updated ppsspp package fixes crash on video decoding PPSSPP before 1.7.0 could crash on video decoding, or produce a garbled output, when built against a recent FFmpeg system library (bug 9026). This is now fixed with version 1.7.2, also providing many new features and bug fixes. A workaround is also included for further video playback issues (bug 11490). This updates also introduces the rapidjson package in Mageia 6, which is a build dependency for recent PPSSPP. References: - https://github.com/hrydgard/ppsspp/issues/9026 - https://github.com/hrydgard/ppsspp/issues/11490 RPMs in core/updates_testing: ============================= rapidjson-1.1.0-1.mga6 RPMs in tainted/updates_testing: ================================ ppsspp-1.7.2-1.2.mga6.tainted SRPMs: ====== core: rapidjson-1.1.0-1.mga6 tainted: ppsspp-1.7.2-1.2.mga6.tainted
@ Rémi, everything's still fine with 1.7.2-5.mga7 =)
Something's not right here. I installed the older ppsspp on my 64-bit Plasma system, and it installed cleanly. I do not have any PlayStation games, so could not test that out. But, when I went to use Mageia Update to test if the update would install cleanly, it did not come up with the new rapidjson as a dependency, as described in Comment 11 and Comment 17. In fact, rapidjson did not appear on the Mageia Update list at all. And as I look at "New Dependencies" in the update's description, it tells me all dependencies are installed. Backing out of Mageia Update and going to drakrpm with testing repos still enabled, I see both ppsspp and rapidjson, but when selected they do not show as dependent on one another. As it stands now, if a user were to update ppsspp using Mageia Update, he would not get the rapidjson package with it.
CC: (none) => andrewsfarm
As mentioned in comment 15, rapidjson is only a build time dependency for ppsspp - it's used when building the package, but does not need to be installed on the users' system afterwards. So all good :)
Yet rapidjson still needs to be pushed with this update candidate, so that's it's available in Mageia 6 next time we want to build a ppsspp update.
(In reply to Rémi Verschelde from comment #20) > As mentioned in comment 15, rapidjson is only a build time dependency for > ppsspp - it's used when building the package, but does not need to be > installed on the users' system afterwards. So all good :) Thanks, Remi. I had missed that. Skipped over it, I guess. Going to claim a "senior moment." The ppsspp package updated cleanly, and rapidjson installed cleanly on my 64-bit system. Since the OP says ppsspp now works properly, it must be that rapidjson does, too. On the basis of all that, giving this a 64-bit OK, and validating. Advisory in Comment 17.
Whiteboard: (none) => MGA6-64-OKKeywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Advisory done from comment 17.
CC: (none) => lewyssmithKeywords: (none) => advisory
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0172.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED