BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Openbve crashes when attempting to record/stream it

2 posters

Go down

Openbve crashes when attempting to record/stream it Empty Openbve crashes when attempting to record/stream it

Post by Delsin Sat Apr 25, 2020 10:10 pm

Whenever I try to stream Openbve, it freezes for a few seconds and then crashes without creating a log. This happens when using both Discord and OBS and on all builds (latest version I tested that worked was 1.4.3). Windows 8.1
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by leezer3 Sun Apr 26, 2020 9:06 pm

That appears to work just fine here.

Had to add it manually, but other than that no problems at all.
Try disabling the overlay and see if that helps:
https://support.discordapp.com/hc/en-us/articles/217659737-Games-Overlay-101

Other than that, only real suggestion I've got is updating the graphics drivers.

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by Delsin Sun Apr 26, 2020 9:34 pm

I had it disabled and my drivers are apparently the latest version available :/
I'll try going thru Windows event logs, that might give a lead.

Edit: caught it
Code:
System.AccessViolationException
  in OpenTK.Platform.Windows.Functions.SwapBuffers(IntPtr)
  in OpenTK.Platform.Windows.WinGLContext.SwapBuffers()
  in OpenTK.Graphics.GraphicsContext.SwapBuffers()
  in OpenTK.GameWindow.SwapBuffers()
  in OpenBve.OpenBVEGame.OnRenderFrame(OpenTK.FrameEventArgs)
  in OpenTK.GameWindow.RaiseRenderFrame(Double, Double ByRef)
  in OpenTK.GameWindow.DispatchRenderFrame()
  in OpenTK.GameWindow.Run(Double, Double)
  in OpenBve.MainLoop.StartLoopEx(MainDialogResult)
  in OpenBve.Program.Main(System.String[])
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by leezer3 Sun Apr 26, 2020 11:25 pm

That certainly looks like the overlay to me- It's crashing at the point the new frame has been rendered and we attempt to draw it to the screen.

Windowed mode might help, but I'm not sure we can catch an exception here, and if we do not sure it'd draw anything.....

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by Delsin Mon Apr 27, 2020 12:59 am

It still crashes in windowed mode. Still have to test this with OBS, it doesn't have overlays.
A wild guess, can something else with overlays cause it? Like Steam
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by leezer3 Wed Apr 29, 2020 12:28 am

Honest answer- Dunno Razz

If I can't reproduce it here, something like this is almost impossible to get to the bottom of Sad

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by Delsin Wed Apr 29, 2020 5:03 pm

I'll try to investigte this further. This also happens to Minecraft, but I doubt this is related enough to help. Might look thru its logs at a similar crash though, maybe they can tell more.
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by leezer3 Wed Apr 29, 2020 6:08 pm

Well, I can stream Minecraft too Razz

All that really says is that it's something in the wider openGL driver not liking overlays.
Only real suggestion I've got is updating everything.

leezer3

Posts : 1955
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by Delsin Fri May 01, 2020 2:23 am

I found a different version of the drivers (not sure if the latest, but definitely matching my Windows. I updated from 8 to 8.1 some time ago and these drivers remained the same) and it solved the problem Smile
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes when attempting to record/stream it Empty Re: Openbve crashes when attempting to record/stream it

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum