nouveau.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* InstallNouveau question
@ 2021-01-05 17:58 Mario Theodoridis
  0 siblings, 0 replies; only message in thread
From: Mario Theodoridis @ 2021-01-05 17:58 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hello everyone,

i have posted an issue that's been plaguing me on gitlab
https://gitlab.freedesktop.org/drm/nouveau/-/issues/35

As i described there, i built the userland parts as described in
https://nouveau.freedesktop.org/InstallNouveau.html

There i came up with the following meson translation for the mesa build

   ./autogen.sh                            \
       --prefix=$NVD                       \
       --enable-texture-float              \
       --enable-gles1                      \
       --enable-gles2                      \
       --enable-glx                        \
       --enable-egl                        \
       --enable-gallium-egl                \
       --enable-gallium-llvm               \
       --enable-shared-glapi               \
       --enable-gbm                        \
       --enable-glx-tls                    \
       --enable-dri                        \
       --enable-osmesa                     \
       --with-egl-platforms=x11,drm        \
       --with-gallium-drivers=nouveau      \
       --with-dri-drivers=nouveau          \
       --enable-vdpau

became

  meson out/ -Dprefix=$NVD \
     -Dgles1=true \
     -Dgles2=true \
     -Dglx=auto \
     -Degl=true \
     -Dshared-glapi=true \
     -Dgbm=true \
     -Dosmesa=true \
     -Dplatforms=x11 \
     -Dgallium-drivers=nouveau,swrast \
     -Ddri-drivers=nouveau

Since i'm totally new to this, but not C programming, i'm wondering 
whether this was a reasonable translation.
Also, could the page be updated with the meson instructions?
I came up with the following running ubuntu-18.04:

build dependencies
  sudo apt-get build-dep mesa
  sudo apt-get install xutils-dev xserver-xorg-dev ninja-build \
   libxcb-shm0-dev

mesa requires meson >=0.52 but bionic ships with 0.49 so if you had it 
installed, remove it then install via pip3.

  sudo apt-get remove meson
  sudo pip3 install meson

libdrm
  git clone git://anongit.freedesktop.org/mesa/drm
  cd drm
  meson out/ -Dprefix=$NVD
  ninja -C out/ install

nouveau (left as is)

Mesa
  git clone git://anongit.freedesktop.org/mesa/mesa
  cd mesa
  meson out/ -Dprefix=$NVD \
     -Dgles1=true \
     -Dgles2=true \
     -Dglx=auto \
     -Degl=true \
     -Dshared-glapi=true \
     -Dgbm=true \
     -Dosmesa=true \
     -Dplatforms=x11 \
     -Dgallium-drivers=nouveau,swrast \
     -Ddri-drivers=nouveau
  ninja -C out/ install

VDPAU
  git clone git://anongit.freedesktop.org/vdpau/libvdpau
  cd libvdpau
  meson out/ -Dprefix=$NVD
  ninja -C out/ install


-- 
Mit freundlichen Grüßen/Best regards

Mario Theodoridis
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-05 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 17:58 InstallNouveau question Mario Theodoridis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).