Advertisement
Serfrost93

Ryujinx - Common Errors and Troubleshooting

Oct 15th, 2024 (edited)
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.04 KB | Gaming | 0 0
  1.  
  2. This is a partial archive of the Ryujinx Github Wiki.
  3. Some solutions have been taken from Discord and implemented here.
  4. If you instead need a list of Game-specific Issues, see:
  5. https://pastebin.com/3955YTvc
  6.  
  7. #################################################################
  8. #################################################################
  9. ## ##
  10. ## ##
  11. ## Find the error in your Log.txt and compare it to this list. ##
  12. ## The error is usually printed right before the StackTrace. ##
  13. ## ##
  14. ## ##
  15. #################################################################
  16. #################################################################
  17.  
  18. ##################################
  19. ###
  20. ### ResultErrApplicationAborted (2162-0001)
  21. ###
  22. ##################################
  23.  
  24. Either the game itself crashed (not the emulator,) or Ryujinx doesn't support this game! Try again, good luck.
  25.  
  26. ##################################
  27. ###
  28. ### System.Collections.Generic.KeyNotFoundException: The given key '0' was not present in the dictionary.
  29. ###
  30. ### System archive with titleid <id> was not found on Storage BuiltInSystem. Found in None.
  31. ###
  32. ### Firmware parsing error Ryujinx was unable to parse the provided firmware.
  33. ###
  34. ### System update title was not found in the firmware package.
  35. ###
  36. ### The given key 'None' was not present in the dictionary.
  37. ###
  38. ### Unable to decrypt NCA section.
  39. ###
  40. ### Unable to decrypt title key.
  41. ###
  42. ### Missing NCA title key.
  43. ###
  44. ##################################
  45.  
  46. You lack or have outdated keys\firmware.
  47.  
  48. ##################################
  49. ###
  50. ### ResultFsOutOfRange (2002-3005)
  51. ###
  52. ### ResultFsNonRealDataVerificationFailed (2002-4604)
  53. ###
  54. ### ResultFsPartitionSignatureVerificationFailed (2002-4644)
  55. ###
  56. ##################################
  57.  
  58. For (2002-2644), the game you're trying to load may have been renamed as an incorrect file extension.
  59. Try renaming the extension from .nsp to .xci
  60.  
  61. Alternatively, your game file, update file, or both are corrupted. Replace the files from a different source.
  62.  
  63. ##################################
  64. ###
  65. ### The header key is incorrect or missing and therefore the NCA header content type check has failed.
  66. ###
  67. ### The file encountered was not of a valid type.
  68. ###
  69. ### No applications found in selected file.
  70. ###
  71. ##################################
  72.  
  73. Make sure what you're trying to load is actually a game, not an update, patch file, or anything else.
  74.  
  75. Otherwise, the game you're trying to load likely has been renamed as an incorrect file extension.
  76. Rename the extension from .xci to .nsp or otherwise from .nsp to .xci
  77.  
  78. Alternatively, your game file, update file, or both are corrupted. Replace the files from a different source.
  79.  
  80. ##################################
  81. ###
  82. ### Invalid memory access at virtual address 0x0000000000000000
  83. ###
  84. ##################################
  85.  
  86. Usually caused by mod or cheat conflicts.
  87.  
  88. Check that any given 2 (or more) mods or cheats you’re using don’t modify the same game files, and remove them if they do.
  89. Be aware that disabled cheats are still loaded into memory, even if they’re disabled!
  90.  
  91. This error can also be caused by poorly-made mods that don’t work on real hardware.
  92.  
  93. ##################################
  94. ###
  95. ### Attempted to access an invalid memory region. at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent
  96. ###
  97. ### System.InvalidOperationException: Out of handles!
  98. ###
  99. ##################################
  100.  
  101. Either caused by mods, cheats, or an issue with the game that cannot be resolved without further emulator updates.
  102.  
  103. ##################################
  104. ###
  105. ### NPDM file not found, using default values!
  106. ###
  107. ### ResultFsPathNotFound (2002-0001)
  108. ###
  109. ### Could not find Main NCA
  110. ###
  111. ##################################
  112.  
  113. You might be running an update file instead of a game file.
  114.  
  115. This can also be due to a permission issue caused by being placed in:
  116.  
  117. a. The desktop (with OneDrive)
  118. b. The root of a drive (C:\)
  119. c. Any kind of protected folder.
  120.  
  121. An antivirus not allowing the files to be accessed by the emulator is another cause.
  122.  
  123. ##################################
  124. ###
  125. ### The paging file is too small for this operation to complete.
  126. ###
  127. ##################################
  128.  
  129. You followed an outdated guide or bad information that told you to limit your pageFile size.
  130.  
  131. Set your system pageFile back to System Managed and/or clean up your storage drive's space.
  132.  
  133. ##################################
  134. ###
  135. ### Insufficient memory to continue the execution of the program.
  136. ###
  137. ##################################
  138.  
  139. You've ran out of available RAM. If you're using mods, try disabling them and see if this helps.
  140.  
  141. Alternatively, upgrade your hardware. Ideally you'd not have less than 16GB of RAM.
  142.  
  143. ##################################
  144. ###
  145. ### Unexpected API error "ErrorOutOfDeviceMemory"
  146. ###
  147. ##################################
  148.  
  149. This means you ran out of GPU VRAM.
  150.  
  151. Check that your resolution scaling isn’t too high; 4x is overkill.
  152. If your resolution is on native, it might not be possible to emulate that particular game with your system.
  153.  
  154. For the games below, enable Texture Recompression in Graphics settings.
  155.  
  156. 1. Astral Chain
  157. 2. Bayonetta 3
  158. 3. Fire Emblem Engage
  159. 4. Metroid Prime Remastered
  160. 5. Super Mario Bros. Wonder
  161. 6. The Legend of Zelda: Tears of the Kingdom
  162.  
  163. Enabling Recompression is not guaranteed to fix your problem.
  164.  
  165. ##################################
  166. ###
  167. ### Unexpected API error "ErrorDeviceLost"
  168. ###
  169. ##################################
  170.  
  171. This is a generic Vulkan crash. Most of the time it’s not something users can fix.
  172. On Nvidia, try downgrading your driver to below 527.37.
  173. On AMD or Intel, a bigger amount of games have this issue; your best bet is to try Linux.
  174.  
  175. ##################################
  176. ###
  177. ### ResultKvdbInvalidKeyValue (2020-0005)
  178. ### ResultFsPermissionDenied (2002-6400)
  179. ### ResultFsTargetNotFound (2002-1002)
  180. ###
  181. ##################################
  182.  
  183. Try removing the game's Save Data first, then test.
  184.  
  185. Usually means Ryujinx has been denied access to the save folder for this game.
  186. Most of the time it’s solved if you delete the save folder: Right click the game > Open User Save Directory.
  187. Backup the contents if you care about the save. Go up 2 levels and delete the selected folder. Run the game again.
  188.  
  189. If this doesn’t fix it, check that Ryujinx isn’t within a protected folder such as the desktop with OneDrive
  190. or the root of a drive (C:\), and that a third party antivirus isn’t blocking Ryujinx from using the save folder.
  191. Else, make a portable install and bring over your caches and saves from the previous installation of Ryujinx
  192.  
  193. ##################################
  194. ###
  195. ### System.NullReferenceException: Object reference not set to an instance of an object. at Ryujinx.Ui.MainWindow.LoadApplication
  196. ###
  197. ##################################
  198.  
  199. Click the game in your list once, then press Enter, or use the Avalonia UI instead of GTK.
  200.  
  201. ##################################
  202. ###
  203. ### System.NullReferenceException: Object reference not set to an instance of an object.
  204. ### at Ryujinx.Graphics.OpenGL.Queries.CounterQueueEvent.TryConsume
  205. ###
  206. ##################################
  207.  
  208. An issue with AMD GPUs using OpenGL. Use Vulkan instead.
  209.  
  210. ##################################
  211. ###
  212. ### The instruction at 0x000000000bfaeff0 (opcode 0x00000000) is undefined!
  213. ###
  214. ##################################
  215.  
  216. If you have this opcode, right click the game > Cache Management > Open PPTC Directory and delete its contents.
  217. Otherwise this game is not supported by Ryujinx.
  218.  
  219. ##################################
  220. ###
  221. ### Ryujinx.Memory.InvalidMemoryRegionException: Not mapped: [...] at Ryujinx.Cpu.Jit.MemoryManagerHostMapped.AssertMapped
  222. ###
  223. ##################################
  224.  
  225. Rare issue on Smash Bros. Ultimate, maybe others, no known solution.
  226.  
  227. ##################################
  228. ###
  229. ### An item with the same key has already been added.
  230. ###
  231. ##################################
  232.  
  233. 1. Try updating your keys.
  234. 2. Try right-clicking the game -> Cache Management -> Queue PPTC Rebuild
  235. 3. Try going to Portable or %appdata%\Ryujinx -> bis\system\Contents\registered
  236. Delete the contents of the registered folder, then reinstall your firmware.
  237.  
  238. ##################################
  239. ###
  240. ### No valid channel configuration found!
  241. ###
  242. ##################################
  243.  
  244. Change your audio backend to SDL2 or OpenAL. SoundIO can cause this crash in certain situations.
  245.  
  246. ##################################
  247. ###
  248. ### Unhandled exception from guest kernel with ESR 0x82000086
  249. ###
  250. ##################################
  251.  
  252. Update your macOS version.
  253.  
  254. ##################################
  255. ###
  256. ### No ExeFS found in NCA
  257. ###
  258. ##################################
  259.  
  260. When dumping your game, enable “Remove console specific data”, “Generate ticket-less dump”
  261. and “Change NPDM RSA key/sig in Program NCA” in nxdumptool-rewrite.
  262.  
  263. https://nightly.link/DarkMatterCore/nxdumptool/workflows/rewrite/rewrite
  264.  
  265. ##################################
  266. ###
  267. ### GLib.GException: Unrecognized image file format at Gdk.PixbufLoader.Write(Byte[] buf, UInt64 count)
  268. ###
  269. ### System.DllNotFoundException: Gtk: libgtk-3-0.dll, libgtk-3.so.0, libgtk-3.0.dylib, gtk-3.dll
  270. ###
  271. ##################################
  272.  
  273. Some emulator files are missing. Redownload Ryujinx, make sure it’s extracted properly and don’t put it
  274. on the desktop or the root of a drive, as those are protected folders. Third party antivirus software can
  275. also randomly delete these files, so if you have one, make exceptions for Ryujinx or uninstall the antivirus.
  276.  
  277. ##################################
  278. ###
  279. ### Initialization failed, none of the available GPUs meets the minimum requirements.
  280. ###
  281. ### Object reference not set to an instance of an object. at Ryujinx.Graphics.Vulkan.CommandBufferPool.AddWaitable
  282. ###
  283. ### Ryujinx.Graphics.Vulkan.VulkanException: Unexpected API error "ErrorFeatureNotPresent"
  284. ###
  285. ### System.NotSupportedException: No supported Vulkan surface found!
  286. ###
  287. ### Could not find or load the native library: vulkan-1.dll
  288. ###
  289. ##################################
  290.  
  291. If you have a system consisting of an AMD Ryzen CPU with an AMD Radeon iGPU (4600H, 4800H, 5600H etc) and
  292. an Nvidia dGPU, you need to update BOTH graphics card drivers from their respective websites. Not just the
  293. dedicated Nvidia one, and not just from Windows update.
  294.  
  295. https://www.amd.com/en/support
  296.  
  297. https://www.nvidia.com/download/index.aspx
  298.  
  299. If your hardware doesn’t match the above, it’s possible your GPU drivers are simply out of date.
  300. In the case that they aren’t, your GPU might not meet the minimum requirements to run Ryujinx,
  301. for example any Intel iGPUs 5th gen or older.
  302.  
  303. ##################################
  304. ###
  305. ### CLI Window: System.AccessViolationException: Attempted to read or write protected memory.
  306. ###
  307. ##################################
  308.  
  309. This is a generic error. A possible cause is Ryujinx being in a protected folder or blocked by a third party antivirus.
  310.  
  311. If you're getting this error on a Rog Ally, go to Add or remove programs on Windows
  312. Uninstall the "OpenCL, OpenGL, and Vulkan Compatibility Pack".
  313.  
  314. If you're getting this error when running a game on Vulkan and the strings mention SDL2,
  315. you need to uninstall Gshade or stop it from trying to hook onto Ryujinx. Similarly, close Medal.
  316.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement