libretro / flycast

Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
http://reicast.com
GNU General Public License v2.0
155 stars 77 forks source link

Atomiswave and Naomi keep crashing on new GPU. #1087

Open TheBloodstomper opened 3 years ago

TheBloodstomper commented 3 years ago

Hey folks!

I've been running those wonderful SEGA games like a charm for months, but after upgrading my GPU to a 6700 (from Nvidia to AMD) and all my problems came.

I wiped all my drivers 3 times, reinstalled windows (10), entirely remade my rom collection, and eventho, it didn't worked.

I want to play on Vulkan because it's the better option for me, but it just doesn't work.

I always get the same error related to my AMD GPU, saying that it ran out of time... I modified the Regedit to let the apps "unresponsive" some time before closing them, but it didn't worked, it just made me crash during more time (because my whole computer crashes, I have two monitors and both of them freeze, and then turn off before giving me the error... closing Retroarch... Any advice? I'm gonna make a log but everytime I crash all my other apps close, and I haven't been able to do a single "clean" logfile in hours.

Thanks in advance for your time (I've tested two versions of my GPU drivers, may and april 2021, but none worked).

Augusto7743 commented 3 years ago

"I've been running those wonderful SEGA games like a charm for months, but after upgrading my GPU to a 6700 (from Nvidia to AMD) and all my problems came." You are saying the Nvidia Geforce series 6000 ? If yes is very old and not has Vulkan.

ner00 commented 3 years ago

after upgrading my GPU to a 6700 (from Nvidia to AMD)

You are saying the Nvidia Geforce series 6000 ? If yes is very old and not has Vulkan.

To me it seems clear that he says that he moved from an unspecified Nvidia GPU to the newer AMD Radeon RX 6700 XT GPU.

TheBloodstomper commented 3 years ago

"I've been running those wonderful SEGA games like a charm for months, but after upgrading my GPU to a 6700 (from Nvidia to AMD) and all my problems came." You are saying the Nvidia Geforce series 6000 ? If yes is very old and not has Vulkan.

As @ner00 said, I was running a 1060GTX, and upgraded to a 6700XT from AMD.

I like to use heavy Shaders to make my old school games look good on a 1440p cab. But can't manage to use Vulkan because I'm having a lot of issues.

This issue doesn't affect other cores, only the ones "connected" to Dreamcast/Naomi/Atomiswave emulation which in fact are my favourite games. ^^

rubenjavier commented 3 years ago

There is something wrong with the flycast core, it's also crashing on my AMD RX 6800XT in vulkan and opengl, if I use the bios files it crashes when the dreamcast spiral its about to end,, but if I use the HLE bios, then it crashes few seconds after the game (any game) starts. The standalone version of flycast works flawless with the two dozen games I have, so definetly its something related to the libretro core implementation. it always ends here without any error on the log: [libretro INFO] hw/pvr/Renderer_if.cpp:120 N[PVR]: Creating Vulkan per-pixel renderer

if I change per pixel to any other option, just that part of the text changes, so whatever it is, its not showing on the logs

@TheBloodstomper just download the standalone version of flycast until this gets fixed, put all your bios files on the "data" subdir of the standalone version and you got your games back

Augusto7743 commented 3 years ago

Try enable option to allow core to change video driver. What is your OS ?

rubenjavier commented 3 years ago

Sorry, forgot to mention that, its Windows10 64bits fully updated and the amd drivers are the 21.8.2. The option in settings to allow cores to change video driver was already enabled, and I also tried with enabled and disabled shared context, with the same results: at the end of the boot logo crashes when using bios files, or a few seconds into the game when the HLE bios is used.

Augusto7743 commented 3 years ago

Try use Energy Power Profile HIgh performance in windows control panel and disable AMD driver control disable any antialiasing and vertical sync.

rubenjavier commented 3 years ago

changed energy profile to high performance and no antialiasing from AMD driver, aso no vsync (or freesync) from AMD or retroarch, still crashes here is the log, stops at the usual line: https://pastebin.com/zmtr3YHa

rubenjavier commented 2 years ago

tested after commit 4a913e0, but still crashing at the same point. is there anything else that we can do to help debug?, obviously the retroarch log is not enough, maybe a debug version of the core for win64 and I'll do the testing

bluestang2006 commented 2 years ago

I've been experiencing the same issue - I also have a 6800XT...

Same problems as @rubenjavier and looks like this issue has been around for some time - #1052

Immersion95 commented 2 years ago

It's working now :)