-
Notifications
You must be signed in to change notification settings - Fork 4
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
Crash on Windows (probably old graphics card) #72
Comments
Refs #72 At the point of initializing wgpu, we've already initialized winit which means we can't return an Err() to the user. For some reason, I think when I wrote this code I expected the panics here to contain more information than they did, but since they're just Options, the error just was unwrap on None. These new messages will at least signal what is happening.
As per investigations in a conversation on Discord, the target card is an Nvidia 840M. In my searching, I found gpuweb/gpuweb#1069, which as of the time of writing this comment seems to imply that the webgpu spec thinks this card is the minimum DX12 target. I can't seem to find specific information about wgpu's DX12 requirements. Regardless, wgpu has removed its DX11 backend in favor of its OpenGL implementation. This is supposed to be used for compatibility on devices that don't support the required DX12 feature level or shader model. Unfortunately, the APIs to request an adapter simply return an Option. I have no extra information to report about why wgpu doesn't think it can initialize an adapter. I think the next step is to try running a wgpu example on the device in question. If the wgpu examples fail, then perhaps a report to wgpu to investigate why this card isn't supported. If the wgpu examples work, then I might file my own report because I believe the only feature I'm using is supposed to be emulated on backends that don't provide the feature natively. |
same issue on my old archlinux laptop. wgpu version: device info:
wgpu 0.18 no issue |
@alexniver, are you able to reproduce this problem using wgpu's examples? If so, reporting this to wgpu would be helpful. Since ModProg's original issue was relating to Windows' support for older GPUs, it seems like a separate issue for wgpu's maintainers to investigate would be helpful. |
Especially because I never created mine 😅 |
I'm so confused -- the description of the issue links to an issue you created a few weeks ago :) |
you are right, I should buy a new brain |
The executable run is the
cushy
theme
example.WGPU issue: gfx-rs/wgpu#5164
The text was updated successfully, but these errors were encountered: