19:01kugel: Hello. I need help with virgl and va-api
19:03kugel: I have a proxmox hypervisor on a system with 12th gen Intel iris graphics. vainfo on the host lists all supported codecs.
19:04kugel: Then I have a qemu vm that uses virgl and I wanted to setup hw video encoding according to https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/940
19:05kugel: However, vainfo in the vm lists no supported codecs.
19:06kugel: https://pastebin.com/bhF177wp
19:11kugel: I would expect that I can see and use h264 and h265 codecs in the vm (i.e. hw-acclerated encoding)
19:15kisak: basic sanity check, is mesa new enough to have https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17157 and virgl new enough to have https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/838 ?
19:24kugel: guest-side mesa is at 23.0.0.1 and host-side virglrenderer is at 0.10.4 (both installed from Debian experimental for this purpose)
19:24kugel: should be new enough to my understanding
19:37soreau: make sure mesa is built with the relevant options https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/meson_options.txt#L610 or install the package providing them?
19:39kugel: I'll try that
19:41kugel: Issue persists (compiled mesa from source with "meson configure -D gallium-drivers=virgl,swrast -D gallium-va=enabled -D vulkan-drivers= -D gallium-vdpau=enabled -D egl-native-platform=drm -D video-codecs=h264dec,h264enc,h265dec,h265enc")
19:44soreau: perhaps you also need to set LIBVA_DRIVERS_PATH
19:45kugel: did that
19:46kugel: in the guest I try both, the Debian package (version 23.0.0.1) and compiled-from-source (main branch)
20:22kugel: soreau: do you if the author of the patches is on irc or how could I possibly contact him?
20:31soreau: the email for commits are in the public git repository history
20:49DemiMarie: Curiousity question (AKA don’t spend too much time on this): would Linux be better off if dma-fence was either removed altogether, or if all memory whose relocation could be blocked by a dma-fence resolving had to be pinned?
21:21DemiMarie: Daniel Vetter (danvet?): is there a reason that Intel’s firmware developers cannot change the firmware API to a better one and ship new firmware? If that is not possible, what about sticking to execlists until new hardware comes out that has better firmware?
22:04DavidHeidelberg[m]: tomeu: Hi! Do you recall why did you did this revert https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/c7707eb3b55279a8b59da88a7b27fcd8b4cff7e9 ?
23:07tarceri: mareko: So I have a goal to get all linking done in NIR so we can run opts on the IR some games hold in memory indefinitely https://gitlab.freedesktop.org/mesa/mesa/-/issues/8751
23:08tarceri: This can be 100s on MB sitting in memory for some games, the cache makes it better but doesn't solve completely
23:08tarceri: I'm working on moving some of the easier stuff over now
23:09tarceri: Not sure if we will ever actually get there though