VL.CEF help patch crashes vvvv

Hey there,

Tried opening one of VL.CEF help patches on 6.7-0235 and got a silent vvvv crash.

Repro steps :

  • Renamed my nuget folder to nugets_bak to make sure I’m starting clean
  • Opened vvvv 6.7-0235
  • Installed latest VL.CEF -pre and VL.CEF.Skia -pre (0.6.1-preview at the time of writing)
  • Opened the Skia Overview help patch
  • The patch opens, vvvv logs an error to the console and hangs
  • Byebye

Had a look at Windows’ Event Log and found the following which afaict is the same error that vvvv logs before crashing :

Event Log
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name=".NET Runtime" /> 
  <EventID Qualifiers="0">1026</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2024-11-12T21:57:39.5348408Z" /> 
  <EventRecordID>50275</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="18696" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>DESKTOP-XXXXX</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Application: vvvv.exe CoreCLR Version: 8.0.824.36612 .NET Version: 8.0.8 Description: The process was terminated due to an unhandled exception. Exception Info: SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect. at SharpDX.Result.CheckError() at SharpDX.Direct3D11.Device1.OpenSharedResource1(IntPtr hResource, Guid returnedInterface, IntPtr& resourceOut) at SharpDX.Direct3D11.Device1.OpenSharedResource1[T](IntPtr resourceHandle) at VL.CEF.SkiaRenderHandler.OnAcceleratedPaint2(CefPaintElementType type, CefRectangle[] dirtyRects, IntPtr sharedHandle, Int32 newTexture) at VL.CEF.WebBrowser.RenderHandler.OnAcceleratedPaint2(CefBrowser browser, CefPaintElementType type, CefRectangle[] dirtyRects, IntPtr sharedHandle, Int32 newTexture) at Xilium.CefGlue.CefRenderHandler.on_accelerated_paint2(cef_render_handler_t* self, cef_browser_t* browser, CefPaintElementType type, UIntPtr dirtyRectsCount, cef_rect_t* dirtyRects, Void* shared_handle, Int32 newTexture)</Data> 
  </EventData>
  </Event>
Just the error message
Application: vvvv.exe
CoreCLR Version: 8.0.824.36612
.NET Version: 8.0.8
Description: The process was terminated due to an unhandled exception.
Exception Info: SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.

   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device1.OpenSharedResource1(IntPtr hResource, Guid returnedInterface, IntPtr& resourceOut)
   at SharpDX.Direct3D11.Device1.OpenSharedResource1[T](IntPtr resourceHandle)
   at VL.CEF.SkiaRenderHandler.OnAcceleratedPaint2(CefPaintElementType type, CefRectangle[] dirtyRects, IntPtr sharedHandle, Int32 newTexture)
   at VL.CEF.WebBrowser.RenderHandler.OnAcceleratedPaint2(CefBrowser browser, CefPaintElementType type, CefRectangle[] dirtyRects, IntPtr sharedHandle, Int32 newTexture)
   at Xilium.CefGlue.CefRenderHandler.on_accelerated_paint2(cef_render_handler_t* self, cef_browser_t* browser, CefPaintElementType type, UIntPtr dirtyRectsCount, cef_rect_t* dirtyRects, Void* shared_handle, Int32 newTexture)

What shall I do if I want to browse the interveb in the vvvv?

Thanks in advance!

Same problem in 6.6 stable.

  • After a clean vvvv gamma 6.6. intstall VL.CEF.Skia is not preinstalled and therefore showing red nodes, even if it shows in the HelpBrowser.

  • After intalling latest VL.CEF.Skia stable → crash with a short console window popping up for an instance

  • After intalling latest VL.CEF.Skia latest preview → crash, see file attached for console output
    cef-skia.zip (1.3 KB)

@sebescudie odd that it crashes, but could you be running into the multi GPU issue described in the CEF Troubleshooting guide?

@benju this sounds like a different issue. first “VL.CEF.Skia is not preinstalled and therefore showing red nodes, even if it shows in the HelpBrowser.” yes, this is by design. you only need to install either VL.CEF.Skia or VL.CEF.Stride, whichever you need (also fine if you need both of course).

so please try again with vvvv gamma 6.6 and an empty nuget folder. then just install stable VL.CEF.Skia for a test. that is tested to work.

@joreg

I still had the same issue even after deleting all items from the nuget folder and uninstalling / reinstalling gamma 6.6 on this pc with win10.

On another, completely new pc with windows 11, when opening the VL.CEF.SKia help patch after having installed VL.CEF, first, five alert windows pop up to inform about the need to install a .NET update. I already got this reported before from students (1 prompt would be enough ;))

After the installation (with vvvv closed), vvvv crashes again after opening the skia help patch with the following console output (it crashes to fast to copy the text, but could catch a screen capture)

does the multi-gpu case as described in the troubleshooting section apply to your PC?

1 Like

Okay, even if I was sure I already had gone through this step, it seems I hadn’t. In the meantime it works as expected when VL.CEF.Renderer.exe is registered to “High Performance” on the Windows Graphics settings as decribed or with the hifffen “Shared Texture Enabled” pin deactivated as decribe in GitHub - vvvv/VL.CEF: Set of nodes to use the Chromium Embedded Framework (CEF) in vl.

When I unregistered to reconfirm, it crashes with the posted console output above.