libretro / parallel-n64

Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus.
310 stars 128 forks source link

RetroArch crash when Parallel RDP selected and N64 Expansion pack RAM disabled #662

Open nfp0 opened 4 years ago

nfp0 commented 4 years ago

When a configuration that uses Parallel RDP and disables the N64 Expansion pack RAM is used (such as the one bellow), Retroarch crashes. The error on the log output is attached further bellow.

parallel-n64-alt-map = "enabled"
parallel-n64-angrylion-multithread = "all threads"
parallel-n64-angrylion-overscan = "disabled"
parallel-n64-angrylion-sync = "Medium"
parallel-n64-angrylion-vioverlay = "Filtered"
parallel-n64-aspectratiohint = "normal"
parallel-n64-astick-deadzone = "15"
parallel-n64-astick-sensitivity = "100"
parallel-n64-audio-buffer-size = "1024"
parallel-n64-boot-device = "Default"
parallel-n64-bufferswap = "disabled"
parallel-n64-cpucore = "dynamic_recompiler"
parallel-n64-disable_expmem = "disabled"
parallel-n64-dithering = "enabled"
parallel-n64-filtering = "automatic"
parallel-n64-framerate = "original"
parallel-n64-gfxplugin = "parallel"
parallel-n64-gfxplugin-accuracy = "veryhigh"
parallel-n64-pak1 = "rumble"
parallel-n64-pak2 = "rumble"
parallel-n64-pak3 = "rumble"
parallel-n64-pak4 = "rumble"
parallel-n64-parallel-rdp-dither-filter = "enabled"
parallel-n64-parallel-rdp-divot-filter = "enabled"
parallel-n64-parallel-rdp-gamma-dither = "enabled"
parallel-n64-parallel-rdp-interlacing = "enabled"
parallel-n64-parallel-rdp-synchronous = "enabled"
parallel-n64-parallel-rdp-vi-aa = "enabled"
parallel-n64-parallel-rdp-vi-bilinear = "enabled"
parallel-n64-polyoffset-factor = "-3.0"
parallel-n64-polyoffset-units = "-3.0"
parallel-n64-rspplugin = "parallel"
parallel-n64-screensize = "640x480"
parallel-n64-send_allist_to_hle_rsp = "disabled"
parallel-n64-virefresh = "auto"

image

Themaister commented 4 years ago

I cannot reproduce this. Is it a specific game? It seems like it's failing to import host memory somehow.

nfp0 commented 4 years ago

I've tested multiple games. I can confirm it fails on Mario 64, 007 GoldenEye and Pokemon Snap. I think it fails on any game.

If it helps, I'm on Windows on Retroarch 1.8.8

Themaister commented 4 years ago

@twinaphex also reproduced it, seems to be some freaky interaction with Geforce experience. I cannot reproduce on AMD at least. I have no idea what expansion RAM has to do with this, parallel-RDP does not even look at this option at all, and neither does angrylion ...

nfp0 commented 4 years ago

It's really weird then, because it does not crash with Angrylion RDP. It ignores the option, yes, but it does not crash. And yes, I also have Geforce Experience installed.

bslenul commented 4 years ago

No crash here but I also get that [ERROR]: Failed to allocate RDRAM. and then I get the "ERR" message (the audio seems fine, I can hear the game sounds in the background):

image