Giter Club home page Giter Club logo

Comments (6)

StoneAgeSkillz avatar StoneAgeSkillz commented on June 18, 2024 3

Same issue with my RPi4 (4GB), changing gpu_mem does not help. If i set gpu_mem to 512, OSMC will start (i can connect to SSH), but has no video output (no HDMI signal at all). Disabling check helped to skip the memory error and it works, but ignoring issues is not what i want.

EDIT: What we found out: Looks like Steam link runs its own instance of linux (in a sandbox or something like that) and that is missing vcgencmd.

What did work: adding gpu_mem=384 to [all] changed the memory to 384MB. We checked after reboot with vcgencmd in terminal. It does not matter if its KMS or FKMS. The error with vcgencmd is still there (because its missing in steam link).

from steamlink-launcher.

jose1711 avatar jose1711 commented on June 18, 2024 1

@Gaffers2277 As a workaround you might as well run:

touch /home/osmc/.local/share/SteamLink/.ignore_gpumem

from the terminal. That disables the check.

from steamlink-launcher.

swetoast avatar swetoast commented on June 18, 2024

logs please

from steamlink-launcher.

jose1711 avatar jose1711 commented on June 18, 2024

Same here with RPi3 B+. With OSMC's default:

dtoverlay=vc4-kms-v3d,cma-512

vcgencmd get_mem gpu reports the following:

gpu=76M

and steamlink.sh does not seem to like that:

..
# Check to make sure there's enough GPU memory
if [ ! -f "$TOP/.ignore_gpumem" ]; then
  mem=$(vcgencmd get_mem gpu | sed 's/.*=\([0-9]*\)M/\1/')
  if [ "$mem" = "" ] || [ "$mem" -lt 128 ]; then
    show_message --warning $"You are running with less than 128 MB video memory, you may need to go to the Raspberry Pi Configuration and increase your GPU memory."

Not sure with CMA if GPU mem is still a thing or this warning could be removed altogether.

from steamlink-launcher.

chepe263 avatar chepe263 commented on June 18, 2024

Does setting gpu_mem in the boot config make a positive change?

from steamlink-launcher.

swetoast avatar swetoast commented on June 18, 2024

hey guys great find ill try and make time for it or if someone is up for making a patch and merge it

from steamlink-launcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.