-
Notifications
You must be signed in to change notification settings - Fork 960
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
Copying CPU buffer to GPU buffer bug on Linux/Vulkan #2480
Comments
Thank you for filing! Would you be able to modify one of our examples to reproduce the issue? Alternatively, attaching a zipped trace would help - https://github.com/gfx-rs/wgpu/wiki/Debugging-wgpu-Applications#tracing-infrastructure. |
Update: I just realized this issue is only present if I use my integrated GPU (Intel(R) HD Graphics 4600 (HSW GT2) (Vulkan)). The issue does also occur with the cube example! I created a trace for the cube example: trace.zip |
Wow that's unexpected. I can't reproduce this on my Intel Xe GPU on Linux, from either the example itself or from the trace :( |
I tried to record a Frame with RenderDoc. When I run the example with X11 (and not Wayland, as before) the issue is not present. Seems like it is a problem with Wayland. |
That's kind of puzzling. Texture data uploads should have nothing to do with Wayland and whatnot. |
This seems like a driver bug, so closing as out of scope. |
Description
Copying an image buffer from CPU to GPU texture with
write_texture
gives unexpected result on linux.Repro steps
write_texture
Expected vs observed behavior
Image on linux looks like on macOS.
But image on linux is distorted.
Extra materials
I used only the column number as red value:
I used only the row number as red value:
Platform
Linux (Ubuntu 21.10)
macOS (12.2.1)
wgpu (0.12.0)
The text was updated successfully, but these errors were encountered: