swetoast / steamlink-launcher

Steamlink launcher for OSMC
GNU General Public License v2.0
155 stars 19 forks source link

Fails to install on OSMC Build for RPi4 #26

Closed Hainswof closed 3 years ago

Hainswof commented 3 years ago

Build link: http://download.osmc.tv/installers/diskimages/v19testing/OSMC_TGT_vero3_20210414.img.gz

Process I followed: 1) Install above OSMC image onto fresh MicroSD card (Samsung 64GB) 2) Insert MicroSD card into RPi4 (Model 8GB) 3) Updated OSMC from it's internal updater 4) Attempted to install steamlink-launcher v0.0.9 - error installing

Error message: "Failed to install due to an invalid structure"

swetoast commented 3 years ago

Readded a ckean ziip but again im not supporting rpi4 since its not supported by steam unless @slouken gives the thumbs up

Hainswof commented 3 years ago

also im not sure if rpi4 will work well since it doesnt have hardware acceleration so if there is performance issues i have no way to fix that

@swetoast - steamlink works very well on RPi4 running the latest Raspberry Pi OS.

I was simply hoping for a method that would avoid me having to manually swap SD cards each time one would like to go from using OSMC and then like to play SteamLink.

Regardless, I appreciate what you have done creating this plugin for others that are using the correctly supported hardware. :)

slouken commented 3 years ago

again im not supporting rpi4 since its not supported by steam unless @slouken gives the thumbs up

thumbs up :)

swetoast commented 3 years ago

@Hainswof retry the zip it should work

swetoast commented 3 years ago

@slouken ill update the readme to include rpi4

Hainswof commented 3 years ago

@swetoast @slouken - Thank you kindly to you both!

I can confirm it now installs :)

A New Challenge Emerges: When launching the app we get the following screen (attached) RPi4-Steamlink-Launcher-AfterLaunch

Pressing Enter at this stage exits back to OSMC.

Hainswof commented 3 years ago

UPDATE: I managed to solve the above challenge by connecting via SSH and entering the following command:

sudo apt-get install gnupg

Now, when launching the SteamLink Launcher app we get the following: image

Pressing Enter at this stage, once again, exits back to OSMC.

Hainswof commented 3 years ago

UPDATE: I have tried commenting out the line mentioned in the above output (#dtoverlay=vc4-kms-v3d)

However when rebooting OSMC gives us a sad face: 20210507_114934

I have also tried changing the line of code from: dtoverlay=vc4-kms-v3d,cma-512 to dtoverlay=vc4-fkms-v3d,cma-512

This gets us booting correctly into OSMC again and also past the "dtoverlay=vc4-kms-v3d" challenge.

However, with this configuration, SteamLink Launcher while it looks like it's about to launch correctly (going through it's TXT output like before), it simply exits itself now, back to OSMC before it gets any further.

swetoast commented 3 years ago

Will look at it this weekend

swetoast commented 3 years ago

keep the reports coming with your findings cause i dont have an rpi4

swetoast commented 3 years ago

@Hainswof looks like the rpi4 itselt has some issue with blank screens etc releated to the kernel gonna investigate see if i can borrow or pick up a rpi4 to experiment with.

Hainswof commented 3 years ago

@Hainswof looks like the rpi4 itselt has some issue with blank screens etc releated to the kernel gonna investigate see if i can borrow or pick up a rpi4 to experiment with.

  • added gnupg to the launcher for next release

Brilliant! Thank you kindly for your willingness to solve this challenge for all those in the same boat as us 🙏

Let me know if you would like me to test anything for you and give feedback, I will gladly help

swetoast commented 3 years ago

Keep hacking away at it and if you find anything post it to this thread meanwhile ill hunt for a rpi4 either pick up or borrow one you can ask @samnazarko for pointers in OSMC

swetoast commented 3 years ago

@Hainswof

grab-logs -A

mind posting those after it crashes that would be of great help

Hainswof commented 3 years ago

@swetoast gladly.

Here is the log after the crash when using "dtoverlay=vc4-fkms-v3d,cma-512" in config.txt: https://paste.osmc.tv/kemedebiqo

Here is the log when using the original "dtoverlay=vc4-kms-v3d,cma-512" in config.txt: https://paste.osmc.tv/zumaziradi

swetoast commented 3 years ago

common theme when it crashes is

[   25.687618] vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
[   25.688259] vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
[  131.647063] vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
[  131.647631] vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19

need to investigate what that error is

swetoast commented 3 years ago

Seems like a bug in the kernel, this might be good to ping @samnazarko so he can merge a patch and make a test kernel

https://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg337479.html

swetoast commented 3 years ago

added a thread at osmc forums

https://discourse.osmc.tv/t/race-condition-in-the-rpi4-kernel/89371

swetoast commented 3 years ago

Closing this bug since its limited to OSMC itself and not the launcher, all you can do @Hainswof is wait for @samnazarko to update the kernel

Hainswof commented 3 years ago

Closing this bug since its limited to OSMC itself and not the launcher, all you can do @Hainswof is wait for @samnazarko to update the kernel

I understand.

Thank you kindly for your help so far in this @swetoast - really appreciated 🙏

samnazarko commented 3 years ago

Our kernel is very recent -- so it's not an OSMC issue.

swetoast commented 3 years ago

Techically its kernel issue so like sam said on the forums just wait for the patch to be merged upstreams then trickle down to OSMC then you will be gaming in no time :)

Hainswof commented 3 years ago

Brilliant - thank you both for your help @swetoast and @samnazarko 😁

Looking forward to it 🎮

cwilhelmsen commented 3 years ago

Yup, thanks to all of you for your hard work on this!

flos06 commented 3 years ago

Is there any way to see if/when it gets merged? Or should I just try every time there is an OSMC update?

xsellier commented 3 years ago

Any news on that, still having, but the kernel has been patched ever since.

swetoast commented 3 years ago

Provide logs on the OSMC forum board is better then asking around it here, waiting for a patch myself

xsellier commented 2 years ago

Posted on the osmc forum: https://discourse.osmc.tv/t/rpi-4-steamlink-doesnt-work/91134