这篇文章上次修改于 1282 天前,可能其部分内容已经发生变化,如有疑问可询问作者。

近些天我在安装完Arch+KDE后,在运行Tim和Wechat的时候死活报错,错误内容大概是这样的:

[1223/123422:INFO:exception_record.cc(518)] [QB]Process ID: 8 Type: 1
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  276
  Current serial number in output stream:  275

然后我试了一整天,包括gnome-setting-daemon也试过了,没有什么用,最后发现是显卡驱动少了一个库lib32-nvidia-utils

sudo pacman -S lib32-nvidia-utils