Way*_*rer 5 nvidia laptop graphics intel-graphics drivers
我有一台集成了 Intel GPU 和 GeForce 940MX 的笔记本电脑。使用 nouveau 驱动程序 glxgears 工作正常,但使用专有的 nvidia 驱动程序则不是:
$ glxgears
Error: couldn't get an RGB, Double-buffered visual
Run Code Online (Sandbox Code Playgroud)
NVIDIA X 服务器设置没有任何设置: NVIDIA X 服务器设置
我尝试通过驱动程序管理器和 apt-get 手动安装nvidia-375和nvidia-381。驱动程序安装没有错误,但它们不起作用。
Nvidia Prime 有两个相同的选项可以切换到:
$ sudo prime-select nvidia
Info: the current GL alternatives in use are: ['nvidia-381-prime', 'nvidia-381-prime']
Info: the current EGL alternatives in use are: ['nvidia-381-prime', 'nvidia-381-prime']
Run Code Online (Sandbox Code Playgroud)
这是驱动程序管理器的屏幕截图: 驱动程序管理器
和 lspci:
$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
Subsystem: Lenovo Device 505c
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Subsystem: Lenovo GM108M [GeForce 940MX]
Kernel driver in use: nvidia
Run Code Online (Sandbox Code Playgroud)
更新: 这是来自 Xorg.0.log 的错误:
[ 13.919] (EE) [drm] Failed to open DRM device for (null): -22
[ 13.948] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助。
| 归档时间: |
|
| 查看次数: |
2197 次 |
| 最近记录: |