Homebrew I am having a issue installing the Citra 3ds emulator on the Linux OS

  • Thread starter Deleted User
  • Start date
  • Views 3,802
  • Replies 2
D

Deleted User

Guest
OP
I was wondering if there is a workaround for a issue I am having I am trying to install Citra 3DS emulator on the Linux Mint OS via the terminal everything runs smoothly until I reach about 65% and then I get this error in the terminal

Code:
ryu@ryu-ThinkPad-T410:~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
ryu@ryu-ThinkPad-T410:~$ flatpak install https://flatpak.citra-emu.org/citra-nightly.flatpakref
Required runtime for org.citra.citra-nightly/x86_64/master (runtime/org.kde.Platform/x86_64/5.12) found in remote flathub
Do you want to install it? [Y/n]: Y

org.citra.citra-nightly permissions:
    ipc           network               pulseaudio            x11
    devices       file access [1]       dbus access [2]

        ID                      Branch Op Remote               Download
        ID                      Branch Op Remote               Download
 1. [—] org.kde.Platform        5.12   i  flathub               202.9 MB / 430.1 MB
        ID                      Branch Op Remote               Download
 1. [\] org.kde.Platform        5.12   i  flathub               202.9 MB / 430.1 MB
 2. [ ] org.citra.citra-nightly master i  citra-nightly-origin < 12.0 MB
        ID                      Branch Op Remote               Download
 1. [✗] org.kde.Platform        5.12   i  flathub               202.9 MB / 430.1 MB
 2. [ ] org.citra.citra-nightly master i  citra-nightly-origin < 12.0 MB

