-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running the examples on Vulkan on an AMD 6900 XT, surface.get_current_texture()
times out the first time each frame
#2941
Comments
|
It didnt happen when that driver was used.
This is most likely a duplicate of that issue, yeah. I'll test it out with MAILBOX to confirm soon. |
Ran into this as well. Few extra tidbits:
|
We've been hitting this on bevy for a while:
User report similar issue as well on an Intel Broadwell integrated GPU (couldn't reproduce with a Whiskey Lake). I think there is a few other related issues, but I can't find them now. |
I have this issue with an NVIDIA card on Linux, ash and vkcube work fine so I'm pretty sure this is a wgpu problem. |
Any updates on this? I am learning wgpu and noticed this issue when trying out this example. It seems to go away for me when I switch from PresentMode::Fifo to Immediate or Mailbox. Running Arch Linux 6.2.10-arch1-1 on an AMD Ryzen 7 3700X CPU and Radeon RX 5700XT GPU |
@TheFoon The easiest way out for now is to install Mesa's RADV Vulkan driver (available on Arch Linux as |
Description
I'm running a setup where I have a laptop with an integrated GPU a (Intel(R) Xe Graphics (TGL GT2), connected to a AMD Radeon RX 6900 XT in turn connected to an external display.
I'm running this on (Arch) Linux with Wayland, but this happens with X11 too.
I don't have any problems running the examples normally, as this defaults to the integrated GPU. When I run the examples with
WGPU_ADAPTER_NAME=AMD
though, I get a timeout every frame:The only change I've made to the source code is logging the error:
This happens on both the amdvlk and amdvlk-pro drivers.
It seems like this isn't meant to happen, but it doesn't seem to make the performance worse than expected.
Extra materials
Zip-compressed API traces and GPU captures can also land here.
Here's a log with
RUST_LOG=trace
:log.zip
Platform
OS: Arch Linux x86_64 5.18.15-arch1-2
Window Manager: sway version 1.7
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
See the links above for vulkan.gpuinfo.org device reports.
The text was updated successfully, but these errors were encountered: