NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.93k stars 13.95k forks source link

zoom-us shows blank/transparent screen #289280

Closed Feliix42 closed 7 months ago

Feliix42 commented 8 months ago

Describe the bug

Zoom is currently unusable on my Wayland desktop. When I started the application, I was first presented with a while loading screen before being shown an empty (transparent) window buffer. After deleting all cached data in ~/.zoom I now only see an empty white screen.

Log output seems to indicate a Mesa or OpenGL problem?

Steps To Reproduce

Steps to reproduce the behavior:

  1. Use Wayland (e.g., sway)
  2. Start zoom-us

Expected behavior

Zoom works as normal, showing me a login screen.

Additional context

This is the output that zoom-us prints to the console.

ZoomLauncher started.
Zoom path is: /nix/store/m59wamxazfq6aj9c4v3hin57wyc7lafy-zoom-5.17.5.2543/opt/zoom
cmd line:
Start subprocess: /nix/store/m59wamxazfq6aj9c4v3hin57wyc7lafy-zoom-5.17.5.2543/opt/zoom/zoom sucessfully,  process pid: 14996
Can't load/home/felix/.config/zoomus.conf
                             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.
                             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

                             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.
zoom started.
CefInitialize init --1
Client: Breakpad is using Single Client Mode! client fd = -1
../../third_party/libc++/src/include/string:935: assertion __s != nullptr failed: basic_string(const char*) detected nullptr
[CZPClientLogMgr::LogClientEnvironment] [MacAddr: 48:2A:E3:37:DF:4A][client: Linux][OS:  NixOS 23.11 Tapir x64][Hardware: CPU Core:4 Frenquency:1.8 G Memory size:15661MB CPU Brand:Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz GPU Brand:][Req ID: ]
Linux Client Version is 5.17.5 (2543)
QSG_RENDER_LOOP is
XDG_CURRENT_DESKTOP = sway;   GDMSESSION = ;   XDG_SESSION_TYPE = wayland
[0216/142950.210885:ERROR:gpu_process_host.cc(992)] GPU process exited unexpectedly: exit_code=134
../../third_party/libc++/src/include/string:935: assertion __s != nullptr failed: basic_string(const char*) detected nullptr
[0216/142950.682593:ERROR:gpu_process_host.cc(992)] GPU process exited unexpectedly: exit_code=134
../../third_party/libc++/src/include/string:935: assertion __s != nullptr failed: basic_string(const char*) detected nullptr
[0216/142951.154411:ERROR:gpu_process_host.cc(992)] GPU process exited unexpectedly: exit_code=134
DRI driver not from this Mesa build ('23.1.9' vs '23.3.5')
failed to bind extensions
DRI driver not from this Mesa build ('23.1.9' vs '23.3.5')
failed to bind extensions
DRI driver not from this Mesa build ('23.1.9' vs '23.3.5')
failed to bind extensions
                             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.
Graphics Card Info:: 00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
Zoom package arch is 64bit, runing OS arch is x86_64, snap package 0
AppIconMgr::systemDesktopName log Desktop Name:
qt.scenegraph.general: threaded render loop
qt.scenegraph.general: Using sg animation driver
qt.scenegraph.general: Animation Driver: using vsync: 16.68 ms
qt.scenegraph.general: Using sg animation driver
qt.scenegraph.general: Animation Driver: using vsync: 16.68 ms
qt.scenegraph.general: opengl texture atlas dimensions: 1024x1024
qt.scenegraph.general: R/G/B/A Buffers:   8 8 8 8
qt.scenegraph.general: Depth Buffer:      24
qt.scenegraph.general: Stencil Buffer:    8
qt.scenegraph.general: Samples:           -1
qt.scenegraph.general: GL_VENDOR:         Intel
qt.scenegraph.general: GL_RENDERER:       Mesa Intel(R) UHD Graphics (CML GT2)
qt.scenegraph.general: GL_VERSION:        4.6 (Compatibility Profile) Mesa 23.1.9
qt.scenegraph.general: GL_EXTENSIONS:
qt.scenegraph.general: Max Texture Size: 16384
qt.scenegraph.general: Debug context:    false
Buffer creation failed
Buffer creation failed
Buffer creation failed
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShaderProgram::uniformLocation(imageTexture): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""

// ----------------------- snip --------------------

QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(textureScale): shader program is not linked
QOpenGLShaderProgram::uniformLocation(color): shader program is not linked
QOpenGLShaderProgram::uniformLocation(alphaMin): shader program is not linked
QOpenGLShaderProgram::uniformLocation(alphaMax): shader program is not linked
QOpenGLShaderProgram::uniformLocation(fontScale): shader program is not linked
QOpenGLShaderProgram::uniformLocation(vecDelta): shader program is not linked
Error: Send error, 22 Invalid argument
Error: Send error, 22 Invalid argument
Error: Send error, 22 Invalid argument
OnBeforeChildProcessLaunch,utility-sub-type value is unzip.mojom.Unzipper
kill cef subprocess success,searchString is 15343,unzip.mojom.Unzipper
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)

Notify maintainers

@danbst @tadfisher

Metadata

Please note that my system is flake-based, nixpkgs revision 01885a071465e223f8f68971f864b15829988504.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.13, NixOS, 23.11 (Tapir), 23.11.20240213.01885a0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-22.11, nixos-hardware, nixos-unstable"`
 - channels(felix): `"home-manager-22.11.tar.gz, nixos-22.11, nixpkgs"`
 - nixpkgs: `/home/felix/.nix-defexpr/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

ghpzin commented 8 months ago

Please note that my system is flake-based, nixpkgs revision https://github.com/NixOS/nixpkgs/commit/01885a071465e223f8f68971f864b15829988504

That does not seem like the correct commit you are trying to use zoom-us from: https://github.com/NixOS/nixpkgs/blob/01885a071465e223f8f68971f864b15829988504/pkgs/applications/networking/instant-messengers/zoom-us/default.nix#L53

From logs:

Zoom path is: /nix/store/m59wamxazfq6aj9c4v3hin57wyc7lafy-zoom-5.17.5.2543/opt/zoom

Also from your logs:

DRI driver not from this Mesa build ('23.1.9' vs '23.3.5')

So you are trying to use zoom-us that is using mesa with version different from the one your system uses. That generally does not work. Try to use zoom-us from the same channel your system uses (from listed commit it seems to be nixos-23.11).

Feliix42 commented 7 months ago

You are right. I thought I had patched the problem but that wasn't the case. I think I just messed everything up by trying to pull in a newer zoom version from unstable. Thanks in any case!!