nVidia driver crash bug: Please check your logs!

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
vatas
Posts: 5255
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: nVidia driver crash bug: Please check your logs!

Post by vatas »

khai wrote:And I will ask modestly in this thread, what is the game's requirements for opengl?
I have 3 computers at home. one has opengl 3.0 and the game has stopped starting. It's a pity because it has 16gb of ram :(
The second is a chromebook from opengl 4.1 and the game works but crashes for no reason.
the third macbook m1 opengl 4.1 also crashes.
On a work computer with opengl 4.2 works great :D
This thread might be relevant to you.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
khai
Posts: 2
Joined: Mon Aug 08, 2011 10:24 pm

Re: nVidia driver crash bug: Please check your logs!

Post by khai »

I know the Wiki and found only one entry from 2008 that the game is going to opengl. For this I am asking but what? Apple's support ended at 4.1
Jack97
Posts: 4
Joined: Thu Aug 29, 2024 9:00 am

Re: nVidia driver crash bug: Please check your logs!

Post by Jack97 »

mine is not faultymine is not faulty
play game on the web
inevitable
Posts: 15
Joined: Thu Nov 14, 2024 12:46 pm

Re: nVidia driver crash bug: Please check your logs!

Post by inevitable »

cross posting this from yet another bug thread

After a bit of analysis, the fix (for at least some crash scenarios) would be to remove the private field 'prep' here: https://github.com/dolda2000/hafen-clie ... t.java#L49

and eliminate usages of 'this.prep', so that cross-thread command accumulation is eliminated from process() and the possibility of init lambda arriving in a different frame than the draw that needs it is gone

You'll likely want to change prepare(buf) to take the target GLRender and appends into render.gl instead of this.prep; then there's no shared render to interleave into.

This eliminates 3 hazards:
Hazard 1 — this.prep is a shared, multi-writer render
Hazard 2 — buf.ro is published before the data store is written
Hazard 3 — Disposal can interleave with in-flight GLRenders
inevitable
Posts: 15
Joined: Thu Nov 14, 2024 12:46 pm

Re: nVidia driver crash bug: Please check your logs!

Post by inevitable »

inevitable wrote:cross posting this from yet another bug thread

After a bit of analysis, the fix (for at least some crash scenarios) would be to remove the private field 'prep' here: https://github.com/dolda2000/hafen-clie ... t.java#L49

and eliminate usages of 'this.prep', so that cross-thread command accumulation is eliminated from process() and the possibility of init lambda arriving in a different frame than the draw that needs it is gone

You'll likely want to change prepare(buf) to take the target GLRender and appends into render.gl instead of this.prep; then there's no shared render to interleave into.

This eliminates 3 hazards:
Hazard 1 — this.prep is a shared, multi-writer render
Hazard 2 — buf.ro is published before the data store is written
Hazard 3 — Disposal can interleave with in-flight GLRenders
i tried this patch and still crashed on multiple mobs spawning from loose rocks. i collecting a couple more crash logs and this new crash is not specific to nvidia drivers either.
User avatar
Nightdawg
Posts: 2637
Joined: Fri Feb 28, 2020 12:31 am

Re: nVidia driver crash bug: Please check your logs!

Post by Nightdawg »

it feels like the combat JVM crashes are making a comeback
jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
"Our primary development direction is toward object-controlled-objects"
inevitable
Posts: 15
Joined: Thu Nov 14, 2024 12:46 pm

Re: nVidia driver crash bug: Please check your logs!

Post by inevitable »

ok , this PR helps based on my testing, though i'll continue to keep testing https://github.com/dolda2000/hafen-client/pull/22

Return to “Bugs”