Code Monkey home page Code Monkey logo

Comments (15)

 avatar commented on June 1, 2024

Got it working with audio
!/bin/bash

AUDIO FIX:

-------------------------------------------------

chown -R batocera:audio /var/run/pulse 2>/dev/null
chown -R batocera:audio /var/run 2>/dev/null
chown -R batocera:audio /var 2>/dev/null

-------------------------------------------------

su - batocera -c "HOME_DIR="/userdata/system/conty/home" DISPLAY=:0.0 ~/conty/conty.sh steam"

from conty.

Kron4ek avatar Kron4ek commented on June 1, 2024

Hi, sorry for not answering earlier, it was late night in my time zone. Glad you got it working.

from conty.

 avatar commented on June 1, 2024

actually, a contact of mine had trouble with nvidia--

❯ ALLOW_ROOT=1 HOME_DIR="/userdata/system/steam/home" DISPLAY=:0.0 ./conty.sh steam
Running Conty
Relaxed permissions disallowed for root!
Nvidia driver handler disabled due to unionfs errors
Home directory is set to /userdata/system/steam/home

steam.sh[47735]: Running Steam on arch rolling 64-bit
steam.sh[47735]: STEAM_RUNTIME is enabled automatically
setup.sh[47810]: Steam runtime environment up-to-date!
steam.sh[47735]: Can't find 'steam-runtime-check-requirements', continuing anyway
[2023-12-10 14:54:46] Startup - updater built Apr 28 2023 18:32:42
[2023-12-10 14:54:46] Startup - Steam Client launched with: '/home/root/.local/share/Steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0)/tid(47869)
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)

He said when trying as batocera user:
can't run as root, su - bato gives ❯ NVIDIA_HANDLER=y ALLOW_ROOT=1 HOME_DIR="/userdata/system/steam/home" DISPLAY=:0.0 su - batocera -c "$PWD/conty.sh steam"
fusermount3: mount failed: Operation not permitted
Mounting the image failed!

from conty.

uureel avatar uureel commented on June 1, 2024

following

from conty.

Kron4ek avatar Kron4ek commented on June 1, 2024

Try to run it this way:

# mkdir /userdata/home
# chown batocera:batocera /userdata/home
# su - batocera -c "HOME=/userdata/home DISPLAY=:0 ./conty.sh steam"

from conty.

uureel avatar uureel commented on June 1, 2024
❯ mkdir /userdata/home 2>/dev/null ; chown batocera:batocera /userdata/home ; su - batocera -c "HOME=/userdata/home DISPLAY=:0 /userdata/home/conty.sh steam"
fusermount3: mount failed: Operation not permitted
Mounting the image failed!

from conty.

uureel avatar uureel commented on June 1, 2024

checked w/ fusermount3 version: 3.14.0 & version: 3.14.1

from conty.

Kron4ek avatar Kron4ek commented on June 1, 2024

Well, i don't know why it does not work for you, i tried it on a clean virtual machine with batocera and i don't get this fusermount3 error.

from conty.

Kron4ek avatar Kron4ek commented on June 1, 2024

Also, on a clean batocera i don't have fusermount3 binary at all, only fusermount is present.

from conty.

uureel avatar uureel commented on June 1, 2024

can't say either, default ver 2.9.9 same thing

from conty.

 avatar commented on June 1, 2024

Also, on a clean batocera i don't have fusermount3 binary at all, only fusermount is present.

if you have an nvidia card, might be able to burn a image to usb flash to test to see if it works. (It's portable) I only have AMD.

from conty.

uureel avatar uureel commented on June 1, 2024

didn't work from arch docker container inside batocera, with the same error,
but,
works from inside docker ubuntu23 container inside batocera

from conty.

 avatar commented on June 1, 2024

didn't work from arch docker container inside batocera, with the same error, but, works from inside docker ubuntu23 container inside batocera

wait are you using v39 dev?

from conty.

uureel avatar uureel commented on June 1, 2024

nope, v38

from conty.

uureel avatar uureel commented on June 1, 2024

my bad, must've been some libs collision, works on fresh install, definitely packageable for batocera @trashbus99 , nv works all fine

from conty.

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.