The application was "installed" on Solus using a small homemade script aiming at extracting the .deb file, see detail here: https://gist.github.com/Kabouik/d91d5465cf73f8aabe81062ca7693b9a
I still have an issue with the streaming module for shadowbeta.deb 18.04: the launcher module works well, but the streaming does not start, regardless of h.264/h.265 settings in the application. The launcher still allows booting and shutting down the Shadow, but will never successfully start the stream:
- Video hardware acceleration for h.264 et h.265 is supported, so I'm not sure whhat "video_decoder->init failed: -1" in the crashlog means.
- The user belongs to the
input
group. - The display manager is Xorg x11.
- ClientSDL complains about missing libraries (or no information on their version) in
/usr/lib64
, so I tried to download them from Ubuntu and tell the application where to find them on my system, but new missing libraries come up, and it is never ending (see last file in this gist).
Note that the Nvidia GPU is not in use (drivers were not installed) to only rely on the Intel HD chipset for video hardware acceleration (driver i965).
mathieu@xiaomimi-solus ~ $ printf "\n\n# System information\n" && inxi -SMCG &&
> printf "\n\n# Top 25 rows of shadow.log\n" && head -n 25 ~/.cache/blade/shadow/shadow.log &&
> printf "\n\n# User groups\n" && id &&
> printf "\n\n# Display manager\n" && echo $XDG_SESSION_TYPE &&
> printf "\n\n# Video hardware acceleration\n" && vainfo &&
> printf "\n\n# ClientSDL dependencies\n" && ldd -v ~/.config/Shadow\ Beta/data/opt/Shadow\ Beta/resources/app.asar.unpacked/native/linux/ClientSDL | grep "not found"
# System information
System:
Host: xiaomimi-solus Kernel: 4.9.112-100.lts x86_64 bits: 64
Desktop: Budgie 10.4-85-g36667bcb Distro: Solus 3.9999
Machine:
Type: Laptop System: Timi product: TM1604 v: XMAKB3M0P0705
serial: <root required>
Mobo: Timi model: TM1604 v: XMAKB3M0P0705 serial: <root required>
UEFI: Insyde v: XMAKB3M0P0705 date: 08/30/2017
CPU:
Topology: Dual Core model: Intel Core i5-7200U bits: 64 type: MT MCP
L2 cache: 3072 KiB
Speed: 600 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 600 2: 600
3: 600 4: 600
Graphics:
Card-1: Intel HD Graphics 620 driver: i915 v: kernel
Card-2: NVIDIA GP108M [GeForce MX150] driver: N/A
Display: x11 server: X.Org 1.19.6 driver: intel
unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2)
v: 4.5 Mesa 18.1.4
# Top 25 rows of shadow.log
template_digit = 41
short read on /home/mathieu/.config/blade/shadow/config1.bin, cannot read format version
console: listening on *:7040
get:vaInitialize (49) failed (unknown libva error)
video_decoder->init failed: -1
************ termination requested ************
Error: signal 11:
./ClientSDL(+0x30342e)[0x55a30d40542e]
/usr/lib64/libpthread.so.0(+0x127c0)[0x7f97b18b37c0]
./ClientSDL(+0x301b4a)[0x55a30d403b4a]
./ClientSDL(_Z10_terminatei+0x65)[0x55a30d404fe8]
./ClientSDL(+0x303699)[0x55a30d405699]
./ClientSDL(+0x3049d2)[0x55a30d4069d2]
./ClientSDL(main+0xc4)[0x55a30d40dd4e]
/usr/lib64/libc.so.6(__libc_start_main+0xe7)[0x7f97ae8f7b37]
./ClientSDL(_start+0x2a)[0x55a30d37e29a]
************ termination requested ************
template_digit = 41
short read on /home/mathieu/.config/blade/shadow/config1.bin, cannot read format version
console: listening on *:7040
get:vaInitialize (49) failed (unknown libva error)
video_decoder->init failed: -1
# User groups
uid=1000(mathieu) gid=1000(mathieu) groups=1000(mathieu),10(dialout),11(audio),12(video),15(cdrom),19(lpadmin),28(sudo),70(scanner),90(plugdev),100(users),104(fuse),145(docker),998(input)
# Display manager
x11
# Video hardware acceleration
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSlice
VAProfileVP9Profile2 : VAEntrypointVLD
# ClientSDL dependencies
libcurl.so.4 (CURL_OPENSSL_4) => not found
libcrypto.so.1.1 (OPENSSL_1_1_0) => not found
libssl.so.1.1 (OPENSSL_1_1_0) => not found
Shadow Discord (there is an an international one too)
[10:37] Alex^: tout l'environnement du ClientSDL est compilable à la main
[10:37] kabouik: Comment procéder @Alex^ ?
[10:38] Alex^: wget, ./configure, make, LD_PRELOAD=pathtolib
[10:39] Alex^: en mode simple, récupérer les sources des paquets ubuntu
[10:39] Alex^: en mode expert, ramener les bonnes versions des libs et dépendances et les compiler :smiley:
[10:39] kabouik: J'ai essayé de les récupérer et de les utiliser avec LD_LIBRARY_PATH, mais c'est absolument interminable :/
[10:39] Alex^: une lib après l'autre :smiley:
[10:40] kabouik: Va falloir que je démissionne pour trouver le temps de faire ça. :<
[10:41] kabouik: Je crois que j'en avais déjà récupéré au moins 40 en une dizaine de tests successifs, maisà chaque étape, de nouvelles dépendances apparaissent évidemment
[10:41] Alex^: faut pas changer les LD_LIB_PATH, mais surcharger en LD_PRELOAD
[10:42] Alex^: les libs problematiques
[10:42] kabouik: En plus elles sont déjà dans mon /usr/lib64, mais pas acceptées par ClientSDL
[10:43] kabouik: Exact, c'est ce que je faisais @Alex^, je viens de retrouver mon gist temporaire où j'ai écrit ce que je faisais: export LD_LIBRARY_PATH="/home/mathieu/Desktop/libs18.04/"
[10:43] kabouik: Oups non c'est pas ce que je faisais du coup, tu recommandes LD_PRELOAD, j'ai lu trop vite.
[10:44] Alex^: regarde le tuto debian de @Nover sur l'utilisation de LD_PRELOAD, tu peux meme appliquer deja le tuto Qt, ce sera ça de gagné si pas les bonnes versions
[10:45] kabouik: Me semble pas avoir de souci niveau Qt, mais je jetterai un œil pour LD_PRELOAD, merci.
IRC #Solus
<Konsieur> @ikey, or any Solus staff interested in gaming, are you guys following shadow.tech? They are to date the most efficient cloud computing solution (you get real hardware with a full OS) and users are in most cases very satisfied, and they recently released a Linux client for Ubuntu. It works on Ubuntu, Debian and Arch with some tweaks. However, a couple people are struggling to make it work on Solus since a few days and we are not progressing. Wondering if
<Konsieur> you guys would be interested keeping an eye on it or if it's totally out of your scope.
<Konsieur> They even installed a datacenter in UK so even ikey could kick ass with low latency from Dublin.
<@DataDrake|work> I doubt we could redistribute the client since they have it behind a login wall
<asafniv> which client?
»» @DataDrake|work blinks
<Konsieur> Yeah, that would be impossible to integrate for now (plus it's beta for Linux at the moment). But investigating the issue we are getting could be possible, epsecially as Arch users manage to use it, not only Ubuntu peeps
<asafniv> ...
<Konsieur> https://github.com/NicolasGuilloux/blade-shadow-beta You can find links to the client in the (non official) install scripts here
<@DataDrake|work> well, if you wouldn't mind posting a bug asking for help, I might be able to take a look later on
<@DataDrake|work> .bugs
<bacon_bot> You may report your bugs at https://dev.solus-project.com.
<Konsieur> I can do that. I actually have everything in a gist already but didn't post it on Solus-dev since it's not directly Solus.
<Konsieur> However, it's a paid service, not sure you could test much without an account.
<@DataDrake|work> well I've done something like this for HoN at one point
---» livingsilver94 (~fabio@host4-7-static.13-188-b.business.telecomitalia.it) has Joined #Solus
<@sunnyflunk> This was the openssl 1.1 issue I think
<Konsieur> Then I'll try to file a bug over the week-end and I'll ping you DataDrake|work. That would really be great if some progress could be made with your help.
<@DataDrake|work> maybe a little bit more involved in this case, but I'd be happy to do up an article like: https://solus-project.com/articles/gaming/heroes-of-newerth/en/
<bacon_bot> [ Heroes of Newerth | Solus Help Center ] - solus-project.com
<Konsieur> It might but they have both a 17.10 and a 18.04 version sunnyflunk
<Konsieur> Which should require different libs
<Konsieur> They will release a 5€/5day trial soon, which could help trying things with the app at low cost. Or if someone can look into it, I could lend my account temporarily but I would need to wipe personal information from my OS and it would have to be to just selected people :<
<Konsieur> But in any case, it would really be a great addition to Solus I believe. Not that I particularly like using Windows, but it still helps for some tasks, or gaming, and as long as I don't have a physical Windows machine, I feel clean. The service works really well too, even on Eduroam WLAN, I feel no latency
<@DataDrake|work> yeah, I don't mind helping, I just can't do much while I'm at work ;)
<Konsieur> Wise. I should work too, I've been procrastinating for 4.5 days.