azahar-emu / azahar

A new Citra fork
https://azahar-emu.org/
2.63k stars 133 forks source link

Vulkan renderer crashes when game is boot up #99

Closed Ivan951236 closed 1 week ago

Ivan951236 commented 7 months ago

Is there an existing issue for this?

Affected Build(s)

Lime3DS 2109

Description of Issue

Any game crashes when vulkan renderer is set If that helps API Version: AIDA64: 1.2.175 TechPowerUp GPU-Z: 1.2.175

Expected Behavior

Any 3DS game should boot up as other Vulkan games works just fine

Reproduction Steps

  1. Get NVIDIA GeForce GTX 760
  2. Plug it in
  3. Open Lime3DS
  4. Set Vulkan Renderer
  5. Double click on a game in game list
  6. Crash!

Log File

citra_log.txt

System Configuration

CPU:Intel Core i3-2100 GPU/Driver:NVIDIA Geforce GTX 760/474.82 RAM:8GB DDR3 OS:Windows 10

OpenSauce04 commented 7 months ago

Mentioning what games you tried would be helpful

Ivan951236 commented 7 months ago

Mentioning what games you tried would be helpful

Okay but its only Lime3DS emulator and other 3DS emulator built on Citra that this happends which means any game crashes in the emulator However, i tried Super Mario 3D Land and 3DS Home Menu

rtiangha commented 7 months ago

Just curious, but does it happen after running one of these builds: https://github.com/rtiangha/bravely-offline-citra/releases

I've got some Vulkan changes that I'm playing around with from other forks that haven't yet made it into one of the major popular forks (mainly all the Canary changes that never made it into Nightly, plus a new SPIRV TrivialVertexShader and relaxed precision decorators). I'm doubtful it'll fix your issues, but then again, maybe it might.

Ivan951236 commented 7 months ago

Just curious, but does it happen after running one of these builds: https://github.com/rtiangha/bravely-offline-citra/releases

I've got some Vulkan changes that I'm playing around with from other forks that haven't yet made it into one of the major popular forks (mainly all the Canary changes that never made it into Nightly, plus a new SPIRV TrivialVertexShader and relaxed precision decorators). I'm doubtful it'll fix your issues, but then again, maybe it might.

Also happends there Well i don't think you (Lime3DS Devs) might do it but for compatibly maybe Lime3DS will use Vulkan 1.0 instead

rtiangha commented 7 months ago

Did the Vulkan renderer ever work properly on regular Citra? And if so, do you remember the build or nightly number? I believe the Vulkan stuff should be backwards compatible, unless there are some instructions that Citra uses that aren't supported by older Vulkan SDKs (in which case, you might be SOL and have to stick with OpenGL unless you can somehow update your graphic drivers).

While the current Lime3DS release is using Vulkan headers from 1.3.280, the last Citra Nightly release used 1.3.275, which isn't that much of a change.

Edit: And it looks like Vulkan support in Citra started at around 1.3.251 back on June 20, 2023, so yeah, I'd be surprised if it ever worked on your video card. Please chime in if it ever worked on your setup; I'm starting to suspect that Vulkan 1.3 is the bare minimum for Citra.

Double Edit: Although the original announcement claimed Vulkan 1.1 so maybe an older build might work with your card. If so, let us know which ones worked; maybe we can track down what might have changed in the last 10 months or so (I do know a couple of extra instructions were added between then so maybe that changed things).

Quick Question: Did the last Citra Nightly work? If so, it might be one of the dependencies that was updated near the beginning of Lime3DS.

Ivan951236 commented 7 months ago

Did the Vulkan renderer ever work properly on regular Citra? And if so, do you remember the build or nightly number? I believe the Vulkan stuff should be backwards compatible, unless there are some instructions that Citra uses that aren't supported by older Vulkan SDKs (in which case, you might be SOL and have to stick with OpenGL unless you can somehow update your graphic drivers).

While the current Lime3DS release is using Vulkan headers from 1.3.280, the last Citra Nightly release used 1.3.275, which isn't that much of a change.

Edit: And it looks like Vulkan support in Citra started at around 1.3.251 back on June 20, 2023, so yeah, I'd be surprised if it ever worked on your video card. Please chime in if it ever worked on your setup; I'm starting to suspect that Vulkan 1.3 is the bare minimum for Citra.

Double Edit: Although the original announcement claimed Vulkan 1.1 so maybe an older build might work with your card. If so, let us know which ones worked; maybe we can track down what might have changed in the last 10 months or so (I do know a couple of extra instructions were added between then so maybe that changed things).

Quick Question: Did the last Citra Nightly work? If so, it might be one of the dependencies that was updated near the beginning of Lime3DS.

I also tried regular now down citra and the same happend... short answer: is no

rtiangha commented 7 months ago

Another user had luck with and older version of Citra; something newer than Nightly 1995 but older than the last one of 2104; they found that nothing newer than 2030 worked on their Android device. Could you try some older versions and report back if they work instead? Here are some old versions:

https://web.archive.org/web//https://github.com/citra-emu/citra-nightly/releases/download

github-actions[bot] commented 3 months ago

This issue has been marked as stale. If there is no activity within the next 10 days, this issue will be closed.

github-actions[bot] commented 3 weeks ago

This issue has been marked as stale. If there is no activity within the next 10 days, this issue will be closed.

github-actions[bot] commented 1 week ago

This issue has been closed as stale.