Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Drage <[email protected]>
  • Loading branch information
cdrage committed Nov 14, 2024
1 parent 802887b commit e246437
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions vulkan-mac-silicon-gpu-stress-test/Containerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
# **IMPORTANT NOTE:**
# **Description:**
#
# This is a "hello world" GPU container that showcases fractals by using a "minimal POC" vulkan compute example project.
# Every X seconds, the fractal will be recalculated and displayed in the browser. This is all rendered on the virtualized GPU.
#
# Runs a stress test on the GPU using Vulkan. This is meant to be ran on a Mac Silicon machine with a GPU.
#
# **Technical Description:**
# You must use Podman Desktop with Podman 5.2.0 or above and run a
# podman machine with libkrun support.
#
# For a more technical TLDR it is:
# * Creates a virtualized Vulkan GPU interface
# * Virtualized GPU is passed to a vulkan-to-metal layer on the host MacOS
# * Uses https://github.com/containers/libkrun for all of this to work.
#
# Source code:
# In order for this to work, a patched version of mesa / vulkan is used. The source for this is located here: https://download.copr.fedorainfracloud.org/results/slp/mesa-krunkit/fedora-39-aarch64/07045714-mesa/mesa-23.3.5-102.src.rpm
Expand All @@ -24,7 +19,7 @@
# podman run -d \
# -p 6080:6080 \
# --device /dev/dri
# vulkan-mac-silicon-gpu-fractals
# vulkan-mac-silicon-gpu-stress-test
# ```
#
# Then visit http://localhost:6080 in your browser.
Expand Down

0 comments on commit e246437

Please sign in to comment.