Flatpak game after symlink with performance issues

Im experience heavy performance issues, since i used the symlink for a Flatpak game, called BAR (Beyond all Reason). I play it almost daily and i never had problems, not till i used this symlink.

I moved BAR from my External Samsung SSD T5 (500gb) (connected with USB 3.0) to my Internal Samsung SSD 860 Pro (1TB) that i mainly use for gaming, but also for Win10 and since i though my External SSD has enough work to do with Linux and Swap and BAR.

I though it makes sense to use my idling and unused (in Linux) 860 SDD that connected with SATA, but instead improving the performance i think i made it worse. I just dont get it, whats going on here?

Maybe is there read/access degration when using Symlinks? Is there a way to improve access to the Data for my gaming SSD?

This is the commands that i used befor i had this issues.


# move exiting installation to new directory (dont create a Folder named “bar”) 
$ mv ~/.var/app/info.beyondallreason.bar/data/ /media/linux-games/bar

# give app in flatpak permission to read and write to new data directory
$ flatpak override --user --filesystem=/media/linux-games/bar info.beyondallreason.bar

# symlink the old data directory to new one
$ ln -s /media/linux-games/bar ~/.var/app/info.beyondallreason.bar/data
$ inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.15.94-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/vmlinuz-5.15-x86_64
    root=UUID=eb235aa7-d461-413d-800e-ea57385703fb rw quiet apparmor=1
    sysrq_always_enabled=1 retbleed=off security=apparmor
    resume=UUID=717b267e-7322-4bf9-a840-f1210d422d1a udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: Z170X-UD3 v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: Z170X-UD3-CF v: x.x serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: F23d date: 12/01/2017
Memory:
  RAM: total: 15.58 GiB used: 2.57 GiB (16.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 4501 high: 4505 min/max: 800/4700 scaling:
    driver: intel_pstate governor: performance cores: 1: 4501 2: 4501 3: 4499
    4: 4500 5: 4499 6: 4499 7: 4505 8: 4504 bogomips: 64026
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed status: Vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] vendor: Micro-Star MSI
    driver: nvidia v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1e07 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 122 s-size: 532x302mm (20.94x11.89")
    s-diag: 612mm (24.08")
  Monitor-1: DP-4 res: 2560x1440 dpi: 123 size: 527x296mm (20.75x11.65")
    diag: 604mm (23.8") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce RTX 2080
    Ti/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170
    class-ID: 0403
  Device-2: NVIDIA TU102 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f7 class-ID: 0403
  Device-3: Creative Labs CA0132 Sound Core3D [Sound Blaster Recon3D /
    Z-Series BlasterX AE-5 Plus] driver: snd_hda_intel v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 0b:00.0 chip-ID: 1102:0012 class-ID: 0403
  Sound API: ALSA v: k5.15.94-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 5.48 TiB used: 245.65 GiB (4.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 960 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B7QCXE7 temp: 39.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 PRO 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: HGST (Hitachi) model: HDN724030ALE640
    size: 2.73 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: A5E0 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: Samsung
    model: Portable SSD T5 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B type: SSD serial: <filter> scheme: MBR
  ID-5: /dev/sdd maj-min: 8:48 type: USB vendor: Seagate model: BUP Slim BK
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: N/A
    serial: <filter> rev: 0302 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 88.61 GiB size: 86.66 GiB (97.80%) used: 26.83 GiB (31.0%)
    fs: ext4 dev: /dev/sdc1 maj-min: 8:33 label: N/A
    uuid: eb235aa7-d461-413d-800e-ea57385703fb
  ID-2: /boot raw-size: 200 MiB size: 188.2 MiB (94.09%)
    used: 68.9 MiB (36.6%) fs: ext3 dev: /dev/sdc3 maj-min: 8:35 label: N/A
    uuid: 26eda82e-b403-49b8-abca-202167417020
  ID-3: /home raw-size: 332.03 GiB size: 325.75 GiB (98.11%)
    used: 7.62 GiB (2.3%) fs: ext4 dev: /dev/sdc4 maj-min: 8:36 label: N/A
    uuid: ada4a6a2-bd0a-4652-b386-7c637bba7ee9
  ID-4: /media/linux-games raw-size: 196.58 GiB size: 192.43 GiB (97.89%)
    used: 132.26 GiB (68.7%) fs: ext4 dev: /dev/sda3 maj-min: 8:3
    label: Linux-games uuid: dd5af583-9d00-4017-adf7-e1d8876486e7
  ID-5: /media/temp raw-size: 63.48 GiB size: 62.18 GiB (97.96%)
    used: 20.05 GiB (32.2%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 label: temp
    uuid: 1e81b7c2-3438-438a-b572-ff8a966a78e1
  ID-6: /run/media/koboldx/Backup PC raw-size: 462.76 GiB
    size: 454.43 GiB (98.20%) used: 58.82 GiB (12.9%) fs: ext4 dev: /dev/sdd1
    maj-min: 8:49 label: Backup PC uuid: 8a779c83-ea89-4c23-acdb-8524194cd97f
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sdc2 maj-min: 8:34 label: N/A
    uuid: 717b267e-7322-4bf9-a840-f1210d422d1a
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 442.47 GiB fs: ntfs label: ssm
    uuid: AE7EDC0696B158FD
  ID-2: /dev/sda1 maj-min: 8:1 size: 50 MiB fs: ntfs label: System-reserviert
    uuid: B2286A122869D5BF
  ID-3: /dev/sda2 maj-min: 8:2 size: 97.09 GiB fs: ntfs label: win10
    uuid: 5E60C09860C077F3
  ID-4: /dev/sda4 maj-min: 8:4 size: 585.94 GiB fs: ntfs label: games
    uuid: 165692E31D7ADAF2
  ID-5: /dev/sdb2 maj-min: 8:18 size: 1.57 TiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-6: /dev/sdb3 maj-min: 8:19 size: 1.09 TiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-7: /dev/sdd2 maj-min: 8:50 size: 468.75 GiB fs: ext4
    label: Backup Laptop uuid: ba42cd8d-3994-4491-85a2-f55f60a1d0e9
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-9:2 info: Endor AG ClubSportPedal type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 0eb7:183b class-ID: 0300
  Device-2: 1-13:3 info: A4Tech XL-730K / XL-750BK XL-755BK Mice
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 09da:9090 class-ID: 0301
  Hub-2: 2-0:1 info: Super-speed hub ports: 10 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 2-3:3 info: Seagate RSS LLC Backup Plus Portable Drive
    type: Mass Storage driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s
    power: 144mA chip-ID: 0bc2:ab24 class-ID: 0806 serial: <filter>
  Device-2: 2-5:2 info: Samsung Portable SSD T5 type: Mass Storage
    driver: uas interfaces: 1 rev: 3.1 speed: 5 Gb/s power: 896mA
    chip-ID: 04e8:61f5 class-ID: 0806 serial: <filter>
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 23.0 C mobo: N/A gpu: nvidia temp: 27 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 25%
Info:
  Processes: 243 Uptime: 14m wakeups: 1 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1484
  pm: pacman pkgs: 1478 libs: 417 tools: pamac pm: flatpak pkgs: 6 Shell: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.25

I reverted my changes few days later (with Timeshift) and my performance is back to normal after this.

So must be some heavily and strange performance issue with Flatpak Symlink.

I also had played the same game on the same SSD (860 pro) under win10 and there was no issues at all.

Anyone have a idea, why is there a problem?

Because “flatpak” happens. Use it as intended, or get gray hairs. Flatpak is designed to aim somewhat Androids pm, so no wonder it will not work good, when you use symlinks. :man_shrugging:

Your answer is false, Symlink runs flawless, after i switched from my Samsung 860Pro SSD to a Corsair MP600 LPX (nvme m.2 drive).

Since i use Symlinks, my game runs even faster than befor :slight_smile:

I think my Samsung 860 Pro SSD isnt good supported from Linux. :face_with_diagonal_mouth:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.