Skip to content
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

Zoom crashing on Wayland #63

Closed
oranmehavi opened this issue Jul 29, 2022 · 4 comments
Closed

Zoom crashing on Wayland #63

oranmehavi opened this issue Jul 29, 2022 · 4 comments

Comments

@oranmehavi
Copy link

oranmehavi commented Jul 29, 2022

Hello,

I am hitting an issue regarding Zoom crashing when running on Wayland (using QT_QPA_PLATFORM=wayland because Xwayland just shows a blank window), it seems the issue is happening when a window is closed as you can see in the video. I had a similar issue with OBS which was fixed by aaf8608

2022-07-29.22-00-39.mp4

I am also attaching the nvidia-bug-report log that was created with egl-wayland built with this aaf8608

nvidia-bug-report.log.gz

My specs:
CPU: Ryzen 5 2600
GPU: 1070Ti with driver version 515.57
OS: Fedora 36

Edit: I have tried running Zoom on my laptop. With running on the iGPU (intel HD 530) the app works fine but when running it on the NV gpu (GTX 960M with the same driver version) the app shows the same behavior like in the video.

@erik-kz
Copy link
Collaborator

erik-kz commented Aug 3, 2022

Alright, it seems that Zoom ships their own copies of the Qt libraries version 5.12.10. The freeze you're observing is due to a bug in Qt, which was fixed by https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=4bd13402f0293e85b8dfdf92254e250ac28094c7 but it doesn't look like that was back-ported to the 5.12 branch.

I was going to suggest using X11 / Xwayland as a work-around, but unfortunately that doesn't appear to work either. That is because Zoom uses QtWebEngine, which is based on Chromium. Chromium also had a bug which prevented it from working with our drivers with Xwayland. That bug was fixed by https://chromium.googlesource.com/chromium/src/+/8e4102b24c2a4db4269f92e07536666034be0687 but that fix was merged in 2021, thus the version of QtWebEngine Zoom ships presumably wouldn't include it.

So sadly there's not a whole lot we can do here. If Zoom wants their client to work with our drivers on Wayland they would need to use a more recent version of Qt.

@oranmehavi
Copy link
Author

Thanks for the response.

So in both cases (Xwayland and Wayland) it should be working correctly with egl-wayland + driver but it is up to Zoom to add those fixes to their client?

@erik-kz
Copy link
Collaborator

erik-kz commented Aug 3, 2022

Correct, that's why this issue is specific to Zoom and doesn't affect other Qt applications. I guess the only option in the meantime would be to use the browser interface.

@oranmehavi
Copy link
Author

Thanks, I think I will close the issue (hopefully for good) because it is indeed specific to Zoom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants