Post A21OGD2JALBTKniYV6 by ixn@mastodon.xyz
(DIR) More posts by ixn@mastodon.xyz
(DIR) Post #A21OGBGljbYxr4T4lM by ixn@mastodon.xyz
2020-12-09T07:10:26Z
0 likes, 0 repeats
@klaatuFunny you should mention Chromebooks on #gnuworldorder, because I just got a new one just a couple of weeks ago for GPU driver development:https://www.google.com/intl/en_us/chromebook/device/lenovo-chromebook-duet/I'm still using Chrome OS as I haven't got a usb-c to usb-a adapter, but I already built a new 5.10-rc kernel for it, which took all of 13 minutes on the 8 cores of the MT8183, a lot faster than 40 minutes on my old Chromebook.
(DIR) Post #A21OGBXQjetGgkGNjU by ixn@mastodon.xyz
2020-12-09T07:11:56Z
0 likes, 0 repeats
@klaatu When questioning Chrome OS design decisions, it's important to remember that the priority is on security.Because of this, the Linux support uses a custom VM image so the VM (crosvm) can be simpler and have a smaller attack surface. The VM image does not support root, but the chronos user can manage LXD containers. Btrfs is used for the filesystem image (it's at /home/root/*/crosvm/*.img), though the host kernel doesn't have btrfs compiled in, so it can't be directly mounted. :(
(DIR) Post #A21OGBuTLzK1qD2meG by ixn@mastodon.xyz
2020-12-09T07:14:41Z
0 likes, 0 repeats
@klaatu File sharing uses 9p for Chrome OS to Linux sharing, and sshfs for the other direction.9p for sharing on CrOS has the advantage that sshd doesn't need to be running on the Chrome OS side, and using sshfs for sharing back into CrOS means that the client is running as an ordinary user and can't expose files as setuid etc.You can enable accelerated OpenGL through virgl by enabling "Crostini GPU support" in about:flags.Microphone support can be enabled in the Linux settings.
(DIR) Post #A21OGCBUKivugz0NAe by ixn@mastodon.xyz
2020-12-09T07:18:26Z
0 likes, 0 repeats
@klaatuBy default, everything is mounted with noexec except for /usr/local, so if you try installing your own executables, put them there.You can avoid the beeps on startup with ctrl-d.To hard reboot, you can hit Alt+VolumeUp+R, which is useful as you can read the kernel logs before reboot as /sys/fs/pstore/console-ramoops-0.
(DIR) Post #A21OGCggSjt2FjbHnM by ixn@mastodon.xyz
2020-12-09T07:23:11Z
0 likes, 0 repeats
@klaatu Chrome OS uses its own audio server, CRAS. You can disable/enable it with 'sudo stop/start cras'.I managed to get jackd running from CrOS, but netjack couldn't see the Linux VM. Maybe it would work if I used the proper hostname (penguin.linux.test) instead of localhost...I should also try PipeWire, which I've had good experiences with on my old Chromebook which runs Void Linux.(PipeWire is aiming to be the replacement for both JACK and Pulse, and it provides its own libjack.so).
(DIR) Post #A21OGD2JALBTKniYV6 by ixn@mastodon.xyz
2020-12-09T07:37:58Z
0 likes, 0 repeats
@klaatu The android support in just in a container, with no VM (yet...).There is a "Show all Play folders" in the file manager settings, so you can see what shared folders actually exist in the android container.You can find the android storage at /home/root/*/android-data/data, useful for extracting files stored in android apps.The actual root is at /opt/google/containers/android/rootfs/root/, but is immutable unless you do tricks with 'mount --bind'.
(DIR) Post #A21OGDg0miwXJwIGO0 by klaatu@mastodon.xyz
2020-12-09T10:13:18Z
0 likes, 0 repeats
@ixn sounds like Somebody ought to do a hacker public radio episode about chromebooks and chromeOS.... (to be clear, I mean you)I am back on chromeOS for the moment because my latest chromiumOS build has failed. Actually the build says it worked but the image says it failed. So I need to email the list to figure out what I need to investigate.