livekit / egress

Export and record WebRTC sessions and tracks
https://blog.livekit.io/livekit-universal-egress-launch/
Apache License 2.0
168 stars 68 forks source link

[BUG]chrome failed to start,help me #690

Open 277861535 opened 3 months ago

277861535 commented 3 months ago

Describe the bug I encountered an error message that says "chrome failed to start", and I don't know how to resolve it. There are problems with deploying in the ARM environment, but not in the Linux environment

Egress Version arm environment livekit/livekit-server:v1.6.1 livekit/egress:v1.8.4

Egress Request Call call = client.startRoomCompositeEgress(liveId, streamOutput, layout, null, encodingOptions);

Logs DEBUG egress source/web.go:202 launching chrome {"nodeID": "NE_5TDJJpkrfAqV", "handlerID": "EGH_6DmxizAvJRjg", "clusterID": "", "egressID": "EG_Gq7sytK8ukEw", "url": "http://192.168.5.248:31567/common-live-server/indexDvr?layout=speaker&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTc3NDc3NjYsImlzcyI6IkFQSTg1WThucmNUTTJFeCIsImtpbmQiOiJlZ3Jlc3MiLCJuYmYiOjE3MTc2NjEzNjYsInN1YiI6IkVHX0dxN3N5dEs4dWtFdyIsInZpZGVvIjp7ImNhblB1Ymxpc2giOmZhbHNlLCJjYW5QdWJsaXNoRGF0YSI6ZmFsc2UsImNhblN1YnNjcmliZSI6dHJ1ZSwiaGlkZGVuIjp0cnVlLCJyZWNvcmRlciI6dHJ1ZSwicm9vbSI6IjhlMDU2MTM3MTdkYzRkNTZiODliYjI3MTNkZTdlYWFiIiwicm9vbUpvaW4iOnRydWV9fQ.dmV1DJOLDeKjXx1yWg8s4k58UxLcOBFYo5JW9xvDuwg&url=ws%3A%2F%2F192.168.5.249%3A30089", "sandbox": false, "insecure": true} 2024-06-06T08:09:26.462Z WARN egress source/web.go:87 failed to launch chrome {"nodeID": "NE_5TDJJpkrfAqV", "handlerID": "EGH_6DmxizAvJRjg", "clusterID": "", "egressID": "EG_Gq7sytK8ukEw", "display": ":1358394407", "error": "chrome failed to start:\n"} 2024-06-06T08:09:26.462Z DEBUG egress source/web.go:113 closing chrome {"nodeID": "NE_5TDJJpkrfAqV", "handlerID": "EGH_6DmxizAvJRjg", "clusterID": "", "egressID": "EG_Gq7sytK8ukEw"} 2024-06-06T08:09:26.473Z DEBUG egress source/web.go:119 closing X display {"nodeID": "NE_5TDJJpkrfAqV", "handlerID": "EGH_6DmxizAvJRjg", "clusterID": "", "egressID": "EG_Gq7sytK8ukEw"} 2024-06-06T08:09:26.474Z DEBUG egress source/web.go:126 unloading pulse module {"nodeID": "NE_5TDJJpkrfAqV", "handlerID": "EGH_6DmxizAvJRjg", "clusterID": "", "egressID": "EG_Gq7sytK8ukEw"} 0:00:00.640171086 49 0xaaace6d01fc0 WARN cudaloader gstcudaloader.c:169:gst_cuda_load_library: Could not open library libcuda.so.1, libcuda.so.1: cannot open shared object file: No such file or directory 0:00:00.640220857 49 0xaaace6d01fc0 WARN nvcodec plugin.c:94:plugin_init: Failed to load cuda library 2024-06-06T08:09:26.696Z WARN egress service/io.go:63 egress failed {"nodeID": "NE_5TDJJpkrfAqV", "clusterID": "", "egressID": "EG_Gq7sytK8ukEw", "requestType": "room_composite", "outputType": "stream", "error": "chrome failed to start:\n"} 2024-06-06T08:09:26.696Z ERROR egress server/server_ipc.go:43 internal error, shutting down {"nodeID": "NE_5TDJJpkrfAqV", "clusterID": "", "error": "chrome failed to start:\n"} github.com/livekit/egress/pkg/server.(Server).HandlerUpdate /workspace/pkg/server/server_ipc.go:43 github.com/livekit/egress/pkg/ipc._EgressService_HandlerUpdate_Handler /workspace/pkg/ipc/ipc_grpc.pb.go:147 google.golang.org/grpc.(Server).processUnaryRPC /root/go/pkg/mod/google.golang.org/grpc@v1.63.2/server.go:1369 google.golang.org/grpc.(Server).handleStream /root/go/pkg/mod/google.golang.org/grpc@v1.63.2/server.go:1780 google.golang.org/grpc.(Server).serveStreams.func2.1 /root/go/pkg/mod/google.golang.org/grpc@v1.63.2/server.go:1019