[Nouveau] InstallNouveau question
Mario Theodoridis
mario at schmut.com
Tue Jan 5 17:58:41 UTC 2021
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
More information about the Nouveau
mailing list