-
Notifications
You must be signed in to change notification settings - Fork 7
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
webgpu support #36
Comments
Setting |
I will try to keep this tab open to look at it, but I'm getting swamped from multiple angles in my life right now and don't know when I'll really be able to give this attention. For what it's worth, I am glad to be aware of this. I'm surprised that Firefox Nightly works as well as it does, seemingly without the same type of wrapper present in nixpkgs wrapped-firefox builds. I was sure that we have had to fix this same opengl/libglvnd wrap issue for this build in the past. There's a Nix Mozilla Matrix room too, might be worth bringing this up there if someone else wants to investigate more. |
This works for me, by just running When I look at |
@colemickens yeah, for what it's worth I didn't notice any slowdowns, but also never performed any tests prior to wrapping with LD_LIBRARY_PATH. However, it did make the log lines go away. But maybe the log lines don't mean much in the first place. Who knows! |
hello, I have that problem. I need to get wgpu on firefox running and I'm getting the same error. I'm on AMD gpu, could that be related? LD_LIBRARY_PATH=/run/opengl-driver/lib firefox-nightly doesn't solve it either sadly |
from my
|
I'm afraid I still don't have enough to go on. I'm using AMD as well: WebGPU Default Adapter:
|
yeah so it seems to be the marker for whether it's gonna work or not. question is what's the logic behind it :D I've tried looking into firefox source code to figure out how is that adapter determined but couldn't find anything |
I repro
vega64 |
I'm fighting hard for this, because while it works on chromium, it is very jaggy and randomly crashes - also it crashes after page refresh. I remember from my arch installation this was working flawlessly on firefox-nightly, I could resize the screen and refresh however many times I wanted. any ideas what details of our setup we could compare? I've only started using nixos less than 2 weeks ago |
Are y'all using nixos-unstable? I am pretty out of my depth here. I don't think I do anything remotely special to make this work on my system. Just to sanity check: 132.0a1 20240914211959 If I show only modified preferences and search "gpu", I get no hits, so I can't think of any "config" differences worth mentioning. |
ok so I just had a breakthrough. it works but idk why, maybe someone here can help
then everything magically works. maybe someone smarter with nix could help me port this to my main configuration somehow |
Do a process of elimination on the shell by removing parts of it until it doesn't work anymore. First remove half of it then half of half and so on |
|
I assume this should be fixed in the wrapper in nixpkgs? |
I linked the pr |
sorry but it didn't fix it, I still need to run
|
Try the other vulkan packages, maybe I had an impurity. |
Firefox nightly supposedly has webgpu support but I can't get it running. Firefox complains
Validation error without device target: No suitable adapter found
. In about:config WebGPU is enabled and the blocklist is disabled andabout:support
says it can also find my integrated graphics card. Do I have to configure some environment variables so firefox can find some missing libraries?The text was updated successfully, but these errors were encountered: