Package Details: discord-canary-electron-bin 0.0.358-2

Git Clone URL: https://aur.archlinux.org/discord-canary-electron-bin.git (read-only, click to copy)
Package Base: discord-canary-electron-bin
Description: Discord Canary (popular voice + video app) using the system provided electron for increased security and performance
Upstream URL: https://canary.discordapp.com
Keywords: discord discord-canary electron
Licenses: custom
Conflicts: discord-canary
Provides: discord-canary
Submitter: Kodehawa
Maintainer: Kodehawa (FivePB, Auxim)
Last Packager: Kodehawa
Votes: 37
Popularity: 0.51
First Submitted: 2020-10-22 03:49 (UTC)
Last Updated: 2024-04-22 17:28 (UTC)

Dependencies (17)

Required by (9)

Sources (3)

Pinned Comments

Kodehawa commented on 2020-10-22 04:06 (UTC) (edited on 2024-01-04 20:06 (UTC) by Kodehawa)

A shoutout to https://aur.archlinux.org/packages/discord_arch_electron/ (use that one if you want stable instead of canary!) :p

This is just a PKGBUILD based on the original discord-canary PKGBUILD and the discord_arch_electron PKGBUILD to use with Canary instead.

Discord on the latest version uses Electron 22 by itself. Might be worth using the official version if that is what you're after.

!! As Electron 28 joined the official repos, I've pinned this to electron26 instead, as using Electron 28 results on a crash at startup. If it ever works with Electron 28, please let me know.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

theriddick commented on 2022-04-16 01:50 (UTC) (edited on 2022-07-14 23:54 (UTC) by theriddick)

Canary package version should now be .135 (its available). Remember to adjust the hash check or set it to SKIP until AUR is updated fully. UPDATE: now .136 is needed, same deal.

theriddick commented on 2022-03-30 01:12 (UTC)

Still unable to use H264 in Discord without watching peoples streams causing internal app crash. (appears encoding part works)

I can watch peoples streams if H264 is disabled, but I suspect this disables the encode component also.

I use these conf in electron15 with powercord launcher. Basically to improve encoding performance. Originally it worked fine, but something must be broken. (not only one with this issue)

--enable-accelerated-mjpeg-decode --enable-accelerated-video --ignore-gpu-blacklist --enable-native-gpu-memory-buffers --enable-gpu-rasterization

theriddick commented on 2022-03-28 23:33 (UTC)

Keep getting this message that pops up every so often asking to Update Now. But pressing that does nothing. Seems client thinks it needs to update when it appears to work just fine.

If I reboot my machine I noticed it does 1of7 update process on first launch.

Odd

theriddick commented on 2022-03-17 15:40 (UTC) (edited on 2022-03-17 21:57 (UTC) by theriddick)

Anyone have a issue when clicking WATCH STREAM of other people and have the discord internally restart?

I can stream myself fine but watching them causes this reset behavior and I don't know why.

UPDATE: Seems other people have this issue. You can encode and stream videos but can't watch them with open264 enabled, so you must disable that in order to watch other peoples streams. VERY WEIRD ISSUE!

sl1pkn07 commented on 2022-03-11 16:51 (UTC)

tested with multitranmission. zero problems with electron15 with ffmpeg4 support and without disable openh264 hardware decoding (disable hardware decoding is the workground for transmission crashes)

sl1pkn07 commented on 2022-03-06 09:48 (UTC)

seems electron 15 have better approach than me for the build electron with ffmpeg4. sic

sl1pkn07 commented on 2022-03-05 19:33 (UTC) (edited on 2022-03-05 22:15 (UTC) by sl1pkn07)

tested and needs build electron (tested v16) with ffmpeg 4.x

take ages to build, but works with discord canary core

change ffmpeg in depends to ffmpeg4.4

add to makedepends()

'patchutils'

add to sources()

        'ffmpeg4.4_1.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~3011889/revisions/7/patch?download'
        'ffmpeg4.4_2.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~2965899/revisions/3/patch?download'

and SKIP to sums

and add

  # Use ffmepg4.4
  # Needs revert https://chromium-review.googlesource.com/c/chromium/src/+/3011889
  #          and https://chromium-review.googlesource.com/c/chromium/src/+/2965899
  # the patch fails iself due collisions with the file DEPS, so strip out with filterdiff
  export PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig
  base64 -d ../ffmpeg4.4_1.patch.base64 | filterdiff -p1 -x 'DEPS' > ../ffmpeg4.4_1.patch.base64_filtered
  patch -RNp1 -i ../ffmpeg4.4_1.patch.base64_filtered
  base64 -d ../ffmpeg4.4_2.patch.base64 | filterdiff -p1 -x 'DEPS' > ../ffmpeg4.4_2.patch.base64_filtered
  patch -RNp1 -i ../ffmpeg4.4_2.patch.base64_filtered

to prepare()

build and install

greetings

EDIT: seems a bit inestable. trying with electron 15 :/

Kodehawa commented on 2022-03-03 15:46 (UTC) (edited on 2022-03-03 15:47 (UTC) by Kodehawa)

Then it has to be a discord issue. On 0.0.133 it worked on Electron 15 and below. Might also be a ffmpeg issue? Try downgrading it.

sl1pkn07 commented on 2022-03-03 15:41 (UTC)

explodes with this output

Failed to get crash dump id.
Report Id: 0473381c-8e3b-4e
[15903:0303/000601.255783:ERROR:node_controller.cc(567)] Trying to re-add dropped peer 1E56A1C33EC2E22.226D28E6BAD58DE9
[WebContents] crashed (reason: crashed, exitCode: 139)... reloading
Module ./ElectronTestRpc was not included.

Squares stop rotating and the enterely UI reloaded and relogin.

in the time of test, tested with electron 14 to 17. same behavior.

today upstream release 2 or 3 internal updates, but i cant test right now. i will goin to try more later

greetings