Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hardware accelerated graphics in such an environment is certainly impressive... Looks like they did it via GPU virtualization, even. Isn't that one of those features used by manufacturers to segment the market?

Google is certainly demonstrating some good habits here. They did good work in opening up their laptop hardware. Their pixels are the most friendly devices for alternative operating systems. They added standard API access to GNSS raw data. Now it looks like they're doing GPU virtualization. They just keep breaking down barriers.



Looks like it's virglrenderer. This isn't like SR-IOV.

It's opengl/vulkan call interception (virgl/venus) and/or virtgpu drm native context which operates at the graphics driver level for both guest and host.

Separately, wayland memory sharing channels between guest and host need to be established. This is also done through the virtgpu pipeline.

Currently this appears to both work on Android and macOS[1]. AMDGPU also has virtgpu drm native context merged into Mesa but I believe it's still 'experimental'.

[1] <https://github.com/AsahiLinux/muvm> , <https://github.com/containers/libkrun>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: