Hey. I got the image to boot. Now, please review this photo. I had this complication while building in the past and never received confirmation of a valid answer.
I know nothing about my HDMI 5” screen/display. Now, here is the photo:
How can I set the display resolution on the BeagleY-AI for an HDMI LCD? I want to try to see if I can get one of the models working that the person put together for this image…
See below for what I have tried from the docs. pages
gst-launch-1.0 -vvv v4l2src device=/dev/video-usb-cam0 io-mode=5 ! video/x-raw, width=800, height=480, format=YUY2 ! autovideosink is the command I used to try to get the USB CAM to show its face on the HDMI LCD.
and when I change the width, height, and format commands to what I believe my USB CAM understands, I receive this error:
WARNING: erroneous pipeline: could not link
v4l2src0 to autovideosink0, v4l2src0
can't handle caps video/x-raw, width=(int)800, height=(int)480, format=(string)YUYV
As you can tell, the USB CAM does not like the commands or is it the image and what is available?
I will run dmesg and try to find out.
One issue. The LCD is off-center. I have tried to go into grub.cfg and add particular commands to handle the HDMI display.
I will try this command next and then the update-grub command as well: GRUB_GFXMODE=640x480.
Thank you for reading. If you have any ideas, please let me know.
to test out the display, why not try the test patterns?
work on issue at a time.
# Display default test pattern (SMPTE color bars)
gst-launch-1.0 videotestsrc ! autovideosink
# Display a specific pattern (e.g., ball, snow, smpte)
gst-launch-1.0 videotestsrc pattern=ball ! autovideosink
# Display a 5-second video of a test pattern then exit
gst-launch-1.0 videotestsrc num-buffers=150 ! autovideosink
gst-launch-1.0 videotestsrc pattern=ball ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms: GStreamer encountered a general resource error.
Additional debug info:
/usr/src/debug/gstreamer1.0-plugins-bad/1.22.12/sys/kms/gstkmssink.c(2032): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms:
drmModeSetPlane failed: No space left on device (28)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
/usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesrc.c(3134): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Freeing pipeline ...
Hmm. It seems I am out of room? actual-sink-kms: drmModeSetPlane failed: No space left on device (28)
I checked df -h and it returned that I have 20GB of memory leftover after the initial install of the image…
Should I check elsewhere? Also, another thing I noticed: Image-6.12.17-ti-00773-gcdcaeac783e3-dirty. Dirty…
Send guidance on this effort. I cannot get past the initial part due to the set up of my HDMI LCD at 1024 * 768.
Update
So, I changed to a larger HDMI LCD. fbset is of no use so far. Most of the screen is present but I cannot start the scripts even on the main screen…
with USB1 and/or USB0 from the USB camera
even after killall edgeai-gui-app
and then with a command as in gst-launch-1.0 videotestsrc ! autovideosink
E for effort so far…
If anyone has any documentation this effort (E), please let me know. Once I start the usb cam on the main screen of the HDMI LCD, I get the error on graphics only, e.g. commands via mouse shutdown the edgeai-gui-app.
Another Update
I got one of the camera modules to run from the main LCD with a couple of points and clicks.
Video on the way…
Outside of that module running, I need to figure out whatever else can be done with this image…
I see there was some GPIO and PWM controller peripherals set up with a TI set of applications/libraries.
If you are lucky, you can see my bald head in the timelapse cam usage!
So, my max FPS is about 16 so far. I am running the USB Camera 0 - > ONR-SS-7618-deeplabv3lite-mobv2-qat-robokit--768x432 at a temperature of about 55C.
The regular settings have been applied with that ONR-SS file.