Error: While pulling runtime/org.kde.Platform/x86_64/5.12 from remote flathub: Error reading data from TLS socket: A TLS packet with unexpected length was received.
error: Failed to install org.kde.Platform: While pulling runtime/org.kde.Platform/x86_64/5.12 from remote flathub: Error reading data from TLS socket: A TLS packet with unexpected length was received.
^[[21;60Rryu@ryu-ThinkPad-T410:~$

does anyone have a solution or workaround for this issue if so than any help would be greatly appreciated thanks
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,432
Trophies
2
XP
14,877
Country
Germany
Similar problems:
https://github.com/flatpak/flatpak/issues/2293
https://github.com/flatpak/flatpak/issues/1925
Please read those issues – maybe there is something helpful for you.

I cannot replicate the issue from my side – and couldn’t find out from where Flatpak downloads the data. Downloading in advance (flatpak --user install org.kde.platform//5.12 --no-deploy) gives a huge amount of directories containing small files under ~/.local/share/flatpak/repo/objects.

Code:
flatpak --user install https://flatpak.citra-emu.org/citra-nightly.flatpakref --no-deploy
Required runtime for org.citra.citra-nightly/x86_64/master (runtime/org.kde.Platform/x86_64/5.12) found in remote flathub
Do you want to install it? [Y/n]: y

org.citra.citra-nightly permissions:
    ipc      network      pulseaudio      x11      devices      file access [1]      dbus access [2]

    [1] host:ro, xdg-config/citra-emu:create, xdg-config/kdeglobals:ro, xdg-data/citra-emu:create, xdg-run/dconf, ~/.config/dconf:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                                Arch          Zweig         Remote                      Download
 1. [✓] org.kde.Platform                                  x86_64        5.12          flathub                     413,9 MB / 430,1 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-390-132        x86_64        1.4           flathub                      48,0 MB / 48,0 MB
 3. [✓] org.freedesktop.Platform.html5-codecs             x86_64        18.08         flathub                       3,2 MB / 3,3 MB
 4. [✓] org.kde.KStyle.Adwaita                            x86_64        5.12          flathub                       5,6 MB / 5,6 MB
 5. [✓] org.kde.Platform.Locale                           x86_64        5.12          flathub                      23,2 MB / 334,3 MB
 6. [✓] org.citra.citra-nightly                           x86_64        master        citra-nightly-origin         12,0 MB / 12,0 MB

Installation complete.

– and –

Code:
flatpak --user install https://flatpak.citra-emu.org/citra-nightly.flatpakref --no-pull
org.citra.citra-nightly permissions:
    ipc      network      pulseaudio      x11      devices      file access [1]      dbus access [2]

    [1] host:ro, xdg-config/citra-emu:create, xdg-config/kdeglobals:ro, xdg-data/citra-emu:create, xdg-run/dconf, ~/.config/dconf:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                                Arch          Zweig         Remote                      Download
 1. [✓] org.kde.Platform                                  x86_64        5.12          flathub                     < 430,1 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-390-132        x86_64        1.4           flathub                     < 432,7 kB
 3. [✓] org.freedesktop.Platform.html5-codecs             x86_64        18.08         flathub                       < 3,3 MB
 4. [✓] org.kde.KStyle.Adwaita                            x86_64        5.12          flathub                       < 5,6 MB
 5. [✓] org.kde.Platform.Locale                           x86_64        5.12          flathub                     < 334,3 MB (partial)
 6. [✓] org.citra.citra-nightly                           x86_64        master        citra-nightly-origin         < 12,0 MB

Warning: Removing magic mime rule from exports
Warning: Removing magic mime rule from exports
        ID                                                Arch          Zweig         Remote                      Download
 1. [✓] org.kde.Platform                                  x86_64        5.12          flathub                     < 430,1 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-390-132        x86_64        1.4           flathub                     < 432,7 kB
 3. [✓] org.freedesktop.Platform.html5-codecs             x86_64        18.08         flathub                       < 3,3 MB
 4. [✓] org.kde.KStyle.Adwaita                            x86_64        5.12          flathub                       < 5,6 MB
 5. [✓] org.kde.Platform.Locale                           x86_64        5.12          flathub                     < 334,3 MB (partial)
 6. [✓] org.citra.citra-nightly                           x86_64        master        citra-nightly-origin         < 12,0 MB

Installation complete.
Citra starts normally with flatpak --user run org.citra.citra-nightly and loads games as one would expect.

Since you mentioned using an Ubuntu based distro (Mint) it may be worth a try using the not flatpak based nightly build.
https://github.com/citra-emu/citra-nightly/releases
This build did not work for me because it wants a specific version of libsndio which is not available for openSUSE (libsndio.so.6.1) and after tricking Citra in using the self-compiles v7.0 version (symlink) it complained about wrong version of the glibc standard libraries – not going to fiddle around with those.

My guess is that Ubuntu 18.04 is the basis for the nightly builds and has the needed libraries by default or in the official repos – but I don’t know.

This is probably the reason why they switched to distributing the linux version with such a software deployment tool as Flatpak: It ensures correct library versions for each application and is independent from the actual distribution and installed system libs (at the price of a possibly HUGE overhead – like downloading an additional version of the compete KDE runtime environment)
 
D

Deleted User

Guest
OP
Similar problems:
https://github.com/flatpak/flatpak/issues/2293
https://github.com/flatpak/flatpak/issues/1925
Please read those issues – maybe there is something helpful for you.

I cannot replicate the issue from my side – and couldn’t find out from where Flatpak downloads the data. Downloading in advance (flatpak --user install org.kde.platform//5.12 --no-deploy) gives a huge amount of directories containing small files under ~/.local/share/flatpak/repo/objects.

Code:
flatpak --user install https://flatpak.citra-emu.org/citra-nightly.flatpakref --no-deploy
Required runtime for org.citra.citra-nightly/x86_64/master (runtime/org.kde.Platform/x86_64/5.12) found in remote flathub
Do you want to install it? [Y/n]: y

org.citra.citra-nightly permissions:
    ipc      network      pulseaudio      x11      devices      file access [1]      dbus access [2]

    [1] host:ro, xdg-config/citra-emu:create, xdg-config/kdeglobals:ro, xdg-data/citra-emu:create, xdg-run/dconf, ~/.config/dconf:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                                Arch          Zweig         Remote                      Download
 1. [✓] org.kde.Platform                                  x86_64        5.12          flathub                     413,9 MB / 430,1 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-390-132        x86_64        1.4           flathub                      48,0 MB / 48,0 MB
 3. [✓] org.freedesktop.Platform.html5-codecs             x86_64        18.08         flathub                       3,2 MB / 3,3 MB
 4. [✓] org.kde.KStyle.Adwaita                            x86_64        5.12          flathub                       5,6 MB / 5,6 MB
 5. [✓] org.kde.Platform.Locale                           x86_64        5.12          flathub                      23,2 MB / 334,3 MB
 6. [✓] org.citra.citra-nightly                           x86_64        master        citra-nightly-origin         12,0 MB / 12,0 MB

Installation complete.

– and –

Code:
flatpak --user install https://flatpak.citra-emu.org/citra-nightly.flatpakref --no-pull
org.citra.citra-nightly permissions:
    ipc      network      pulseaudio      x11      devices      file access [1]      dbus access [2]

    [1] host:ro, xdg-config/citra-emu:create, xdg-config/kdeglobals:ro, xdg-data/citra-emu:create, xdg-run/dconf, ~/.config/dconf:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                                Arch          Zweig         Remote                      Download
 1. [✓] org.kde.Platform                                  x86_64        5.12          flathub                     < 430,1 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-390-132        x86_64        1.4           flathub                     < 432,7 kB
 3. [✓] org.freedesktop.Platform.html5-codecs             x86_64        18.08         flathub                       < 3,3 MB
 4. [✓] org.kde.KStyle.Adwaita                            x86_64        5.12          flathub                       < 5,6 MB
 5. [✓] org.kde.Platform.Locale                           x86_64        5.12          flathub                     < 334,3 MB (partial)
 6. [✓] org.citra.citra-nightly                           x86_64        master        citra-nightly-origin         < 12,0 MB

Warning: Removing magic mime rule from exports
Warning: Removing magic mime rule from exports
        ID                                                Arch          Zweig         Remote                      Download
 1. [✓] org.kde.Platform                                  x86_64        5.12          flathub                     < 430,1 MB
 2. [✓] org.freedesktop.Platform.GL.nvidia-390-132        x86_64        1.4           flathub                     < 432,7 kB
 3. [✓] org.freedesktop.Platform.html5-codecs             x86_64        18.08         flathub                       < 3,3 MB
 4. [✓] org.kde.KStyle.Adwaita                            x86_64        5.12          flathub                       < 5,6 MB
 5. [✓] org.kde.Platform.Locale                           x86_64        5.12          flathub                     < 334,3 MB (partial)
 6. [✓] org.citra.citra-nightly                           x86_64        master        citra-nightly-origin         < 12,0 MB

Installation complete.
Citra starts normally with flatpak --user run org.citra.citra-nightly and loads games as one would expect.

Since you mentioned using an Ubuntu based distro (Mint) it may be worth a try using the not flatpak based nightly build.
https://github.com/citra-emu/citra-nightly/releases
This build did not work for me because it wants a specific version of libsndio which is not available for openSUSE (libsndio.so.6.1) and after tricking Citra in using the self-compiles v7.0 version (symlink) it complained about wrong version of the glibc standard libraries – not going to fiddle around with those.

My guess is that Ubuntu 18.04 is the basis for the nightly builds and has the needed libraries by default or in the official repos – but I don’t know.

This is probably the reason why they switched to distributing the linux version with such a software deployment tool as Flatpak: It ensures correct library versions for each application and is independent from the actual distribution and installed system libs (at the price of a possibly HUGE overhead – like downloading an additional version of the compete KDE runtime environment)

Wow thanks for troubleshooting it for me I will see if these work out I was thinking as a backup plan I could install retroarch and then install the citra core but getting it working as a sole program would be better thanks again -Ryu
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=4N-3vv4kzdk