Package Details: cros-container-guest-tools-git r198.48dd2aa-1

Git Clone URL: https://aur.archlinux.org/cros-container-guest-tools-git.git (read-only)
Package Base: cros-container-guest-tools-git
Description: Guest tools for the Crostini containers on ChromeOS
Upstream URL: https://chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools
Keywords: chromeos containers lxc
Licenses: custom
Submitter: ava1ar
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 7
Popularity: 1.627125
First Submitted: 2018-05-23 06:53
Last Updated: 2019-09-12 05:24

Latest Comments

1 2 3 Next › Last »

bneate commented on 2019-09-12 22:33

Yes that solved the issue for me. Thank you for making the change.

ava1ar commented on 2019-09-12 04:46

@bneate

OK, got it. I updated PKGBUILD to include setting up LIBGL_DRIVERS_PATH for sommelier and sommelier-x. I am not patching units, just added new line to override configuration - this is more clean way making it.

On my Pixelbook GPU acceleration works fine out-of-the-box with up-to-date arch and 77 beta ChromeOS version. Updated PKGBUILD works fine too.

Please try and confirm it resolves the issue for you.

bneate commented on 2019-09-11 22:10

The errors I was seeing were previously mentioned by rawkode where sommelier would fail to run with MESA-LOADER errors failing to find the dri drivers and well as the ones mentioned by mrln getting gpu acceleration to work.

Both of them fixed the issue by overwriting the dri drivers in /usr/lib/dri with those found in /opt/google/cros-containers/lib to allow sommelier to start and then switch back to the original libs to allow the bundles apps to work correctly.

By updating the sommelier service file to use /opt/google/cros-containers/lib for it's dri divers directly we no longer need to shuffle around these files.

Note: I'm not sure how this was working by default on your pixelbook without any of these changes but this was required to get sommelier and gpu acceleration to work on my HP chromebook X2.

ava1ar commented on 2019-09-11 17:57

@bneate

Interesting, thanks for sharing - I will incorporate this to the PKBUILD! Can you provide more information about the errors you are mentioning?

bneate commented on 2019-09-11 17:33

In order to get sommelier to run correctly without any MESA-LOADER errors and get GPU support working I added the following lines to /usr/lib/systemd/user/{sommelier@.service,sommelier-x@.service}

Environment="LIBGL_DRIVERS_PATH=/opt/google/cros-containers/lib"

ava1ar commented on 2019-08-29 04:01

Last update implements more ChromeOS keys binding inside Crostini as described here: https://www.reddit.com/r/Crostini/wiki/enable-chrome-shortcuts-in-linux-apps

ava1ar commented on 2019-08-14 04:59

Looks like I am getting GPU working out-of-the-box on my Pixelbook with latest version of this package and in latest dev version (77.0.3865.18) with gpu flag set to on. Getting virgl as driver now. Finally I can watch H265 video on using mpv with GPU acceleration!

ava1ar commented on 2019-07-14 23:05

Thanks, @mrln! I will check this out on my Pixelbook and will incorporate into this package if it works.

mrln commented on 2019-07-14 21:50

I temporarily got gpu running using a hacky trick. I'm using a HP X360 chromebook, Chrome OS 76.0.3809.38 and crostini archlinux container. The way i got it working:

Backup virtio_gpu_dri and symlink the google virtio_gpu_dri
mv /usr/lib/dri/virtio_gpu_dri.so /usr/lib/dri/virtio_gpu_dri.so.orig
ln -s /opt/google/cros-containers/lib/virtio_gpu_dri.so /usr/lib/dri/virtio_gpu_dri.so
Enable gpu

Open cros shell using Ctrl+alt+t

vmc stop termina
vmc start --enable-gpu termina

Open linux terminal Run glxinfo -B, it segfaults with unknown architecture error.

Restore backup virtio_gpu_dri overwriting symlink.
mv /usr/lib/dri/virtio_gpu_dri.so.orig /usr/lib/dri/virtio_gpu_dri.so

Now glxinfo -B show virgil as driver. Steam games work. Oh, and somewhere during testing i had to install libc++ from aur because "LIBGL_DEBUG=verbose glxinfo" was complaining about it missing.

ava1ar commented on 2019-06-23 07:01

rawkode, Do you have GPU acceleration enabled when getting this error?