WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Howto: RPi4 vulkan driver  (Read 1628 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14640
Howto: RPi4 vulkan driver
« on: June 22, 2020, 08:09:46 AM »
An as yet unfinished vulkan driver has been released for RPi4, compiled as the mesa-vulkan-rpi4 extension.

If you have hardware graphics acceleration working on an RPi4, it is just a matter of loading mesa-vulkan-rpi4.

The vulkan equivalent of glxinfo/glxgears are found in the vulkan-tools extension as vulkaninfo/vkcube.

Various demos can be run as per the following:
Code: [Select]
$ tce-load -i compiletc cmake git mesa-dev libassimp-dev libvulkan-dev
$ git clone --recursive https://github.com/SaschaWillems/Vulkan.git  sascha-willems
$ cd sascha-willems
$ mkdir build
$ cd build
$ cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../
$ make
$ cd bin
$ ./gears
$ cd ../..
$ python3 download_assets.py
$ cd build/bin

Whilst you could probably fry an egg on the RPi4, the results are reasonably impressive.

Apparently, there is also a vulkan game: https://github.com/Yours3lf/vkQuake3/releases/tag/v1.0

Offline gadget42

  • Hero Member
  • *****
  • Posts: 673
Re: Howto: RPi4 vulkan driver
« Reply #1 on: June 06, 2022, 09:00:31 AM »
searching the forum for keyword(s) rpi4 vulkan gave one result(this one)...

so perhaps someone will find this helpful:
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580