Can't stream game on discord, FPS dies

The worst monsters in the Hearthlands warp the fabric of space and time...
thebacon
Posts: 18
Joined: Sat Nov 02, 2024 4:13 pm

Can't stream game on discord, FPS dies

Post by thebacon »

Any idea of why this happens? Usually stream with friends on discord but trying to do it on the game, even on custom clients, makes FPS collapse until it's outright frozen.

Any idea of what can do to dodge this?
User avatar
Robertzon
Posts: 1483
Joined: Mon Jan 03, 2011 11:51 pm

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

Post by Robertzon »

I never found a fix streaming the program, but streaming "screen" worked for me.
thebacon
Posts: 18
Joined: Sat Nov 02, 2024 4:13 pm

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

Post by thebacon »

Robertzon wrote:I never found a fix streaming the program, but streaming "screen" worked for me.
stream the whole screen okay yep, bizarre streaming the game itself is chaotic, would be gucci if someone figured it out
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

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

Post by loftar »

If you run the console command :profile all and then press the ` key (backtick), you should get three windows of profiling information. Does any of them change significantly when you try streaming?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
boshaw
Posts: 1612
Joined: Tue Jun 01, 2010 10:22 pm

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

Post by boshaw »

loftar wrote:If you run the console command :profile all and then press the ` key (backtick), you should get three windows of profiling information. Does any of them change significantly when you try streaming?
Last time I checked frames drop being memory usage goes through the roof until you basically OOM. Mayhaps i'll send you a heap dump if you'd like to see, I never actually bothered to look myself since it's a niche issue really imo
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

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

Post by loftar »

boshaw wrote:Last time I checked frames drop being memory usage goes through the roof until you basically OOM. Mayhaps i'll send you a heap dump if you'd like to see
Makes me curious for sure. I have no idea why or even how an external streaming program would cause memory leaks on the Java heap. Are you sure it's Java heap memory and not something... more external?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
boshaw
Posts: 1612
Joined: Tue Jun 01, 2010 10:22 pm

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

Post by boshaw »

loftar wrote:
boshaw wrote:Last time I checked frames drop being memory usage goes through the roof until you basically OOM. Mayhaps i'll send you a heap dump if you'd like to see
Makes me curious for sure. I have no idea why or even how an external streaming program would cause memory leaks on the Java heap. Are you sure it's Java heap memory and not something... more external?
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.
thebacon
Posts: 18
Joined: Sat Nov 02, 2024 4:13 pm

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

Post by thebacon »

loftar wrote:
boshaw wrote:Last time I checked frames drop being memory usage goes through the roof until you basically OOM. Mayhaps i'll send you a heap dump if you'd like to see
Makes me curious for sure. I have no idea why or even how an external streaming program would cause memory leaks on the Java heap. Are you sure it's Java heap memory and not something... more external?

It's bizarre but can only confirm the memory goes crazy in a matter of seconds too.

I guess the only way to figure out what's wrong it's a dev reproducing it monitoring this.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

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

Post by loftar »

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)?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
Ozzy123
Posts: 2483
Joined: Sat Feb 11, 2012 4:27 pm

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

Post by Ozzy123 »

Just wanted to add that every single person I know can't stream haven on discord because of this, gotta stream the entire screen
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..

Return to “Bugs”