Re: Noob question
Jens Owen <[email protected]> Sat, 30 Mar 2024 06:33:47 -0600
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAJ5TNtYV5fQcXiB8KYbah3KU--0vnYSWp6aiaoA0u1xKyAKRQg@mail.gmail.com> |
--0000000000007b39a50614dff842 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > I want to link a vulkan app written by me to the mesa3d source code to > be able to step in it with the debugger. The app has the mesa 3d as a > subproject. My question is, what is the name of the vulkan dependency > so i can add it to my executable in the meson.build? Is it possible to > do it this way? What would be the correct way to do this? > > My current setup is linux mint os with an amd gpu and I was able to > compile mesa 3d version 23.3 My familiarity with exactly how Mesa integrates open source drivers like RADV, Mesa=E2=80=99s Vulkan driver for AMD, is minmal, but there is excelle= nt documentation here: https://docs.mesa3d.org/drivers/radv.html Depending on what you need to do, you might not need to build a debuggable version of that driver and can instead rely on either logging from the RADV driver by setting environment variables, or using the validation layers from LunarG=E2=80=99s Vulkan SDK. I wouldn=E2=80=99t recommend rebuilding the main Vulkan library, unless you= want to get into the guts of the loader itself. --0000000000007b39a50614dff842 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div><div><br></div><div><div class=3D"gmail_quote"><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-l= eft-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir=3D= "auto"> I want to link a vulkan app written by me to the mesa3d source code to<br> be able to step in it with the debugger. The app has the mesa 3d as a<br> subproject. My question is, what is the name of the vulkan dependency<br> so i can add it to my executable in the meson.build? Is it possible to<br> do it this way? What would be the correct way to do this?<br> <br> My current setup is linux mint os with an amd gpu and I was able to<br> compile mesa 3d version 23.3</blockquote><div dir=3D"auto"><br></div><div d= ir=3D"auto">My familiarity with exactly how Mesa integrates open source dri= vers like RADV, Mesa=E2=80=99s Vulkan driver for AMD, is minmal, but there = is excellent documentation here:=C2=A0<div><a href=3D"https://docs.mesa3d.o= rg/drivers/radv.html">https://docs.mesa3d.org/drivers/radv.html</a></div><d= iv dir=3D"auto"><br></div><div dir=3D"auto">Depending on what you need to d= o, you might not need to build a debuggable version of that driver and can = instead rely on either logging from the RADV driver by setting environment = variables, or using the validation layers from LunarG=E2=80=99s Vulkan SDK.= </div><div dir=3D"auto"><br></div><div dir=3D"auto">I wouldn=E2=80=99t reco= mmend rebuilding the main Vulkan library, unless you want to get into the g= uts of the loader itself.</div><div dir=3D"auto"><br></div></div><blockquot= e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width= :1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204= ,204)" dir=3D"auto"></blockquote></div></div> </div> --0000000000007b39a50614dff842--