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

Discord unloading when in background #2478

Closed
1 task done
Vendicated opened this issue May 18, 2024 · 20 comments
Closed
1 task done

Discord unloading when in background #2478

Vendicated opened this issue May 18, 2024 · 20 comments

Comments

@Vendicated
Copy link
Owner

Vendicated commented May 18, 2024

Content

When Discord is in the background for a prolonged period of time, it sometimes unloads. When you come back, it takes a few seconds to "re-connect" and fetch new messages. Supposedly it also disconnects you from voice when this happens

There are many reports of this happening on stock Discord but according to some other people, it only happens with Vencord.

The following needs to be investigated:

  • I think if Vencord is causing, it's most likely DisableCallIdle. Does disabling this plugin fix it / enabling this plugin cause it?
  • Does running Discord/Vesktop with --disable-renderer-backgrounding fix it?
  • Does setting backgroundThrottling: false in the electron BrowserWindow options fix it?

Request Agreement

  • I have read the requirements for opening an issue above
@Vendicated
Copy link
Owner Author

It does seem to be the DisableCallIdle plugin. If you have this issue, check if it's enabled. If yes, try disabling it and see if the issue is fixed (and report back here). If not, post your list of enabled plugins

@trwy7
Copy link
Contributor

trwy7 commented May 20, 2024

For me this is only on vesktop, I have had this happen once with vencord, and never with stock

@Naviamold1
Copy link

It happens to me as well, but I don't use 'DisableCallIdle'.
Issues really started after updating Discord to their x64 bit version. Also, the 'Discord installed in wrong place' popup pops up in Vencord Installer since installing Vencord on that version.

@Dedoooo
Copy link

Dedoooo commented May 20, 2024

this only happens with vencord for me.
even with plugin that you say is causing it is disabled

@VL4DST3R
Copy link

VL4DST3R commented May 21, 2024

Been having issues with this for a long time as well (W10). It seems to be random when it happens, but indeed it must be a period of inactivity, happening even while on voice chat. This also causes it to be very hard to realize you're speaking to yourself and have been since disconnected from the call.

@Cats1337
Copy link
Contributor

I haven't used the DisableCallIdle plugin but I was having the issue of randomly disconnecting and reconnecting to voicechats. adding --disable-renderer-backgrounding to my Target in Properties has fixed it.

@MrGarlic1
Copy link

I could replicate this issue on stock Vencord, with or without the DisableCallIdle plugin. Running with --disable-renderer-backgrounding seemed to fix the issue.

@byeoon
Copy link
Contributor

byeoon commented May 25, 2024

Turning off DisableCallidle did not fix the issue, I will try --render thingy soon

@Tiagoquix
Copy link

Running Vesktop on Fedora Linux 40 KDE on X11 with the command-line option --disable-renderer-backgrounding seems to fix my issues regarding messages "hibernating"/having a delay (only sending when Vesktop is focused). I don't use Disable Call Idle.

(By the way: Vencord/Vesktop@d3b94fc#commitcomment-142196978)

@byeoon
Copy link
Contributor

byeoon commented May 30, 2024

I might have found a potential link to this. Unloads were occuring more frequently due to lack of disk space (< 20GB) and after cleaning up my computer it seemed to have stopped. Is it possible that this is a factor?

@Sqaaakoi
Copy link
Contributor

I might have found a potential link to this. Unloads were occuring more frequently due to lack of disk space (< 20GB) and after cleaning up my computer it seemed to have stopped. Is it possible that this is a factor?

almost certainly a coincidence with some workaround added to vencord being implemented around the same time?

@VL4DST3R
Copy link

Unloads were occuring more frequently due to lack of disk space (< 20GB)

I'm... also curious of this, as I'm in a similar situation on my main machine (~20-30gb free atm) where I was experiencing issues, but on my laptop with hundreds of gigs of free space it seemed to work a lot more reliably.

Now, like @Sqaaakoi saiid, it sounds too stupid not to be just a coincidence, but the issue itself seems to be not well enough understood, enough to make me consider even stuff like this.

@Vendicated
Copy link
Owner Author

discord recently added a bunch of command line flags that disable backgrounding

so did vencord
a0778f6
86aabe7

if it was fixed in the past two weeks, that's likely why. i highly doubt free space has anything to do with this

@Dedoooo
Copy link

Dedoooo commented Jun 1, 2024

it stopped unloading a couple days ago and now its back to it since a new update?

@VL4DST3R
Copy link

VL4DST3R commented Jun 1, 2024

So far for me it seems to no longer silently unload, fingers crossed it stays this way.

@Koishukaze
Copy link

it stopped unloading a couple days ago and now its back to it since a new update?

I can also say it has returned back for me

@Sqaaakoi
Copy link
Contributor

Sqaaakoi commented Jun 3, 2024

it stopped unloading a couple days ago and now its back to it since a new update?

I can also say it has returned back for me

I have also noticed my client unloading recently when it is in the background, and it even happens when in voice channels like it used to

@Dedoooo

This comment was marked as spam.

@Vendicated
Copy link
Owner Author

Vendicated commented Jun 8, 2024

Try again with latest update (4ec01d0)

@R00tB33rMan
Copy link

Try again with latest update (4ec01d0)

Hey! I'm still encountering this issue, I'm afraid. I can confirm that it occurs with and without the DisableCallIdle feature. I hope this additional feedback helps!

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