Ubuntu20.04安装Steam报错及解决
2021/6/1 7:25:40
本文主要是介绍Ubuntu20.04安装Steam报错及解决,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
Ubuntu上steam的三种下载方式
- 官网点击“安装STEAM”按钮
- 终端输入
sudo apt install steam
- ubuntu软件中心搜索steam-installer并安装
问题
这三种方法下下来的steam都是installer,双击后出来一个updating的进度条,但是一瞬间就消失了。
(图片来源:https://blog.csdn.net/weixin_38233274/article/details/80231546)
都说是32bit的兼容性问题,但是我又不敢重装显卡驱动怕出问题。试了很多网上的方法,升级apt,装各种依赖包等,都不行。
解决方案
在终端直接运行steam
同样是updating进度条秒没,终端显示:
(图片来源:https://askubuntu.com/questions/1161090/steam-is-not-working-steamupdateui-an-x-error-occurred)
去查了这个错误,正好跟我一模一样的,按照这个帖子的解决方式终于成功打开了,应该是缺少显卡驱动的部分配置和更新:
To get the latest Nvidia drivers it is necessary to add the Proprietary GPU Drivers PPA:sudo add-apt-repository ppa:graphics-drivers/ppa
Enable 32 bit architecture (if you haven’t already):sudo dpkg --add-architecture i386
Update to refresh packages:sudo apt update
Warning: Please ensure your graphics card is supported by the 430 driver before installing. For a list of supported GPUs click here: https://www.nvidia.com/Download/driverResults.aspx/149138/en-us
Install the 440.82 driver:sudo apt install nvidia-driver-440 libnvidia-gl-440 libnvidia-gl-440:i386 //这边根据自己的显卡需求来,我是460的,所以把命令里的所有440改成460
Install support for Vulkan API (will be functional only if you have a Vulkan capable GPU):sudo apt install libvulkan1 libvulkan1:i386
重启后终端运行steam
,成功!
这篇关于Ubuntu20.04安装Steam报错及解决的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-07-03万字长文聊聊Web3的组成架构
- 2024-07-02springboot项目无法注册到nacos-icode9专业技术文章分享
- 2024-06-26结对编程到底难不难?答案在这里
- 2024-06-19《2023版Java工程师》课程升级公告
- 2024-06-15matplotlib作图不显示3D图,怎么办?
- 2024-06-1503-Loki 日志监控
- 2024-06-1504-让LLM理解知识 -Prompt
- 2024-06-05做软件测试需要懂代码吗?
- 2024-06-0514-ShardingSphere的分布式主键实现
- 2024-06-03为什么以及如何要进行架构设计权衡?