1. RyuShinobi500

    OP RyuShinobi500 C0D3 N1Nj4
    Member

    Joined:
    Oct 25, 2019
    Messages:
    584
    Country:
    United States
    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:
    [email protected]:~$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    [email protected]:~$ 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;[email protected]:~$
    
    does anyone have a solution or workaround for this issue if so than any help would be greatly appreciated thanks
     
  2. KleinesSinchen

    KleinesSinchen The Backup Reminder
    Member

    Joined:
    Mar 28, 2018
    Messages:
    1,415
    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)
     
  3. RyuShinobi500

    OP RyuShinobi500 C0D3 N1Nj4
    Member

    Joined:
    Oct 25, 2019
    Messages:
    584
    Country:
    United States
    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
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - installing, emulator, having