libGL error: failed to load driver: swrast
我遇到的问题是因为显卡工具包没安装,在运行steam的时候提示如下:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
解决方案:
#这是我的显卡驱动版本:'local/linux53-nvidia-440xx 440.59-1 (linux53-extramodules) NVIDIA drivers for linux'
#根据显卡驱动版本选择安装缺少的显卡工具包: 'lib32-nvidia-440xx-utils-440.59-1'
#搜索工具包(以下是Manjaro系统的操作指令)
[ligy@ligy-pc opt]$ pacman -Ss lib32-nvidia-
multilib/lib32-nvidia-340xx-utils 340.108-1
NVIDIA drivers utilities (32-bit)
multilib/lib32-nvidia-390xx-utils 390.132-1
NVIDIA drivers utilities (32-bit)
multilib/lib32-nvidia-418xx-utils 418.113-1
NVIDIA drivers utilities (32-bit)
multilib/lib32-nvidia-430xx-utils 430.64-1
NVIDIA drivers utilities (32-bit)
multilib/lib32-nvidia-435xx-utils 435.21-1
NVIDIA drivers utilities (32-bit)
multilib/lib32-nvidia-440xx-utils 440.59-1 [installed]
NVIDIA drivers utilities (32-bit)
multilib/lib32-nvidia-cg-toolkit 3.1-7
NVIDIA Cg libraries
archlinuxcn/lib32-nvidia-utils-beta 440.59-1
NVIDIA drivers utilities (32-bit) (Beta version)
#执行安装
[ligy@ligy-pc opt]$ pacman -S lib32-nvidia-440xx-utils
赞1
踩0