Skip to content

Issues with Discord Viewing Streams and Streaming

Not downloaded yet

I've been having a lot of problems with Discord today, and I'm not quite sure why.

Problems

If I start viewing someone else's stream, after a minute or two, Discord will restart itself.

 

If I start sharing my screen, after a couple of minutes, my system freezes and the last second of audio gets stuck in a loop. Only a hard reset by pressing the power button fixes this problem - cannot switch to another tty or anything.

Setup

I'm running lightdm/i3. I also have picom running as a compositor, although it wasn't causing issues before on Discord. I am also running on linux-lts.

Neofetch

What I've Tried

At first, I didn't think it was specifically a Discord issue, but rather my computer itself. I've had issues with random shutdowns and occasional freezes before, although never so consistently and frequently.

I did some digging around and tried a couple of solutions:

  • Setting a kernel parameter: i915.enable_psr=0.

  • Removing the xf86-video-intelpackage.

  • Switching from the discord package to the discord_arch_electron package.

None of the solutions above seemed to have work unfortunately.

Information

Here's the journalctl output from the last boot, where my system froze and went into an audio loop after trying to screenshare.

https://pastebin.com/7GqqFm1x

And here is the journalctl output from the current boot, where Discord crashed and reset after attempting to view a stream.

https://pastebin.com/dBgHipgj

I also was running MemTest86 for 12 hours overnight last night - finished ~2.75 passes with no errors.

 

Thanks for your time and consideration!

 

Edit: /u/Harzerkas seemed to have fix the issue for me. It looks like I was undervolting my CPU too much.

Edited 21 Feb 2021. We only hold this version.

5 points8 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
5 · 100% up
Kind
Image
ID
lonjp1

Author

8
posts
44
comments
3
media
View profile

11 comments

It's your cpu undervolting.

2 points

Hmm that actually could be it too - would you mind telling me where you discerned that from the logs? Would like to learn a bit more about debugging these issues.

1 points

Feb 20 19:56:05 ArchAero15x systemd[1]: intel-undervolt.service: Succeeded.

This line in your log and your problem description just fit with symptoms of too much undervolting/overclocking

2 points
unknown author1 hidden

Deleted before we saved it.

2 points

I saw that the issue was fixed in Electron 11.2.2 - I'm currently on 11.3.0. I'll try downgrading to 11.2.2 and see if that fixes that.

 

I saw that the reported issue was just a segfault when live streaming, and not a system freeze, but hopefully it fixes the issue. Thanks!

 

Edit: Unfortunately, that did not work. Discord would still restart.

1 points
unknown author3 hidden

Deleted before we saved it.

1 points

The full system crash is something that's just has been happening with my system for a long time now - never see any relevant output in journalctl so I haven't been able to figure out the root cause. It just seems like sharing screen with Discord can accelerate the issue (also happens if I am recording with OBS).

As for the current issue, perhaps I should rollback electron to an even earlier version then. I'll have to give it a shot.

1 points

Not sure if it will help, but you can try using the flatpak version of discord.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.