wfb-ng-osd
wfb-ng-osd copied to clipboard
Ubuntu X11 NODM Xsession Errors
I use nodm as display manager for X11 Mode.
I got follow errors and seems the problem of autovideosink on KMS.
I am running Armbian 22.11.1 Jammy with Linux 5.15.80-sunxi64 on Pine A64 Plus.
Xsession: X session started for pine at Thu Dec 29 09:40:48 PM HKT 2022 dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus dbus-update-activation-environment: setting DISPLAY=:0 Use: mavlink_port=14551, rtp_port=5600, codec=h264, rtp_jitter=5, use_vaapi=0, use_xv=0, screen_width=1920 GST pipeline: udpsrc do-timestamp=true port=5600 caps="application/x-rtp, media=(string)video" ! rtpjitterbuffer latency =5 ! rtph264depay ! avdec_h264 ! videoscale method=0 ! video/x-raw,width=1920,height=1080 ! videoconvert ! cairooverlay name=overlay ! videoconvert ! autovideosink sync=false gst autovideosink0-actual-sink-kms: NULL -> READY gst autovideosink0: NULL -> READY gst videoconvert1: NULL -> READY gst overlay: NULL -> READY gst videoconvert0: NULL -> READY gst capsfilter0: NULL -> READY gst videoscale0: NULL -> READY gst avdec_h264-0: NULL -> READY gst rtph264depay0: NULL -> READY gst rtpjitterbuffer0: NULL -> READY gst udpsrc0: NULL -> READY gst pipeline0: NULL -> READY gst videoconvert1: READY -> PAUSED gst overlay: READY -> PAUSED gst videoconvert0: READY -> PAUSED gst capsfilter0: READY -> PAUSED gst videoscale0: READY -> PAUSED gst avdec_h264-0: READY -> PAUSED gst rtph264depay0: READY -> PAUSED gst rtpjitterbuffer0: READY -> PAUSED gst udpsrc0: READY -> PAUSED gst pipeline0: READY -> PAUSED gst videoconvert1: PAUSED -> PLAYING gst overlay: PAUSED -> PLAYING gst videoconvert0: PAUSED -> PLAYING gst capsfilter0: PAUSED -> PLAYING gst videoscale0: PAUSED -> PLAYING gst avdec_h264-0: PAUSED -> PLAYING gst rtph264depay0: PAUSED -> PLAYING gst rtpjitterbuffer0: PAUSED -> PLAYING gst udpsrc0: PAUSED -> PLAYING
** (osd:161860): CRITICAL **: 21:40:51.204: Got ERROR: GStreamer encountered a general resource error. (../sys/kms/gstkm ssink.c(1713): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosi nk0-actual-sink-kms: drmModeSetPlane failed: Permission denied (13)) gst thread exited
Run under root or chown /dev/dri/* to current user
The error message was caused by the nodm that locked /dev/dri/card0 and I disabled nodm then error messages gone but still not successful run the OSD.
OSD start successfully but once feed the the H.264 stream the xserver start and screen becomes blank. The process crash instantly.
How ever I can run it on WSL2.
Same problem, @ralphwu : did you fixed it?