SachinVin / citra_android

An Android frontend for the Citra Emulator
GNU General Public License v3.0
574 stars 90 forks source link

Citra wont load any games on my new S9+ #159

Open kromr6487 opened 5 years ago

kromr6487 commented 5 years ago

Basically everytime I go to launch a 3ds rom the app just loads the games to the loading screen than goes black and returns me to the main menu. Phone is the galaxy s9+ Android 8.0 0 Version 1.0.0 [ 0.010918] Frontend citra_android/jni/emu_window/emu_window.cpp:EmuWindow_Android:52: InitDisplay [ 0.010949] Frontend citra_android/jni/ndk_helper/GLContext.cpp:Init:78: GLContext Init() [ 0.030100] Core core/core.cpp:Init:162: CPU JIT requested, but Dynarmic not available [ 0.030494] Audio audio_core/sink_details.cpp:GetSinkDetails:39: AudioCore::SelectSink given invalid sink_id [ 0.050224] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:544: GL_VERSION: OpenGL ES 3.2 V@278.0 (GIT@fa5d0e7, I788affba20) (Date:06/12/18) [ 0.050254] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:545: GL_VENDOR: Qualcomm [ 0.050258] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:546: GL_RENDERER: Adreno (TM) 630 [ 0.051587] Loader core/loader/ncch.cpp:Load:159: Program ID: 0004000000174600 [ 0.051785] Service.FS core/file_sys/ncch_container.cpp:OpenFile:113: Failed to open ./sdcard/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/0004000e/00174600/content/00000000.app [ 0.115216] Loader core/hle/kernel/process.cpp:ParseKernelCaps:114: ExHeader kernel version: 2.50 [ 0.116075] Service.CFG core/hle/service/cfg/cfg.cpp:SetPreferredRegionCode:602: Preferred region code set to 1 [ 0.149733] Service.SRV core/hle/service/sm/srv.cpp:RegisterClient:48: (STUBBED) called [ 0.353871] Service.SRV core/hle/service/sm/srv.cpp:EnableNotification:70: (STUBBED) called [ 0.354326] Service.APT core/hle/service/apt/apt.cpp:GetLockHandle:255: (STUBBED) called applet_attributes=0X00000000 [ 0.355101] Service.APT core/hle/service/apt/apt.cpp:SetScreenCapPostPermission:586: (STUBBED) called, screen_capture_post_permission=0 [ 0.355229] Service.NDM core/hle/service/ndm/ndm_u.cpp:OverrideDefaultDaemons:184: (STUBBED) bit_mask=0x0000000F [ 0.355270] Service.NDM core/hle/service/ndm/ndm_u.cpp:SuspendDaemons:72: (STUBBED) bit_mask=0x00000006 [ 0.355463] Service.FS core/hle/service/fs/fs_user.cpp:InitializeWithSdkVersion:540: (STUBBED) called, version: 0x0A0101C8 [ 0.388732] Service.AC core/hle/service/ac/ac.cpp:SetClientVersion:166: (STUBBED) called, version: 0x0A0101C8 [ 0.390980] Service.APT core/hle/service/apt/apt.cpp:NotifyToWait:234: (STUBBED) app_id=768 [ 0.391399] Service.APT core/hle/service/apt/apt.cpp:AppletUtility:455: (STUBBED) called command=0X00000007, input_size=0X00000004, output_size=0X00000001 [ 0.391515] Service.APT core/hle/service/apt/apt.cpp:AppletUtility:455: (STUBBED) called command=0X00000004, input_size=0X00000001, output_size=0X00000001 [ 0.391694] Service.APT core/hle/service/apt/apt.cpp:SetAppCpuTimeLimit:471: (STUBBED) called, cpu_percent=30, value=1 [ 0.396973] Service.GSP core/hle/service/gsp/gsp_gpu.cpp:AcquireRight:666: called flag=00000000 process=10 thread_id=0 [ 0.464738] Service.FRD core/hle/service/frd/frd.cpp:SetClientSdkVersion:147: (STUBBED) called, version: 0x0A0101C8 [ 0.464821] Service.FRD core/hle/service/frd/frd.cpp:GetMyPresence:34: (STUBBED) called [ 0.465981] Service.FRD core/hle/service/frd/frd.cpp:GetMyFriendKey:88: (STUBBED) called [ 0.513162] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 0.513191] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 0.862364] Service.DSP core/hle/service/dsp_dsp.cpp:LoadComponent:150: Firmware hash: 0xdcdb8c683bf28fdd [ 0.862393] Service.DSP core/hle/service/dsp_dsp.cpp:LoadComponent:154: Structures hash: 0x228655de1258d999 [ 0.862398] Service.DSP core/hle/service/dsp_dsp.cpp:LoadComponent:159: (STUBBED) called size=0xC25C, prog_mask=0x000000FF, data_mask=0x000F00FF, buffer=0x00952684 [ 0.862537] Service.DSP core/hle/service/dsp_dsp.cpp:RegisterInterruptEvents:251: Registered type=2, pipe=2, event_handle=0x000F802F [ 0.862587] Service.DSP core/hle/service/dsp_dsp.cpp:GetSemaphoreEventHandle:176: (STUBBED) called [ 0.862637] Service.DSP core/hle/service/dsp_dsp.cpp:SetSemaphoreMask:473: (STUBBED) called mask=0x00002000 [ 0.862708] Audio.DSP audio_core/hle/hle.cpp:PipeWrite:149: Application has requested initialization of DSP hardware [ 0.862754] Service.DSP core/hle/service/dsp_dsp.cpp:SetSemaphore:274: (STUBBED) called [ 0.863095] Service.DSP core/hle/service/dsp_dsp.cpp:SetSemaphore:274: (STUBBED) called [ 0.863871] Service.APT core/hle/service/apt/apt.cpp:SetAppCpuTimeLimit:471: (STUBBED) called, cpu_percent=30, value=1 [ 0.865135] Kernel.SVC core/hle/kernel/svc.cpp:CreateThread:750: Newly created thread must run in the SysCore (Core1), unimplemented. [ 2.382455] Service.SRV core/hle/service/sm/srv.cpp:Subscribe:145: (STUBBED) called, notification_id=0x209 [ 2.382533] Service.SRV core/hle/service/sm/srv.cpp:Subscribe:145: (STUBBED) called, notification_id=0x207 [ 6.992719] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 6.992758] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 7.676504] Service.FS core/file_sys/savedata_archive.cpp:OpenFile:67: Non-existing file ./sdcard/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000/00174600/data/00000001/game_header can't be open without mode create. [ 7.676546] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /game_header] [ 7.676714] Service.FS core/file_sys/savedata_archive.cpp:OpenFile:67: Non-existing file ./sdcard/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000/00174600/data/00000001/game_header can't be open without mode create. [ 7.676722] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /game_header] [ 7.677946] Service.FS core/file_sys/savedata_archive.cpp:OpenFile:67: Non-existing file ./sdcard/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000/00174600/data/00000001/game_header can't be open without mode create. [ 7.677964] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /game_header] [ 7.678079] Service.FS core/file_sys/savedata_archive.cpp:OpenFile:67: Non-existing file ./sdcard/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000/00174600/data/00000001/game_header can't be open without mode create. [ 7.678085] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /game_header] [ 7.678374] Service.FS core/file_sys/archive_other_savedata.cpp:Open:73: (stubbed) Unimplemented media type GameCard [ 7.678401] Service.FS core/hle/service/fs/fs_user.cpp:OpenArchive:322: failed to get a handle for archive archive_id=0x567890B4 archive_path=[Binary: 0200000046170000013c8b00] [ 7.678695] Service.FS core/file_sys/savedata_archive.cpp:OpenFile:67: Non-existing file ./sdcard/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000/00174600/data/00000001/game_data can't be open without mode create. [ 7.678713] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /game_data] [ 7.701973] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 7.702008] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 7.821336] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 7.821467] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 9.141661] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 9.141820] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 9.147440] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 9.147471] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 9.172686] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 9.172715] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 9.196744] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 9.196772] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 9.203051] Service.FS core/file_sys/archive_sdmc.cpp:OpenFileBase:74: Path not found ./sdcard/citra-emu/sdmc/private/Nintendo 3DS/app/message_us.bin [ 9.203078] Service.FS core/hle/service/fs/fs_user.cpp:OpenFile:69: failed to get a handle for file [Wchar: /private/Nintendo 3DS/app/message_us.bin] [ 9.415576] Service.CAM core/frontend/camera/factory.cpp:CreateCamera:28: Unknown camera [ 9.415624] Service.CAM core/frontend/camera/factory.cpp:CreateCamera:28: Unknown camera [ 9.415629] Service.CAM core/frontend/camera/factory.cpp:CreateCamera:28: Unknown camera [ 9.415790] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetSharpness': port='cam:u' cmd_buf={[0]=0x180080, [1]=0x5, [2]=0x3} [ 9.415865] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetExposure': port='cam:u' cmd_buf={[0]=0x150080, [1]=0x5, [2]=0x3} [ 9.415934] Service.CAM core/hle/service/cam/cam.cpp:SetFrameRate:792: (STUBBED) called, camera_select=5, frame_rate=8 [ 9.416057] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetNoiseFilter': port='cam:u' cmd_buf={[0]=0x280080, [1]=0x5, [2]=0x0} [ 9.416142] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetAutoExposureWindow': port='cam:u' cmd_buf={[0]=0x260140, [1]=0x1, [2]=0x0, [3]=0x120000, [4]=0x1e0, [5]=0x90701e0} [ 9.416689] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetAutoExposureWindow': port='cam:u' cmd_buf={[0]=0x260140, [1]=0x4, [2]=0xa0, [3]=0x120000, [4]=0x1e0, [5]=0x90701e0} [ 9.416814] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetAutoWhiteBalanceWindow': port='cam:u' cmd_buf={[0]=0x270140, [1]=0x1, [2]=0x0, [3]=0x120000, [4]=0x1e0, [5]=0x90701e0} [ 9.416857] Service core/hle/service/service.cpp:ReportUnimplementedFunction:163: unknown / unimplemented function 'SetAutoWhiteBalanceWindow': port='cam:u' cmd_buf={[0]=0x270140, [1]=0x4, [2]=0xa0, [3]=0x120000, [4]=0x1e0, [5]=0x90701e0} [ 9.417036] Service.CAM core/hle/service/cam/cam.cpp:SetTransferLines:405: (STUBBED) called, port_select=1, lines=4, width=512, height=384 [ 9.417082] Service.CAM core/hle/service/cam/cam.cpp:GetBufferErrorInterruptEvent:328: (STUBBED) called, port_select=1 [ 9.417299] Service.CAM core/hle/service/cam/cam.cpp:SynchronizeVsyncTiming:858: (STUBBED) called, camera_select1=1, camera_select2=4 [ 9.417529] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.418079] Service.CAM core/hle/service/cam/cam.cpp:ClearBuffer:292: (STUBBED) called, port_select=1 [ 9.418886] Service.CAM core/hle/service/cam/cam.cpp:GetSuitableY2rStandardCoefficient:963: (STUBBED) called [ 9.437307] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.488005] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.518574] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.553080] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.601814] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.654318] Service.FS core/hle/service/fs/archive.cpp:OpenLinkFile:231: (STUBBED) File command OpenLinkFile Path: [Binary: 000000000000000000000000] [ 9.737603] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 9.910069] Service.CAM core/hle/service/cam/cam.cpp:GetTransferBytes:478: (STUBBED)called, port_select=1 [ 10.091949] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:DebugHandler:527: API ERROR 2147483647: %s failed with internal Error: (%d) [ 10.092015] Debug video_core/renderer_opengl/gl_shader_util.cpp:operator():88: Assertion Failed! Shader not linked

