-
Notifications
You must be signed in to change notification settings - Fork 35
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
fix typo in the requested limit name of the wgpu device #679
base: main
Are you sure you want to change the base?
Conversation
Thanks! Looks like this change in wgpu is now in the release: pygfx/wgpu-py#617 |
Nice find! This explains why there were no errors before. I didn't think to look at the issue tracker of pygfx. |
test failures are due to pygfx/wgpu-py#644, need to wait for the next release of wgpu with pygfx/wgpu-py#645 |
If you can update the test as well it should be good to go! https://github.com/fastplotlib/fastplotlib/actions/runs/11975376261/job/33491202021?pr=679#step:8:24 |
That should be ok, all tests pass on my machine, with pygfx installed from its main branch, to be aligned with the CI setup : Do you think that the required pygfx version should be updated too, in the setup.py? |
Sorry, there are still some errors. I will investigate ... |
…hen for the other limits.
Looks like there are no imgui wheels for python 3.10 so it's trying to build but it requires |
…eel for imgui-bundle.
Thanks. I've added the installation of |
had to update the CI timeout, it takes longer since it has to build imgui 1.5.2 for python 3.10. Anyways this PR will fix all those issues: pygfx/wgpu-py#649 |
ok now it looks like the latest release of pyav 14 hours ago breaks imageio https://github.com/PyAV-Org/PyAV/releases posted in imageio: imageio/imageio#1111 |
ok, no problem, so we just have to wait I guess. |
Hi,
when running different examples involving images, the following exception is raised:
It fails for the following examples (non-exhaustive list), on windows10, python 3.12.6, pygfx 0.6.0, wgpu 0.19.1 (can't test right now on linux because of an error related to imgui):
I believe there's a typo in the string passed to the
limits
property of thewgpu.Device
object. From the wgpu documentation (Rust), the constant is named 'max_texture_dimension_2d', at least since wgpu-0.10.1:https://docs.rs/wgpu/latest/wgpu/struct.Limits.html#structfield.max_texture_dimension_2d
By appling the lower-case style, the examples now work by adding an hyphen before "2d". I don't know if it is specific to my setup, but this fix seems to be aligned with the wgpu API.