flathub / org.yuzu_emu.yuzu

https://flathub.org/apps/details/org.yuzu_emu.yuzu
22 stars 45 forks source link

yuzu crashes after changing NAND and SDMC directory #1240

Open JanDerMoon opened 1 year ago

JanDerMoon commented 1 year ago

yuzu Version

1571

Description

Hi folks,

when I change the storage directories for NAND and SDMC to e.g. /home/jan/yuzu/nand and /home/jan/yuzu/sdmc it crashes when I try to start a game: image

When I try to open the save data directory by right clicking a game I get the following error: image

I want to change the directories so the save data of my games is included in my PC backup. Can you please help me with this issue?

Reproduction Certainty

Always

System Information

System:
  Host: pop-os Kernel: 6.4.6-76060406-generic x86_64 bits: 64 compiler: N/A
    Desktop: GNOME 42.5 Distro: Pop!_OS 22.04 LTS base: Ubuntu 22.04 LTS Jammy
Machine:
  Type: Desktop System: Gigabyte product: X570 I AORUS PRO WIFI v: -CF
    serial: <superuser required>
  Mobo: Gigabyte model: X570 I AORUS PRO WIFI serial: <superuser required>
    UEFI: American Megatrends LLC. v: F36 date: 12/26/2022
CPU:
  Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3
    rev: 0 cache: L1: 768 KiB L2: 6 MiB L3: 64 MiB
  Speed (MHz): avg: 2428 high: 3700 min/max: 2200/4950 boost: enabled
    cores: 1: 3700 2: 2879 3: 2880 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200
    9: 2200 10: 2200 11: 2200 12: 2200 13: 2200 14: 3700 15: 2200 16: 2800
    17: 2200 18: 2200 19: 2200 20: 2200 21: 2725 22: 2200 23: 2200 24: 2200
    bogomips: 177598
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080] vendor: eVga.com. driver: nvidia
    v: 535.113.01 bus-ID: 0a:00.0
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution:
    1: 3440x1440 2: 900x1440
  OpenGL: renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
    v: 4.6.0 NVIDIA 535.113.01 direct render: Yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: kernel
    port: f000 bus-ID: 05:00.0
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: b4:2e:99:d7:be:81
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 06:00.0
  IF: wlp6s0 state: down mac: 94:e6:f7:9c:84:39
Drives:
  Local Storage: total: 2.73 TiB used: 1.2 TiB (44.0%)
Info:
  Processes: 507 Uptime: 4h 18m Memory: 31.25 GiB used: 6.16 GiB (19.7%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2436 Shell: Bash
  v: 5.1.16 inxi: 3.3.13

Logs and Backtraces

yuzu_log.txt

Remarks

This only happens with the version from Pop!_Shop. AppImage is working fine.

Default path for the yuzu folder is /home/jan/.var/app/org.yuzu_emu.yuzu/data/yuzu

nezd5553 commented 1 year ago

It's probably crashing because as a flatpak, it doesn't have permission to access those directories. You can grant the permission with flatpak override org.yuzu_emu.yuzu --user --filesystem=/home/jan/yuzu (or whatever directory you prefer).