Re: Noob question
Manuel Dun <[email protected]> Sat, 30 Mar 2024 10:42:43 -0400
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CADkQz_j0+FF3avPBHZXoLLYj3DtTmdVmyGwDV-empTa978-GFA@mail.gmail.com> |
What I hopefully want to do is to contribute to the mesa 3d project. Since mesa has so many moving parts it seems overwhelming, I know the documentation is there but I want to debug the source code with gdb to compare and strengthen my knowledge. A good-first-task would be ideal to start working. What is the correct way to, for example, test that my patch is working? You mention a loader, can you explain that to me? By the way, I am not used to using a mailing list, if this email is not correctly sent please let me know. El s=C3=A1b, 30 mar 2024 a las 8:42, Jens Owen (<[email protected]>) escribi=C3= =B3: > > >> 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 debuggabl= e version of that driver and can instead rely on either logging from the RA= DV 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 y= ou want to get into the guts of the loader itself. >