ares-emulator / ares

ares is a cross-platform, open source, multi-system emulator, focusing on accuracy and preservation.
https://ares-emu.net
Other
864 stars 105 forks source link

Error related to OpenGL driver in Windows 7x64 since v137 #1537

Open prietveld opened 2 weeks ago

prietveld commented 2 weeks ago

Ares v137 and v138 throw an error for me in Windows 7 64bit on first launch, or when applying 'OpenGL 3.2' as video driver. When applying any other video driver the error goes away.

The error prompt reads: "Entry Point Not Found - The procedure entry point ProcessPrng could not be located in the dynamic link library bcryptprimitives.dll".

Ares v136 does not have this issue.

remutro commented 2 weeks ago

This looks to be related to the librashader, and it appears it may not have support for a version of Windows that old. v137 was the first version it was added to support more shaders. The workaround is what you have already found, just use DirectX. You won't be able to use shaders, but everything else should be fine. None of these consoles actually use these libraries for rendering in-game. Ares only uses them to put a picture on your screen and that's about it.

remutro commented 2 weeks ago

More specifically, librashader is written in rust, and the rust toolchain has a minimum Windows version requirement of Windows 10.

" The minimum requirements for Tier 1 toolchains targeting Windows will increase with the 1.78 release (scheduled for May 02, 2024). Windows 10 will now be the minimum supported version for the -pc-windows- targets. These requirements apply both to the Rust toolchain itself and to binaries produced by Rust. "

prietveld commented 2 weeks ago

Thanks for the reply and confirming where it comes from. Only thing is perhaps future versions can possibly fail more gracefully, with a more helpful message or by defaulting to another driver on W7?