Using Anytype on a Chromebook

Hello, and thanks for this unique product! I’m excited to be involved in the alpha.

My daily driver is a Chromebook, and I use an iPhone. My ability to jump “all-in” with Anytype is challenged without a platform to use it on. When I try to launch the appimage in crostini (Chrome’s linux terminal), I get the following message:

`tomfowler@penguin:~$ ./Anytype.AppImage

libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

08:12:33.619 › Config: {

“channel”: “latest”

}

Channel: latest

(node:785) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.

at EventEmitter.i.send (electron/js2c/renderer_init.js:105:312)

at electron/js2c/renderer_init.js:101:372

(Use anytype2 --trace-warnings ... to show where the warning was created)

(node:785) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see Command-line API | Node.js v19.7.0 Documentation). (rejection id: 1)

(node:785) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

Has anyone been successful in getting this to work on a Chromebook? I’m testing using a Windows VM over the network using VNC, but that is less than ideal.

Thanks,

Tom

Thanks for the help!

lspci did not work - command not found

vainfo was not installed. I installed it and it provided the following:

tomfowler@penguin:~$ vainfo

libva info: VA-API version 1.4.0

libva info: va_getDriverName() returns -1

libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

vaInitialize failed with error code -1 (unknown libva error),exit

Appears to be video driver related, but I can run most any Linux app on this machine, including things like Visual Studio Code, Vivaldi, NoMachine, and Remmina.

Tom

Thanks for your support. It is an Acer Spin 713 with a Core i5 10th gen / integrated graphics, 8GB.

Here is the message when I try to manually install va-driver-all. It thinks that is is already installed, yet when I run vainfo it isn’t happy:

`tomfowler@penguin:~$ sudo apt install va-driver-all

Reading package lists… Done

Building dependency tree

Reading state information… Done

va-driver-all is already the newest version (2.4.0-1).

va-driver-all set to manually installed.`

So, naturally the rest of the information you graciously provided ends in failure.

It has to be a crostini thing. It’s just weird that full graphical appimages work without any modification.

Doing some[ reddit surfing](https://www.reddit.com/r/Crostini/comments/er4uwc/libva_info_va_getdrivername_returns_1/), I found out that crostini only supports OpenGL at this time. It is using a virtual GPU. No hardware support yet. So, I will have to figure something else out until a Chromebook solution is developed. REALLY appreciate you leaning in to help… I may try Crossover today and see how that works.

@Sedulous

Thanks for all your input and ideas. I did load the Android version, but it is assuming phone display, so it is not as useful as the desktop. I’ll keep trying different combinations and report back here if I find anything.

Thanks

-Tom

1 Like

Hey there. I’m wondering if anyone has found a fix for this yet? I have a Pixelbook (Chromebook) and I’m having issues getting Anytype installed on it.

I’ve tried the above methods, but nothing so far.

1 Like

From what I can tell, we are out of luck until the developers can create a version that works in Crostini. At this point it is trying to directly access the chromebook video card and that simply doesn’t work inside the Linux container. The Android version is not designed for the tablet view. It has limited my ability to really dive in since the Chromebook is my daily driver.

1 Like

What a shame. My Chromebook is also my daily driver as well. I have the android app on my phone, but it’s not the same as the desktop view and I wanted to get familiar with it on desktop before using it on the phone. I guess I’ll be waiting a while until they get it working on Chromebooks.

Google Play has version 0.6.0 as of Feb. 11th which installs and runs as an Android app on Chromebooks as well as phones.

1 Like

@tomfowler could you try to install the latest Android version on you Chromebook as suggested by @cadsmithinc?

@SuperNinjaMonkey could you try to install the latest Android version on you Chromebook as suggested by @cadsmithinc?

I have installed the latest version from the Google Play store on my Chromebook. It is usable, but looks like a phone app. Is it aware of a tablet mode? It would be nice to use more than the center third of my screen. Thank you for your efforts in making this work. It took me a while to respond because I switched to a Macbook Air. Had to charge this Chromebook back up. I still sore about the Google Workspace thing and had been on a Google strike the past month.

@tomfowler thanks for your update. As you switched to a Mac, this might not be relevant for you anymore but it seems there is no feature request yet on making Anytype avaliable on a Chromebook (or a tablet sized device). You could create on if this is still of interest to you.

@SuperNinjaMonkey idem for you: if this is still of interest to you, feel free to create a feature request :slight_smile:

1 Like

Marking as solved for now as there is no response. We can pick this issue up anytime we get more information about the issue(s) on a chromebook.

1 Like

Hey there, I know this is an old thread but I just tested this again after almost a year.

Previously I wasn’t able to use the appimage on my chromebook because of the above mentioned issues. I also posted about this on telegram a while back and there was some talk about switching from appimages to other linux installation modes, but unfortunately this didn’t come up again or I missed the information.

While I wanted to install Anytype on a new Linux VM I went to the download page and saw that there is now a deb-package. I tried installing this on my chromebook and it worked! The only issue I’ve noticed this far is, that the app icon does not show correctly.

Just wanted to leave this Information here for others looking to install Anytype on a chromebook.

4 Likes

As a follow up to my post about succesfully installing the debian binary on a chromebook I want to share a couple of thoughts about the experience and one hiccup I’ve been running into:

  • overall performance is pretty good
  • at first copying stuff from the clipboard was making issues, but now it seems to work
  • using the file manager (to insert attachments, etc) is a little cumbersome as it’s inside the linux VM but it works

One problem I didn’t realize at first is that Anytype seems to log me out after every reboot or shutdown of my chromebook. The first start after a fresh start takes a long time as the linux VM has to boot up as well and I always have to login again. Usually this isn’t a huge problem as I only reboot to do an update of ChromeOS, but it’s still annoying. Even though I have to re-login the data seems to be accessible immediately but that may have to do with the fact that I just started over and only have a small number of objects.