From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 513331FF17E for ; Thu, 13 Nov 2025 16:13:06 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CC77E20BAE; Thu, 13 Nov 2025 16:13:59 +0100 (CET) Message-ID: <60966bad-8444-426d-a919-a6fc7bf75668@proxmox.com> Date: Thu, 13 Nov 2025 16:13:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Proxmox VE development discussion , Markus Frank References: <20251110114032.125526-1-m.frank@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <20251110114032.125526-1-m.frank@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1763046809135 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.029 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH qemu-server/pve-manager v1 0/2] add virtio-vga-gl Vulkan (venus) support X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" to add some of my high level tests & thoughts: tried with an NVIDIA card, but could not get it to work. The guest would start but could not initialize the vulkan driver -> the virgl-server process on the host crashed. When trying again afterwards (e.g. with vkcube) the guest also crashed (probably worth looking into if I have more time?) Also tried with an AMD RX560, which worked fine. I tested a vulkan memtest tool[0] (thanks @thomas for finding this) but the various memory window settings did not make a difference, it would always result in ~5.4 GB memory transfer speeds. I also tested the Tomb Raider (2013) benchmark with proton (9.0-5) with dxvk (directx -> vulkan translation layer) and got the following results: virtio-gl hostmem size avg fps host rss of the kvm process 512M 62.6 ~8GiB 8192M 61.3 ~8GiB so the hostmem size did not make any difference. My suggestion would be to reduce the option to a single boolean for now (e.g. vulkan=on/off) and use 512M hostmem size by default. We can still expose some memory setting later too if we need it. 0: https://github.com/GpuZelenograd/memtest_vulkan On 11/10/25 12:40 PM, Markus Frank wrote: > This option is represented by an enum in qemu-server and a comboBox in > pve-manager, with values such as 'venus-512' and 'venus-1024'. This is > to allow for the potential addition of another Vulkan implementation > in the future. The number indicates the memory window in MiB for Venus. > > As I am not sure what the hostmem and blob properties actually do, I > asked on the qemu-discuss mailing list: > https://mail-archive.com/qemu-discuss@nongnu.org/msg09011.html > > QEMU documentation: > www.qemu.org/docs/master/system/devices/virtio/virtio-gpu.html#virtio-gpu-virglrenderer > > > To get an overview of the performance, see the benchmark below. > > supertuxkart (1.5) benchmark (default settings, vulkan, 1024x768): > > Host result (Granite Ridge integrated GPU): > * Total frame count: 8488 > * Total profiling time (ms): 38139 > * Steady FPS: 92 > * Mostly stable FPS: 137 > * Typical FPS: 194 > > VM (host, 4 core, 8GiB) with venus (hostmem=8192M) result: > * Total frame count: 3321 > * Total profiling time (ms): 38130 > * Steady FPS: 58 > * Mostly stable FPS: 75 > * Typical FPS: 86 > > This benchmark showed no significant differences in performance between > the various memory window sizes for venus. > > > > qemu-server: > > Markus Frank (1): > virtio-vga-gl: add Vulkan (venus) support > > src/PVE/QemuServer.pm | 20 +++++++++++++++++++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > > pve-manager: > > Markus Frank (1): > ui: qemu: add Vulkan option in DisplayEdit > > www/manager6/qemu/DisplayEdit.js | 42 +++++++++++++++++++++++++++++++- > 1 file changed, 41 insertions(+), 1 deletion(-) > _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel