Quantcast
Viewing all articles
Browse latest Browse all 5273

Troubleshooting • Re: Installing Steamlink

I have no idea what I'm doing, but I managed to make Steamlink do something on Pi5 with Bookworm 64-bit by trial and error, installing what it said it was missing, restoring some backups...

If anyone want's to try this, BACKUP YOUR SD CARD FIRST, especially /boot/firmware/overlays.
Also I'm not sure I didn't forget some steps, but I tried to write down everything as I was making progress.

I downloaded the file from this and extracted it to ~.local/share/SteamLink/:

Code:

https://media.steampowered.com/steamlink/rpi/public_build.txt

Code:

mkdir ~.local/share/SteamLink/cd ~.local/share/SteamLink/wget http://media.steampowered.com/steamlink/rpi/steamlink-rpi3-1.2.0.241.tar.gztar -xf steamlink-rpi3-1.2.0.241.tar.gz
That's basically what apt install steamlink does, but that wanted to remove most of the system, so I did it manually.

The next thing was adding this line to /boot/firmware/config.txt

Code:

kernel=kernel8.img
Because I was getting error like in this thread when trying to run something from the extracted file.

At one point, I had to edit steamlink.sh in the extracted directory and modify line ~141 (adding :/usr/arm-linux-gnueabihf/lib)

Code:

export LD_LIBRARY_PATH="$TOP/lib:$QTDIR/lib:/usr/arm-linux-gnueabihf/lib:$LD_LIBRARY_PATH"
Then I just tried to run ./steamlink.sh over and over again installing things it was missing. For me, it was

Code:

sudo apt install zlib1g:armhf libdbus-1-3:armhf libudev1:armhf libraspberrypi0:armhf libglib2.0-0:armhf libgles2-mesa:armhf libpng16-16:armhf qtbase5-dev:armhf qtchooser:armhf qt5-qmake:armhf qtbase5-dev-tools:armhf
I also think I installed these earlier:

Code:

sudo apt install cec-utils openssl
I had to make some symlinks

Code:

cd /usr/lib/arm-linux-gnueabihfsudo ln -s libvcos.so.0 libvcos.sosudo ln -s libvchiq_arm.so.0 libvchiq_arm.so
At this moment, I restarted Raspberry and the system was broken, something went bad with graphic driver or something, graphical applications just refused to start and even command line on the monitor was displayed in really low resolution. I managed to somehow start the GUI after some fiddling and got this popup:

Code:

"vc4-kms-v3d not supported on bcm2712 platform"
When I was installing libraspberrypi0 I noticed, it did something with /boot partition, especially with overlay directory, so I just restored /boot/firmware/overlays from backup and after reboot, system was running fine again.

Then I finally got the Steamlink app running using ~.local/share/SteamLink/steamlink/steamlink.sh as sudo, managed to pair it and test the connection speed but it crashed when trying to connect to the PC to start playing.
It was still reporting some missing files. I gave up trying to find packages and just downloaded files it was mentioning in console from github. I think this is the point where CasualPi ended up.

Code:

cd /usr/lib/arm-linux-gnueabihf/sudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libvcsm.sosudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libmmal.sosudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libmmal_core.sosudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libmmal_util.sosudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libmmal_components.sosudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libmmal_vc_client.sosudo wget https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/libcontainers.so
But this is where I ended up, it still crashes when trying to connect to the PC with following:

Code:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/home/ovec/.local/share/SteamLink/steamlink/.tmp/runtime-root'error: XDG_RUNTIME_DIR is invalid or not set in the environment.Enable to initialize audio subsystemMix_OpenAudioDevice() failed: dsp: No such audio deviceCouldn't find sound data in ":/resources/sounds/click.wav"INFO: Connected to Remote Client service with session 2646185280633636448INFO: Starting StreamingINFO: Received authorization proof request, responding with encrypted challengeINFO: Received start streaming response k_ERemoteDeviceStreamingSuccess* failed to open vchiq instanceBad thread localINFO: dlmopen steamui failed: steamui: cannot open shared object file: No such file or directoryINFO: Initializing player* failed to open vchiq instance
The thing it is missing now is probably "steamui" but I have no idea what that is and where to get it Image may be NSFW.
Clik here to view.
:(

Statistics: Posted by ovecka — Sun Dec 31, 2023 1:31 am



Viewing all articles
Browse latest Browse all 5273

Trending Articles