Jump to content
stevenragy

Webcam displaying a black screen inside electron app

Recommended Posts

Hi @tooz
I'm facing an issue using the webcam inside our electron.js app.
we are trying to build electrojs app and use the camera feed inside of it, but it's rendered as a black screen, and we get these errors in the console.
 

libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip

 

do you have any idea about those errors?

 

  • Like 1

Share this post


Link to post
Share on other sites

hello @stevenragy

these logs are common and can be ignored. we've checked with the chip vendor and are told that EGL are the ARM based OpenGL expansions for x window system, that's similar to glx on x86. Xorg uses Driver modelsettings to load libglx.so by default, libglx.so then looks up dri libs. however Xorg 2D accelerator uses DRM not dri libs so it prints the errors that you mentioned.

i don't think the app can ever be executed if it's a GPU related issue, but it also depends on the mode the app's excuted (normal mode/ CLI mode)

is it possible for use to have a look at the camera codes and dmesg?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...