@hacky Can we confirm steps how you able to run h264enc? My steps to reproduce:
-
I downloaded `dragon-q6a_flat_build_wp_260120.zip` from here Radxa Dragon Q6A firmware snapshot - #19 by Ugosinsaang
-
I download edl-ng using AUR package: AUR (en) - edl-ng which should correspond to 1.5.0 in github: Release v1.5.0 · strongtz/edl-ng · GitHub
-
In the unpacked zip I go to flat_build/spinor/dragon-q6a and run:
sudo edl-ng --memory spinor --loader prog_firehose_ddr.elf rawprogram rawprogram0.xml patch0.xml -
I’ve downloaded Standard Image of Radxa OS r2 from this tag: Release r2 (rsdk) · radxa-build/radxa-dragon-q6a · GitHub with sha256:
c96977042a6c8b1d09f07d3428024aedf0a9527188472be1717195d668a872b256a61e383015b82e67e639f70e22b6427e4b932468468945139714dc00a88aaf ./radxa-dragon-q6a_noble_gnome_r2.output_512.img.xz -
I’ve flashed image to SD card(be careful with the command and of= flag):
xzcat ~/Downloads/radxa-dragon-q6a_noble_gnome_r2.output_512.img.xz | sudo dd of=/dev/sdc bs=64k oflag=dsync status=progress -
I’ve start the board without SD card and any storage to set `
Radxa Platform Configuration
-> Hypervisor Settings -> Hypervisor Override` to Enabled using USB-UART and debug UART and save settings by pressing reset in the UEFI menu -
I‘ve inserted SD card and restart board by power and wait until login prompt appeared
-
I connect to my home wifi using nmcli:
sudo nmcli dev wifi connect <SSID> password <PASS>and install deps:sudo apt update && sudo apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio -
I’ve run test pipeline:
gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! v4l2h264enc ! fakesink -
The pipeline fails and dmesg have:
[ 278.654455] qcom-venus-encoder aa00000.video-codec:video-encoder: enc: event session error 0
[ 278.663319] qcom-venus aa00000.video-codec: SFR message from FW: QC_IMAGE_VERSION_STRING=video-firmware.1.0-8fd4ba980f726e389c6c07fbae6bebdfe904e3c8 Err_Fatal - /local/mnt/workspace/pkg/builds/dynamic_timely/tree3/vendor/qcom/proprietary/video-firmware-noship/venus_proc/venus/encoders/src/venus_venc_hal.c:9326:9
16b1My only assumption that you might have HDMI cable attached to display. I’ve also tried full system upgrade
sudo apt full-upgradein step 8, but still no luck