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

Fails to share screen in Google Meet and the CPU spikes #108

Open
hojjatabdollahi opened this issue Nov 18, 2024 · 0 comments
Open

Fails to share screen in Google Meet and the CPU spikes #108

hojjatabdollahi opened this issue Nov 18, 2024 · 0 comments

Comments

@hojjatabdollahi
Copy link

hojjatabdollahi commented Nov 18, 2024

Trying to share my screen in Firefox in a Google Meet pulls up the Screen/Window select UI. But I can not click on the "Window" tab or click on any button. It goes away and CPU spikes, until I restart the machine.

Clicking on "window" tab (see fig) causes a xdg-portal crash:

Nov 18 08:57:33 pop-os cosmic-session[3488]: wp_viewport@78: error 0: negative or zero values in width or height
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352554Z  WARN xdg-desktop-portal-cosmic: cosmic_session: wp_viewport@78: error 0: negative or zero values in width or height
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352564Z  WARN xdg-desktop-portal-cosmic: cosmic_session: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_present_modes: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352567Z  WARN xdg-desktop-portal-cosmic: cosmic_session: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_formats: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352570Z  WARN xdg-desktop-portal-cosmic: cosmic_session: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_present_modes: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352572Z  WARN xdg-desktop-portal-cosmic: cosmic_session: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_formats: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352574Z  WARN xdg-desktop-portal-cosmic: cosmic_session: thread 'main' panicked at /build/xdg-desktop-portal-cosmic-CQoXah/xdg-desktop-portal-cosmic-0.1.0pop1~1731700997~22.04~cde4768/vendor/wgpu/src/backend/wgpu_core.rs:786:18:
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352577Z  WARN xdg-desktop-portal-cosmic: cosmic_session: Error in Surface::configure: Validation Error
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352579Z  WARN xdg-desktop-portal-cosmic: cosmic_session:
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352581Z  WARN xdg-desktop-portal-cosmic: cosmic_session: Caused by:
Nov 18 08:57:33 pop-os cosmic-session[3488]: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_present_modes: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352583Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   `Surface` width and height must be within the maximum supported texture size. Requested was (855, 4294967295), maximum extent for either dimension is 8192.
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352586Z  WARN xdg-desktop-portal-cosmic: cosmic_session:
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352588Z  WARN xdg-desktop-portal-cosmic: cosmic_session: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352590Z  WARN xdg-desktop-portal-cosmic: cosmic_session: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352592Z  WARN xdg-desktop-portal-cosmic: cosmic_session: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352594Z  WARN xdg-desktop-portal-cosmic: cosmic_session: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.352596Z  WARN xdg-desktop-portal-cosmic: cosmic_session: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os cosmic-session[3488]: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_formats: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os cosmic-session[3488]: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_present_modes: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os cosmic-session[3488]: [2024-11-18T15:57:33Z ERROR wgpu_hal::vulkan::adapter] get_physical_device_surface_formats: ERROR_SURFACE_LOST_KHR
Nov 18 08:57:33 pop-os cosmic-session[3488]: thread 'main' panicked at /build/xdg-desktop-portal-cosmic-CQoXah/xdg-desktop-portal-cosmic-0.1.0pop1~1731700997~22.04~cde4768/vendor/wgpu/src/backend/wgpu_core.rs:786:18:
Nov 18 08:57:33 pop-os cosmic-session[3488]: Error in Surface::configure: Validation Error
Nov 18 08:57:33 pop-os cosmic-session[3488]:
Nov 18 08:57:33 pop-os cosmic-session[3488]: Caused by:
Nov 18 08:57:33 pop-os cosmic-session[3488]:   `Surface` width and height must be within the maximum supported texture size. Requested was (855, 4294967295), maximum extent for either dimension is 8192.
Nov 18 08:57:33 pop-os cosmic-session[3488]:
Nov 18 08:57:33 pop-os cosmic-session[3488]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Nov 18 08:57:33 pop-os cosmic-session[3488]: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os cosmic-session[3488]: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os cosmic-session[3488]: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os cosmic-session[3488]: Protocol error 0 on object wp_viewport@78:
Nov 18 08:57:33 pop-os xdg-desktop-por[4022]: A backend call failed: Remote peer disconnected
Nov 18 08:57:33 pop-os cosmic-session[3488]: process ' WAYLAND_DISPLAY=wayland-1 DISPLAY=:1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=66 PORTAL_WAYLAND_SOCKET=81 /usr/libexec/xdg-desktop-portal-cosmic ' failed with code 101
Nov 18 08:57:33 pop-os cosmic-session[3488]: /usr/libexec/xdg-desktop-portal-cosmic exited with error 101
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.366615Z ERROR launch_pad: process ' WAYLAND_DISPLAY=wayland-1 DISPLAY=:1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=66 PORTAL_WAYLAND_SOCKET=81 /usr/libexec/xdg-desktop-portal-cosmic ' failed with code 101
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.366630Z ERROR cosmic_session: /usr/libexec/xdg-desktop-portal-cosmic exited with error 101
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.366670Z  INFO launch_pad: draining stdin receiver before restarting process
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.366679Z  INFO launch_pad: sleeping for 24ms before restarting process /usr/libexec/xdg-desktop-portal-cosmic (restart 2)
Nov 18 08:57:33 pop-os cosmic-session[3488]: draining stdin receiver before restarting process
Nov 18 08:57:33 pop-os cosmic-session[3488]: sleeping for 24ms before restarting process /usr/libexec/xdg-desktop-portal-cosmic (restart 2)
Nov 18 08:57:33 pop-os cosmic-session[3488]: sending 2 fds
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.367807Z  INFO cosmic_session::comp: sending 2 fds
Nov 18 08:57:33 pop-os systemd[3443]: Started dbus-:1.4-org.freedesktop.impl.portal.desktop.cosmic@2.service.
Nov 18 08:57:33 pop-os systemd[3443]: dbus-:1.4-org.freedesktop.impl.portal.desktop.cosmic@2.service: Main process exited, code=exited, status=1/FAILURE
Nov 18 08:57:33 pop-os systemd[3443]: dbus-:1.4-org.freedesktop.impl.portal.desktop.cosmic@2.service: Failed with result 'exit-code'.
Nov 18 08:57:33 pop-os xdg-desktop-por[4022]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer: unit failed.
Nov 18 08:57:33 pop-os cosmic-session[3488]: restarted process ' WAYLAND_DISPLAY=wayland-1 DISPLAY=:1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=77 PORTAL_WAYLAND_SOCKET=81 /usr/libexec/xdg-desktop-portal-cosmic ', now at 3 restarts
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.393258Z  INFO launch_pad: restarted process ' WAYLAND_DISPLAY=wayland-1 DISPLAY=:1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=77 PORTAL_WAYLAND_SOCKET=81 /usr/libexec/xdg-desktop-portal-cosmic ', now at 3 restarts
Nov 18 08:57:33 pop-os systemd[3443]: Started xdg-desktop-portal-cosmic.scope.
Nov 18 08:57:33 pop-os cosmic-session[3488]: [2024-11-18T15:57:33Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
Nov 18 08:57:33 pop-os /usr/libexec/gdm-wayland-session[3488]: 2024-11-18T15:57:33.496591Z  WARN xdg-desktop-portal-cosmic: cosmic_session: [2024-11-18T15:57:33Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window

screenshot-2024-11-18-15-59-15

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

1 participant