Jump to content

Recommended Posts

Posted

Hi Guys,
 Here is my requirements for an electron app running Armbian OS on orangepi5 plus to support:

  1. Need GPU hardware acceleration  to play video
  2. Need HDMI audio
  3. And possible NPU support.
     

I really need help, I did lots of custom builds to find solution support all my above requirement and I found Armbian-unofficial_25.08.0-trunk_Orangepi5-plus_noble_edge_6.16.0-rc7_cinnamon_desktop.img. But my electron add crashes after running say 8 hrs or so, means it is not very stable for us
[83833:0723/100030.362659:ERROR:ssl_client_socket_impl.cc(877)] handshake failed; returned -1, SSL error code 1, net_error -202 [83790:0723/101648.420086:ERROR:zygote_communication_linux.cc(296)] Failed to send GetTerminationStatus message to zygote [83790:0723/101648.423629:ERROR:network_service_instance_impl.cc(612)] Network service crashed, restarting service. [83790:0723/101648.434571:ERROR:zygote_communication_linux.cc(296)] Failed to send GetTerminationStatus message to zygote [83790:0723/101648.439553:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.440252:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.440865:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.441459:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.442003:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.442527:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.443115:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.443586:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 [83790:0723/101648.444045:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002 
[83790:0723/101648.444060:FATAL:gpu_data_manager_impl_private.cc(420)] GPU process isn't usable. Goodbye.


I did try other custom build as below, but either they are lacking HDMI audio or GPU hardware acceleration.
image.thumb.png.98a73e54c7164fd01702fc07f44a355c.png

Please help with this.
Thanks

Manish

Posted (edited)

@Igor: Hi 
Thanks for the response. 
I did get what you mean when you said "Vendor kernel 6.1.y with mesa-vpu extension https://github.com/armbian/os/blob/main/userpatches/targets-extensions.map#L58 (with patched Chromium) "
Because I did try Above and I guess it is lacking either HDMI or GPU requirement. I will again test it.
but now sure what you mean about extension. Do I need try to build that kernel version?
Is below what you mean (from chat gpt)
 

🛠️ Option 1: Easiest Path — Use Prebuilt Stable Image

Use this image (you already have it or download from Armbian):

Armbian_25.5.1_Orangepi5-plus_bookworm_vendor_6.1.115_cinnamon-backported-mesa_desktop.img.xz

Then, add the patched Chromium + mesa-vpu extension manually (I'll show you how in a moment).
image.thumb.png.958eacd9da57bacfc97d574dc953a4f0.png

Edited by msita
Posted

./compile.sh BOARD=orangepi5-plus BRANCH=vendor RELEASE=noble ENABLE_EXTENSIONS=mesa-vpu

or something like that for an image with this extension built-in.

There is no method to install this on a existing system (yet).

Posted (edited)

 I did download it
image.png.4ca78bbe5d81a47a3407a7fc713fdf05.png

and burn a SD with it

image.thumb.png.af24c950aa215eeb87d833caecd77f4f.png

found it does have HDMI 

image.thumb.png.b4d91cd1354f876aa3ccefce67ef8f72.png

and Mali/Panfrost, which support Hardware acceleration, but it is make some weird noise as I started configuration. Not sure what is that
image.thumb.png.4c0252d2bff7a5bf16e918a1618a27e8.png


So not sure why I need to patch it

Edited by msita
Posted

Auy idea why my electron app crashes running on branch edge release noble custom build with below error

 

[2440:0730/102955.112990:ERROR:cert_issuer_source_aia.cc(35)] Error parsing cert retrieved from AIA (as DER):

ERROR: Failed parsing Certificate SEQUENCE

ERROR: Failed parsing Certificate

 

[2510:0730/102955.113685:ERROR:ssl_client_socket_impl.cc(877)] handshake failed; returned -1, SSL error code 1, net_error -202

[2440:0730/104601.001405:ERROR:network_service_instance_impl.cc(612)] Network service crashed, restarting service.

[2440:0730/104601.014376:ERROR:zygote_communication_linux.cc(296)] Failed to send GetTerminationStatus message to zygote

[2440:0730/104601.020244:ERROR:zygote_communication_linux.cc(296)] Failed to send GetTerminationStatus message to zygote

[2440:0730/104601.041426:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.042506:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.043109:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.043662:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.044196:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.045030:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.046123:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.046765:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.047349:ERROR:gpu_process_host.cc(947)] GPU process launch failed: error_code=1002

[2440:0730/104601.047374:FATAL:gpu_data_manager_impl_private.cc(420)] GPU process isn't usable. Goodbye.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines