[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
Fri Aug 28 19:38:57 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=472

--- Comment #10 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #6)
> (In reply to Cole Poirier from comment #5)
> > (In reply to Luke Kenneth Casson Leighton from comment #4)
> 
> > 
> > Luke, that's *incredibly* unhelpful. To be explicit, it feels like you're
> > not providing help, simply calling me stupid.
> 
> sorry.  it was really late night.  

Thank you I accept your apology (explicitly accepting apologies is something I
learned from friend). I understand, over six months of getting to know you,
I've come to understand that you only lose your very helpful even chipper
demeanor, when you're days, if not weeks past the point of initial exhaustion
:)

> > The build logs from what exactly? From mesa? I'm trying to configure mesa,
> > it configures and installs properly without the option
> > `-Dvulkan-drivers=libre-soc`.
> 
> whilst i do not know the build process in detail, this is asking to not
> build the libresoc vulkan driver.
> 
> > Where would these libre-soc vulkan drivers be generated?
> 
> an accurate answer to that is: in the build tree, followed by installation
> in the directory specified at configure time.
> 
> if this is not specified it defaults to /usr/local usually.
> 
> remember though what i said, don't install in /usr/local (not on the main
> system that is) specify --prefix=/opt/local or ~/libresocmesa

Yes, I've been very careful to follow your advise on this, also noted the
reason that it's important to follow this warning on the documentation page.

> > Doesn't vulkan
> > itself need to be installed and configured for this to work?
> 
> vulkan is an API. you don't "install a vulkan", you configure mesa to
> generate a library that is compatible *with* the vulkan API.

Ah, makes more sense.

> > In that case,
> > as I stated above, I need vivek to tell me how he configured this.
> > 
> > Using the above vulkan-drivers option whether with libre-soc, or with the
> > path that I've installed the drm drivers to
> > `-Dvulkan-drivers=~/opt/lsoc-mesa` fails with the *exact* same error
> > 
> > ```../meson.build:21:0: ERROR: Options "~/opt/lsoc_mesa" are not in allowed
> > choices: "auto, amd, freedreno, intel, swrast"```
> 
> *click*.  i know what it is.  did you use the master branch or the
> libresocdev branch?  (not exact name, you need to look it up, git branch -R
> i think)
> 
> find and check out the right branch and libresoc will be in the list.

Click!! Wrong branch error ;)

Should be easy to fix now :)

> > Is this task, which is in its earliest stages and has a *year* if not more
> > of leeway, *really* a higher priority than those *HDL* tasks which have mere
> > weeks to be finished *and* tested? Do we not want to be able to run linux on
> > our Oct 31 2020 tapeout chip?
> 
> very good point.

Thank you, I just want to make sure we are spending our limited resources and
time optimally.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list