麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統 > Linux > 正文

ubuntu下 Nvidia顯卡驅動錯誤的解決

2024-08-28 00:18:52
字體:
來源:轉載
供稿:網友
在安裝beryl 和 Nvidia 官方驅動的時候并沒有清除原來的舊驅動,也可能是

This confuses nvidia-installer into thinking that your X server is very old and it installs the X modules in the wrong place. To work around this problem, use the following options:

# sh NVIDIA-Linux-version.run --x-module-path=`X -showDefaultModulePath 2>&1 | cut -d, -f1` --x-library-path=`X -showDefaultLibPath 2>&1`

總之,癥狀為每次重啟電腦都需要重新編譯 Nvidia 驅動才能進入 GDM(x win)。錯誤日志內容為:

Error: API mismatch: this NVIDIA driver component has version 100.14.11, but the NVIDIA kernel module's version does not match.Please make sure that the kernel module and all NVIDIA driver components have the same version.

我做了如下步驟(不是很清楚到底是那步起了作用還是都需要,你自己參考)

sudo apt-get remove nvidia-glx --purge

完全刪除 nvidia-glx

刪除 /etc/init.d/nvidia-glx 和 /etc/init.d/nvidia-kernel

修改 /etc/default/linux-restricted-modules-common 文件,加入

DISABLED_MODULES="nv nvidia_new"

我覺得很可能這步才是關鍵的!

倒霉的是我的聲卡是 Conexant(nVidia Corporation MCP51 High Definition Audio),于是乎,聲音沒有啦...

可以參考此文,部分內容如下:
the nvidia-glx package has been uninstalled with the --purge option and the files /etc/init.d/nvidia-glx and /etc/init.d/nvidia-kernel do not exist

You need to delete the legacy driver within /lib/modules directory
once you delete those, then install the nvidia drivers, and you'll be ok.

If you use Ubuntu, please also ensure that the linux-restricted-modules or linux-restricted-modules-common packages have been uninstalled. Alternatively, you can edit the /etc/default/linux-restricted-modules or /etc/default/linux-restricted-modules-common configuration file and disable the NVIDIA linux-restricted kernel modules (nvidia, nvidia_legacy) via:

DISABLED_MODULES="nv nvidia_new"

Additionally, delete the following file if it exists:

rm -f /lib/linux-restricted-modules/.nvidia_new_installed

Please note: unfortunately, it has become difficult to keep track of the pre-/post-installation steps required for [K]Ubuntu, and the above instructions may be incomplete. If in doubt, it is recommended that you use your distributor's NVIDIA Linux graphics driver packages, exclusively.
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 一区二区三区欧美在线观看 | 免费黄色欧美视频 | 国产精品视频在 | 精品中文字幕在线观看 | 老女人碰碰在线碰碰视频 | 欧美999| 亚洲午夜视频在线 | 黄色免费不卡视频 | 麻豆91精品91久久久 | 欧美精品一区二区三区四区 | 国产一区视频在线免费观看 | 色综合欧美 | 99精品国产成人一区二区 | 久久亚洲精品久久国产一区二区 | 羞羞视频免费网站男男 | 福利在线免费视频 | 黄在线观看在线播放720p | 久久在线免费视频 | 色阁五月 | 一级黄色毛片免费 | 神马福利电影 | 久久91久久久久麻豆精品 | 中文字幕观看 | 欧美亚洲免费 | 欧美成人小视频 | 亚洲一区在线免费视频 | 成人在线免费小视频 | 龙的两根好大拔不出去h | 国产亚洲精品久久久久久久 | 四虎久草 | 欧美日韩亚洲在线 | 免费黄色大片在线观看 | 欧美亚洲一级 | 黄色av片三级三级三级免费看 | 成人情欲视频在线看免费 | 色悠悠久久久久 | 最新一级毛片 | 欧美一级久久 | 激情夜色 | 天天草天天色 | 欧美一级二级毛片视频 |