Post Go back to editing

Operation not permitted Error while using GST command

Category: Software
Product Number: ADV7511W
Software Version: Vivado 2021.1 and Petalinux Toolchain of 2021.1

I am using Kria SOM(MPSOC) and petalinux OS with Vivado 2021.1. 

I am working with Video Processing where I have Thermal Sensor which is connected to PS USB and I would like display data on Monitor using HDMI TX(ADV7511W) which is at PL side.

Main Purpose is video transfer from PS USB to PL HDMI.

For that I am using ADI DMAC IP and ADI HDMI Transmitter IP which is designed by analog devices, and using using there respective linux drivers which is as per the given link https://wiki.analog.com/resources/tools-software/linux-drivers/drm/hdl-axi-hdmi .

Here is my block Design 

While using GST command we are getting following issue, please find the below logs for your reference

1. Modetest logs

2.Xorg.conf file 

3. Xorg logs

GST pipeline for test pattern generator
--------------------------------------
GST_DEBUG=3 gst-launch-1.0 -vvv videotestsrc ! kmssink bus-id=80040000.axi_hdmi_tx

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.446311173 1248 0xaaaaf9aadaa0 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministicd
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)BGRx, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-ase
0:00:00.446902869 1248 0xaaaaf9aadaa0 WARN kmssink gstkmssink.c:850:set_obj_prop:<kmssink0> Failed to set connector property 'GEN_HDR_OUTPUT_METADATA' to 36
/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, format=(string)BGRx, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratie
0:00:00.488068041 1248 0xaaaaf9aadaa0 WARN kmssink gstkmssink.c:1721:gst_kms_sink_sync:<kmssink0> drmWaitVBlank failed: Operation not permitted (-1)
0:00:00.488151342 1248 0xaaaaf9aadaa0 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<videotestsrc0> error: Internal data stream error.
0:00:00.488179572 1248 0xaaaaf9aadaa0 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<videotestsrc0> error: streaming stopped, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Here I am attaching file for the same.

modetest -D 80040000.axi_hdmi_tx
trying to open device 'i915'...done
Encoders:
id      crtc    type    possible crtcs  possible clones
34      33      TMDS    0x00000001      0x00000001

Connectors:
id      encoder status          name            size (mm)       modes   encoders
35      34      connected       HDMI-A-1        480x270         25      34
  modes:
        index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  #1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
  #2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  #3 1680x1050 59.88 1680 1728 1760 1840 1050 1053 1059 1080 119000 flags: phsync, nvsync; type: driver
  #4 1400x1050 59.95 1400 1448 1480 1560 1050 1053 1057 1080 101000 flags: phsync, nvsync; type: driver
  #5 1600x900 60.00 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
  #6 1280x1024 75.02 1280 1296 1440 1688 1024 1025 1028 1066 135000 flags: phsync, pvsync; type: driver
  #7 1280x1024 60.02 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
  #8 1440x900 59.90 1440 1488 1520 1600 900 903 909 926 88750 flags: phsync, nvsync; type: driver
  #9 1280x800 59.91 1280 1328 1360 1440 800 803 809 823 71000 flags: phsync, nvsync; type: driver
  #10 1152x864 75.00 1152 1216 1344 1600 864 865 868 900 108000 flags: phsync, pvsync; type: driver
  #11 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  #12 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
  #13 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  #14 1024x768 75.03 1024 1040 1136 1312 768 769 772 800 78750 flags: phsync, pvsync; type: driver
  #15 1024x768 60.00 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
  #16 800x600 75.00 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
  #17 800x600 60.32 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
  #18 720x576 50.00 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  #19 720x480 60.00 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
  #20 720x480 59.94 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
  #21 640x480 75.00 640 656 720 840 480 481 484 500 31500 flags: nhsync, nvsync; type: driver
  #22 640x480 60.00 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
  #23 640x480 59.94 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
  #24 720x400 70.08 720 738 846 900 400 412 414 449 28320 flags: nhsync, pvsync; type: driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
                        00ffffffffffff001e6dc95b01010101
                        011f010380301b78ea3135a5554ea126
                        0c5054a54b00714f81809500b300a9c0
                        810081c090402a4480a0703827403020
                        3500e00e1100001e023a801871382d40
                        582c4500e00e1100001e000000fd0038
                        4b1e5512000a202020202020000000fc
                        004c47204648440a20202020202001bf
                        02031bf148900403011012131f230907
                        078301000065030c001000023a801871
                        382d40582c4500e00e1100001e000000
                        00000000000000000000000000000001
                        1d007251d01e206e285500e00e110000
                        1e8c0ad08a20e02d10103e9600e00e11
                        000018000000ff000000000000000000
                        0000000000000000000000000000008b
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0
        5 link-status:
                flags: enum
                enums: Good=0 Bad=1
                value: 0
        6 non-desktop:
                flags: immutable range
                values: 0 1
                value: 0
        4 TILE:
                flags: immutable blob
                blobs:

                value:

CRTCs:
id      fb      pos     size
33      37      (0,0)   (1920x1080)
  #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  props:
        25 VRR_ENABLED:
                flags: range
                values: 0 1
                value: 0

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
32      33      37      0,0             0,0     0               0x000000ff
  formats: XR24
  props:
        9 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1

Frame buffers:
id      size    pitch
-------------------------------------------------------------
cat /etc/X11/xorg.conf

Section "InputDevice"
        Identifier      "System Mouse"
        Driver          "mouse"
        Option          "Device" "/dev/input/mouse0"
EndSection

Section "InputDevice"
        Identifier      "System Keyboard"
        Driver          "kbd"
        Option          "Device" "/dev/input/event0"
EndSection

#Section "Device"
#        Identifier      "ZynqMP"
#        Driver          "armsoc"
#        Option          "DRI2"                  "true"
#        Option          "DRI2_PAGE_FLIP"        "false"
#        Option          "DRI2_WAIT_VSYNC"       "true"
#        Option          "SWcursorLCD"           "false"
#        Option          "DEBUG"                 "false"
#EndSection

Section "Device"
        Identifier      "ADV7511 HDMI"
        Driver          "modesetting"
EndSection

Section "Device"
        Identifier "myfb"
        Driver "fbdev"
        Option "fbdev" "/dev/fb0"
EndSection

Section "Screen"
        Identifier      "DefaultScreen"
        Device          "myfb"
        DefaultDepth    16
EndSection
-----------------------------------------------------------------------------------------------------
When Screen Device is myfb
..............................
##########cat /var/log/Xorg.0.log 
[    18.444] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    18.444] Build Operating System: Linux 
[    18.444] Current Operating System: Linux xilinx-k26-starterkit-2021_1 5.10.0-xilinx-v2021.1 #1 SMP Fri Jun 4 15:57:16 UTC 2021 aarch64
[    18.444] Kernel command line: earlycon console=ttyPS1,115200 clk_ignore_unused ext4=/dev/mmcblk1p2:/rootfs init_fatal_sh=1 cma=1200M 
[    18.444] Build Date: 25 August 2020  03:40:19PM
[    18.444]  
[    18.444] Current version of pixman: 0.40.0
[    18.444]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    18.444] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.444] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 26 22:13:12 2024
[    18.531] (==) Using config file: "/etc/X11/xorg.conf"
[    18.531] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.649] (==) No Layout section.  Using the first Screen section.
[    18.649] (**) |-->Screen "DefaultScreen" (0)
[    18.649] (**) |   |-->Monitor "<default monitor>"
[    18.650] (**) |   |-->Device "myfb"
[    18.650] (**) |   |-->GPUDevice "myfb"
[    18.650] (==) No monitor specified for screen "DefaultScreen".
        Using a default monitor configuration.
[    18.650] (==) Automatically adding devices
[    18.650] (==) Automatically enabling devices
[    18.650] (==) Automatically adding GPU devices
[    18.650] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.719] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[    18.719]    Entry deleted from font path.
[    18.719] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[    18.719]    Entry deleted from font path.
[    18.719] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[    18.719]    Entry deleted from font path.
[    18.719] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[    18.719]    Entry deleted from font path.
[    18.719] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    18.719]    Entry deleted from font path.
[    18.720] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    18.720]    Entry deleted from font path.
[    18.720] (==) FontPath set to:

