Summary: | feature request: enforceable vsync and anisotropic filtering via environment variables | ||
---|---|---|---|
Product: | Mesa | Reporter: | tempel.julian |
Component: | Drivers/Vulkan/radeon | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | enhancement | ||
Priority: | medium | CC: | mirh, shtetldik |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
tempel.julian
2018-07-26 22:21:03 UTC
DXVK now allows to force AF, so I guess the only feature you want is vsync? DXVK now also supports enforcing vsync on/off. :) However, it would still be nice to also have these options for outside of DXVK since native Linux apps might not offer full control to the user either (admittedly less likely). This patch allows you to force anisotropy with RADV. https://patchwork.freedesktop.org/patch/250317/ Feel free to play with RADV_TEX_ANISO https://cgit.freedesktop.org/mesa/mesa/commit/?id=3871dd7a92624675bd45d9d596bbe34c33d7bb4d That's fantastic, I'll give it a go in various titles the next time I'm able to. Not even the amdvlk-windows or DX12 driver (I've missed it already in some DX12 games) provide this, which makes radv really out of the ordinary in this regard. Thanks a lot for your efforts. As just a common user, I found radv to deliver the most satisfying Vulkan experience even without such goodies. I have implemented a way [1] to override the Vulkan presentation mode with MESA_VK_WSI_PRESENT_MODE. Currently, 3 modes are accepted (fifo/mailbox/immediate). X11 supports these 3 modes while Wayland only supports fifo and mailbox. If you want to vsync, you just need to export MESA_VK_WSI_PRESENT_MODE=fifo. [1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=a182adfd83ad00e326153b00a725a014e0359bf0 *** Bug 109764 has been marked as a duplicate of this bug. *** I've tested it in vkquake, works like a charm. Again: Huge thanks! It seems forcing vsync off doesn't work in Rage 2. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.