Package Details: slack-desktop-wayland 4.43.43-1

Git Clone URL: https://aur.archlinux.org/slack-desktop-wayland.git (read-only, click to copy)
Package Base: slack-desktop-wayland
Description: Slack Desktop (Beta) for Linux with Wayland Support
Upstream URL: https://slack.com/downloads
Licenses: custom
Conflicts: slack-desktop, slack-electron
Provides: slack-desktop
Submitter: cspeck-aai
Maintainer: cspeck-aai
Last Packager: cspeck-aai
Votes: 8
Popularity: 0.35
First Submitted: 2023-01-06 06:10 (UTC)
Last Updated: 2025-04-03 11:00 (UTC)

Dependencies (14)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

sewer56 commented on 2024-01-03 11:29 (UTC) (edited on 2024-01-03 11:30 (UTC) by sewer56)

Heads up.

I am getting a segfault on boot with latest package on Hyprland w/ Nvidia GPU (prioprietary). Previous commit 95e32ead5cb8 works fine as intended, but current commit dies 1fa7def0ef32.

(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
[01/03/24, 11:24:21:289] info: 
╔════════════════════════════════════════════════════════════╗
║      Slack 4.36.134, linux 6.6.6-273-tkg-eevdf on x64      ║
╚════════════════════════════════════════════════════════════╝ 
[01/03/24, 11:24:21:290] info: Configured logger via 
{
  "enableConsoleTransport": true,
  "identifierOverride": "webapp-service-worker-console",
  "loggerInstanceCount": 2
}
[01/03/24, 11:24:21:290] info: Predefined values for process 
{
  "NODE_ENV": "production",
  "platform": "linux",
  "type": "browser",
  "timeZone": "Europe/Dublin",
  "PACKAGE_MANIFEST.productName": "Slack",
  "PACKAGE_MANIFEST.version": "4.36.134",
  "PACKAGE_MANIFEST.commit": "42e4da2",
  "PACKAGE_MANIFEST.branch": "HEAD"
}
[108114:0103/112421.343819:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[108114:0103/112421.343889:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[108114:0103/112421.343999:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[108114:0103/112421.344046:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[108114:0103/112421.344096:ERROR:shared_image_factory.cc(673)] CreateSharedImage: could not create backing.
[108114:0103/112421.344137:ERROR:shared_image_factory.cc(527)] DestroySharedImage: Could not find shared image mailbox
[108114:0103/112421.344183:ERROR:gpu_service_impl.cc(1010)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[108064:0103/112421.349403:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=8704
[108171:0103/112421.441359:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[108171:0103/112421.441419:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[108171:0103/112421.441527:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[108171:0103/112421.441555:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[108171:0103/112421.441574:ERROR:shared_image_factory.cc(673)] CreateSharedImage: could not create backing.
[108171:0103/112421.441591:ERROR:shared_image_factory.cc(527)] DestroySharedImage: Could not find shared image mailbox
[108171:0103/112421.441624:ERROR:gpu_service_impl.cc(1010)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[108064:0103/112421.446947:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=8704
[108181:0103/112421.535436:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[108181:0103/112421.535501:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[108181:0103/112421.535602:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[108181:0103/112421.535631:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[108181:0103/112421.535651:ERROR:shared_image_factory.cc(673)] CreateSharedImage: could not create backing.
[108181:0103/112421.535667:ERROR:shared_image_factory.cc(527)] DestroySharedImage: Could not find shared image mailbox
[108181:0103/112421.535701:ERROR:gpu_service_impl.cc(1010)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[108064:0103/112421.539726:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=8704
[1]    108064 segmentation fault (core dumped)  slack

I don't yet know the exact cause; though the log indicates it's GPU related.

cspeck-aai commented on 2024-01-03 06:35 (UTC)

I had some time to deep-dive into this today and have pushed updates that:

  • update the Slack version
  • Uses system electron, thanks to packaging instructions from slack-electron
  • Monkey-patches the Slack electron app so that Pipewire is not disabled
  • puts slack path, electron path, Wayland flags in variables so you may customize it on your system and test different electron versions and flags.

It takes four clicks between xdg-desktop-portal and the Slack "Share your screen" modal, but screen sharing does appear to work again for me. YMMV.

If you want an official, stable and long-term fix in Wayland then I'd encourage you add your voice to this post.

marvas commented on 2023-11-07 15:24 (UTC)

I updated this package myself and my screen sharing issues are gone by simply updating the .deb file.

I don't know how to open a pull request here. Therefore, here is my repository on Github: https://github.com/marvasDE/slack-desktop-wayland

MarsSeed commented on 2023-06-17 15:38 (UTC)

Please remove the included Chrome/Electron engine, and use the Arch repo version as dependency.

Like in this package: slack-electron.

cspeck-aai commented on 2023-05-29 23:45 (UTC)

@grandchild I test Wayland screen sharing in this package for every version before I update the AUR. Sorry it's not working for you. I suggest that you recheck your Wayland setup, confirm you are launching Slack via the Desktop launcher, and if still having trouble open a forum post following the links in the pinned comment.

grandchild commented on 2023-05-25 14:43 (UTC) (edited on 2023-05-25 14:45 (UTC) by grandchild)

Since version 4.29.149 works with wayland screenshare, maybe this package should downgrade and stay on that version that works until slack fixes the crash in an upcoming version?

Alternatively for anyone reading this, clone the AUR repo for this package, do git checkout fa99f7651 and makepkg that version. It should build version 4.29.149.

kanbber commented on 2023-04-27 05:56 (UTC)

@cspeck-aai I get that there is not much you can do.

For all who face the same and end up here: I can leave two tips here to enable screen sharing in slack again:

  • Use Slack from the browser.
  • Use flatpack and pinned version:
sudo flatpak update \                            
--commit=b95d24a8a354db07b95b065b3e57e9442c9fbaf851a49cbe6e7b1aa0afcab591 \
com.slack.Slack
flatpak run com.slack.Slack

source: github-issue

cspeck-aai commented on 2023-04-26 02:23 (UTC) (edited on 2023-04-26 02:23 (UTC) by cspeck-aai)

Unfortunately, there is nothing that can be done with individuals posting comments that this package doesn't work.

To actually work through your issues, seek help and resolve them:

1) strictly follow/redo Wayland setup according to the wiki;

2) start a post in the Arch Applications & Desktop Environments forum;

3) put in a help-desk request with Slack

kanbber commented on 2023-04-25 11:48 (UTC)

If a 4th opinion is need. Here it is: I also cannot share the screen on wayland (sway) arch (6.2.11-arch1-1) and slack (4.31.155-1).

If I do, for instance, the Run an audio, video and screensharing test I end up with this segmentation fault:

...
[04/25/23, 13:47:14:794] info: [READINESS-CHECK] (T5Y02UZDE) VIDEO CONNECTIVITY READINESS - Completed
[04/25/23, 13:47:14:794] info: [READINESS-CHECK] (T5Y02UZDE) CONTENT SHARE CONNECTIVITY READINESS - Running
[04/25/23, 13:47:14:798] info: [SCREENS] (T5Y02UZDE) Available screens:
-- | ----- | ------ | ---- | -- | ----------- | --------
id | width | height | x    | y  | scaleFactor | rotation
-- | ----- | ------ | ---- | -- | ----------- | --------
44 | 2256  | 1504   | 0    | 0  | 1           | 0
48 | 2560  | 1440   | 2256 | 20 | 1           | 0

[1]    1200772 segmentation fault (core dumped)  slack --enable-features=WebRTCPipeWireCapturer --ozone-platform=wayland                                                                                            

DarwinsBuddy commented on 2023-04-24 21:25 (UTC) (edited on 2023-04-24 21:25 (UTC) by DarwinsBuddy)

have to add here that I'm experiencing the same issue as @tchernomax and @ingvij

Slack 4.31.155, linux 6.2.12-arch1-1 on x64

slack crashes on screen-share and even on "record video" in my account's convo

regardless of flags used or environment variables set