swetoast / steamlink-launcher

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

at least 128mb gpu mem required #38

Closed wolfisberg closed 2 years ago

wolfisberg commented 2 years ago

Hi

I'd love to test out the steamlink and since I'm already using osmc (on a pi 3B+), I came across your package. It (at least seems to) installs fine. But when running it, it says something like

You need at least 128mb of gpu memory

and returns to osmc.

Now, in the pi config on osmc, allocating gpu memory manually is disabled (greyed out). Not sure if this used to be possible previously.

Doing some research it seems that osmc removed this option (recently?) and allocates gpu mem dynamically (or at least automatically) and there is no way to adjust it manually.

The only official info on steams side concerning compatibility that I found is this https://help.steampowered.com/en/faqs/view/6424-467A-31D9-C6CB And it says rpi 3B and 3B+ (but not 4, maybe because the article is older?). So, if Pi4 is not (officially) supported, and 3B+ does not have enough gpu mem, how can I even run your package?

Any help is appreciated, thank you!

Cheers.

swetoast commented 2 years ago

https://github.com/swetoast/steamlink-launcher/issues/37

setting mem in config.txt is easy but the bug that has been reported by me and waiting a valve employee to actually give me an answer is waiting so all we can do atm is just wait for him to respond :)

gpu_mem=128 is the value needed in config.txt

sudo -s 
echo "gpu_mem=128" >> cat /boot/config.txt
reboot
nitropaul commented 2 years ago

Hi, i am wondering if I have the same issue as wolfisberg. Initially i did the upgrade route with OSMC to Matrix as Steamlink required python 3 and that wasnt supported on the version of OSMC i had installed. After upgrading through 'myOSMC', I installed SteamLink and it worked but I got no sound on any of the games on steamlink or media on OSMC. I did a fresh rebuild on a new sd card and now steamlink wont load past the message saying 'Press enter key' after the 'You need at least 128mb of gpu memory'. Here is a link to my system log. Not sure if it will help (also the first time have tried logs) Please bear with me.

swetoast commented 2 years ago

please paste config.txt

cat /boot/config.txt

nitropaul commented 2 years ago

I am not sure how to do that.

swetoast commented 2 years ago

Use the wiki för guidance

https://osmc.tv/wiki/general/accessing-the-command-line/

if your unsure ask on the forums.

On Tue, Dec 7, 2021 at 5:10 PM nitropaul @.***> wrote:

I am not sure how to do that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/swetoast/steamlink-launcher/issues/38#issuecomment-988069529, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATIQ6FH5U2LY3HUQZKWEOLUPYWYLANCNFSM5JPDMAFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

nitropaul commented 2 years ago

image

swetoast commented 2 years ago
sudo -s 
echo "gpu_mem=128" >> cat /boot/config.txt
reboot

and try again thats how you add stuff to config.txt

nitropaul commented 2 years ago

swetoast thanks for that. I will give it a go tonight

nitropaul commented 2 years ago

I have tried adding that to the /boot/config.txt file, restarted (checked its in the config.txt) then tried running steamlink again. It does similar to before but no longer pauses to say press enter to continue, it just goes straight back into osmc.

swetoast commented 2 years ago

and that ties into the bug ive reported to valve atm steamlink is incompatible with kodi 19 with that osmc build

swetoast commented 2 years ago

closing this once since we cant get any futher steamlink needs a fix or else this launcher is dead.