-
Notifications
You must be signed in to change notification settings - Fork 89
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
Cosmic Apps using wgpu fail with Nvidia graphics. #264
Comments
Testing this on a desktop with an Nvidia 1080 and running on nouveau drivers, Cosmic-Term and Cosmic-Edit were both fine, despite being compiled with the wgpu feature present. Attempting to run Cosmic on proprietary Nvidia drivers on 10 series cards on desktops results in a thoroughly unresponsive experience, so I haven't tested Cosmic+Desktop Nvidia+Proprietary Nvidia drivers yet. That's another kettle of fish though. Still, it suggests this might be more directly linked to Nvidia drivers. |
Apparently this is a known issue with wgpu on recent Nvidia drivers with Wayland. Most likely a driver bug: gfx-rs/wgpu#4775 I can reproduce it on Fedora Rawhide with Gnome Wayland. |
pop-os/cosmic-epoch#168 (comment)
|
The bug has not been reported to NVIDIA, so I doubt that they are aware |
NVIDIA/egl-wayland#72 (comment) |
I don't think it's the same issue. I'm seeing it on Turing GPU (GTX 1650), while the comment says that only pre-Turing GPUs are affected and it should work fine on Turing or later. |
There's been some debate on wgpu about whether or not this is a driver bug, or if wgpu is doing something wrong. The Vulcan spec seems a bit vague. But gfx-rs/wgpu#4967 is meant to fix it, and seems like better approach in general. |
My understanding is that it's a driver bug, since fences should work just fine. |
I can no longer reproduce this bug |
apps now render properly but will freeze .. with 550 drivers |
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967#note_2258144 Confirmed a Driver Bug not a WGPU bug and An nvidia Dev will take a look at the issue! see it helps to report things instead of whining on discord when someone tries to help |
As of the newest stable driver this no longer happens and can be closed @Drakulix |
Thanks, its worked for me. |
I stumbled on this while testing both Cosmic-Edit and Cosmic-Term, on a System76 Gaze17 and a Galp5-1650ti.
Both applications functioned as expected in Pop with Gnome sessions (both X org and Wayland) in all three graphics modes provided by
system76-power
- Integrated, Hybrid, and Discrete.In a Cosmic session, the applications work as expected in Integrated graphics mode. However, in both Hybrid and Discrete mode they both cause a window to be drawn, but are totally non-responsive. The only way to close the window is to manually terminate the process.
After back-and-forth with others, it was suggested that the issue might be wgpu. When both Cosmic-Edit and Cosmic-Term were compiled with the wgpu feature disabled, they functioned without issue in Cosmic session in all graphics modes.
I'm not sure of next-steps for finding debug information, and would appreciate guidance to collect info for this issue.
The text was updated successfully, but these errors were encountered: