Nvidia驱动程序问题,未使用驱动程序

不好了

昨天,我尝试使用XBMC观看2D模式的3D电影时,发现对我而言这是行不通的。我查看了从命令行运行XBMC时遇到的一些错误:

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
libva info: va_openDriver() returns -1
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory

我必须指出,我第一次遇到此错误时,它不是“ ... nvidia.so”,而是新风格-我认为这已经改变了,因为我试图切换到nouveau,然后又回到Nvidia。现在,我实际上无法返回Nvidia驱动程序(这很糟糕,因为到目前为止,我只是使用“其他驱动程序”设置来回切换)。

尝试清除Nvidia驱动程序后,因为我注意到已安装了Nvidia X Server设置,但不包含任何设置,只有两个页面:Application Profiles和nvidia-settings Configuration。我试图通过“其他驱动程序”工具安装Nvidia驱动程序331.38,但未成功。其他驱动程序将Nvidia 331.38显示为活动状态,但我的xorg日志明确指出:

[   352.415] (==) Matched nvidia as autoconfigured driver 0
[   352.415] (==) Matched nouveau as autoconfigured driver 1
[   352.415] (==) Matched nvidia as autoconfigured driver 2
[   352.415] (==) Matched nouveau as autoconfigured driver 3
[   352.415] (==) Matched modesetting as autoconfigured driver 4
[   352.415] (==) Matched fbdev as autoconfigured driver 5
[   352.415] (==) Matched vesa as autoconfigured driver 6
[   352.415] (==) Assigned the driver to the xf86ConfigLayout
[   352.415] (II) LoadModule: "nvidia"
[   352.495] (WW) Warning, couldn't open module nvidia
[   352.495] (II) UnloadModule: "nvidia"
[   352.495] (II) Unloading nvidia
[   352.495] (EE) Failed to load module "nvidia" (module does not exist, 0)

我试图再安装一次Nvidia驱动程序,但是libva仍然出现相同的错误。看来我的系统现在正在使用nouveau,但是nouveau实际上已在“ /etc/modprobe.d/nvidia-331_hybrid.conf”中列入黑名单(请注意,我安装了geforce 660 TI-不是混合卡)

我到处寻找解决方案,但到目前为止似乎没有任何效果。我在某处做错了吗?我真的很想让Nvidia驱动程序再次工作,甚至可能找出为什么我的libva会抛出这些错误。

最重要的是,我刚刚在系统日志中找到了它(必须是在上次Nvidia重新安装之前,因为我不再收到这些消息了):

kernel: [   50.126660] nvidia: module license 'NVIDIA' taints kernel.
kernel: [   50.126665] Disabling lock debugging due to kernel taint
kernel: [   50.130161] nvidia: module verification failed: signature and/or  required key missing - tainting kernel
kernel: [   50.134126] NVRM: The NVIDIA probe routine was not called for 1 device(s).
kernel: [   50.134130] NVRM: This can occur when a driver such as: 
kernel: [   50.134130] NVRM: nouveau, rivafb, nvidiafb or rivatv 
kernel: [   50.134130] NVRM: was loaded and obtained ownership of the NVIDIA device(s).
kernel: [   50.134133] NVRM: Try unloading the conflicting kernel module (and/or
kernel: [   50.134133] NVRM: reconfigure your kernel without the conflicting
kernel: [   50.134133] NVRM: driver(s)), then try loading the NVIDIA kernel module
kernel: [   50.134133] NVRM: again.
kernel: [   50.134136] NVRM: No NVIDIA graphics adapter probed!
kernel: [   50.134137] [drm] Module unloaded
kernel: [   50.134203] NVRM: NVIDIA init module failed!

感谢您的阅读,如果您认为缺少重要信息,请告诉我。

欢迎所有链接和有关此的更多信息(因为这让我发疯了!):)

不好了

我找到了解决我问题的方法。

黑名单新功能:

sudo nano /etc/modprobe.d/blacklist-nouveau.conf

类型:

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off

Ctrl + O和Ctrl + X退出。

之后,我只是停止了x服务器并重建了initramfs。

Ctrl + Alt + F1转到TTY1。登录。

sudo service lightdm stop
sudo update-initramfs -u

重新启动shutdown -r 0vainfo仍会返回错误,但还会显示有关配置文件和入口点的信息。像这样:

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

现在唯一可悲的是,我不知道是什么原因造成的。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章