ShadowPC Client

Project information: ShadowPC Client

Homepage: https://shadow.tech

I try to make a ShadowPC client Flatpack.
So long i am:
manifest:

app-id: stream.ShadowTech.ShadowLancher
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: /app/start.sh
base-extensions:
  - org.freedesktop.Platform.GL.default
  - org.freedesktop.Platform.ffmpeg-full
  - org.freedesktop.Platform.openh264
modules:
  - name: StartScript
    buildsystem: simple
    build-commands:
      - install -D start.sh /app/start.sh
    sources:
      - type: file
        path: ./start.sh
  - name: Shadow-Lancher
    buildsystem: simple
    build-commands:
      - ./Shadow.AppImage --appimage-extract
      - cp -r squashfs-root/* /app/
    sources:
      - type: file
        path: ./Shadow.AppImage
    cleanup:
      - './Shadow.AppImage'
  - name: syslib
    buildsystem: simple
    build-commands:
      - cp -v *.so.* /app/lib/
    sources:
      - type: archive
        path: ./syslib.zip
        sha256: 55f4b76cb67f2ac352afbf4f6444c50f9e89a39f598cd19112339b0336cfd0cc
  - name: shadowaddlib
    buildsystem: simple
    build-commands:
      - cp -v *.so.* /app/lib/
    sources:
      - type: archive
        path: ./shadow.asarLibs.zip
        sha256: 5dea80353a70b7eed8a24375460562900b7598207354b261628a6c17a56a63a3
finish-args:
  - --share=ipc
  - --socket=x11
  - --socket=wayland
  - --share=network
  - --device=dri
  - --socket=pulseaudio
  - --system-talk-name=org.freedesktop.login1
  - --persist=.cache

the asart Lib can be get here:
https://gitlab.com/uploads/-/system/personal_snippet/2189195/c0b55d86a01266c2dfe49b7b325fabe5/shadow.asarLibs.zip
In the syslib is:

  • libevdev.so.2
  • libinput.so.10
  • libmtdev.so.1
  • libva-glx.so.2
  • libwacom.so.2
    copy from system.
    in start.sh is:
#!/usr/bin/env bash

cd /app
./shadow-launcher --no-sandbox

And the AppImage can get from the Shadow Tech Side.

Primary:
I get a Error R-0x7F if i start the stream. The support say that is a connect error.
What can i try now?

Secondary:
How do i find lib tarball to install the system libs directly?
Is the extensions correct?
Need i the extensions?

(If i need the shadow.asarLibs i must try self. I have hope that the libs fix the error.)

1 Like