[Libre-soc-bugs] [Bug 472] tutorial and dev page needed for mesa driver
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Sep 9 19:28:09 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=472
--- Comment #14 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #13)
> (In reply to Cole Poirier from comment #12)
> > Hi Vivek,
> >
> > Just a quick note, your instructions worked very well, thank you, but a
> > small modification is necessary in order to get it to compile. It appears
> > that the vk_format* files are missing from your src/libre-soc/vulkan folder,
> > can you run `cp src/amd/vulkan/vk_format* src/libre-soc/vulkan` on your repo
> > to remedy this? Thank you.
>
> or, is there a command that generated those files? (we have a development
> rule: "output from a command" is not to be added to a repository)
>
> if not, then a quick "git clone" in a separate working directory
> (followed by a build) should show you what files are missing,
> as should "git status".
Not an obvious or documented command, your above suggestion was the exact
process I took to figure this out. Git clone. Try to configure the build. Meson
complains that vk_format_x is missing. cd to main mesa folder out of build
folder. `find . -name vk_format_x`. Result: `src/freedreno/vulkan/vk_format_x,
src/amd/vulkan/vk_format_x`. `cp src/amd/vulkan/vk_format_x` because I
recognize amd but not freedreno. Repeat an additional three times with meson
complaining about a different missing file with the name format vk_format* each
time. Didn't repeat again as then it configured and `ninja install`'d
successfully.
There probably is something else going on there but investigating that is far
beyond the scope of my task of documenting how to build vivek's mesa branch
from vivek's *provided* instructions, so the task of figuring out what these
files mean and how they are generated is *squarely* in the scope of vivek's
task.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list