Skip to content

Consolidated shell script to install the Raspberry Pi Mesa Vulkan driver for aarch64

Notifications You must be signed in to change notification settings

karnkaul/rpi4-install-vulkan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Raspberry Pi 4 Mesa Vulkan Installer

Single shell script to install the Mesa Vulkan driver for Raspberry Pi 4.

Tested on Linux rpi4 5.10.63-v8+ aarch64.

vkcube screenshot

Note

The latest version of libdrm (currently 2.4.110) seems to now be a required dependency. Refer to this excellent PR comment for more info.

Usage

  1. Clone / copy / download script
  2. Set as executable and run

Installing Vulkan

Pass --help to print usage.

install_vulkan.sh [install[=~/mesa_vulkan]] [config[=release]] [src[=mesa]] 
	[build[=build/$config]] [script[=vk_icd.sh]]
  1. install: where to install built Vulkan drivers
  2. config: build configuration
  3. src: where to clone the mesa repository
  4. build: where to build Vulkan drivers
  5. script: name of source-able script to generate to set up an environment via installed drivers

Using Vulkan

  1. Source the generated script into the shell environment: . vk_icd.sh
  2. Run vkconfig to confirm driver / loader / ICD / etc work as expected
  3. Run desired Vulkan applications, eg vkcube

About

Consolidated shell script to install the Raspberry Pi Mesa Vulkan driver for aarch64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages