Commit graph

82 commits

Author SHA1 Message Date
Jools Wills
5ceb82220f mupen64plus - fix building on rpi5 with aarch64 kernel + arm userland
Remove -ffast-math from makefiles on armv8. This option causes the following error when building on the rpi5 (armv8.2a):

    /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h: In function ‘float16x4_t vmul_n_f16(float16x4_t, float16_t)’:
    /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:17755:14: error: conversion of scalar ‘float’ to vector ‘float16x4_t’ involves truncation

This also disables it for other armv8 platforms (that didn't have this problem), but the option does come with some risks and was added to code which I don't think will benefit such as mupen64plus-ui-console.
2024-11-09 15:38:59 +00:00
cmitu
e440a026b4 mupen64plus: modify launch script for RPI detection
Since recent kernels don't have the BCM string in `/proc/cpuinfo`, update the Raspberry Pi detection to use the device tree.

Other updates:

 * simplifed the selection of the OMX output plugin and port number. Applies only to Pi models 0-4, since Pi5 cannot use OMX
 * disabled pre-setting the 'pulse' SDL audio driver for non-OMX/ALSA devices. SDL will try 'pulseaudio' ('pulse' is the SDL 1.2 name) then 'alsa' in this order, so there's no need to force it to 'pulseaudio'. Starting with 2.0.22, SDL supports a list of drivers in the AUDIODEVICE hint, but Buster based systems are not there yet.
2024-01-24 16:53:00 +00:00
dankcushions
3fe099a297 N64: Mesa: support high resolution modes 2020-02-07 20:58:41 +00:00
dankcushions
150fe433b7 highres mode for GLideN64 needs to be paired with a nativeResFactor=2 to work. 2020-01-29 10:42:19 +00:00
dankcushions
8ba782756f VSync patch now merged upstream. Removing. 2019-11-07 15:49:58 +00:00
Jools Wills
6cbbc1bec7 Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-10-30 15:09:56 +00:00
dankcushions
e082d09d13 Use 128MB cache size for rpi2+, 64MB for pi1/0. 2019-10-28 18:14:45 +00:00
dankcushions
319b1242ab Tidy up FBEmulation setting. 2019-10-28 18:10:32 +00:00
Jools Wills
828320c5cb Merge remote-tracking branch 'retropie/master' into fkms_rpi4 2019-10-26 22:11:14 +01:00
dankcushions
96e1d73217 FPS Counter hack no-longer works, and redundant since Zelda* is in the GLideN64 blacklist 2019-10-23 21:05:54 +01:00
Conn O'Griofa
b0c021cbd0 mupen64plus: remove EGL extension check bypass hack
Fixed via:
d6ad676436
4c87af5975
2019-10-06 02:22:00 +01:00
Conn O'Griofa
d516ad83c2 mupen64plus: debian buster & initial fkms support
* apply armv8 optimization based on platform flag (rpi3/4)
* remove kms blocking flag and add fkms & generic kms support
* consolidate launcher script execution arguments
* skip "emplace" patch for kms targets (no crash observed)
* apply EGL detection segfault patch for mesa
* disable all blacklist checking for mesa
* run kms targets in native resolution due to lack of modesetting or scaling on KMS.
2019-09-05 13:03:46 +01:00
Tim Felgentreff
e94efb6e10
Blacklist indiana jones n64 in a way that picks a config that runs 2019-03-15 08:18:45 +01:00
hissingshark
3e21a64598 Add detection/build params/fixes for Vero4k and let gitPullOrClone wind back to a specific commit 2018-07-19 09:08:19 +01:00
gizmo98
840be46ed6 mupen64plus: add blacklist for games which have major problems with GLideN64
Zelda has translucent textures
(https://github.com/mupen64plus/mupen64plus-core/issues/540). Conker
does not look right.
2018-03-27 21:15:55 +02:00
gizmo98
a6108c20ca mupen64plus: fix Audio-SDL crackle
https://www.reddit.com/r/RetroPie/comments/86snpv/a_guide_to_improve_n64
_audio/
2018-03-27 21:02:34 +02:00
gizmo98
4fe182bf1f mupen64plus: add current GLideN64 config version 2018-03-27 20:53:57 +02:00
gizmo98
50f628b31d mupen64plus: remove gauntlet legends from blacklist 2018-03-27 20:26:40 +02:00
gizmo98
8dcee86c70 mupen64plus: fix perfect dark highres 2018-03-27 20:25:11 +02:00
Conn O'Griofa
340139a2f4 mupen64plus: workaround GLideN64 shader cache crash
Crash seems reproducible only on gcc 6.3.0 via Rasbian stretch, but the
workaround should not negatively impact other systems.

See: https://github.com/gonetz/GLideN64/issues/1665
2018-03-16 13:01:12 +00:00
Conn O'Griofa
783043d5d9
Revert "mupen64plus: Pi: temporarily workaround texture rendering/segfault issue" 2017-12-17 19:12:31 +00:00
Conn O'Griofa
1888efb3ed mupen64plus: Pi: temporarily workaround texture rendering/segfault issue
May be reverted later - see: https://github.com/gonetz/GLideN64/issues/1665
2017-11-30 05:53:25 +00:00
gizmo98
57906a8cb9 mupen64plus: fix audio for ubuntu version >= 16.10 2017-10-04 19:27:49 +02:00
Ley21
71011b396b Could not change save path for save game to own directory
Could not chnage directory for savegames, screenshots,... in cfg because on each startup the script replace them again.
Add a fix for this with the auto configuration.
2017-08-16 13:06:55 +02:00
gizmo98
e682059318 mupen64plus: remove rogue squadron from blacklist
and blacklist battle of naboo and indiana jones and the infernal machine
2017-08-12 09:57:32 +02:00
gizmo98
a1b7283139 mupen64plus: make fps counter grey so it is less noticeable 2017-06-15 10:34:15 +02:00
gizmo98
3c8c911a6d mupen64plus: add InputAutoCfg.ini with default keyboard settings if file is missing. 2017-06-15 09:31:41 +02:00
gizmo98
a0f33d7546 mupen64plus: run autoset before compatibility check
Otherwise GLideN64 compatibility settings will not be set.
2017-06-12 11:43:42 +02:00
gizmo98
9abded9592 mupen64plus: add default AUTO option
New default option mupen64plus-auto sets video plugins and resolution
automatically to get best performance and visual quality.
2017-06-10 19:51:01 +00:00
gizmo98
cab74389dd mupen64plus: remove resident evil 2 from blacklist 2017-06-06 21:27:36 +02:00
gizmo98
4e8093c9f3 mupen64plus: fix resident evil 2
Crash at startup if Audio-OMX is used. Use Audio-SDL instead.
2017-06-06 20:28:12 +02:00
gizmo98
fe0becf0e1 mupen64plus: fix pokemon stadium 2
Audio-OMX crashs game at startup. Use Audio-SDL instead.
2017-06-06 20:20:42 +02:00
gizmo98
9febbeb67e mupen64plus: fix bomberman 64
disable legacy blending
2017-06-06 20:16:51 +02:00
gizmo98
b5f056c821 mupen64plus: use texture packs if possible
Add and enable autoconf option „texture_packs“ to enable hires texture
packs for video-rice and video-GLideN64.
2017-05-29 20:06:37 +02:00
Jools Wills
9a28b6eede mupen64plus - correct RPI detection code 2017-04-03 15:36:05 +01:00
Jools Wills
20e2deacd9 mupen64plus - var quotes 2017-04-03 15:34:14 +01:00
gizmo98
6818b79788 GLideN64: store config version 2017-04-02 19:54:51 +00:00
gizmo98
a8dfdf6d25 mupen64plus: use GlideN64 upstream again
-enable FBemu to fix screen misalignment.
-use current config version
2017-03-22 20:27:29 +01:00
gizmo98
183592f01b mupen64plus: enable FPS counter
Fixes for unknown reason zelda startup depth issue.
2017-03-22 20:24:14 +01:00
gizmo98
4f0645503b mupen64plus: limit cache size to 50MB
A greater value leads to texture corruptions and massive slowdowns in
Beetle Adventure Racing and Yoshis Story.
2017-03-21 22:44:57 +01:00
gizmo98
f8440e5a22 mupen64plus: disable legacy blending for zelda games
Navi is transparent if legacy blending is enabled.
2017-03-21 22:42:41 +01:00
gizmo98
163995ebc1 mupen64plus: use config version of branch "flicker fix"
Use version 15 until we can use upstream again.
https://github.com/joolswills/GLideN64/blob/flicker_fix/src/Config.h#L7
2017-03-14 22:06:22 +01:00
Jools Wills
3f15323613 mupen64plus - fix mupen64plus launch script rpi check on kernel 4.9+ 2017-03-05 23:15:12 +00:00
gizmo98
e2e74b7794 Mupen64Plus: Update config version
https://github.com/gonetz/GLideN64/blob/master/src/Config.h
2017-02-24 22:19:20 +01:00
Jools Wills
c68f87d37a mupen64plus - simplify grep to match controller auto config
* non recursive / extract string match rather than regular expression
2017-01-27 23:38:26 +00:00
gizmo98
b6e0c8526b Update GLideN64 config version
Config version is 16 now.
https://github.com/gonetz/GLideN64/commit/37b63232816b6ce68298490b2778a8
ee472084bc
2016-12-26 22:09:26 +01:00
gizmo98
8147201030 update gliden64 config version
https://github.com/gonetz/GLideN64/blob/master/src/Config.h#L7
2016-11-24 14:41:05 +01:00
Jools Wills
5d136e21ae mupen64plus - use HOME variable in script - broken in a3b6b88c39 (script is not run as sudo, but need the home var). #1748 2016-11-19 14:29:43 +00:00
Jools Wills
a3b6b88c39 mupen64plus - remove unused vars from launch script 2016-11-13 19:32:15 +00:00
gizmo98
9a579cf6d2 m64p: update config version
https://github.com/gonetz/GLideN64/commit/aab67261174f2df01da9a5326eaa23
197ca4cfdc
2016-10-08 12:59:27 +02:00