Skip to content

[Bug] Adding Game/Update/DLC Directories crashes Ryujinx on Linux #204

@eromatiya

Description

@eromatiya

Description of the issue

After updating to 1.3.229-1 onwards, Ryujinx crashes if I try to add directories for games, updates and DLCs. File picker to add/update keys and firmware doesn't appear as well. Right now I'm using the latest canary build(1.3.234-1) in Archlinux.

For some reason it doesn't crash when I try to run it with superuser privilege, file picker for updating/installing the keys and firmware works without issue as well. This is what I did just to install the newest firmware. I just copied it from /root to /home, so I can play.

Reproduction steps

Just try to add Game, Update/DLCs directory from settings while using Ryujinx Canary 1.3.229-1 onwards. It crashes with the logs below.

Log file

00:02:51.017 |E| Application : Unhandled exception caught: Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/241635/root
at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource1.System.Threading.Tasks.Sources.IValueTaskSource<T>.GetResult(Int16 token) at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync[T](MessageBuffer message, MessageValueReader1 valueReader, Object state)
at Tmds.DBus.Protocol.Connection.CallMethodAsync[T](MessageBuffer message, MessageValueReader1 reader, Object readerState) at Avalonia.FreeDesktop.DBusSystemDialog.OpenFolderPickerAsync(FolderPickerOpenOptions options) at Avalonia.Platform.Storage.FallbackStorageProvider.OpenFolderPickerAsync(FolderPickerOpenOptions options) at Gommon.Extensions.Then[T,TR](Task1 task, Func2 continuation) at Ryujinx.Ava.UI.Views.Settings.SettingsUiView.AddDirButton(TextBox addDirBox, AvaloniaList1 directories)
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__124_0(Object state)
at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at Ryujinx.Ava.Program.Main(String[] args)
fish: Job 1, 'ryujinx' terminated by signal SIGABRT (Abort)

OS

Arch Linux

Ryujinx version

1.3.229-1

Game version

No response

CPU

Ryzen 5 5600G

GPU

RX 580

RAM

16GB

List of applied mods

No response

Additional context?

After a few test, the bug started with 1.3.229-1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIAvalonia or UI related issue.bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions