Can't stream game on discord, FPS dies

The worst monsters in the Hearthlands warp the fabric of space and time...

Re: Can't stream game on discord, FPS dies

Postby boshaw » Sun Nov 03, 2024 7:51 pm

loftar wrote:
boshaw wrote:It is odd, and it's the only thing i've ever noticed it on. Also, it's actually not at least in the constrained jvm heap itself after just checking. That seems to be within reasonable sizes after looking at the dumps, the process itself tho as a whole just is consuming and requesting more and more memory. Guessing it's just some bug in the runtime or something it has loaded outside of your control. Just from testing my process went from under 500mb to basically trying to consume all the RAM available over the course of a minute, but the heap itself was still normal sized.

Unfortunate. That makes it even more difficult for me to debug. Does it make a difference what browser Discord is running in ("native" app, Chrome, Firefox, &c)?

It does actually. I usually only use the native app, which has the problem, but it seems from in the browser (firefox & chrome in this case) it works fine.

Also here's one more little detail that seems to maybe pin down what's wrong with the native app at least. If you stream with "Also share application audio" it consumes memory at an insane rate, but if you turn that off it's just fine it appears. So it's something with the native app + audio being shared. Once you do make the mistake of doing that even when you stop the stream the java process still spirals out of control with consuming memory.
User avatar
boshaw
 
Posts: 1589
Joined: Tue Jun 01, 2010 10:22 pm

Re: Can't stream game on discord, FPS dies

Postby loftar » Mon Nov 04, 2024 6:27 am

Interesting. Could perhaps just be that the "native" app uses an older bundled version of Chromium that had a bug or something, then, and that it will be fixed when they upgrade to a later version. Just speculating, of course.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't stream game on discord, FPS dies

Postby Ozzy123 » Mon Nov 04, 2024 7:03 am

loftar wrote:Interesting. Could perhaps just be that the "native" app uses an older bundled version of Chromium that had a bug or something, then, and that it will be fixed when they upgrade to a later version. Just speculating, of course.


Its been this way for years, I highly doubt that its the case here
epicbuds wrote:just got this game a bad review on my website and will post on every forum and game page i can think of to tell people to stay away from this site this game is a joke


viruseg wrote:Kill all new players for no reason. Polish scum came running and killed me with a crowd. Suck fuck fucks..
User avatar
Ozzy123
 
Posts: 2477
Joined: Sat Feb 11, 2012 4:27 pm

Re: Can't stream game on discord, FPS dies

Postby LemonNades » Mon Nov 04, 2024 9:57 am

I have had that issue too, but my budget solution is to just share your entire screen and there is no lag, hope that helps.
User avatar
LemonNades
 
Posts: 12
Joined: Sat Dec 28, 2019 4:08 am
Location: Yes

Re: Can't stream game on discord, FPS dies

Postby derkami » Mon Nov 04, 2024 10:04 am

Just a question, since I couldn't replicate this myself yesterday.
What client's are you using for your tests?
Like yesterday I tested it with my own. I got no FPS drops. Could observe Memory peaking to 2GB, no crash however.
Interestingly enough while having VisualVM running, the graphs where clearly going up but as soon as I hit memory dump button, it shat itself and lost 50% memory (still running but stabilized).
It's like quantum physics... Once you want to observe it, your results change.

A very interesting technical topic indeed.
Image
Image
Image
User avatar
derkami
 
Posts: 145
Joined: Thu Jun 02, 2016 11:28 pm

Re: Can't stream game on discord, FPS dies

Postby thebacon » Mon Nov 04, 2024 12:59 pm

derkami wrote:Just a question, since I couldn't replicate this myself yesterday.
What client's are you using for your tests?
Like yesterday I tested it with my own. I got no FPS drops. Could observe Memory peaking to 2GB, no crash however.
Interestingly enough while having VisualVM running, the graphs where clearly going up but as soon as I hit memory dump button, it shat itself and lost 50% memory (still running but stabilized).
It's like quantum physics... Once you want to observe it, your results change.

A very interesting technical topic indeed.


To me be it a custom like ender or pure vanilla same thing happens.
thebacon
 
Posts: 18
Joined: Sat Nov 02, 2024 4:13 pm

Re: Can't stream game on discord, FPS dies

Postby sMartins » Mon Nov 04, 2024 1:04 pm

Always had the same problem, or at least from Hafen, default client.
Even capturing the full screen gave me problems after a while, lag, FPS drop and eventually crashing.

I remember it was the same with OBS as well.
Make friends with the other crabs or try to escape the bucket.
I'd hardly call anything the Bible of our times. » special thanks to MagicManICT
I only logged in to say this sentence. by neeco » 30 Oct 2018, 02:57
Default Client, Best Client!
User avatar
sMartins
 
Posts: 3045
Joined: Wed Nov 11, 2015 10:21 pm
Location: Italy

Re: Can't stream game on discord, FPS dies

Postby boshaw » Mon Nov 04, 2024 2:47 pm

derkami wrote:Just a question, since I couldn't replicate this myself yesterday.
What client's are you using for your tests?


I used default
User avatar
boshaw
 
Posts: 1589
Joined: Tue Jun 01, 2010 10:22 pm

Re: Can't stream game on discord, FPS dies

Postby Pills » Wed Nov 06, 2024 6:27 am

Not just discord, adding the game to OBS as game capture cripples the games performance too
jorb wrote:I dub you Sir Pills of the Mighty Spruce.
Thank you for your service. :pray:
User avatar
Pills
 
Posts: 641
Joined: Thu Apr 04, 2019 1:21 am

Re: Can't stream game on discord, FPS dies

Postby thebacon » Thu Nov 07, 2024 4:36 pm

Pills wrote:Not just discord, adding the game to OBS as game capture cripples the games performance too


Any idea of something I could stream picking via its capture device that is not freezing the game?
thebacon
 
Posts: 18
Joined: Sat Nov 02, 2024 4:13 pm

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: No registered users and 13 guests