ogra1 / zoom-snap

75 stars 13 forks source link

Zoom fails on Ubuntu 24.10 if not using --devmode #131

Open xypron opened 2 months ago

xypron commented 2 months ago

Hello Oliver,

I am running Ubuntu 24.10 using KDE as desktop. Since the upgrade of the kernel to v6.11 it doesn't work for me anymore.

A window opens up for a split second and vanishes. Afterwards no process with name zoom runs anymore.

When I install zoom-client with --devmode I get the normal greeter.

Could you, please, check the confinement.

Best regards

Heinrich

xypron commented 2 months ago

Here is the output of journalctl -e | grep snap.zoom-client.

Sep 22 12:51:50 mycomputer systemd[6087]: Started snap.zoom-client.zoom-client-7b3d0253-4b09-460a-acf8-3dfdbd083e0a.scope.
Sep 22 12:51:50 mycomputer kernel: audit: type=1326 audit(1727002310.422:32043): auid=1000 uid=1000 gid=1000 ses=5 subj=snap.zoom-client.zoom-client pid=27261 comm="zoom" exe="/snap/zoom-client/230/zoom/zoom" sig=0 arch=c000003e syscall=330 compat=0 ip=0x71b836326f6b code=0x50000
Sep 22 12:51:50 mycomputer kernel: audit: type=1326 audit(1727002310.426:32044): auid=1000 uid=1000 gid=1000 ses=5 subj=snap.zoom-client.zoom-client pid=27262 comm="zoom" exe="/snap/zoom-client/230/zoom/zoom" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7f253e126f6b code=0x50000
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32045): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32046): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32047): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/icd.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32048): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/icd.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32049): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32050): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Sep 22 12:51:50 mycomputer kernel: audit: type=1400 audit(1727002310.452:32051): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/icd.d/" pid=27298 comm="zoom" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
xypron commented 2 months ago

Failed to create OpenGL context might relate to the apparmor problem:

$ cat /home/user/snap/zoom-client/230/.zoom/logs/zoom_stdout_stderr.log
ZoomLauncher started.
Zoom path is: /snap/zoom-client/230/zoom
cmd line: 
Start subprocess: /snap/zoom-client/230/zoom/zoom sucessfully,  process pid: 28534 
No PulseAudio daemon running, or not running as session daemon.
                             Class      App      Lib Possible Culprit Flags
                resip::Connection      656      656 
                      resip::Data       36       36 
                 resip::DnsResult     1080     1080 
                   resip::Headers        1        1 
          resip::MsgHeaderScanner       40       40 
                resip::SipMessage     5224     5224 
         resip::TransportSelector      896      896 
                     resip::Tuple      128      128 
              resip::UdpTransport     1144     1144 
          resip::GenericIPAddress       28       28 

zoom started.
No PulseAudio daemon running, or not running as session daemon.
No PulseAudio daemon running, or not running as session daemon.
                             Class             App             Lib   Possible Culprit Flags 
                        Class        resip:: Connection  App      656        656   
  Lib   Possible Culprit Flags 
                                 resip:: Connectionresip:: Data     656        36     656        36

                                     resip::resip::DnsResultData      1080      36      1080      36  

                                   resip:: DnsResultresip:: Headers    1080         1    1080  
       1    
                          resip::resip::HeadersMsgHeaderScanner        1        40       1  
      40    
           resip:: MsgHeaderScanner        40         40  
                  resip:: SipMessage        5224 resip:: SipMessage    5224     5224  
    5224  
                resip::TransportSelector  resip::     896 TransportSelector     896  
     896         896    
                         resip:: Tuple       128       128   
                resip:: Tuple         128resip::UdpTransport       128    1144      1144

                  resip::GenericIPAddress         28        28  

 resip::UdpTransport     1144     1144 
          resip::GenericIPAddress       28       28 

zoom started.
zoom started.
CefInitialize init --1
Client: Breakpad is using Single Client Mode! client fd = -1
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Interface wlp5s0 is a wireless interface
Interface: ipv4 enp6s0, IP Address: 192.168.1.2
Interface: ipv4 wlp5s0, IP Address: 192.168.1.3
Interface: ipv4 virbr0, IP Address: 192.168.122.1
Interface: ipv4 mpqemubr0, IP Address: 10.174.94.1
Interface: ipv4 docker0, IP Address: 172.17.0.1
Interface: ipv4 lxdbr0, IP Address: 10.51.173.1
sh: 1: ip: Permission denied
sh: 1: ip: Permission denied
No PulseAudio daemon running, or not running as session daemon.
                             Class      App      Lib Possible Culprit Flags
                resip::Connection      656      656 
                      resip::Data       36       36 
                 resip::DnsResult     1080     1080 
                   resip::Headers        1        1 
          resip::MsgHeaderScanner       40       40 
                resip::SipMessage     5224     5224 
         resip::TransportSelector      896      896 
                     resip::Tuple      128      128 
              resip::UdpTransport     1144     1144 
          resip::GenericIPAddress       28       28 

zoom started.
QGLXContext: Failed to create dummy context
qt.scenegraph.general: QSG: basic render loop
qt.scenegraph.general: Using sg animation driver
failed to acquire GL context to resolve capabilities, using defaults..
[CZPClientLogMgr::LogClientEnvironment] [MacAddr: 04:D9:F5:F4:18:74][client: Linux][OS:  Ubuntu Oracular Oriole development branch x64][Hardware: CPU Core:16 Frenquency:4.79046 G Memory size:64204MB CPU Brand:AMD Ryzen 9 5950X 16-Core Processor             GPU Brand:][Req ID: ]
Linux Client Version is 6.0.12 (5501)
QSG_RENDER_LOOP is 
XDG_CURRENT_DESKTOP = KDE;   GDMSESSION = ;   XDG_SESSION_TYPE = x11

Graphics Card Info:: 
Zoom package arch is 64bit, runing OS arch is x86_64, snap package 1
snapOSType:  snapOSVersion:  snapOSPrettyName: 
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
zoom was exited due to a handled signal: 6 
ZoomLauncher exit.
xypron commented 2 months ago

/snap/bin/zoom-client contains this string: # Support reading the Vulkan ICD files.

The denied directories seem to be emtpy:

$ sudo find /etc/vulkan/implicit_layer.d/
/etc/vulkan/implicit_layer.d/
$ sudo find /etc/vulkan/icd.d/
/etc/vulkan/icd.d/
xypron commented 1 month ago

Zoom client 6.2.3.2056 still fails with apparmor problems on Ubuntu 24.10:

Okt 07 09:39:00 workstation systemd[5604]: Started snap.zoom-client.zoom-client-68fe1566-a044-45a2-b85c-2a56981f3ea9.scope.
Okt 07 09:39:00 workstation kernel: audit: type=1400 audit(1728286740.818:1386): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.zoom-client" name="/proc/25375/maps" pid=25375 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.256:1387): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25552 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.256:1388): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25552 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.256:1389): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25552 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.256:1390): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25552 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.260:1391): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25555 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.260:1392): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25555 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:01 workstation kernel: audit: type=1400 audit(1728286741.260:1393): apparmor="DENIED" operation="exec" class="file" profile="snap.zoom-client.zoom-client" name="/usr/bin/ip" pid=25555 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Okt 07 09:39:02 workstation systemd[5604]: snap.zoom-client.zoom-client-68fe1566-a044-45a2-b85c-2a56981f3ea9.scope: Consumed 2.101s CPU time, 316.4M memory peak.