Chrome OS Version

  • atomic1fire
    13th Oct 2019 Member 1 Permalink

    This has been discussed multiple times, but I pretty much only made this thread to confirm two things.

     

    You can compile Powder Toy if you have Crostini installed using the directions for linux compiling on the Wiki.

     

    https://www.androidcentral.com/how-install-linux-apps-your-chromebook (use the Terminal app in the Chrome OS app menu to copy and paste commands into bash.

     

    https://powdertoy.co.uk/Wiki/W/Compiling_TPT%2B%2B_on_debian/ubuntu.html

    The compiled version works fine. crostini GPU acceleration may need to be enabled in about:flags.

     

    Downloading the binary doesn't seem to work because the gnulibc version isn't availible on crostini's version of debian. Plus you need to enable execute on the binary and there's not really a way to get a shortcut in chrome os's menu, unless there's a method i'm not aware of.

    Crostini is a method to run linux apps with a vm inside Chrome OS, officially sanctioned by google and can also use GPU acceleration via a virtual GPU. Mouse lock control and sound are not working right now.

     

    You can also install Powder toy from Google Play although it is the android version, it works fine on Chrome OS.

     

    I don't expect this to work for school managed chromebooks because you either need google play or to enable crostini from the settings.

     

     

    edit: Swapped out the arch wiki link because if anyone followed the directions on that they wouldn't be using debian.

    Edited 7 times by atomic1fire. Last: 13th Oct 2019
  • jacob1
    13th Oct 2019 Developer 1 Permalink
    which glibc version is it looking for? It may be an issue I already fixed for the next version.

    Does the version from here work fine? https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=20456

    Also, I doubt GPU acceleration is needed because we don't use the GPU. But maybe sdl is using the gpu for something.
    Edited once by jacob1. Last: 13th Oct 2019
  • atomic1fire
    13th Oct 2019 Member 1 Permalink

    ./powder64: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./powder64)

     

    Snapshot just gives a wrong SSL version error.

     

    ./powder64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

     

    edit: I mostly suggested enabling GPU acceleration because most games in Crostini tend to be slow.

     

    edit2: Chrome OS crostini is running a VM with Debian 9. I could probably update to Debian 10 but I already have powder toy compiled to run.

    Edited 3 times by atomic1fire. Last: 13th Oct 2019
  • jacob1
    13th Oct 2019 Developer 1 Permalink
    @atomic1fire (View Post)
    Ok, so i did fix the issue and the next version should run fine.

    You do need to install this package: libssl1.0.0
    Not sure why it doesn't come with that package by default, but once you do that it will run fine, no need to self compile (although it is cool that you're able to self compile it on chrome OS)