GreemDev / Ryujinx

Experimental Switch emulator written in C#
MIT License
3.44k stars 254 forks source link

[Bug] Ryujinx not launching #156

Closed AngelGLL234 closed 2 hours ago

AngelGLL234 commented 3 hours ago

Description of the issue

Ryujinx does not open

Reproduction steps

Only when you open it does it close immediately.

Log file

00:00:00.233 |I| Configuration LogValueChange: ResScale set to: 1 00:00:00.240 |I| Configuration LogValueChange: ResScaleCustom set to: 1 00:00:00.240 |I| Configuration LogValueChange: MaxAnisotropy set to: -1 00:00:00.241 |I| Configuration LogValueChange: AspectRatio set to: Fixed16x9 00:00:00.242 |I| Configuration LogValueChange: BackendThreading set to: Auto 00:00:00.243 |I| Configuration LogValueChange: GraphicsBackend set to: Vulkan 00:00:00.243 |I| Configuration LogValueChange: PreferredGpu set to: 00:00:00.244 |I| Configuration LogValueChange: AntiAliasing set to: None 00:00:00.244 |I| Configuration LogValueChange: ScalingFilter set to: Bilinear 00:00:00.244 |I| Configuration LogValueChange: ScalingFilterLevel set to: 80 00:00:00.246 |I| Configuration LogValueChange: EnableDockedMode set to: True 00:00:00.252 |I| Configuration LogValueChange: EnableVsync set to: True 00:00:00.252 |I| Configuration LogValueChange: EnableShaderCache set to: True 00:00:00.252 |I| Configuration LogValueChange: EnableTextureRecompression set to: False 00:00:00.252 |I| Configuration LogValueChange: EnableMacroHLE set to: True 00:00:00.252 |I| Configuration LogValueChange: EnableColorSpacePassthrough set to: False 00:00:00.253 |I| Configuration LogValueChange: EnablePtc set to: True 00:00:00.253 |I| Configuration LogValueChange: EnableLowPowerPtc set to: False 00:00:00.253 |I| Configuration LogValueChange: EnableInternetAccess set to: False 00:00:00.254 |I| Configuration LogValueChange: EnableFsIntegrityChecks set to: True 00:00:00.254 |I| Configuration LogValueChange: FsGlobalAccessLogMode set to: 0 00:00:00.254 |I| Configuration LogValueChange: AudioBackend set to: SDL2 00:00:00.254 |I| Configuration LogValueChange: AudioVolume set to: 1 00:00:00.256 |I| Configuration LogValueChange: MemoryManagerMode set to: HostMappedUnsafe 00:00:00.256 |I| Configuration LogValueChange: DramSize set to: MemoryConfiguration4GiB 00:00:00.256 |I| Configuration LogValueChange: IgnoreMissingServices set to: False 00:00:00.256 |I| Configuration LogValueChange: UseHypervisor set to: True 00:00:00.259 |I| Configuration LogValueChange: MultiplayerMode set to: Disabled 00:00:00.270 |N| Application PrintSystemInfo: Ryujinx Version: 1.2.69 00:00:00.275 |N| Application Print: Operating System: Microsoft Windows 10.0.26100 (X64) 00:00:00.275 |N| Application Print: CPU: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz ; 12 logical 00:00:00.277 |N| Application Print: RAM: Total 15.8 GiB ; Available 6 GiB 00:00:00.279 |N| Application PrintSystemInfo: Logs Enabled: Info, Warning, Error, Guest, Stub 00:00:00.280 |N| Application PrintSystemInfo: Launch Mode: UserProfile 00:00:02.021 |E| Application : Unhandled exception caught: System.ArgumentOutOfRangeException: Index must be within the bounds of the List. (Parameter 'index') at System.Collections.Generic.List1.Insert(Int32, T) at Ryujinx.Input.SDL2.SDL2GamepadDriver.HandleJoyStickConnected(Int32 joystickDeviceId, Int32 joystickInstanceId) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Input.SDL2\SDL2GamepadDriver.cs:line 118 at Ryujinx.Input.SDL2.SDL2GamepadDriver..ctor() in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Input.SDL2\SDL2GamepadDriver.cs:line 44 at Ryujinx.Ava.UI.Windows.MainWindow..ctor() in D:\a\Ryujinx\Ryujinx\src\Ryujinx\UI\Windows\MainWindow.axaml.cs:line 98 at Ryujinx.Ava.App.OnFrameworkInitializationCompleted() in D:\a\Ryujinx\Ryujinx\src\Ryujinx\App.axaml.cs:line 54 at Avalonia.AppBuilder.SetupUnsafe() at Avalonia.AppBuilder.Setup() at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime) at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder, String[], Action1 ) at Ryujinx.Ava.Program.Main(String[] args) in D:\a\Ryujinx\Ryujinx\src\Ryujinx\Program.cs:line 64

OS

Windows 11

Ryujinx version

1.2.69

Game version

No response

CPU

No response

GPU

No response

RAM

16 GB

List of applied mods

none

Additional context?

I downloaded it as such, until I deleted the system32 files from my previous Ryujinx

AngelGLL234 commented 2 hours ago

I solved it by removing the controller that always connects, so if this happens to others with the new Ryujinx, try that solution.