I was changing lighting source options and now error

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

I was changing lighting source options and now error

Postby donatas081294 » Mon May 01, 2023 8:33 pm

java.lang.RuntimeException: com.jogamp.opengl.GLException: Caught BGLException: haven.render.gl.GLProgram$LinkException: Failed to link GL program
Log:
Fragment info
-------------
(0) : error C6020: Constant register limit exceeded at s_g4; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at emi; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at amb; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at dif; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at spc; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at shine; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g6; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g7; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g9; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g10; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g11; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g13; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g14; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g15; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_globtime16; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_nlights19; more than 1024 registers needed to compile program
on thread AWT-EventQueue-0
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:201)
at com.jogamp.opengl.Threading.invokeOnOpenGLThread(Threading.java:202)
at com.jogamp.opengl.Threading.invoke(Threading.java:221)
at com.jogamp.opengl.awt.GLCanvas.display(GLCanvas.java:503)
at haven.JOGLPanel.uglyjoglhack(JOGLPanel.java:314)
at haven.JOGLPanel.renderloop(JOGLPanel.java:335)
at java.lang.Thread.run(Unknown Source)
Caused by: com.jogamp.opengl.GLException: Caught BGLException: haven.render.gl.GLProgram$LinkException: Failed to link GL program
Log:
Fragment info
-------------
(0) : error C6020: Constant register limit exceeded at s_g4; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at emi; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at amb; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at dif; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at spc; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at shine; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g6; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g7; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g9; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g10; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g11; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g13; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g14; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g15; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_globtime16; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_nlights19; more than 1024 registers needed to compile program
on thread AWT-EventQueue-0
at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1327)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.opengl.awt.GLCanvas$12.run(GLCanvas.java:1442)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: haven.render.gl.BGL$BGLException: haven.render.gl.GLProgram$LinkException: Failed to link GL program
Log:
Fragment info
-------------
(0) : error C6020: Constant register limit exceeded at s_g4; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at emi; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at amb; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at dif; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at spc; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at shine; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g6; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g7; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g9; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g10; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g11; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g13; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g14; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g15; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_globtime16; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_nlights19; more than 1024 registers needed to compile program

at haven.render.gl.BufferBGL.run(BufferBGL.java:65)
at haven.render.gl.GLEnvironment.process(GLEnvironment.java:342)
at haven.JOGLPanel.redraw(JOGLPanel.java:200)
at haven.JOGLPanel.access$000(JOGLPanel.java:39)
at haven.JOGLPanel$1.display(JOGLPanel.java:101)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at com.jogamp.opengl.awt.GLCanvas$11.run(GLCanvas.java:1428)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
... 16 more
Caused by: haven.render.gl.GLProgram$LinkException: Failed to link GL program
Log:
Fragment info
-------------
(0) : error C6020: Constant register limit exceeded at s_g4; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at emi; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at amb; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at dif; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at spc; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at shine; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g6; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g7; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g9; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g10; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g11; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g13; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g14; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_g15; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_globtime16; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at s_nlights19; more than 1024 registers needed to compile program

at haven.render.gl.GLProgram$ProgOb.create(GLProgram.java:344)
at haven.render.gl.BGL$2.run(BGL.java:205)
at haven.render.gl.BufferBGL.run(BufferBGL.java:57)
... 24 more
donatas081294
 
Posts: 145
Joined: Sun Feb 02, 2014 3:33 pm

Re: I was changing lighting source options and now error

Postby donatas081294 » Mon May 01, 2023 8:45 pm

Oh wtf removed it from nvidia and it works, but man the intel is so shit working with it cpu almost at 90% for no fucking reason I even limited the fps to 30.
Also the first time I put the game on nvidia graphics card the game was working fine for 30 minutes more or less. Sure it was winter and it was mostly all white and now the snow is melting, but no way that could have affected the graphic card right?
donatas081294
 
Posts: 145
Joined: Sun Feb 02, 2014 3:33 pm

Re: I was changing lighting source options and now error

Postby dagrimreefah » Mon May 01, 2023 9:16 pm

donatas081294 wrote:Oh wtf removed it from nvidia and it works, but man the intel is so shit working with it cpu almost at 90% for no fucking reason I even limited the fps to 30.
Also the first time I put the game on nvidia graphics card the game was working fine for 30 minutes more or less. Sure it was winter and it was mostly all white and now the snow is melting, but no way that could have affected the graphic card right?

Haven stopped working for me (at least enders' client did) after the most recent NVIDIA driver update: I had to roll my drivers back to the previous version. Try that.
User avatar
dagrimreefah
 
Posts: 2631
Joined: Wed May 25, 2011 3:01 am

Re: I was changing lighting source options and now error

Postby Nightdawg » Mon May 01, 2023 9:19 pm

Bro I changed the lighting settings in loftar's vanilla client and my PC burst into flames.

Don't touch those settings. I'm not even joking, I don't understand why they crash the client, and I don't want to know either. I was literally considering removing the options from my client and just setting that shit to the default value forever.
if you're reading this, you're a nerd.
Image
User avatar
Nightdawg
 
Posts: 1766
Joined: Fri Feb 28, 2020 12:31 am
Location: In your pepper farm

Re: I was changing lighting source options and now error

Postby donatas081294 » Mon May 01, 2023 9:20 pm

Nightdawg wrote:Bro I changed the lighting settings in loftar's vanilla client and my PC burst into flames.

Don't touch those settings. I'm not even joking, I don't understand why they crash the client, and I don't want to know either. I was literally considering removing the options from my client and just setting that shit to the default value forever.


Is there a way to set them back to default? Something config file somewhere maybe?
donatas081294
 
Posts: 145
Joined: Sun Feb 02, 2014 3:33 pm

Re: I was changing lighting source options and now error

Postby donatas081294 » Mon May 01, 2023 9:21 pm

Also why add lighting options if they break the client or mess with your machines cpu?
donatas081294
 
Posts: 145
Joined: Sun Feb 02, 2014 3:33 pm

Re: I was changing lighting source options and now error

Postby donatas081294 » Mon May 01, 2023 9:39 pm

man what a fucking headache. I found the source of the issue even though it was so obvious it caught me by surprised. Shit hit the fan when I changed lighting options from default global to zoomed. I guess nvidia doesn't support or can't handle the zoomed lighting feature from which I gathered from the tooltip that is supporst more lighting sources with better performance or something like that. So in short if I want to use nvidia stick with global ligthing option instead of zoomed. Also hopefully devs can fix the zoomed lighting option.
PS. The lighting slider too. Don't remember what was the default, but changing now also causes the crash. DEVS please fix your ligthing option so it doesn't break.
donatas081294
 
Posts: 145
Joined: Sun Feb 02, 2014 3:33 pm

Re: I was changing lighting source options and now error

Postby Nightdawg » Mon May 01, 2023 10:26 pm

Image

These are the default values. Leave them like this and never touch these cursed options.
if you're reading this, you're a nerd.
Image
User avatar
Nightdawg
 
Posts: 1766
Joined: Fri Feb 28, 2020 12:31 am
Location: In your pepper farm

Re: I was changing lighting source options and now error

Postby donatas081294 » Mon May 01, 2023 10:28 pm

Nightdawg wrote:Image

These are the default values. Leave them like this and never touch these cursed options.

Okay fucked around and found out that the error only occours for the nvidia is when for either global or zoomed puting the slider all the way to the right at 128 for either one.
donatas081294
 
Posts: 145
Joined: Sun Feb 02, 2014 3:33 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 7 guests