PabloMK7 / citra

A Nintendo 3DS Emulator
GNU General Public License v2.0
3.41k stars 605 forks source link

Bus error running in archlinux #120

Open Pigeonwang08 opened 4 months ago

Pigeonwang08 commented 4 months ago

Is there an existing issue for this?

Affected Build(s)

citra 71eca05`

Description of Issue

If use the OpenGL api to run, the terminal reports: ❯ ./citra-qt.AppImage [1] 15297 bus error (core dumped) ./citra-qt.AppImage Well, if use Vulkan api, the reports says: ❯ ./citra-qt.AppImage [1] 15590 bus error (core dumped) ./citra-qt.AppImage

Expected Behavior

Previous versions did not include these massive bugs. If the problem owes to the requirements in the linux environment,please tell me

Reproduction Steps

Open citra. Run the game. The citra disappeared.

Log File

If use the OpenGL api to run, the terminal reports: ❯ ./citra-qt.AppImage [1] 15297 bus error (core dumped) ./citra-qt.AppImage Well, if use Vulkan api, the reports says: ❯ ./citra-qt.AppImage [1] 15590 bus error (core dumped) ./citra-qt.AppImage

System Configuration

CPU:AMD Ryzen 3100 GPU/Driver:Radeon 5700xt/amdgpu RAM:16GB OS:archlinux, kernel 6.8.9

PabloMK7 commented 4 months ago

Hello, your are not providing a log file, it will be impossible to determine the issue without it.

Pigeonwang08 commented 4 months ago

Hello, your are not providing a log file, it will be impossible to determine the issue without it.

[ 3.081650] Render.OpenGL <Info> video_core/renderer_opengl/gl_shader_disk_cache.cpp:LoadTransferable:175: Found a transferable disk cache with 791 entries [ 3.100046] Service.CAM <Info> citra_qt/camera/qt_multimedia_camera.cpp:ResumeCameras:50: Resuming all cameras [ 3.103729] Frontend <Warning> common/linux/gamemode.cpp:StartGamemode:15: Failed to start gamemode: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory [ 3.103782] Core <Warning> core/savestate.cpp:ValidateSaveState:82: Save state file /home/pigeon/.local/share/citra-emu/states/0004000000088A00.01.cst created from a different build Nightly 2077 with revision 359e6e3a31e831be22615eb14e79a0e67a6d8516 [ 3.103806] Core <Warning> core/savestate.cpp:ValidateSaveState:82: Save state file /home/pigeon/.local/share/citra-emu/states/0004000000088A00.02.cst created from a different build Nightly 2077 with revision 359e6e3a31e831be22615eb14e79a0e67a6d8516 [ 3.103827] Core <Warning> core/savestate.cpp:ValidateSaveState:82: Save state file /home/pigeon/.local/share/citra-emu/states/0004000000088A00.03.cst created from a different build Nightly 2077 with revision 359e6e3a31e831be22615eb14e79a0e67a6d8516 [ 3.112554] Render.OpenGL <Info> video_core/renderer_opengl/gl_shader_disk_cache.cpp:LoadPrecompiledFile:282: Found a precompiled disk cache with 791 decompiled entries and 791 binary entries [ 3.436778] Service.SRV <Warning> core/hle/service/sm/srv.cpp:RegisterClient:63: (STUBBED) called. Caller PID=11 [ 3.437041] Service.SRV <Warning> core/hle/service/sm/srv.cpp:EnableNotification:85: (STUBBED) called [ 3.442671] Service.NDM <Warning> core/hle/service/ndm/ndm_u.cpp:OverrideDefaultDaemons:186: (STUBBED) bit_mask=0x0000000F [ 3.443450] Service.NDM <Warning> core/hle/service/ndm/ndm_u.cpp:SuspendDaemons:74: (STUBBED) bit_mask=0x00000006 [ 3.464178] Service.FS <Warning> core/hle/service/fs/fs_user.cpp:InitializeWithSdkVersion:1062: (STUBBED) called, version: 0x040201C8 [ 3.464721] Service.FS <Error> ./core/file_sys/archive_backend.h:GetOpenDelayNs:209: Delay generator was not initalized. Using default [ 3.475780] Service.FS <Error> ./core/file_sys/archive_backend.h:GetOpenDelayNs:209: Delay generator was not initalized. Using default [ 3.616448] Service.FS <Error> core/file_sys/savedata_archive.cpp:CreateFile:229: /home/pigeon/.local/share/citra-emu/nand/data/00000000000000000000000000000000/extdata/00048000/F000000B/user/gamecoin.dat already exists [ 3.617385] Service.AC <Warning> core/hle/service/ac/ac.cpp:SetClientVersion:189: (STUBBED) called, version: 0x040201C8 [ 3.618150] Service <Error> core/hle/service/service.cpp:ReportUnimplementedFunction:168: unknown / unimplemented function 'Initialize': port='nim:aoc' cmd_buf={[0]=0x210000 (0x0021, 0, 0)} [ 3.618945] Service.APT <Warning> core/hle/service/apt/apt.cpp:AppletUtility:689: (STUBBED) called command=0X00000004, input_size=0X00000001, output_size=0X00000001 [ 3.620335] Service.APT <Warning> core/hle/service/apt/apt.cpp:NotifyToWait:338: (STUBBED) app_id=768 [ 3.622874] Service.APT <Warning> core/hle/service/apt/apt.cpp:AppletUtility:689: (STUBBED) called command=0X00000007, input_size=0X00000004, output_size=0X00000001 [ 3.622923] Service.APT <Warning> core/hle/service/apt/apt.cpp:AppletUtility:689: (STUBBED) called command=0X00000004, input_size=0X00000001, output_size=0X00000001 [ 3.624779] Service.FS <Error> ./core/file_sys/archive_backend.h:GetOpenDelayNs:209: Delay generator was not initalized. Using default [ 3.624837] Service.FS <Warning> core/file_sys/archive_ncch.cpp:OpenFile:166: Bad Word List file missing. Loading open source replacement from memory [ 4.241623] Service.SRV <Warning> core/hle/service/sm/srv.cpp:Subscribe:212: (STUBBED) called, notification_id=0x209 [ 4.241735] Service.SRV <Warning> core/hle/service/sm/srv.cpp:Subscribe:212: (STUBBED) called, notification_id=0x207 [ 4.253392] Service.DSP <Info> audio_core/hle/hle.cpp:LoadComponent:460: Firmware hash: 0x3318473a60c8e953 [ 4.253396] Service.DSP <Info> audio_core/hle/hle.cpp:LoadComponent:464: Structures hash: 0x228655de1258d999 [ 4.253398] Service.DSP <Info> core/hle/service/dsp/dsp_dsp.cpp:LoadComponent:192: called size=0xC20A, prog_mask=0x00FF, data_mask=0x00FF [ 4.254112] Service.DSP <Info> core/hle/service/dsp/dsp_dsp.cpp:RegisterInterruptEvents:259: Registered interrupt=2, channel=2, event=event-00129118 [ 4.254391] Service.DSP <Warning> core/hle/service/dsp/dsp_dsp.cpp:GetSemaphoreEventHandle:275: (STUBBED) called [ 4.254682] Service.DSP <Warning> core/hle/service/dsp/dsp_dsp.cpp:SetSemaphoreMask:285: (STUBBED) called mask=0x2000 [ 4.255307] Audio.DSP <Info> audio_core/hle/hle.cpp:PipeWrite:224: Application has requested initialization of DSP hardware [ 4.255515] Service.DSP <Info> core/hle/service/dsp/dsp_dsp.cpp:SetSemaphore:57: called, semaphore_value=4000 [ 4.256449] Service.DSP <Info> core/hle/service/dsp/dsp_dsp.cpp:SetSemaphore:57: called, semaphore_value=4000 [ 4.812894] Service.APT <Warning> core/hle/service/apt/apt.cpp:AppletUtility:689: (STUBBED) called command=0X00000004, input_size=0X00000001, output_size=0X00000001 [ 6.233155] Service.PTM <Warning> core/hle/service/ptm/ptm.cpp:GetTotalStepCount:108: (STUBBED) called [ 6.689705] Service.APT <Warning> core/hle/service/apt/apt.cpp:ReplySleepQuery:939: (STUBBED) called, from_app_id=00000300, reply_value=00000000 [ 6.823396] Service.APT <Warning> core/hle/service/apt/apt.cpp:AppletUtility:689: (STUBBED) called command=0X00000004, input_size=0X00000001, output_size=0X00000001 [ 6.957055] Service.AM <Warning> core/hle/service/am/am.cpp:ListDataTitleTicketInfos:1167: (STUBBED) ticket_count=0x00000001, title_id=0x0004008c00088a00, start_index=0x00000000 [ 10.664236] Service.FS <Warning> core/hle/service/fs/file.cpp:OpenLinkFile:376: (STUBBED) File command OpenLinkFile Path: [Binary: 000000000000000000000000] [ 53.764526] Service.APT <Warning> core/hle/service/apt/apt.cpp:ReplySleepQuery:939: (STUBBED) called, from_app_id=00000300, reply_value=00000000 [ 53.829711] Service.FS <Error> ./core/file_sys/archive_backend.h:GetOpenDelayNs:209: Delay generator was not initalized. Using default These are valid log file.Thanks

Pigeonwang08 commented 4 months ago

Hello, your are not providing a log file, it will be impossible to determine the issue without it.

[ 0.457225] Input input_common/udp/client.cpp:StartCommunication:206: Starting communication with UDP input server on 127.0.0.1:26760 [ 0.483471] Frontend citra_qt/main.cpp:GMainWindow:215: Citra Version: 71eca05 | HEAD-71eca05 [ 0.483479] Frontend citra_qt/main.cpp:GMainWindow:230: Host CPU: AMD Ryzen 3 3100 4-Core Processor | AVX2 | FMA [ 0.483504] Frontend citra_qt/main.cpp:GMainWindow:232: Host OS: Arch Linux [ 0.484891] Frontend citra_qt/main.cpp:GMainWindow:235: Host RAM: 15.56 GiB [ 0.484893] Frontend citra_qt/main.cpp:GMainWindow:236: Host Swap: 4.00 GiB [ 0.492885] Frontend citra_qt/game_list.cpp:LoadCompatibilityList:821: Game compatibility list is empty [ 0.517346] Frontend citra_qt/main.cpp:CheckForUpdates:1014: Unable to start check for updates [ 13.046773] Frontend citra_qt/main.cpp:OnGameListOpenFolder:1655: Opening Mods path for data_id=0004000000088a00 [ 31.374786] Frontend citra_qt/main.cpp:BootGame:1253: Citra starting... [ 31.374891] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:157: 16384 [ 31.374901] Frontend citra_qt/main.cpp:BootGame:1276: Loading per game config file for title 0004000000088A00 [ 31.427358] Config common/settings.cpp:LogSettings:83: Citra Configuration: [ 31.427363] Config common/settings.cpp:operator():80: Core_UseCpuJit: true [ 31.427390] Config common/settings.cpp:operator():80: Core_CPUClockPercentage: 100 [ 31.427391] Config common/settings.cpp:operator():80: Renderer_UseGLES: false [ 31.427392] Config common/settings.cpp:operator():80: Renderer_GraphicsAPI: OpenGL [ 31.427394] Config common/settings.cpp:operator():80: Renderer_AsyncShaders: false [ 31.427395] Config common/settings.cpp:operator():80: Renderer_AsyncPresentation: false [ 31.427395] Config common/settings.cpp:operator():80: Renderer_SpirvShaderGen: true [ 31.427396] Config common/settings.cpp:operator():80: Renderer_Debug: false [ 31.427396] Config common/settings.cpp:operator():80: Renderer_UseHwShader: true [ 31.427397] Config common/settings.cpp:operator():80: Renderer_ShadersAccurateMul: true [ 31.427397] Config common/settings.cpp:operator():80: Renderer_UseShaderJit: true [ 31.427398] Config common/settings.cpp:operator():80: Renderer_UseResolutionFactor: 7 [ 31.427398] Config common/settings.cpp:operator():80: Renderer_FrameLimit: 100 [ 31.427399] Config common/settings.cpp:operator():80: Renderer_VSyncNew: true [ 31.427400] Config common/settings.cpp:operator():80: Renderer_PostProcessingShader: none (builtin) [ 31.427400] Config common/settings.cpp:operator():80: Renderer_FilterMode: false [ 31.427401] Config common/settings.cpp:operator():80: Renderer_TextureFilter: MMPX [ 31.427401] Config common/settings.cpp:operator():80: Renderer_TextureSampling: GameControlled [ 31.427403] Config common/settings.cpp:operator():80: Stereoscopy_Render3d: 0 [ 31.427404] Config common/settings.cpp:operator():80: Stereoscopy_Factor3d: 0 [ 31.427407] Config common/settings.cpp:operator():80: Stereoscopy_MonoRenderOption: 0 [ 31.427408] Config common/settings.cpp:operator():80: Layout_LayoutOption: 4 [ 31.427409] Config common/settings.cpp:operator():80: Layout_SwapScreen: false [ 31.427410] Config common/settings.cpp:operator():80: Layout_UprightScreen: false [ 31.427411] Config common/settings.cpp:operator():80: Layout_LargeScreenProportion: 4 [ 31.427415] Config common/settings.cpp:operator():80: Utility_DumpTextures: false [ 31.427415] Config common/settings.cpp:operator():80: Utility_CustomTextures: false [ 31.427416] Config common/settings.cpp:operator():80: Utility_PreloadTextures: false [ 31.427418] Config common/settings.cpp:operator():80: Utility_AsyncCustomLoading: true [ 31.427418] Config common/settings.cpp:operator():80: Utility_UseDiskShaderCache: true [ 31.427420] Config common/settings.cpp:operator():80: Audio_Emulation: HLE [ 31.427429] Config common/settings.cpp:operator():80: Audio_OutputType: 0 [ 31.427430] Config common/settings.cpp:operator():80: Audio_OutputDevice: auto [ 31.427431] Config common/settings.cpp:operator():80: Audio_InputType: 0 [ 31.427432] Config common/settings.cpp:operator():80: Audio_InputDevice: auto [ 31.427433] Config common/settings.cpp:operator():80: Audio_EnableAudioStretching: true [ 31.427435] Config common/settings.cpp:operator():80: Camera_OuterRightName: blank [ 31.427450] Config common/settings.cpp:operator():80: Camera_OuterRightConfig: [ 31.427451] Config common/settings.cpp:operator():80: Camera_OuterRightFlip: 0 [ 31.427451] Config common/settings.cpp:operator():80: Camera_InnerName: blank [ 31.427452] Config common/settings.cpp:operator():80: Camera_InnerConfig: [ 31.427455] Config common/settings.cpp:operator():80: Camera_InnerFlip: 0 [ 31.427455] Config common/settings.cpp:operator():80: Camera_OuterLeftName: blank [ 31.427456] Config common/settings.cpp:operator():80: Camera_OuterLeftConfig: [ 31.427457] Config common/settings.cpp:operator():80: Camera_OuterLeftFlip: 0 [ 31.427458] Config common/settings.cpp:operator():80: DataStorage_UseVirtualSd: true [ 31.427469] Config common/settings.cpp:operator():80: DataStorage_UseCustomStorage: false [ 31.427470] Config common/settings.cpp:operator():80: System_IsNew3ds: true [ 31.427470] Config common/settings.cpp:operator():80: System_LLEApplets: false [ 31.427471] Config common/settings.cpp:operator():80: System_RegionValue: -1 [ 31.427471] Config common/settings.cpp:operator():80: System_PluginLoader: false [ 31.427472] Config common/settings.cpp:operator():80: System_PluginLoaderAllowed: true [ 31.427473] Config common/settings.cpp:operator():80: Debugging_DelayStartForLLEModules: true [ 31.427473] Config common/settings.cpp:operator():80: Debugging_UseGdbstub: false [ 31.427474] Config common/settings.cpp:operator():80: Debugging_GdbstubPort: 24689 [ 31.574529] Audio.DSP audio_core/hle/aac_decoder.cpp:AACDecoder:27: Created FAAD2 AAC decoder. [ 31.600774] Audio.Sink audio_core/cubeb_sink.cpp:StateCallback:135: Cubeb Audio Stream Started [ 31.600792] RPC_Server core/rpc/rpc_server.cpp:RPCServer:14: Starting RPC server. [ 31.600846] RPC_Server core/rpc/rpc_server.cpp:HandleRequestsLoop:104: Request handler started. [ 31.601765] Service.HTTP core/hle/service/http/http_c.cpp:DecryptClCertA:1974: ClCertA file missing [ 31.604916] Render.OpenGL video_core/renderer_opengl/gl_driver.cpp:ReportDriverInfo:133: GL_VERSION: 4.6 (Core Profile) Mesa 24.0.7-arch1.3 [ 31.604918] Render.OpenGL video_core/renderer_opengl/gl_driver.cpp:ReportDriverInfo:134: GL_VENDOR: AMD [ 31.604919] Render.OpenGL video_core/renderer_opengl/gl_driver.cpp:ReportDriverInfo:135: GL_RENDERER: AMD Radeon RX 5700 XT (radeonsi, navi10, LLVM 17.0.6, DRM 3.57, 6.8.9-zen1-2-zen) [ 31.629715] Loader core/loader/ncch.cpp:Load:270: Program ID: 0004000000088A00 [ 31.629739] Service.FS core/file_sys/ncch_container.cpp:OpenFile:126: Failed to open /home/pigeon/.local/share/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/0004000e/00088a00/content/00000000.app [ 31.671593] Loader core/hle/kernel/process.cpp:ParseKernelCaps:196: ExHeader kernel version: 2.32 [ 31.672558] Service.FS core/file_sys/ncch_container.cpp:LoadSectionExeFS:506: Attempting to load logo from the ExeFS [ 31.692898] Render.OpenGL video_core/renderer_opengl/gl_shader_disk_cache.cpp:LoadTransferable:175: Found a transferable disk cache with 791 entries [ 31.719435] Service.CAM citra_qt/camera/qt_multimedia_camera.cpp:ResumeCameras:50: Resuming all cameras [ 31.722230] Render.OpenGL video_core/renderer_opengl/gl_shader_disk_cache.cpp:LoadPrecompiledFile:282: Found a precompiled disk cache with 791 decompiled entries and 791 binary entries [ 31.723294] Frontend common/linux/gamemode.cpp:StartGamemode:15: Failed to start gamemode: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory [ 32.009665] Service.SRV core/hle/service/sm/srv.cpp:RegisterClient:63: (STUBBED) called. Caller PID=11 [ 32.009848] Service.SRV core/hle/service/sm/srv.cpp:EnableNotification:85: (STUBBED) called [ 32.013701] Service.NDM core/hle/service/ndm/ndm_u.cpp:OverrideDefaultDaemons:186: (STUBBED) bit_mask=0x0000000F [ 32.014230] Service.NDM core/hle/service/ndm/ndm_u.cpp:SuspendDaemons:74: (STUBBED) bit_mask=0x00000006 [ 32.032775] Service.FS core/hle/service/fs/fs_user.cpp:InitializeWithSdkVersion:1062: (STUBBED) called, version: 0x040201C8 [ 32.033303] Service.FS ./core/file_sys/archive_backend.h:GetOpenDelayNs:209: Delay generator was not initalized. Using default

Pigeonwang08 commented 4 months ago

citra_log.txt