Without HDMI connection on imx8qxp
Use the following command to preview the camera
"gst-launch-1.0 v4l2src device=/dev/video2 ! 'video/x-raw,width=1920,height=1080' ! fpsdisplaysink"
When you connect the HDMI, it appears as follows
+---------------------------------------------------------+
| |
| +---------------------------------------- |
| | |
| | camera Preview image |
| | |
+---------------+---------------------------------------+
If you run a command with HDMI connected, the image is displayed as normal
Help me!
Hello,
Yes, is completely normal since the env variable adapt to initial screen.
Regards
Help Me !
Problem not solved yet
In the camera preview state,
When I connect the hdmi, I want it to come out normal
Below is the contents of file "/etc/xdg/weston.weston.ini"
core]
#gbm-format=argb8888
idle-time=0
#use-g2d=1
xwayland=true
#drm-device=card0
repaint-window=16
#enable-overlay-view=1
#[shell]
#size=1920x1080
[libinput]
touchscreen_calibrator=true
#[output]
#name=HDMI-A-1
#mode=1920x1080@60
#transform=rotate-90
#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=rotate-90
[screen-share]
command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
[launcher]
icon=/home/root/.nxp-demo-experience/icon/icon_demo_launcher.png
path=/usr/bin/demoexperience
[launcher]
icon=/usr/share/weston/terminal.png
path=/usr/bin/weston-terminal
Is there any other setting?