[    18.720] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.720] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.720] (II) Loader magic: 0xaaaab914ec28
[    18.720] (II) Module ABI versions:
[    18.720]    X.Org ANSI C Emulation: 0.4
[    18.720]    X.Org Video Driver: 24.1
[    18.720]    X.Org XInput driver : 24.1
[    18.720]    X.Org Server Extension : 10.0
[    18.720] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.720] (II) Platform probe for /sys/devices/platform/axi/80040000.axi_hdmi_tx/drm/card0
[    18.720] (II) no primary bus or device found
[    18.721]    falling back to /sys/devices/platform/axi/80040000.axi_hdmi_tx/drm/card0
[    18.721] (II) LoadModule: "glx"
[    18.779] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    19.223] (II) Module glx: vendor="X.Org Foundation"
[    19.223]    compiled for 1.20.9, module version = 1.0.0
[    19.223]    ABI class: X.Org Server Extension, version 10.0
[    19.223] (II) LoadModule: "fbdev"
[    19.224] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    19.231] (II) Module fbdev: vendor="X.Org Foundation"
[    19.231]    compiled for 1.20.9, module version = 0.5.0
[    19.231]    Module class: X.Org Video Driver
[    19.231]    ABI class: X.Org Video Driver, version 24.1
[    19.231] (II) FBDEV: driver for framebuffer: fbdev
[    19.231] (--) using VT number 2

[    19.252] (WW) Falling back to old probe method for fbdev
[    19.252] (II) Loading sub module "fbdevhw"
[    19.252] (II) LoadModule: "fbdevhw"
[    19.253] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    19.265] (II) Module fbdevhw: vendor="X.Org Foundation"
[    19.265]    compiled for 1.20.9, module version = 0.0.2
[    19.265]    ABI class: X.Org Video Driver, version 24.1
[    19.265] (II) FBDEV(0): using /dev/fb0
[    19.265] (II) FBDEV(1): using /dev/fb0
[    19.265] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    19.265] (EE) Screen 1 deleted because of no matching config section.
[    19.265] (II) UnloadModule: "fbdev"
[    19.265] (II) UnloadSubModule: "fbdevhw"
[    19.265] (II) FBDEV(0): Creating default Display subsection in Screen section
        "DefaultScreen" for depth/fbbpp 16/16
