<?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: vulkan without display server (Wayland,X11) in i.MX Graphics</title>
    <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1135245#M7</link>
    <description>&lt;P&gt;Hello Peter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example works with latest BSP L5.4.24 on the EVK with wayland, You might try to get it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2020 13:22:28 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2020-09-03T13:22:28Z</dc:date>
    <item>
      <title>vulkan without display server (Wayland,X11)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1134083#M1</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to run a Vulkan application and render directly to the display without using any Window Manager/Display Server. My SoC is i.Mx8M (nitrogen8M board from Boundary Devices). Does NXP support to render directly to the display as I'm trying to do? Any example anyone can provide?&lt;BR /&gt;&lt;BR /&gt;To test if this works I have cross-compiled Vulkan-Samples with help of a SDK built with Yocto (dunfell branch).&lt;/P&gt;&lt;P&gt;$ source &amp;lt;sdk-path&amp;gt;/environment-setup-aarch64-fslc-linux&lt;BR /&gt;$ git clone&amp;nbsp;&lt;A href="https://github.com/KhronosGroup/Vulkan-Samples.git" target="_blank" rel="noopener"&gt;https://github.com/KhronosGroup/Vulkan-Samples.git&lt;/A&gt;&lt;BR /&gt;$ cd Vulkan-Samples &amp;amp;&amp;amp; mkdir armbuild &amp;amp;&amp;amp; cd armbuild&lt;BR /&gt;$&amp;nbsp;cmake -DVKB_DIRECT_2_DISPLAY=true ..&lt;BR /&gt;$ make -j4&lt;BR /&gt;$ scp app/bin/Release/aarch64/vulkan_samples &amp;lt;to-target&amp;gt;:&lt;BR /&gt;&lt;BR /&gt;On target:&lt;BR /&gt;$ &lt;SPAN&gt;./vulkan_samples --test hello_triangle&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[info] Logger initialized&lt;BR /&gt;[info] Window created&lt;BR /&gt;[info] Initializing vulkan instance.&lt;BR /&gt;[info] Enabled Validation Layers:&lt;BR /&gt;[info] Found GPU: VeriSilicon&lt;BR /&gt;[warning] Couldn't find a discrete physical device, picking default GPU&lt;BR /&gt;[info] Initializing vulkan device.&lt;BR /&gt;[info] format_count 1 formats[0].format 44&lt;BR /&gt;[er[13733.152366] 002: audit: type=1701 audit(1599040557.574:11): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=310 comm&lt;BR /&gt;="vulkan_samples" exe="/home/root/vulkan_samples" sig=6 res=1&lt;BR /&gt;ror] [samples/api/hello_triangle/hello_triangle.cpp:535] Detected Vulkan error: ERROR_OUT_OF_DATE_KHR&lt;BR /&gt;Aborted&lt;/P&gt;&lt;P&gt;The example bails out here:&amp;nbsp;&lt;A href="https://github.com/KhronosGroup/Vulkan-Samples/blob/fb6bab484199c9406ba1b2ffbadb91971c519b14/samples/api/hello_triangle/hello_triangle.cpp#L532" target="_blank" rel="noopener"&gt;https://github.com/KhronosGroup/Vulkan-Samples/blob/fb6bab484199c9406ba1b2ffbadb91971c519b14/samples/api/hello_triangle/hello_triangle.cpp#L532&lt;/A&gt;&amp;nbsp;with the error code ERROR_OUT_OF_DATE_KHR.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Package versions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;libvulkan1-1.2.135.0-r0.aarch64.rpm&lt;BR /&gt;libvulkan-imx-6.4.0.p2.0+aarch64-r0.aarch64_mx8m.rpm&lt;BR /&gt;kernel-module-imx-gpu-viv-6.4.0.p2.4+fslc+git0+f2e8483fbd-r0.nitrogen8m.rpm&lt;BR /&gt;kernel-5.4.50-rt32+gde0fe9b79719-5.4.50+git0+503a3dce96-r0.nitrogen8m.rpm (linux-boundary)&lt;BR /&gt;&lt;BR /&gt;I hope I can get some hints to get forward and information if the use case I'm trying is something that shall be possible on i.Mx8M.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/Peter&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 10:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1134083#M1</guid>
      <dc:creator>PeterBergin</dc:creator>
      <dc:date>2020-09-02T10:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: vulkan without display server (Wayland,X11)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1134094#M2</link>
      <description>&lt;P&gt;Adding output from vulkaninfo for more details.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 10:08:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1134094#M2</guid>
      <dc:creator>PeterBergin</dc:creator>
      <dc:date>2020-09-02T10:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: vulkan without display server (Wayland,X11)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1135245#M7</link>
      <description>&lt;P&gt;Hello Peter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example works with latest BSP L5.4.24 on the EVK with wayland, You might try to get it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 13:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1135245#M7</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-09-03T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: vulkan without display server (Wayland,X11)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1135281#M8</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;- does the example work to render directly to /dev/fb0? Or are you saying that the example is working when you use wayland and render to a wayland display?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 14:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1135281#M8</guid>
      <dc:creator>PeterBergin</dc:creator>
      <dc:date>2020-09-03T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: vulkan without display server (Wayland,X11)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1150812#M10</link>
      <description>&lt;P&gt;One step ahead...&lt;BR /&gt;&lt;BR /&gt;To be able to create a swapchain the kernel config option&amp;nbsp;CONFIG_DRM_FBDEV_OVERALLOC must be set to something greater than 100, which is default. This in order for libvulkan to be able to allocate bigger buffer than the screen from /dev/fb0. When I have set&amp;nbsp;CONFIG_DRM_FBDEV_OVERALLOC I have passed the swapchain allocation in the example application.&lt;BR /&gt;&lt;BR /&gt;But then I hit the next thing. A crash somewhere in the GPU code and a frozen system.&lt;/P&gt;&lt;P&gt;[ 269.477226] AXI BUS ERROR&lt;BR /&gt;[ 269.477245] GPU[0](ChipModel=0x7000 ChipRevision=0x6214):&lt;BR /&gt;** 439 printk messages dropped **&lt;BR /&gt;&lt;BR /&gt;So, my question still remains, does libvulkan_VSI.so support rendering directly to /dev/fb0?&lt;/P&gt;&lt;P&gt;/Peter&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 05:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1150812#M10</guid>
      <dc:creator>PeterBergin</dc:creator>
      <dc:date>2020-09-09T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: vulkan without display server (Wayland,X11)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1186836#M39</link>
      <description>&lt;P&gt;I'm having the same issue with that "AXI BUS ERROR" when trying to do render to the display directly without using Wayland and the Wayland surface extension.&lt;/P&gt;&lt;P&gt;Have you eventually found a solution to this issue ?&lt;/P&gt;&lt;P&gt;I'm trying not to use /dev/fb0 here, but to do it in a "direct-to-display" way without having to map or use the kernel's own framebuffer, and configuring the connector / display / mode and such myself.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 17:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/vulkan-without-display-server-Wayland-X11/m-p/1186836#M39</guid>
      <dc:creator>KailoKyra</dc:creator>
      <dc:date>2020-11-20T17:40:09Z</dc:date>
    </item>
  </channel>
</rss>

