libretro / parallel-n64

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

Core doesnt work with video driver set to Vulkan #550

Open QuaiGoner opened 6 years ago

QuaiGoner commented 6 years ago

Well,thats all there is - core doesnt open any content with Vulkan, only works with GL driver. Same with mupen64 actually. Windows 10 x64 RA 1.7.5 latest nightly build

hizzlekizzle commented 6 years ago

This is to be expected for the mupen64plus-libretro core, as it only has a GL renderer. For ParaLLEl-N64, it works, but you have to start it in GL first, then switch to the Angrylion gfx plugin and cxd4 RSP plugin, close the core, switch the video driver to vulkan and then it should start up.

The reason is that Angrylion is software-rendered, so it works with all of the video drivers. The default plugin is GL-only.

ghost commented 6 years ago

Ideally parallel should work with any render method as long as you use AL. Would be helpful if the settings were all streamlined. Once someone ports over GlideN64 that is.

hizzlekizzle commented 6 years ago

yeah, if you don't mind sacrificing the ParaLLEl renderer and/or the RSP dynarec, it gets pretty easy (just use cxd4 and angrylion for any driver that's not GL).

ghost commented 6 years ago

Maybe that rasteriser and dynarec can be made optional compile time. In an ideal world, there would be GlideN64, angrylion plus, the hle RSP, cxd4's RSP, and made optional: the VK rasterizer and LLVM dynarec.

hizzlekizzle commented 6 years ago

Yeah, I think it could be simplified down to a single core option: HLE (GLideN64+HLE RSP), LLE (software) (angrylion+cxd4 RSP) and LLE (Vulkan) (VK rasterizer+either LLVM dynarec or cxd4, depending on where LLVM works), since LLVM dynarec only ever worked on Linux, right...? As currently, Vulkan RDP wouldn't even be compiled in on Windows, since we need MSVC for angrylion speed, so it wouldn't even show there.

orbea commented 5 years ago

Does the llvm dynarec even work on linux anymore? Last I heard llvm upstream broke it a while ago.

Also sometimes its useful to use GLideN64+LLE RSP.

hizzlekizzle commented 5 years ago

@orbea mudlord updated it recently. I haven't gotten to use it any, but it should build and everything now.

orbea commented 5 years ago

Cool! I'll have to test it out later.

mark007 commented 4 years ago

Does anyone know if this is being worked on. Is there a cfg entry that can be added to the retroarch cfg to fix it as opposed to the various online workarounds. Its confusing as a lot of online workarounds now suggest switching retroarch to use angrylion instead of parallel. I assume just because of this bug as opposed to this particular plugin being discontinued?

hizzlekizzle commented 4 years ago

The ParaLLEl-RDP plugin isn't really discontinued, but it can't build on Windows while still being fast for Angrylion, so we assume people will want fast AL instead.