Package Details: cros-container-guest-tools-git r403.0c2dcc71-1

Git Clone URL: https://aur.archlinux.org/cros-container-guest-tools-git.git (read-only, click to copy)
Package Base: cros-container-guest-tools-git
Description: Linux guest tools for the Crostini containers on ChromeOS
Upstream URL: https://chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools
Keywords: chromeos containers crostini lxc
Licenses: custom
Submitter: ava1ar
Maintainer: mshaugh
Last Packager: mshaugh
Votes: 19
Popularity: 0.003339
First Submitted: 2018-05-23 06:53 (UTC)
Last Updated: 2023-04-25 16:51 (UTC)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 Next › Last »

bneate commented on 2019-09-12 22:33 (UTC)

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

ava1ar commented on 2019-09-12 04:46 (UTC)

@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 (UTC) (edited on 2019-09-11 22:12 (UTC) by bneate)

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 (UTC) (edited on 2019-09-11 17:57 (UTC) by ava1ar)

@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 (UTC) (edited on 2019-09-11 17:34 (UTC) by bneate)

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 (UTC) (edited on 2019-08-29 04:01 (UTC) by ava1ar)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-07-14 21:52 (UTC) by mrln)

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 (UTC)

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