<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: imx6q (sabresd based design) g2d_open: fail with status -24 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1803457#M219766</link>
    <description>&lt;P&gt;I had exactly the same problem after I mixed-and-matched yocto layers. For me the problem was a mismatch between the g2d / imx-gpu-viv libs and the "galcore" kernel driver. After I made sure that g2d_basic_test spits out the same version for 'user' and 'kernel' everything worked.&lt;/P&gt;&lt;P&gt;It is a pity that the error messages of these closed source libs are basically worthless for non-nxp employees. Nobody knows what error -24 is supposed to mean - how about a more deccriptive message...&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 15:28:57 GMT</pubDate>
    <dc:creator>fatalerror</dc:creator>
    <dc:date>2024-02-07T15:28:57Z</dc:date>
    <item>
      <title>imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1765957#M216579</link>
      <description>&lt;P&gt;I have a imx6q-sabresd based board with wayland weston (also another image that uses xwayland). I'm able to start and use weston, but only when using pixman (CPU graphics). When I try to start weston with the default settings (ie with --use-g2d=1) which uses the GL rendering, I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[21:29:08.220] Command line: weston ---debug --tty=1 --device=/dev/fb0 --use-g2d=1 --log=/tmp/weston.log
[21:29:08.220] OS: Linux, 6.1.36-custom-machine+gfd5321d928cc, #1 SMP PREEMPT Mon Nov 27 17:22:40 PST 2023, armv7l
[21:29:08.221] Flight recorder: enabled
[21:29:08.221] Using config file '/etc/xdg/weston/weston.ini'
[21:29:08.221] Output repaint window is 7 ms maximum.
[21:29:08.221] Loading module '/usr/lib/libweston-10/fbdev-backend.so'
[21:29:08.227] initializing fbdev backend
[21:29:08.227] warning: the fbdev backend is deprecated, please migrate to the DRM backend
[21:29:08.228] Trying weston_launch launcher...
[21:29:08.228] could not get launcher fd from env
[21:29:08.228] Trying direct launcher...
[21:29:08.236] Loading module '/usr/lib/libweston-10/g2d-renderer.so'
[21:29:08.249] g2d_open fail.
[21:29:08.249] g2d_renderer_create failed.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon further investigation, I tried to run the provided&amp;nbsp;&lt;SPAN&gt;imx-g2d-samples starting with just &lt;SPAN&gt;/opt/g2d_samples/&lt;/SPAN&gt;&lt;SPAN&gt;g2d_basic_test but I'm always met with the following error:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[     1] HAL user version: 6.4.11.658245
[     2] HAL kernel version: 6.4.11.684571
g2d_open: fail with status -24
g2d_open fail.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the G2D library is NXP proprietary (source code not provided), we were unable to dig into the error which seems to be coming from the library.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;---&lt;BR /&gt;Additionally, if I disable g2d, I get an ELG error instead. See below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[21:36:29.690] Command line: weston ---debug --tty=1 --device=/dev/fb0 --use-g2d=0 --log=/tmp/weston.log
[21:36:29.690] OS: Linux, 6.1.36-custom-machine+gfd5321d928cc, #1 SMP PREEMPT Mon Nov 27 17:22:40 PST 2023, armv7l
[21:36:29.690] Flight recorder: enabled
[21:36:29.690] Using config file '/etc/xdg/weston/weston.ini'
[21:36:29.690] Output repaint window is 7 ms maximum.
[21:36:29.691] Loading module '/usr/lib/libweston-10/fbdev-backend.so'
[21:36:29.697] initializing fbdev backend
[21:36:29.697] warning: the fbdev backend is deprecated, please migrate to the DRM backend
[21:36:29.697] Trying weston_launch launcher...
[21:36:29.697] could not get launcher fd from env
[21:36:29.697] Trying direct launcher...
[21:36:29.697] Loading module '/usr/lib/libweston-10/gl-renderer.so'
[21:36:29.710] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
[21:36:29.710] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[21:36:29.710] failed to initialize display
[21:36:29.710] EGL error state: EGL_NOT_INITIALIZED (0x3001)
[21:36:29.710] gl_renderer_create failed.
[21:36:29.785] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;I also see&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[     1] HAL user version: 6.4.11.658245
[     2] HAL kernel version: 6.4.11.684571
free(): double free detected in tcache 2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;In the terminal after running the weston command, but not in the weston log file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Keep in mind that if I use `--use-pixman`, then weston is able to start and run fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have added the `&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;kernel-module-imx-gpu-viv` package to my image, and enabled&lt;BR /&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;CONFIG_MXC_GPU_VIV=y`&lt;BR /&gt;in my defconfig.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried adding many different packages based on reference images (such as&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;mesa,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;imx-gpu-g2d,&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;imx-gpu-viv,&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;packagegroup-fsl-tools-gpu,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;packagegroup-fsl-gstreamer1.0,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;etc)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;but I have been unable to get graphics acceleration to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone provide any insight into this issue or what I might be missing?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 21:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1765957#M216579</guid>
      <dc:creator>daharingwitekio</dc:creator>
      <dc:date>2023-11-29T21:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766130#M216595</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210051"&gt;@daharingwitekio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the GPU setting in dts and kernel driver. You can refer the EVK dts and kernel.&lt;/P&gt;
&lt;P&gt;This error more likely relates to driver&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 04:25:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766130#M216595</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-11-30T04:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766153#M216603</link>
      <description>&lt;P&gt;As far as I'm aware, I have the necessary DTS entries. I used the&amp;nbsp;imx6q-sabresd.dts as a reference.&lt;BR /&gt;&lt;BR /&gt;I do have the following entries (this is everything that should be related to graphics/display that I have):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#include "imx6q.dtsi"
#include &amp;lt;dt-bindings/clock/imx6qdl-clock.h&amp;gt;
...
...
/ {
	mxcfb1: fb@0 {
		compatible = "fsl,mxc_sdc_fb";
		disp_dev = "ldb";
		interface_pix_fmt = "RGB666";
		default_bpp = &amp;lt;16&amp;gt;;
		int_clk = &amp;lt;0&amp;gt;;
		late_init = &amp;lt;0&amp;gt;;
		status = "okay";
	};
        ...
        ...
};

&amp;amp;dcic1 {
	dcic_id = &amp;lt;0&amp;gt;;
	dcic_mux = "dcic-hdmi";
	status = "disabled";
};

&amp;amp;dcic2 {
	dcic_id = &amp;lt;1&amp;gt;;
	dcic_mux = "dcic-lvds1";
	status = "okay";
};

&amp;amp;ldb {
	status = "okay";

	lvds-channel@0 {
		status = "okay";
		fsl,data-mapping = "spwg";
		fsl,data-width = &amp;lt;18&amp;gt;;
		crtc = "ipu2-di0";
		primary;

		display-timings {
			/* default display timings */
			native-mode = &amp;lt;&amp;amp;timing1&amp;gt;;

			/* display timings */
			timing1: ourdisplay {
                        .....
                        .....
			};
		};
	};

	lvds-channel@1 {
		crtc = "ipu2-di1";
		status = "disabled";
	};
};

&amp;amp;gpc {
	fsl,ldo-bypass = &amp;lt;1&amp;gt;;
};

&amp;amp;reg_arm {
	vin-supply = &amp;lt;&amp;amp;sw1a_reg&amp;gt;;
};

&amp;amp;reg_pu {
	vin-supply = &amp;lt;&amp;amp;sw1c_reg&amp;gt;;
};

&amp;amp;reg_soc {
	vin-supply = &amp;lt;&amp;amp;sw1c_reg&amp;gt;;
};

&amp;amp;reg_vdd1p1 {
	vin-supply = &amp;lt;&amp;amp;vgen5_reg&amp;gt;;
};

&amp;amp;reg_vdd2p5 {
	vin-supply = &amp;lt;&amp;amp;vgen5_reg&amp;gt;;
};

&amp;amp;clks {
	assigned-clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_LDB_DI0_SEL&amp;gt;,
			  &amp;lt;&amp;amp;clks IMX6QDL_CLK_LDB_DI1_SEL&amp;gt;;
	assigned-clock-parents = &amp;lt;&amp;amp;clks IMX6QDL_CLK_PLL2_PFD0_352M&amp;gt;,
				 &amp;lt;&amp;amp;clks IMX6QDL_CLK_PLL2_PFD0_352M&amp;gt;;
};
...
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything that seems to be missing? As far as I can tell, I have everything important.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 05:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766153#M216603</guid>
      <dc:creator>daharingwitekio</dc:creator>
      <dc:date>2023-11-30T05:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766181#M216607</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210051"&gt;@daharingwitekio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the kernel version?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 05:51:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766181#M216607</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-11-30T05:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766694#M216650</link>
      <description>Ah yes, sorry I forgot to mention it. I'm using Yocto Mickledore with linux-imx kernel 6.1 (currently based on commit 04b05c5527e9af8d81254638c307df07dc9a5dd3) with the meta-imx layer.</description>
      <pubDate>Thu, 30 Nov 2023 18:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766694#M216650</guid>
      <dc:creator>daharingwitekio</dc:creator>
      <dc:date>2023-11-30T18:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766899#M216669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210051"&gt;@daharingwitekio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the current settings you shared, there is no obvious error.&lt;/P&gt;
&lt;P&gt;Can you share the kernel log when you test g2d?&lt;/P&gt;
&lt;P&gt;And check the information under&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;/sys/kernel/debug/gc.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 03:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1766899#M216669</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-12-01T03:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1767238#M216697</link>
      <description>&lt;P&gt;Enabling more debug using `dmesg -n 8`, and then running `&lt;SPAN&gt;/opt/g2d_samples/g2d_basic_test`, I get no new dmesg logs.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Same base error though:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@product:/# /opt/g2d_samples/g2d_basic_test 
---------------- g2d_open/close stress test ----------
[     1] HAL user version: 6.4.11.658245
[     2] HAL kernel version: 6.4.11.684571
g2d_open: fail with status -24
g2d_open/close stress test fail.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under /sys/kernel/debug/gc, I got this info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@product:/sys/kernel/debug/gc# ls
clients           database64x       info              poweroff_timeout  vidmem64x
clk               dump_trigger      load              version
database          idle              meminfo           vidmem

root@product:/sys/kernel/debug/gc# cat info 
gpu      : 0
model    : 2000
revision : 5108
product  :    0
eco      :    0

gpu      : 16
model    :  320
revision : 5007
product  :    0
eco      :    0

gpu      : 20
model    :  355
revision : 1215
product  :    0
eco      :    0

root@product:/sys/kernel/debug/gc# cat meminfo 
VIDEO MEMORY:
  POOL SYSTEM:
    Free :        134199280 B
    Used :            18448 B
    MinFree :     134199280 B
    MaxUsed :         18448 B
    Total :       134217728 B
  POOL VIRTUAL:
    Used :             0 B
    MaxUsed :          0 B

root@product:/sys/kernel/debug/gc# cat version 
6.4.11.p2.684571 built at daharingwitekio-ubuntu
Platform path: drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx.c

root@product:/sys/kernel/debug/gc# cat vidmem  

root@product:/sys/kernel/debug/gc# cat clients 
PID     NAME
------------------------

root@product:/sys/kernel/debug/gc# cat database
GPU Idle: 0 ns

root@product:/sys/kernel/debug/gc# cat load 
core      : 0
load      : 0%&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing I noticed that might be of interest in the kernel boot logs is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[    1.778654] imx-gpc 20dc000.gpc: Failed to create device link (0x180) with 20c8000.anatop:regulator-v
ddpu
[    1.812171] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 10:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1767238#M216697</guid>
      <dc:creator>daharingwitekio</dc:creator>
      <dc:date>2023-12-01T10:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1767882#M216762</link>
      <description>&lt;P&gt;Are you using custom machine and just import meta-imx from github?&lt;/P&gt;
&lt;P&gt;Did you import meta-freescale layer?&lt;/P&gt;
&lt;P&gt;Or you are using the Yocto project we release?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 05:16:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1767882#M216762</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-12-04T05:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1768481#M216825</link>
      <description>&lt;P&gt;Here's the layers I'm using:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  ${BSPDIR}/sources/poky/meta \
  ${BSPDIR}/sources/poky/meta-poky \
  ${BSPDIR}/sources/meta-openembedded/meta-oe \
  ${BSPDIR}/sources/meta-openembedded/meta-filesystems \
  ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
  ${BSPDIR}/sources/meta-openembedded/meta-python \
  ${BSPDIR}/sources/meta-freescale \
  ${BSPDIR}/sources/meta-freescale-distro \
  ${BSPDIR}/sources/meta-arm/meta-arm \
  ${BSPDIR}/sources/meta-arm/meta-arm-toolchain \
  ${BSPDIR}/sources/meta-imx/meta-bsp \
  ${BSPDIR}/sources/meta-my-custom-layer \&lt;/LI-CODE&gt;&lt;P&gt;And this is the NXP manifest I used as my base:&amp;nbsp;&lt;A href="https://github.com/nxp-imx/imx-manifest/blob/imx-linux-mickledore/imx-6.1.22-2.0.0.xml" target="_blank"&gt;https://github.com/nxp-imx/imx-manifest/blob/imx-linux-mickledore/imx-6.1.22-2.0.0.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My machine conf is based on `meta-imx/meta-bsp/conf/machine/imx6qsabresd.conf`. I changed to my own dts/defconfig, added firmware, etc. My kernel config is based on the same one they were using.&lt;BR /&gt;&lt;BR /&gt;My distro is based on `meta-freescale-distro/conf/distro/fsl-wayland.conf`. Only real difference here is I'm using busybox/sysvinit as my virtual_runtime/init_manager&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 19:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1768481#M216825</guid>
      <dc:creator>daharingwitekio</dc:creator>
      <dc:date>2023-12-04T19:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1768575#M216836</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210051"&gt;@daharingwitekio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using L6.1.36 kernel and firmware not L6.1.22.&lt;/P&gt;
&lt;P&gt;I think you should can this previous error log about&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;regulator-vddpu, the gpu power domain not work.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;pd_pu: power-domain@1 {
						reg = &amp;lt;1&amp;gt;;
						#power-domain-cells = &amp;lt;0&amp;gt;;
						power-supply = &amp;lt;&amp;amp;reg_pu&amp;gt;;
						clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU3D_CORE&amp;gt;,
						         &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU3D_SHADER&amp;gt;,
						         &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU2D_CORE&amp;gt;,
						         &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU2D_AXI&amp;gt;,
						         &amp;lt;&amp;amp;clks IMX6QDL_CLK_OPENVG_AXI&amp;gt;,
						         &amp;lt;&amp;amp;clks IMX6QDL_CLK_VPU_AXI&amp;gt;;
					};

gpu_3d: gpu@130000 {
			compatible = "vivante,gc";
			reg = &amp;lt;0x00130000 0x4000&amp;gt;;
			interrupts = &amp;lt;0 9 IRQ_TYPE_LEVEL_HIGH&amp;gt;;
			clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU3D_AXI&amp;gt;,
				 &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU3D_CORE&amp;gt;,
				 &amp;lt;&amp;amp;clks IMX6QDL_CLK_GPU3D_SHADER&amp;gt;;
			clock-names = "bus", "core", "shader";
			power-domains = &amp;lt;&amp;amp;pd_pu&amp;gt;;
			#cooling-cells = &amp;lt;2&amp;gt;;
			status = "disabled";
		};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 00:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1768575#M216836</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-12-05T00:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1772462#M217174</link>
      <description>&lt;P&gt;Could you clarify what you meant by this? I did try enabling&amp;nbsp;gpu_3d and&amp;nbsp;gpu_2d but running the basic G2D test still failed with the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 17:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1772462#M217174</guid>
      <dc:creator>daharingwitekio</dc:creator>
      <dc:date>2023-12-11T17:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1772984#M217206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210051"&gt;@daharingwitekio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;From the error , seems that&amp;nbsp;regulator-vddpu used by GPU has link issue.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; imx-gpc 20dc000.gpc: Failed to create device link (0x180) with 20c8000.anatop:regulator-vddpu&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you also test L5.15.71 BSP?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update:&lt;/P&gt;
&lt;P&gt;This is warning message in L6.1.36, here is my test on&amp;nbsp;imx6qpdlsolox which is similiar withe imx6q.Please re-check your porting steps.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;imx6qpdlsolox login: root
root@imx6qpdlsolox:~# cd /opt/g2d_samples/
root@imx6qpdlsolox:/opt/g2d_samples# ./g2d_basic_test
---------------- g2d_open/close stress test ----------
Width 1920, Height 1088
---------------- g2d_alloc stress test ---------------
---------------- test dst YUV feature ----------------
RGBA to YUY2 time 12514us, 79fps, 166Mpixel/s ........
YUY2 to NV12 time 7005us, 142fps, 298Mpixel/s ........
---------------- g2d blit performance ----------------
RGBA-&amp;gt;RGBA time 3704us, 269fps, 563Mpixel/s ........
g2d blending time 9338us, 107fps, 223Mpixel/s ........
---------------- g2d clear performance ----------------
g2d clear time 1837us, 544fps, 1137Mpixel/s ........
^C
root@imx6qpdlsolox:/opt/g2d_samples# dmesg | grep imx-gpc
[    2.366450] imx-gpc 20dc000.gpc: Failed to create device link (0x180) with 20c8000.anatop:regulator-vddpu
root@imx6qpdlsolox:/opt/g2d_samples#
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 09:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1772984#M217206</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-12-12T09:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q (sabresd based design) g2d_open: fail with status -24</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1803457#M219766</link>
      <description>&lt;P&gt;I had exactly the same problem after I mixed-and-matched yocto layers. For me the problem was a mismatch between the g2d / imx-gpu-viv libs and the "galcore" kernel driver. After I made sure that g2d_basic_test spits out the same version for 'user' and 'kernel' everything worked.&lt;/P&gt;&lt;P&gt;It is a pity that the error messages of these closed source libs are basically worthless for non-nxp employees. Nobody knows what error -24 is supposed to mean - how about a more deccriptive message...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-sabresd-based-design-g2d-open-fail-with-status-24/m-p/1803457#M219766</guid>
      <dc:creator>fatalerror</dc:creator>
      <dc:date>2024-02-07T15:28:57Z</dc:date>
    </item>
  </channel>
</rss>

