CentOS安裝N卡驅動以及解決螢幕亮度不可調問題

來源:互聯網
上載者:User

CentOS安裝N卡驅動以及解決螢幕亮度不可調問題 首先,去Nvidia官網下載相應的顯卡驅動,注意語言選擇英文,中文的下載不下來。http://www.nvidia.cn/Download/index.aspx?lang=cn (使用wget下載,為了加快下載速度可以使用axel進行下載) 之後,怎麼安裝呢?1.安裝gcc,(顯卡驅動安裝時需要)2.禁用The Nouveau kernel driver,參考http://www.bkjia.com/os/201306/222161.html 3.安裝kernel-devel包     linux系統,未安裝該包時會提示:       error:unable to find the kernel source tree for the currently running kernel. please make sure you have installed the kernel source files for your kernel and that htey are properly configured; on red hat linux system, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. if you know the correct kernel source files are installed ,you may specify the kernel source path with the '--kernel-source-path' command line option.     安裝kernel-devel包:yum install kernel-devel-核心版本號碼,(核心版本號碼通過uname -r查看),然後在安裝顯卡驅動時指定路徑:./Nvidia*.sh –kernel-source-path=/usr/src/kernels/核心版本 螢幕亮度不可調的解決方案:目前安裝了最新的N卡驅動後,出現螢幕亮度不能調節的問題,解決辦法:修改/etc/X11/xorg.con檔案,找Section "Device",然後在相應的EndSection之前添加一行Option "RegistryDwords" "EnableBrightnessControl=1"儲存並重啟就可以了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.