导读 | 最新的Mesa图形驱动程序18.2.8最终可以通过Ubuntu-X PPA安装在Ubuntu 18.04和Ubuntu 18.10中。 |
Mesa 18.2.8两周前发布了,有以下变化:
对于坚持使用开源RadeonSI/RADV/Intel/Nouveau驱动程序并希望享受一些Linux游戏的用户,您可以按照以下步骤在Ubuntu 18.04和/或Ubuntu 18.10中安装Mesa 18.2.8:
1.通过Ctrl + Alt + T键盘快捷键或从软件启动器打开终端。 打开时,运行命令:
sudo add-apt-repository ppa:ubuntu-x-swat/updates
[sudo] linuxidc 的密码: Updated versions of X.org drivers, libraries, etc. for Ubuntu. This PPA is for stable upstream releases of X.org components. If you're looking for something even more bleeding-edge, please see the xorg-edgers PPA. While Ubuntu does not "officially/formally" support these packages, if you discover problems when installing these debs please feel free to report bugs to launchpad. However, please make sure to clearly state that you are running packages from this PPA so we know the fixes need to come here. If you are upgrading from one release to another with this PPA activated, please install the ppa-purge package and use it to downgrade everything in here beforehand. sudo ppa-purge ppa:ubuntu-x-swat/updates will do it. [Directions for packaging drivers can be seen at https://wiki.ubuntu.com/X/DriverBuilding] 更多信息: https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates 按 [ENTER] 继续或 Ctrl-c 取消安装。
提示时键入用户密码(无星号反馈),然后按Enter键继续。
2.添加PPA后,通过命令进行系统更新:
sudo apt-get dist-upgrade
在Ubuntu 18.04中不再需要apt-get update,因为添加PPA会自动刷新系统存储库。
3.最后通过命令检查驱动程序版本:
glxinfo | grep "OpenGL version"
OpenGL version string: 3.1 Mesa 18.2.8
卸载:
要恢复更改并降级到Ubuntu 18.04中提供的默认驱动,请运行命令:
sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/123865.html