HelloOO7 commented 5 years ago

Try disabling hardware shader, it breaks most games even on supported GPUs right now. You should be able to keep hardware renderer on without any issues with an Adreno GPU, but shader linking is tricky even there (confirmed with my G6).

kromr6487 commented 5 years ago

OK that fixed one of my issues but now im only getting 5 fps and the colors are all funky

kromr6487 commented 5 years ago

Colors are fixed but still low fps

HelloOO7 commented 5 years ago

That's just how it is. It's not your device's fault, that's the normal behaviour of Citra on Android in its current state. You might be lucky enough to get better framerates on very few by toying with the settings, but it's not expected to make games playable. If you want to play the games, do so on your 3DS (or PC), if you want to debug, that's what the emulator is for.

kromr6487 commented 5 years ago

True

kromr6487 commented 5 years ago

But i Do Hope they fix this in a future build

FrOsT1601 commented 5 years ago

Weird works fine for me besides the inverted colors of Pokemons. Also the fps are rly good with about 25fps average in Omega Ruby. In Ultra Moon I only have 12fps average.. Let's see how future builds will run. (Using a OnePlus 6)

kromr6487 commented 5 years ago

Hmm thats cool what settings is it running on

On Sat, Jan 5, 2019, 3:23 PM FrOsT1601 <notifications@github.com wrote:

