FS#75867 - [mupen64plus] Fix for "Core Error: SDL_SetVideoMode failed: Parameter 'pitch' is invalid" error

Attached to Project: Community Packages
Opened by John Doe (rgfx81wcc2) - Saturday, 10 September 2022, 13:46 GMT
Last edited by Daniel Bermond (Bermond) - Saturday, 01 October 2022, 13:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel Bermond (Bermond)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

With current version (2.5-21), the following error occurs when trying to load any ROM:

Core Error: SDL_SetVideoMode failed: Parameter 'pitch' is invalid
Video Error: Failed to set 32-bit video mode: <screen_resolution>
Core Status: Rom closed.

- Original bug report: https://github.com/mupen64plus/mupen64plus-core/issues/969
- Commit that fixes the issue: https://github.com/mupen64plus/mupen64plus-core/pull/970/files
- Was fixed on Gentoo yesterday: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb0b1af8eaca82d0eef36eaa5de9145f5bc9919
This task depends upon

Closed by  Daniel Bermond (Bermond)
Saturday, 01 October 2022, 13:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  mupen64plus 2.5-23
Comment by Mario (VaarSuvius) - Friday, 16 September 2022, 22:06 GMT
Related to this, i have created an issue upstream, where i ask, if a new release would be possible [1]. 2.5 is 7 years old, that is quite a long time. Let's see how (and even if) they react.

For the meantime (or for longer, depending on what happens), feel free to integrate the attached patch (the same one as from the commit linked in the description above) into the PKGBUILD.

[1] https://github.com/mupen64plus/mupen64plus-core/issues/973

Comment by Mario (VaarSuvius) - Friday, 16 September 2022, 22:09 GMT
Besides, given that the application in the package does currently not work at all, and according to the list in bug reporting guidelines, i think the severity of this issue should be "High".
Comment by Daniel Bermond (Bermond) - Tuesday, 20 September 2022, 00:29 GMT
I've pushed an update to [community-testing]: mupen64plus-2.5-23.

Could you please test it?
Comment by Mario (VaarSuvius) - Tuesday, 20 September 2022, 00:49 GMT
2.5-23 from [community-testing] works for me.
Comment by Daniel Bermond (Bermond) - Tuesday, 20 September 2022, 01:51 GMT
Thank you for testing and reporting, Mario.
Comment by John Doe (rgfx81wcc2) - Tuesday, 20 September 2022, 16:47 GMT
All good here too after updating to 2.5-23. Thanks.
Comment by Mario (VaarSuvius) - Monday, 26 September 2022, 13:23 GMT
Thanks for integrating the fix, Daniel!

By the way, 2.5-23 is still in [community-testing]. Is there something keeping it from being moved to [community]?
Comment by Daniel Bermond (Bermond) - Saturday, 01 October 2022, 13:47 GMT
I was just waiting for sdl12-compat 1.2.56 to be moved from [community-testing].

mupen64plus 2.5-23 now on [community].

Loading...