Re: Virtio-GPU Venus how to install in chrome os crostini?
Reggie Wong <[email protected]> Thu, 3 Feb 2022 06:48:38 +0000 (UTC)
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_4277381_1902517551.1643870918959
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Is "ninja -C build install" ok?
Is "export VK_ICD_FILENAMES=3D/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 Cre=
ateInstance 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 Cre=
ateInstance 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@gm=
ail.com> wrote: =20
=20
On Wed, Feb 2, 2022 at 2:02 PM Reggie Wong <[email protected]> wr=
ote:
>
> Did you happen to know what exact path i need to set for crostini?
It's just debian with a standard vulkan loader
=C2=A0 https://github.com/KhronosGroup/Vulkan-Loader/blob/master/docs/Loade=
rDriverInterface.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 <zerosportsleg=
[email protected]> wrote:
>
>
> "You can set VK_ICD_FILENAMES=3D<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 <[email protected]=
om> wrote:
>
>
> On Tue, Feb 1, 2022 at 12:04 PM Reggie Wong <[email protected]> =
wrote:
> >
> > Yes, i would like to build the latest mesa driver in debian 11 containe=
r 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-e=
nabling-new-virtual-vulkan-driver
> >
> > Do you know how to enable it to be recognized by the debian 11 containe=
r?
> You can set VK_ICD_FILENAMES=3D<path-to-virtio_icd.x86_64.json>.=C2=A0 Th=
at
> instructs libvulkan.so to use the ICD you build.
>
>
>
> >
> >
> > On Tuesday, February 1, 2022, 11:58:07 AM PST, Chia-I Wu <olvaffe@gmail=
.com> wrote:
> >
> >
> > On Tue, Feb 1, 2022 at 11:39 AM Reggie Wong <[email protected]=
> 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 defaul=
t 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? Thank=
s for any good help.
> > Different containers only differ in Mesa drivers.=C2=A0 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 wi=
th amd a6 processor
=20
------=_Part_4277381_1902517551.1643870918959
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div> Is "ninja -C build install" ok?<br><br>Is &q=
uot;export VK_ICD_FILENAMES=3D/usr/share/vulkan/icd.d/virtio_icd.i686.json:=
/usr/share/vulkan/icd.d/virtio_icd.x86_64.json"<br><br>ok?<br><br>I go=
t this:<br><br>"vulkaninfo<br><br>ERROR: [Loader Message] Code 0 : loa=
der_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/virtio_icd.i=
686.json<br>WARNING: [Loader Message] Code 0 : terminator_CreateInstance: F=
ailed to CreateInstance in ICD 0. Skipping ICD.<br>Cannot create Vulkan in=
stance.<br>This problem is often caused by a faulty installation of the Vul=
kan driver or attempting to use a GPU that does not support Vulkan.<br>ERRO=
R at /build/vulkan-tools-oFB8Ns/vulkan-tools-1.2.162.0+dfsg1/vulkaninfo/vul=
kaninfo.h:666:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER"<=
br><br>and this:<br><br>"vulkaninfo | grep driverName<br>ERROR: [Loade=
r Message] Code 0 : loader_get_json: Failed to open JSON file /usr/share/vu=
lkan/icd.d/virtio_icd.i686.json<br>WARNING: [Loader Message] Code 0 : termi=
nator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.<br>=
Cannot create Vulkan instance.<br>This problem is often caused by a faulty =
installation of the Vulkan driver or attempting to use a GPU that does not =
support Vulkan.<br>ERROR at /build/vulkan-tools-oFB8Ns/vulkan-tools-1.2.162=
.0+dfsg1/vulkaninfo/vulkaninfo.h:666:vkCreateInstance failed with ERROR_INC=
OMPATIBLE_DRIVER"<br><br><br>Is it because radeon r5 graphics are not =
compatible or something else?<br><br><br> </div> <div=
class=3D"yahoo_quoted" style=3D"margin:10px 0px 0px 0.8ex;border-left:1px =
solid #ccc;padding-left:1ex;"> <div style=3D"font-fa=
mily:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#2=
6282a;"> <div> On Wednesd=
ay, February 2, 2022, 02:07:32 PM PST, Chia-I Wu <[email protected]> =
wrote: </div> <div><br></div> =
<div><br></div> <div><div dir=3D"ltr">On Wed, Feb 2, 2022 at=
2:02 PM Reggie Wong <<a shape=3D"rect" ymailto=3D"mailto:zerosportslega=
[email protected]" href=3D"mailto:[email protected]">zerosportslegacy@y=
ahoo.com</a>> wrote:<br clear=3D"none">><br clear=3D"none">> Did y=
ou happen to know what exact path i need to set for crostini?<br clear=3D"n=
one">It's just debian with a standard vulkan loader<br clear=3D"none"><br c=
lear=3D"none"> <a shape=3D"rect" href=3D"https://github.com/KhronosGr=
oup/Vulkan-Loader/blob/master/docs/LoaderDriverInterface.md#example-linux-d=
river-search-path" target=3D"_blank">https://github.com/KhronosGroup/Vulkan=
-Loader/blob/master/docs/LoaderDriverInterface.md#example-linux-driver-sear=
ch-path</a><br clear=3D"none"><br clear=3D"none">Since you said you've buil=
t the latest mesa driver, "ninja install"<br clear=3D"none">should be enoug=
h unless I misunderstood.<div class=3D"yqt6317141587" id=3D"yqtfd06530"><br=
clear=3D"none"><br clear=3D"none">><br clear=3D"none">><br clear=3D"=
none">> On Tuesday, February 1, 2022, 12:57:42 PM PST, Reggie Wong <<=
a shape=3D"rect" ymailto=3D"mailto:[email protected]" href=3D"mail=
to:[email protected]">[email protected]</a>> wrote:<br=
clear=3D"none">><br clear=3D"none">><br clear=3D"none">> "You can=
set VK_ICD_FILENAMES=3D<path-to-virtio_icd.x86_64.json>. That<br cle=
ar=3D"none">> instructs libvulkan.so to use the ICD you build."<br clear=
=3D"none">><br clear=3D"none">><br clear=3D"none">> Ok, do you kno=
w the default path for crostini? I think that part is where i didn't know w=
hat path it was.<br clear=3D"none">><br clear=3D"none">><br clear=3D"=
none">> On Tuesday, February 1, 2022, 12:10:26 PM PST, Chia-I Wu <<a =
shape=3D"rect" ymailto=3D"mailto:[email protected]" href=3D"mailto:olvaffe@=
gmail.com">[email protected]</a>> wrote:<br clear=3D"none">><br clear=
=3D"none">><br clear=3D"none">> On Tue, Feb 1, 2022 at 12:04 PM Reggi=
e Wong <<a shape=3D"rect" ymailto=3D"mailto:[email protected]" =
href=3D"mailto:[email protected]">[email protected]</a>&g=
t; wrote:<br clear=3D"none">> ><br clear=3D"none">> > Yes, i wo=
uld like to build the latest mesa driver in debian 11 container in crostini=
.<br clear=3D"none">> ><br clear=3D"none">> > I built and insta=
lled it from the mesa site and from this as well.<br clear=3D"none">> &g=
t;<br clear=3D"none">> > <a shape=3D"rect" href=3D"https://www.collab=
ora.com/news-and-blog/blog/2021/11/26/venus-on-qemu-enabling-new-virtual-vu=
lkan-driver" target=3D"_blank">https://www.collabora.com/news-and-blog/blog=
/2021/11/26/venus-on-qemu-enabling-new-virtual-vulkan-driver</a><br clear=
=3D"none">> ><br clear=3D"none">> > Do you know how to enable i=
t to be recognized by the debian 11 container?<br clear=3D"none">> You c=
an set VK_ICD_FILENAMES=3D<path-to-virtio_icd.x86_64.json>. Tha=
t<br clear=3D"none">> instructs libvulkan.so to use the ICD you build.<b=
r clear=3D"none">><br clear=3D"none">><br clear=3D"none">><br clea=
r=3D"none">> ><br clear=3D"none">> ><br clear=3D"none">> >=
; On Tuesday, February 1, 2022, 11:58:07 AM PST, Chia-I Wu <<a shape=3D"=
rect" ymailto=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
">[email protected]</a>> wrote:<br clear=3D"none">> ><br clear=3D"=
none">> ><br clear=3D"none">> > On Tue, Feb 1, 2022 at 11:39 AM=
Reggie Wong <<a shape=3D"rect" ymailto=3D"mailto:zerosportslegacy@yahoo=
.com" href=3D"mailto:[email protected]">[email protected]=
</a>> wrote:<br clear=3D"none">> > ><br clear=3D"none">> >=
; > Hi, i do know about enabling it by installing arch linux/container.<=
br clear=3D"none">> > ><br clear=3D"none">> > > I wanted =
to see if it is possible to install the driver in the default debian contai=
ner though, I haven't found any info on that yet.<br clear=3D"none">> &g=
t; ><br clear=3D"none">> > > Just wanted to see how it works ou=
t.<br clear=3D"none">> > ><br clear=3D"none">> > > Is it =
possible to get it to work with default debian container? Thanks for any go=
od help.<br clear=3D"none">> > Different containers only differ in Me=
sa drivers. It sounds like you<br clear=3D"none">> > want to bu=
ild and use the latest Mesa driver in the debian container.<br clear=3D"non=
e">> ><br clear=3D"none">> ><br clear=3D"none">> > ><b=
r clear=3D"none">> > > I don't know if this matters, but I have a =
hp chromebook 11a g8 ee with amd a6 processor<br clear=3D"none"></div></div=
></div> </div> </div>
------=_Part_4277381_1902517551.1643870918959--