[    19.265] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
[    19.265] (==) FBDEV(0): RGB weight 565
[    19.265] (==) FBDEV(0): Default visual is TrueColor
[    19.265] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    19.265] (II) FBDEV(0): hardware: axi_hdmi_tx_drm (video memory: 8100kB)
[    19.265] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    19.265] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
[    19.265] (II) FBDEV(0): checking modes against framebuffer device...
[    19.265] (II) FBDEV(0): checking modes against monitor...
[    19.265] (II) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[    19.265] (**) FBDEV(0):  Built-in mode "current"
[    19.265] (==) FBDEV(0): DPI set to (96, 96)
[    19.265] (II) Loading sub module "fb"
[    19.265] (II) LoadModule: "fb"
[    19.265] (II) Loading /usr/lib/xorg/modules/libfb.so
[    19.296] (II) Module fb: vendor="X.Org Foundation"
[    19.296]    compiled for 1.20.9, module version = 1.0.0
[    19.296]    ABI class: X.Org ANSI C Emulation, version 0.4
[    19.296] (**) FBDEV(0): using shadow framebuffer
[    19.296] (II) Loading sub module "shadow"
[    19.296] (II) LoadModule: "shadow"
[    19.296] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    19.313] (II) Module shadow: vendor="X.Org Foundation"
[    19.313]    compiled for 1.20.9, module version = 1.1.0
[    19.313]    ABI class: X.Org ANSI C Emulation, version 0.4
[    19.313] (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
[    19.313] (EE) FBDEV(0): mode initialization failed
[    19.313] (EE) 
Fatal server error:
[    19.313] (EE) AddScreen/ScreenInit failed for driver 0
[    19.313] (EE) 
[    19.313] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    19.313] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    19.313] (EE) 
[    19.356] (EE) Server terminated with error (1). Closing log file.
-----------------------------------------------------------------------------------------------------
When Scrren Device is armsoc
............................
[    21.966] (II) modeset(G0): Number of EDID sections to follow: 1
[    21.966] (II) modeset(G0): EDID (in hex):
[    21.966] (II) modeset(G0):  00ffffffffffff001e6dc95b01010101
[    21.966] (II) modeset(G0):  011f010380301b78ea3135a5554ea126
[    21.966] (II) modeset(G0):  0c5054a54b00714f81809500b300a9c0
[    21.966] (II) modeset(G0):  810081c090402a4480a0703827403020
[    21.966] (II) modeset(G0):  3500e00e1100001e023a801871382d40
[    21.966] (II) modeset(G0):  582c4500e00e1100001e000000fd0038
[    21.966] (II) modeset(G0):  4b1e5512000a202020202020000000fc
[    21.966] (II) modeset(G0):  004c47204648440a20202020202001bf
[    21.966] (II) modeset(G0):  02031bf148900403011012131f230907
[    21.966] (II) modeset(G0):  078301000065030c001000023a801871
[    21.966] (II) modeset(G0):  382d40582c4500e00e1100001e000000
[    21.966] (II) modeset(G0):  00000000000000000000000000000001
[    21.966] (II) modeset(G0):  1d007251d01e206e285500e00e110000
[    21.966] (II) modeset(G0):  1e8c0ad08a20e02d10103e9600e00e11
[    21.966] (II) modeset(G0):  000018000000ff000000000000000000
[    21.966] (II) modeset(G0):  0000000000000000000000000000008b
[    21.966] (II) modeset(G0): Printing probed modes for output HDMI-1-1
[    21.966] (II) modeset(G0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    21.966] (II) modeset(G0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    21.966] (II) modeset(G0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    21.966] (II) modeset(G0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    21.967] (II) modeset(G0): Modeline "1400x1050"x59.9  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[    21.967] (II) modeset(G0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[    21.967] (II) modeset(G0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    21.967] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    21.967] (II) modeset(G0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    21.967] (II) modeset(G0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    21.967] (II) modeset(G0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    21.967] (II) modeset(G0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    21.967] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    21.967] (II) modeset(G0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    21.967] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    21.967] (II) modeset(G0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    21.967] (II) modeset(G0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    21.967] (II) modeset(G0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    21.967] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    21.967] (==) modeset(G0): DPI set to (96, 96)
[    21.967] (II) Loading sub module "fb"
[    21.967] (II) LoadModule: "fb"
[    21.967] (II) Loading /usr/lib/xorg/modules/libfb.so
[    22.008] (II) Module fb: vendor="X.Org Foundation"
[    22.008]    compiled for 1.20.9, module version = 1.0.0
[    22.008]    ABI class: X.Org ANSI C Emulation, version 0.4
[    22.008] (EE) Screen(s) found, but none have a usable configuration.
[    22.008] (EE) 
Fatal server error:
[    22.008] (EE) no screens found(EE) 
[    22.008] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    22.008] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    22.008] (EE) 
[    22.050] (EE) Server terminated with error (1). Closing log file.


GST pipeline for test pattern genrator
--------------------------------------
GST_DEBUG=3 gst-launch-1.0 -vvv videotestsrc ! kmssink bus-id=80040000.axi_hdmi_tx    
                                                                                
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.446311173  1248 0xaaaaf9aadaa0 FIXME                default gstutils.c:3980:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministicd
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)BGRx, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-ase
0:00:00.446902869  1248 0xaaaaf9aadaa0 WARN                 kmssink gstkmssink.c:850:set_obj_prop:<kmssink0> Failed to set connector property 'GEN_HDR_OUTPUT_METADATA' to 36
/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, format=(string)BGRx, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratie
0:00:00.488068041  1248 0xaaaaf9aadaa0 WARN                 kmssink gstkmssink.c:1721:gst_kms_sink_sync:<kmssink0> drmWaitVBlank failed: Operation not permitted (-1)
0:00:00.488151342  1248 0xaaaaf9aadaa0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<videotestsrc0> error: Internal data stream error.
0:00:00.488179572  1248 0xaaaaf9aadaa0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<videotestsrc0> error: streaming stopped, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...