Weird works fine for me besides the inverted colors of Pokemons. Also the fps are rly good with about 25fps average in Omega Ruby. In Ultra Moon I only have 12fps average.. Let's see how future builds will run. (Using a OnePlus 6)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SachinVin/citra_android/issues/159#issuecomment-451687616, or mute the thread https://github.com/notifications/unsubscribe-auth/AsQLpKK-vs6Vml0ThNfGMUWBLmWPypynks5vAQmzgaJpZM4ZxkPX .

HansAngelo815 commented 5 years ago

Remember guys this is just an early build of citra android dont expect too much okay😁😁

WesleyVanNeck commented 5 years ago

@HelloOO7 @kromr6487 it is working fine for me only thing that i dumped my old citra folder of my pc

HelloOO7 commented 5 years ago

We still do not know what games is @kromr6487 trying to run. Some of the older ones run near playable speeds, some newer do not. Games that don't crash with hardware shaders usually give us the best performance, but there are very few of those (hw shaders usually crash even on Adreno). With that said, the "games not loading" issue seems to be caused by hardware shader linking as after disabling the option, the game boots (albeit remains unplayable). Getting it to playable states depends on what game it is and what settings are being used.

kromr6487 commented 5 years ago

Ah its pokemon super mystery dungeon

On Sun, Jan 6, 2019, 6:18 AM HelloOO7 <notifications@github.com wrote:

We still do not know what games is @kromr6487 https://github.com/kromr6487 trying to run. Some of the older ones run near playable speeds, some newer do not. Games that don't crash with hardware shaders usually give us the best performance, but there are very few of those (hw shaders usually crash even on Adreno). With that said, the "games not loading" issue seems to be caused by hardware shader linking as after disabling the option, the game boots (albeit remains unplayable). Getting it to playable states depends on what game it is and what settings are being used.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SachinVin/citra_android/issues/159#issuecomment-451733699, or mute the thread https://github.com/notifications/unsubscribe-auth/AsQLpNY88_dlQoW8M_5N2SELASP_z6YRks5vAduTgaJpZM4ZxkPX .