Giter Club home page Giter Club logo

Comments (13)

ptitSeb avatar ptitSeb commented on July 24, 2024 1

Ah, I should have escape the $ and @, because that needs to go inside steam shell script, and is not supposed to be interpreted there. I'll try to fix the script later.
It's not mandory, but it's needed if you plan to launch steam game from command line. If you just plan to use the GUI of steam, it's ok.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

I don't have a PI5, so I haven't not added a profile.
Also, it might depend wich OS you are using: if I understood correctly, RPiOs for RPI5 is using a 16K page size (instead of the default 4K used on x86), while ubuntu still use a 4K page size?
So, you can use profile a generic ARM64 profile for now. But you might also need to use PAGE16K switch too. And a finale not: while box64 support different pagesize, most x86 program are designed for a 4K pagesize, and box64 doesn't not emulate 4K page, so many things (like wine) will not work on 16K pagesize (some linux games do works).

from box86.

martinerk0 avatar martinerk0 commented on July 24, 2024

I'm getting:
box86: error while loading shared libraries: libm.so.6: ELF load command address/offset not page-aligned
when running box86, I didn't get that while trying it on RPi 4, do you think it might be because of the 16K page size?
I will try the Ubuntu next, which should have 4K page as you said.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Oh, yeah! I forgot that I have not added custom pagesize in box86, it's only on box64 for now!

from box86.

martinerk0 avatar martinerk0 commented on July 24, 2024

I'm able to run steam launcher with Ubutnu 23.10 now.
I've compiled from source using generic profile box86, box64 and then ran install_steam.sh

BTW, where does the install script install the steam?
I thought you need
sudo dpkg - steam_latest.deb
To install it.

and with your script I got
mv: cannot move './usr/bin' to '../bin': Directory not empty mv: cannot move './usr/lib' to '../lib': Directory not empty mv: cannot move './usr/share' to '../share': Directory not empty

I then downloaded steam from website and used dpkg -i but after trying to run Counter Strike I got:
Failed to create SDL window

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

you don't need to install steam_latest.deb because it might install i386 arch and setup qemu-user which will conflict with box86.

the install_steam.sh script install steam in ~/.steam and create a startup script in /usr/local/bin/steam

from box86.

martinerk0 avatar martinerk0 commented on July 24, 2024

I see. For some reason the install_steam.sh didn't create ~/steam directory, but when I tried commands from it one by one it worked.
BTW what is this line supposed to do? ~/steam/bin/steam $@" > steam
What is purpose of $@ here? Because I think echo expands it to nothing.

from box86.

martinerk0 avatar martinerk0 commented on July 24, 2024

I ran Counter Strike on large display, so that's nice 👏 I will try more games later. I guess with newer games and higher proton versions there is chance that there is some incompatibility between ubuntu's 23.10 mesa and proton?
Do some games like Witcher 3 need Wine? I thought proton is essentially Wine for games.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Witcher 3 is a windows only game, so it'll use Proton on steam yes.

from box86.

martinerk0 avatar martinerk0 commented on July 24, 2024

Do I need som other variables set? I have:

#!/bin/bash
export STEAMOS=1
export STEAM_RUNTIME=1
export DBUS_FATAL_WARNINGS=0

in /usr/bin/local/steam

Screenshot from 2023-11-07 14-48-24

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

On PI, you might want to add MESA_GL_VERSION_OVERRIDE=3.3 because I think opengl is still 2.1 only even on PI5?

(side note: Elden Ring will not work, it use EAC and it's not supported on box86/box64 for now)

from box86.

martinerk0 avatar martinerk0 commented on July 24, 2024

Using glxinfo:

OpenGL core profile version string: 3.1 Mesa 23.2.1-1ubuntu3
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Yeah, but most Unity3D games needs at least OpenGL 3.3 to work, so my suggestion still applies.

from box86.

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.