mirror of
https://github.com/theupriser/steamify-cachyos-dev.git
synced 2026-10-05 12:45:56 +02:00
docs: run.sh --amd (venus on the AMD iGPU); gaming mode can't render in the VM, all tried
This commit is contained in:
1 parent
19b6ba4d97
commit
974cea7cf4
2 files changed
+17
-1
No files matched your search
@@ -1,9 +1,10 @@
|
||||
#!/bin/bash
|
||||
# CachyOS test VM for steamify.sh.
|
||||
# [REPO=/path/to/cachyos-gamescope-boot] ./run.sh [install] [--nvidia] [--vulkan] [--fremont]
|
||||
# [REPO=/path/to/cachyos-gamescope-boot] ./run.sh [install] [--nvidia] [--vulkan] [--amd] [--fremont]
|
||||
# install boot the installer ISO
|
||||
# --nvidia render the guest's virtio-gpu (virgl) on the host NVIDIA dGPU
|
||||
# --vulkan expose Vulkan to the guest (venus; needed by gamescope, can be unstable)
|
||||
# --amd with --vulkan: venus on the host AMD iGPU (RADV) instead of NVIDIA
|
||||
# --fremont report the Valve Steam Machine's DMI data (for testing the wizard)
|
||||
# REPO defaults to $HOME/projects/cachyos-gamescope-boot.
|
||||
# BIOS_VERSION=F7F0107 makes the guest report that BIOS version (DMI), e.g.
|
||||
@@ -26,6 +27,7 @@ for arg in "$@"; do
|
||||
--nvidia) export __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia \
|
||||
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json ;;
|
||||
--vulkan) gpu+=,hostmem=4G,blob=true,venus=true ;;
|
||||
--amd) export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.json ;;
|
||||
--fremont) smbios+=(-smbios type=1,manufacturer=Valve,product=Fremont -smbios type=2,manufacturer=Valve,product=Fremont) ;;
|
||||
*) echo "unknown argument: $arg" >&2; exit 1 ;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user