Closed iriki closed 2 years ago
A couple of issues. Looks like you have not followed the README completely.
Getting stremio to work on Pi is tricky. It took me over 50 attempts to figure out the exact step-by-step procedure. If you deviate from the exact steps, its not going to work.
Yay it's working, I feel ashamed and I'm sorry I haven't followed all the instructions thoroughly, now it's working, albeit it presents a bit of tearing when there's a lot of horizontal movement.
Open a terminal and run
sudo raspi-config
In that, Navigate to Advanced Options -> Compositor -> xcompmgr composition manager -> Choose “No”
Make sure to increase the GPU memory also.
You need to do a restart after that.
Thanks, but xcompmgr composition manager was already disabled on my Buster installation.
After much fiddling, I found the cause (and also the fix!):
Chromium had Video acceleration disabled. Go to chromium://gpu
and check under "Video decode". Mine was on software rendering. So I found this tutorial and followed the steps, but unfortunately on Fig.5 while trying to activate Hardware-accelerated video decode
, that option was "Not available on your platform".
After more searching, I found out that starting chromium with the flag --enable-features=VaapiVideoDecoder
the hardware video decoding was now enabled in chromium://gpu
. Woh-woh!
Now I needed a way to pass that flag back to Stremio. After even more searching, I found that one can pass that command line options inside a file in your home dir called ~/.chromium-browser.init
. This way it will be picked up by all Chromium instances.
CHROMIUM_FLAGS="--enable-features=VaapiVideoDecoder"
Now when starting Chromium normally, the Video Decode: Hardware accelerated
should now appear in Green and ready to rock! The video playback on Stremio is now also butter-smooth and I can no longer see any tearing whatsoever. Hope this helps anyone with the same issue.
Hello again. After reinstalling Debian Buster 2021-12-02 version, the upper fix no longer worked. After much fiddling, the flags now need to be set in another location, this time at the end of the file /etc/chromium.d/default-flags
, like so:
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-features=VaapiVideoDecoder"
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ignore-gpu-blocklist"
Now the flags will be picked up automatically by any instance of chromium, including the one ran by Stremio. Enjoy flicker-free experience!
Hello. I'm on Raspbian Debian Buster:
... but I'm having issues installing the newer version:
Note that I added
deb http://ftp.us.debian.org/debian/ buster main contrib non-free deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free
as stated on the ticket #30 .
Can anyone help? Many thanks in advance.