-
Notifications
You must be signed in to change notification settings - Fork 13
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-client closes immediately after start on Nvidia (again) #105
Comments
Fwiw: Seeing exactly the same failure shown in your logfile with zoom 5.9.1-1 from the Arch AUR, launched from the commandline. (/opt/zoom/version.txt says 5.9.1.1380, same as yours). Tried on two nearly identical older laptops, one has the Intel i915 GPU and is using the i915 driver, the other has an Nvidia GPU and is using the nouveau driver. Identical failure behavior on both, just as shown in your logfile. So my guess is that this issue is either unrelated to Nvidia, or perhaps caused somehow by the mere presence of Nvidia libs on both machines (even though they are not being used at runtime on either machine.) Just grasping at straws, really. I have no expertise here. So far, I know of no workaround and have no way to get zoom up and running. Pretty serious problem, yet doesn't seem to be getting reported very often. A little strange. |
Same deal on Debian sid, also nVidia drivers with an RTX 2060. If I had to take a guess, I'd say that snapd is not letting zoom access various chunks of the environment, specifically including stuff required for GLX. But the inability to see the pulse daemon is also interesting to me. I'd really love to have a log file from when this was working correctly, even from a non-nVidia system. |
@zelch Imo, the problem seems unlikely to be related to snap. In the two-laptop experiment I mentioned above, which was based on the Arch AUR package zoom-5.9.1-1-x86_64.pkg.tar.zst (which encapsulates zoom-5.9.1.1380) snap was not used, it's not even installed on either of those machines. In the failures I saw, zoom was launched directly from the commandline, i.e. just $ zoom That "zoom" command maps (via $PATH) to /usr/bin/zoom, which is a symlink to /opt/zoom/ZoomLauncher. On both machines, the key error events reported in zoom_stdout_stderr.log (attached below) seem to be essentially identical to both yours and @dimitry-dukhovny, i.e.
followed by
and then death on signal 6 (SIGABRT). Fwiw, I have been seeing the same behavior since 5.8.3. Here's my logfile (mildly sanitized): |
I have exactly the same problem, as was mentioned by @ahmogit Also I can't find older versions of zoom like 5.8.3. Does anyone knows where can I find .deb packages? |
Alright, this is in part related to the snap or snapd, because the following works on my system:
There are some interesting errors thrown on my Debian sid system, but zoom actually launches. I have not tried an actual call yet, but it looks quite promising. Of course, this leaves some open questions on the subject of what exactly needs to be changed in the snap to make it work again. |
Alright, at least on Debian based distributions, with the nvidia drivers installed using the distribution packages, I have found the problem:
I'll try and file the snapd bug about needing to handle /etc/alternatives correctly in the next day or two. |
Ah, it already exists: https://bugs.launchpad.net/snapd/+bug/1866855 See the workaround at the bottom, but, really, a more proper fix should be practical, grr. |
I've contacted support and they sent me an older version of Zoom (5.8.6). |
Not sure I see how that can be, given that exactly the same sorts of errors After a bit more farting about, it seems to me that a more general statement One of the experiments I ran (mentioned in earlier post) was just this case:
Seems to me what ought to happen here is for ZoomLauncher to arrange In any case, based on that hypothetical understanding, the following seems
Not sure why it's necessary though. Seems like an upstream config bug to me, @pisarik: Maybe try this with 5.9.1 and see if it takes care of the issue for you. |
Keep you updated: the newest version 5.9.6.2225 still does not start at Ubuntu. The older version 5.8.6 that I got from support previously now stopped to work for me as well. The microphone did not work, even though in the sound settings I saw a response of microphone to sounds. So I deleted the old version and installed version 5.9.6.2225 - and it still does not start. |
Alright, so part of the problem is that snap-confine simply doesn't know how to handle nVidia drivers on a modern Ubuntu release. This is specifically due to not knowing how to handle /etc/alternatives/ symlinks. But that is only part of the problem, because once you fix it, it still doesn't work. glxinfo and glxgears can be made to work at that point, but zoom is still failing to load things. I'm still investigating this, so we'll see what I come up with. |
Alright! I have a progress update, and some more information for people trying to figure out WTF is going on with it all. There can be many causes for zoom failing with 'failed to open GL context', but in the context of nVidia and the zoom snap, it really boils down to one big thing: Currently, the snap nVidia handling is unable to handle Debian based systems with the nVidia drivers installed via packages, because (for good reasons) the library files go through /etc/alternatives, and the snap-confile mount support for nvidia drops everything on the floor. Fixing that was actually the easy part, it involved a fairly straight forward patch to snap-confine. However, there are some additional related problems with performance, and with getting smart virtual backgrounds working inside the snap. The first is that zoom will attempt to use the vaapi to accelerate video encode/decode, but that's... Broken. I have it about 90% fixed, but at the moment my fix requires the ability to set an environment variable which is getting stomped on by what looks like a builtin snapcraft extension. I'm still looking into how this can be better fixed. The second is that zoom requires the use of mq_open in order for virtual backgrounds to work (I thought it was related to vaapi, but, no, it's mq_open), and worse, it uses mq_open with a dynamically generated path, containing a PID. Now, there is a posix-mq interface, and we can absolutely generate a snap with both a posix-mq interface and a posix-mq slot, with the same path information, so that we can use posix mq inside the same snap. But currently, it is not possible to use a wildcard or any other pattern bits for the posix-mq path. Which is problematic, since the path that zoom uses is dynamically generated. I have another patch for that. Oh, and to make the libva pieces work, I ended up having to drag zoom-client up to core22, based on Ubuntu 22.04, because otherwise we have some significant libc symbol issues with the host libva libraries. So I have patches to zoom-snap as well. Hopefully next weekend or so I'll have the time and energy to start making PRs for everything, but I'm expecting that it may be a little while before enough bits are merged upstream that we can start merging changes into zoom-snap without breaking things for everyone even more. |
Hi @zelch I think I rediscovered the same issues you did (#128 (comment)) and I have some energy to try and merge fixes upstream, although I'm kind of a newbie around snapd stuff. But could you share the work you already did on the posix-mq dynamic path? Anything no matter how rough is fine, I'd just rather avoid duplicating your work from scratch. thanks! |
This appears to be the same issues as #2, but it is happening with the current edge version 5.9.1.1380.
My symptoms are identical to the original poster's.
This happens after
snap refresh --edge zoom-client
as well.zoom_stdout_stderr.log
The text was updated successfully, but these errors were encountered: