Package Details: shadow-tech 5.0.1080-1

Git Clone URL: https://aur.archlinux.org/shadow-tech.git (read-only, click to copy)
Package Base: shadow-tech
Description: Desktop client for Shadow Tech cloud gaming service.
Upstream URL: https://shadow.tech
Keywords: blade shadow stable
Licenses: unknown
Provides: shadow-tech
Submitter: Nover
Maintainer: pychuang
Last Packager: pychuang
Votes: 12
Popularity: 0.22
First Submitted: 2019-05-23 22:10 (UTC)
Last Updated: 2022-02-27 22:52 (UTC)

Pinned Comments

pychuang commented on 2022-04-16 02:34 (UTC)

I canceled the Shadow subscription because it's now somehow expensive. That says, I won't maintain this package. If anyone wants to take over this package, please let me know.

pychuang commented on 2022-02-05 00:57 (UTC) (edited on 2022-02-05 00:58 (UTC) by pychuang)

Some notes:

Some dependencies may be required and were reported by other users. They are not in PKGBUILD because I personally haven't had any issue running Shadow without these packages. I need more users' reports to confirm they are really required before putting them into PKGBUILD. So please try the following dependencies if you encounter errors, and please report here if these dependencies do resolve your errors.

  1. libldap24 from AUR
  2. net-tools
  3. xdg-utils
  4. flatpak

Latest Comments

pychuang commented on 2022-04-16 02:34 (UTC)

I canceled the Shadow subscription because it's now somehow expensive. That says, I won't maintain this package. If anyone wants to take over this package, please let me know.

pychuang commented on 2022-02-05 00:59 (UTC)

@Yakuma Thanks. I modified the shadow.sh. Please let me know if it's working for you. I couldn't try it because I couldn't reproduce that login error.

pychuang commented on 2022-02-05 00:57 (UTC) (edited on 2022-02-05 00:58 (UTC) by pychuang)

Some notes:

Some dependencies may be required and were reported by other users. They are not in PKGBUILD because I personally haven't had any issue running Shadow without these packages. I need more users' reports to confirm they are really required before putting them into PKGBUILD. So please try the following dependencies if you encounter errors, and please report here if these dependencies do resolve your errors.

  1. libldap24 from AUR
  2. net-tools
  3. xdg-utils
  4. flatpak

Yakuma commented on 2022-02-02 19:32 (UTC)

@pychuang @kskudlik flatpak is not needed. It just defines the XDG_DATA_DIRS env to /usr/share and some other dirs.

XDG_DATA_DIRS=/usr/share shadow.sh works but you should just remove the export XDG_DATA_DIRS= line for it to work as /opt/shadow-tech/usr/share does not exist.

whyrhd commented on 2021-12-07 07:44 (UTC)

@peshane, it works! After installing "libldap24" from AUR, shadow runs without any problems. Thank you very much!

peshane commented on 2021-12-06 17:27 (UTC)

@whyrhd, I was also stuck with this error, first I try to install net-tools package because strace shown sh exit 127 on "netstat" call. But that was not enough, in the end, the solution looks like to install "libldap24" from AUR.

whyrhd commented on 2021-11-30 21:40 (UTC) (edited on 2021-12-01 17:01 (UTC) by whyrhd)

Hi everyone, I was running shadow on my Arch for quite some time with the original AppImage provided by shadow. Recently, whenever I start the AppImage and press "Start", after some time I get the error code R-0x7F - Unknown Error. I feel like there are some dependencies missing but I cannot figure out which. Anyone having some advice? Thanks!

PS.: Some further information: I'm running Gnome and X11 (not Wayland). Besides the prepacked AppImage, I've now installed this shadow-tech package from AUR and get the same error. As mentioned before, shadow worked fine for some time but at some point it just stopped working. Presumably because of some update although I don't know if the problem is caused by a new shadow version or some other system update. I'm using a GeForce GT1030 and I'm using Arnouds patch (https://gitlab.com/aar642/libva-vdpau-driver). I would be really happy for any advice! Thanks!

3KyNoX commented on 2021-11-28 11:22 (UTC) (edited on 2021-11-28 11:56 (UTC) by 3KyNoX)

Hello everyones,

I do have a minimalist arch install on Wayland with swaywm. Shadow app run fine (using the appImage directly or this aur package). The only thing is when I click on "Log In With Browser", nothing happens. I tried to look of any environment missing variable and created BROWSER=/usr/bin/firefox with no changes. Any ideas?

Thanks anyway

EDIT: Answering myself, looks like xdg-utils package installation corrected the problem. I was able to login after.

kskudlik commented on 2021-10-26 09:20 (UTC)

@pychuang I use the traditional X11 backend due to issues with my Nvidia card and Wayland. And you’re right Xfce4 works fine out of the box without Flatpak. (Can’t have anything to do with the Nvidia driver as those where not installed in my vms when testing)

I found out that flatpak fixes it for kde by testing with Manjaro in a vm. Manjaro KDE worked fine; Manjaro kde minimal had the issue. So I compared packages and tracked it down to flatpak. (I reallly didn’t want to install Manjaro on my pc just to be able to use shadow)

I did a quick clean arch install in a vm too (SDDM plasma kde-applications) so I don’t have those Manjaro repos. Same Login error as with my main machine. I installed kfce4 in the same vm and the login works. Once logged in shadow also works in kde. Even with kfce4 installed tho login isn’t possible in kde.

Hope that helps for you to reproduce it :) And thanks for maintaining that package :)

pychuang commented on 2021-10-26 08:01 (UTC)

@kskudlik Thanks for looking into the issue. I think I wasn't able to reproduce the error probably because I use i3-WM when using shadow. Just to get more information, is your KDE using Wayland backend or the traditional X11 backend? And using Xfce4 did not give you any errors, right? I'll try to reproduce the error and dig into it.

In the meantime, I'll pin your solution at the top so that other users can follow it for now. Thanks!

kskudlik commented on 2021-10-26 07:38 (UTC) (edited on 2021-10-26 07:50 (UTC) by kskudlik)

@pychuang TLDR: seems like flatpak + reboot is needed for base kde/plasma to login (YMMV)

It has been a hell of a ride to get shadow working on my arch install, but i (kinda) figured out why. I had a similar issue as @LinuxLoverForeve and could not login. After some testing I figured out that the problem didn´t exist in xfce4 but it didn´t work even on the same machine when using plasma.

yadi yadi yada hours, tears, frustration and over 9000 VMs later i found out that a simple install of flatpak with a reboot afterwards made it work without any issues so far.

So maybe include flatpak to the dependencies?
PS: i don´t know why i had to reboot after installing flatpak and a this point i am afraid to ask :) so if you know let me know^^

Edit: It's probably (maybe) just a dependency of flatpak and not flatpak itself that does the trick, but i can't be bothered to figure out which one atm

LinuxLoverForeve commented on 2021-10-19 06:35 (UTC) (edited on 2021-10-20 02:54 (UTC) by LinuxLoverForeve)

@pychuang

I haven't tried deleting the config dirs you mentioned but I did try the direct download and run method you mentioned. No luck I got the localhost error in chrome. This was the output in the terminal /bin/sh: line 1: hostname: command not found Checking for update Update for version 5.0.1020 is not available (latest version: 5.0.1020, downgrade is disallowed).

Update: Due to this issue I decided to cancel my subscription since it was going to renew in two days. Plus I've been waiting for additional storage to not be sold out. @pychuang

If you are able to reproduce my issue and find a solution please post it here.

pychuang commented on 2021-10-18 17:03 (UTC)

@LinuxLoverForeve You can also try using the official AppImage directly without installing it to Arch Linux. In terminal:

curl -LO https://storage.googleapis.com/shadow-update/launcher/prod/linux/ubuntu_18.04/Shadow.AppImage

then

chmod +x Shadow.AppImage

finally

./Shadow.AppImage

If using the AppImage directly without installation works, please let me know.

pychuang commented on 2021-10-18 16:30 (UTC) (edited on 2021-10-18 16:31 (UTC) by pychuang)

@LinuxLoverForeve I couldn't reproduce the error. I could log in as usual. Not sure if this matters, but I use Firefox when logging in through the browser. I didn't have oidc-agent.

Though I don't think this is relevant, one thing you can try is to delete old Shadow configurations. Try deleting ~/.cache/blade, ~/.cache/shadow. and ~/.config/shadow. And if you used to have auto-login in the previous version (through either keepassxc, gnome-keyring, pass-secrets, or kwallet), also try deleting the data from blade or shadow if you see them.

Do you have a firewall? Is it possible the firewall blocks the redirection to localhost?

LinuxLoverForeve commented on 2021-10-17 20:08 (UTC) (edited on 2021-10-17 20:28 (UTC) by LinuxLoverForeve)

@pychuang

Yes I used yay for everything. I deleted the folder in the yay directory and told yay to do a clean build now I get this error in waterfox instead of a blank white screen like before XML Parsing Error: no root element found Location: http://localhost:32600/openidconnect/callback?code=iQFJFY5aNSZo-tgNXPnDAm9wneD40XOVuLVnWGHA01K Line Number 1, Column 1: and trying again via chrome still gives me this error. No webpage was found for the web address: http://localhost:32600/openidconnect/callback?code=KKO3BshDVY9oxOWbh0FLUlnjmW4SkNrPX93HKKSqTXx

I did research on the Open connect id error that I get in chrome and found an aur package for that here https://aur.archlinux.org/packages/oidc-agent/ unfortunately aside from being outdated it fails to install. However I noticed that I can install directly from source because of the github it's referencing. Should I try to do that? I don't know if the maintainer of that repo wrote the pkgscript as a git repo but just didn't put that in the title. I left them a comment asking if they are.

pychuang commented on 2021-10-16 20:32 (UTC) (edited on 2021-10-16 20:33 (UTC) by pychuang)

@LinuxLoverForeve

  1. Regarding the checksum issue, how did you build/install shadow-tech? Did you use yay? If so, try removing the cached source directory (usually ~/.cache/yay/shadow-tech) and see if you still get the checksum error.

  2. As for the clean build and redirection error, I couldn't reproduce it. Did you use yay's clean build? Or did you build it in a clean chroot (as described here: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot)?

LinuxLoverForeve commented on 2021-10-16 20:07 (UTC) (edited on 2021-10-16 20:08 (UTC) by LinuxLoverForeve)

@pychuang I had an issue with the checksum matching so I did a clean build but now I'm having the issue that I had with one of the other repos on the aur. When I go to login the browser redirects to a localhost error. No webpage was found for the web address: http://localhost:32600/openidconnect/callback?code=GV8O0TscQXuUiwf3jAraW09NlPtF_2ge8D_lpC65Gfv HTTP ERROR 404

My default browser is waterfox g3 but I even tried with chrome which is what gave me the actual error.

fabiofalci commented on 2021-09-14 08:22 (UTC)

@pychuang you're right, oddly I had a really old version of yq installed. I just reinstalled and now it works, thanks.

pychuang commented on 2021-09-13 18:16 (UTC)

@fabiofalci I couldn't reproduce the error. Not sure if this is relevant, but what shell are you using?

Also, can you try the following test and see if it gives any error?

$ curl -L https://storage.googleapis.com/shadow-update/launcher/prod/linux/ubuntu_18.04/latest-linux.yml -o shadow-tech-meta.yml
$ echo "$(yq -r .sha512 shadow-tech-meta.yml)"

(You may need to install yq first if it's not available on your machine.)

fabiofalci commented on 2021-09-13 16:34 (UTC)

@pychuang

I'm getting this error when installing this package:

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  shadow-tech-5.0.996-2

:: Downloaded PKGBUILD (1/1): shadow-tech
  1 shadow-tech                              (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: shadow-tech
==> Making package: shadow-tech 5.0.996-2 (Mon 13 Sep 2021 05:31:44 PM BST)
==> Retrieving sources...
  -> Downloading shadow-tech-meta.yml...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   370  100   370    0     0   4111      0 --:--:-- --:--:-- --:--:--  4157
  -> Downloading shadow-tech-5.0.996.AppImage...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  191M  100  191M    0     0  5239k      0  0:00:37  0:00:37 --:--:-- 5305k
  -> Found shadow.sh
==> Validating source files with sha256sums...
    shadow-tech-meta.yml ... Skipped
    shadow-tech-5.0.996.AppImage ... Skipped
    shadow.sh ... Passed
==> Making package: shadow-tech 5.0.996-2 (Mon 13 Sep 2021 05:32:22 PM BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found shadow-tech-meta.yml
  -> Found shadow-tech-5.0.996.AppImage
  -> Found shadow.sh
==> Validating source files with sha256sums...
    shadow-tech-meta.yml ... Skipped
    shadow-tech-5.0.996.AppImage ... Skipped
    shadow.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
2021/09/13 17:32:22 unknown command "shadow-tech-meta.yml" for "yq"
base64: invalid input
sha512sum: 'standard input': no properly formatted SHA512 checksum lines found
==> ERROR: A failure occurred in prepare().
    Aborting...
error making: shadow-tech

pychuang commented on 2021-08-10 16:51 (UTC)

@bigjimlefou Thanks! I got it. I added xxd to makedepends.

bigjimlefou commented on 2021-08-10 16:24 (UTC)

@pychuang xxd is included with vim or gvim. But xxd-standalone should also work. By default on Manjaro, of you type xxd without having it, installing vim or gvim will be proposed.

pychuang commented on 2021-08-10 14:31 (UTC)

@bigjimlefou I'm not sure I understand. Why is vim/gvim needed by shadow-tech? Thanks!

bigjimlefou commented on 2021-08-10 08:40 (UTC)

@pychuang thanks for this package. There is just a missing dependency for xxd(vim or gvim)

pychuang commented on 2021-08-09 15:49 (UTC)

@LinuxLoverForeve No problem! Awesome to hear the error message is gone!

LinuxLoverForeve commented on 2021-08-07 19:46 (UTC) (edited on 2021-08-07 19:47 (UTC) by LinuxLoverForeve)

@pychuag

Thanks so much for becoming the new maintainer of this repo. Among the other versions of shadow installs in the aur this is the only one that works on my system despite the error message I used to get about it not being able to update. The fix you did made that error go away. Thanks so much I even reached out to shadow support about the issue only for them to tell me after showing them the CLI error in a screenshot that they didn't have the staff to support Linux issues. (Ironic I know) Needless to say thanks a ton. :D

pychuang commented on 2021-08-03 07:37 (UTC)

I overhauled the dependencies and PKGBUILD. Please let me know if any dependencies are missing and the package is not working on your machine.

pychuang commented on 2021-08-02 18:22 (UTC)

I didn't encounter the issue of upgrading the launcher. For the users who flagged this package out-of-date because of the upgrading issue, please provide more details.

This AUR package automatically downloads the latest launcher. The current version of Shadow client is 5.0.996.

georgyo commented on 2021-01-13 01:33 (UTC)

The sha512sum in the upstream yaml is now base64 encoded which causes the build to fail.

Changing the following fixes things up

# Get the SHA512 checksum
sha512sum() {
        info

        echo "$shadow_sha512" | base64 -d | xxd -ps -c 512
}

dvdrtb commented on 2020-10-24 06:53 (UTC)

I have the same issue, R-300, same issue with the beta version of shadow

sauyon commented on 2020-10-01 02:27 (UTC)

This package causes R-300 for me, on 5.8.12-arch1-1, probably due to graphics library mismatches; why are you unpacking the appimage? Also, why are you doing it manually?

Threnklyn commented on 2020-09-17 12:51 (UTC) (edited on 2020-09-17 12:52 (UTC) by Threnklyn)

@agentcobra In line 80 of the PKGBUILD the $ should be outside of the brackets.

ln -sf "/opt/${pkgname}/shadow" "${pkgdir}/usr/bin/${pkgname}"

derintendant commented on 2020-09-04 08:34 (UTC)

I think, the dependency on "gnome-keyring" should be "org.freedesktop.secrets" instead. I have just build the package with this set and am successfully using it with KeepassXC as a the secrets provider.

nigeljordan commented on 2020-08-31 16:21 (UTC)

New update gives Sha512 failure for me.

agentcobra commented on 2020-08-31 16:02 (UTC)

@hadogenes, I can read comments :)

CalvusRex commented on 2020-08-07 20:02 (UTC)

Mostly works, except that when it begins the streaming process it can never complete. Keeps going in a loop "saying were almost there", "Shadow Desktop 3. Starting Streaming"

agentcobra commented on 2020-07-09 13:58 (UTC) (edited on 2020-07-10 07:32 (UTC) by agentcobra)

@nigelwarning info.yml is from shadow's data (https://storage.googleapis.com/shadow-update/launcher/prod/linux/ubuntu_18.04/latest-linux.yml)

nigeljordan commented on 2020-07-09 13:55 (UTC)

@agentcobra Found the fix. I edited the info.yaml It had different shasum then the pkgbuild.

agentcobra commented on 2020-07-09 13:54 (UTC)

@nigelwarning, I'm working on it

nigeljordan commented on 2020-07-09 13:48 (UTC)

Shasum fails for me.

nigeljordan commented on 2020-07-09 13:11 (UTC)

Thanks for updating

agentcobra commented on 2020-07-09 12:38 (UTC)

J'ai repris le paquet

F1nny commented on 2020-03-24 16:44 (UTC)

Note causing errors/issues due to libappindicator dep

installing libappindicator-gtk2 (12.10.0-14) breaks dependency 'libappindicator' required by shadow-tech

I think can just remove libappindicator from the deps as no longer a package and should be good? Thanks!

jungliztik commented on 2019-11-01 16:08 (UTC)

I manually downloaded Shadow.zip and checked the md5sum value. It is different from that in the PKGBUILD file.

djs@penguin# md5sum Shadow.zip 5071a7a05535c9c74132044e6b6d96ed Shadow.zip

tzekid commented on 2019-09-26 02:41 (UTC)

Hey, on KDE the client cannot connect to the internet. You need gnome-keyring installed for it to work. Could you add it to the deps? :)