如何从Ubuntu18.04的源代码中安装Mesa?我从这里下载了mesa-18.1.3.tar.xz,然后解压缩它,然后在目录中使用源代码执行以下操作。
./configure —with-llvm-prefix=/usr/lib/llvm-7// —with-gallium-drivers=radeonsi —with-dri-drivers=radeon
make
sudo make install它的建造没有任何错误。
但是inxi -Fxz仍然说我用的是旧台面。即使在重启之后。我也尝试使用checkinstall而不是make install,但是它没有改变什么。
Graphics: Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile] bus-ID: 38:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: AMD RAVEN (DRM 3.25.0 / 4.17.2-041702-generic, LLVM 6.0.0)
version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes我希望源代码构建mesa被使用,而不是一个随Ubuntu附带的。
发布于 2019-01-05 13:27:43
./autogen.sh --prefix=/usr --enable-texture-float --libdir=/usr/lib/x86_64-linux-gnu/ --with-gallium-drivers=r300,r600,radeonsi,swrast --with-egl-platforms=drm,x11 --enable-glx-tls --enable-shared-glapi --enable-glx --enable-driglx-direct --enable-gles1 --enable-gles2 --enable-gbm --enable-openmax --enable-xa --enable-osmesa --with-radeonsi-llvm-compiler --enable-sysfs --enable-vdpau --enable-xvmc --enable-openmax --enable-nine
make -j5
sudo make install发布于 2018-10-13 10:37:54
如果您想使用稳定的和最新的台面驱动程序,我建议您使用PPA。
sudo add-apt-repository ppa:paulo-miguel-dias/pkppa
sudo apt-get update
sudo apt-get install mesahttps://askubuntu.com/questions/1052959
复制相似问题