[Mesa-users] Virtio-GPU Venus how to install in chrome os crostini?

Reggie Wong zerosportslegacy at yahoo.com
Thu Feb 3 06:48:38 UTC 2022


 Is "ninja -C build install" ok?

Is "export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/virtio_icd.i686.json:/usr/share/vulkan/icd.d/virtio_icd.x86_64.json"

ok?

I got this:

"vulkaninfo

ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/virtio_icd.i686.json
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /build/vulkan-tools-oFB8Ns/vulkan-tools-1.2.162.0+dfsg1/vulkaninfo/vulkaninfo.h:666:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER"

and this:

"vulkaninfo | grep driverName
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/virtio_icd.i686.json
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /build/vulkan-tools-oFB8Ns/vulkan-tools-1.2.162.0+dfsg1/vulkaninfo/vulkaninfo.h:666:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER"


Is it because radeon r5 graphics are not compatible or something else?


     On Wednesday, February 2, 2022, 02:07:32 PM PST, Chia-I Wu <olvaffe at gmail.com> wrote:  
 
 On Wed, Feb 2, 2022 at 2:02 PM Reggie Wong <zerosportslegacy at yahoo.com> wrote:
>
> Did you happen to know what exact path i need to set for crostini?
It's just debian with a standard vulkan loader

  https://github.com/KhronosGroup/Vulkan-Loader/blob/master/docs/LoaderDriverInterface.md#example-linux-driver-search-path

Since you said you've built the latest mesa driver, "ninja install"
should be enough unless I misunderstood.

>
>
> On Tuesday, February 1, 2022, 12:57:42 PM PST, Reggie Wong <zerosportslegacy at yahoo.com> wrote:
>
>
> "You can set VK_ICD_FILENAMES=<path-to-virtio_icd.x86_64.json>. That
> instructs libvulkan.so to use the ICD you build."
>
>
> Ok, do you know the default path for crostini? I think that part is where i didn't know what path it was.
>
>
> On Tuesday, February 1, 2022, 12:10:26 PM PST, Chia-I Wu <olvaffe at gmail.com> wrote:
>
>
> On Tue, Feb 1, 2022 at 12:04 PM Reggie Wong <zerosportslegacy at yahoo.com> wrote:
> >
> > Yes, i would like to build the latest mesa driver in debian 11 container in crostini.
> >
> > I built and installed it from the mesa site and from this as well.
> >
> > https://www.collabora.com/news-and-blog/blog/2021/11/26/venus-on-qemu-enabling-new-virtual-vulkan-driver
> >
> > Do you know how to enable it to be recognized by the debian 11 container?
> You can set VK_ICD_FILENAMES=<path-to-virtio_icd.x86_64.json>.  That
> instructs libvulkan.so to use the ICD you build.
>
>
>
> >
> >
> > On Tuesday, February 1, 2022, 11:58:07 AM PST, Chia-I Wu <olvaffe at gmail.com> wrote:
> >
> >
> > On Tue, Feb 1, 2022 at 11:39 AM Reggie Wong <zerosportslegacy at yahoo.com> wrote:
> > >
> > > Hi, i do know about enabling it by installing arch linux/container.
> > >
> > > I wanted to see if it is possible to install the driver in the default debian container though, I haven't found any info on that yet.
> > >
> > > Just wanted to see how it works out.
> > >
> > > Is it possible to get it to work with default debian container? Thanks for any good help.
> > Different containers only differ in Mesa drivers.  It sounds like you
> > want to build and use the latest Mesa driver in the debian container.
> >
> >
> > >
> > > I don't know if this matters, but I have a hp chromebook 11a g8 ee with amd a6 processor
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20220203/903f150e/attachment-0001.htm>


More information about the mesa-users mailing list