Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I am having trouble streaming this game over discord. When i try to do so FPS drops from 110-120 to 10-18(and sometimes 0) and if i get into action or decide to alt-tab it just crashes.

Error Log:

Error(s) in Sulphur Nimbus:

System info:

Java version: 1.8.0_281

OS name: Windows 10

OS architecture: amd64

Number of cores: 8

Free memory: 378975152

Maximum memory: 1037959168

Assertions are [off]

Application args: {}

Release: 121 - 28.08.2021 14:22:17,48

GL Version 4.6.0 NVIDIA 462.80

GPU Vendor: NVIDIA Corporation

GPU Name: GeForce GTX 1050/PCIe/SSE2

GLSL version: 4.60 NVIDIA

com.jogamp.opengl.GLException: Thread[AwesomeAnimator-Thread,6,main] glGetError() returned the following error codes after a call to glViewport(<int> 0x0, <int> 0x0, <int> 0x500, <int> 0x2D0): GL_OUT_OF_MEMORY ( 1285 0x505), 

at com.jogamp.opengl.DebugGL4bc.writeGLError(DebugGL4bc.java:31803)

at com.jogamp.opengl.DebugGL4bc.glViewport(DebugGL4bc.java:30991)

at main.Scene.render(Scene.java:489)

at main.GameStateManager.display(GameStateManager.java:417)

at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)

at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)

at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)

at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)

at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)

at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)

at main.AwesomeAnimator$1.run(AwesomeAnimator.java:223)

(1 edit) (+1)

I did fiddle around with settings to make it work better. Like enabling 16 bit integers and display lists which DID improve perfomance to barely playable. But if I don't stream I of course can get to 120 fps

(1 edit) (+1)

Hi,

The Discord window capture hook is known to cause a serious memory leak which will eventually crash the game regardless of settings. Unfortunately this is not something I can fix on my end, however you have a few options:

1. Change your Discord capture mode to Display Capture instead of Window Capture.

2. Use Discord for Google Chrome.

3. Use any other screen capture software, such as OBS.

(+2)

Display Capture worked 
Thank you for the relatively quick reply

No problem, happy it helped