“libGL error: failed to load driver: nouveau ”启动失败问题

嗨,大家好,我的电脑是DELL笔记本,集成显卡和NVIDIA显卡,安装video-hybrid-intel-nvidia-440xx-prime驱动,系统信息和配置如下:

System:
  Host: qin-inspiron7559 Kernel: 5.7.9-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.19.3 tk: Qt 5.15.0 
  wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
CPU:
  Topology: Quad Core model: Intel Core i5-6300HQ bits: 64 type: MCP 
  arch: Skylake-S rev: 3 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 18406 
  Speed: 800 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 801 4: 800 
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:191b 
  Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Dell driver: nvidia 
  v: 440.100 bus ID: 02:00.0 chip ID: 10de:139b 
  Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia 
  alternate: fbdev,intel,nouveau,nv,vesa compositor: kwin_x11 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 20.1.3 
  direct render: Yes 

使用独显运行测试3D出现如下问题:

 DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL renderer string: Mesa Intel(R) HD Graphics 530 (SKL GT2)

如果使用DGPU提示出现此错误

DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa Intel(R) HD Graphics 530 (SKL GT2)

无错误,认为是nouveau 出现问题,查找/var/log/Xorg.0.log后发现错误信息

	信息	[     6.084] (==) Matched nouveau as autoconfigured driver 3
	信息	[     6.085] (II) LoadModule: "nouveau"
	信息	[     6.085] (WW) Warning, couldn't open module nouveau
	信息	[     6.085] (EE) Failed to load module "nouveau" (module does not exist, 0)

我想问的是:如何解决这个问题?

显卡不是很熟,如果是在setting里面安装的话,应该不会有这种问题。先试试bumblebee?

Hi,
看看這裡的說明有沒有幫助
https://wiki.archlinux.org/index.php/PRIME_(简体中文)

已经解决了,谢谢帮助

Forum kindly sponsored by