Getting Vulkan on Crostini/Pixelbook to work

Linux on Chrome OS has been getting a lot of new developments lately. When searching posts about how to enable Vulkan on a Pixelbook/Chromebook/Crostini, there have been a lot of dated information. I was able to get Vulkan running on my i5 Pixelbook and the actual procedure is simple.

The key, I believe is to enable the #crostini-gpu-support flag in chrome's chrome://flags before installing linux. After toggling the flag, a reboot is required. Please note, I also enabled the #crostini-bullseye-upgrade flag. I don't believe this is necessary but I could be wrong.

After rebooting, install linux in chrome's system menu. Directions are available here.

Once installed, open the terminal and run the following command.

sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-tools

Then check to see if everything worked.

vulkaninfo

There should be a lot of information if everything worked. At the top you should see the following

Vulkan Instance Version: 1.2.162

If that's the case, then you are good to go!

Comments

Popular posts from this blog

Lenovo X13s Debian Journey