linux系统nvidia显卡驱动为什么不能调节linux 亮度调节

我就纳闷了,Linux下Nvidia显卡驱动一直安装失败
发布:站生 | 发布时间: 日
今天 刚计划着把Linux的知识复习一下,结果就出问题了,忙了几个小时了系统也没搞好,显卡驱动一直装不上,我就纳闷了,同一张系统盘,同一个驱动文件,在N个月后却装不上,提示什么失败之类的,下面是错误,先记录下来,有待于解决。nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sat Oct 3 23:45:19 2009 option status: license pre-accepted : false update : false force update : false,同样参考nvidia要求的最低gcc版 expert : false uninstall : false driver info : false precompiled interfaces : true no ncurses color : false query latest version : false OpenGL header files : true no questions : false silent : false no recursion : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false no kernel module : false force SELinux : default no X server check : false no cc version check : false force tls : (not specified) X install prefix : (not specified) X library install path : (not specified) X module install path : (not specified) OpenGL install prefix : (not specified) OpenGL install libdir : (not specified) utility install prefix : (not specified) utility install libdir : (not specified) doc install prefix : (not specified) kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) kernel output path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) Using: nvidia-installer ncurses user interface -& License accepted. -& No precompiled kernel interface was found
would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -& No matching precompiled kernel interface was found on the NVIDIA this means that the installer will need to compile a kernel interface for your kernel. ERROR: Unable to find the development tool `cc` please make sure that you have the package 'gcc' installed. If gcc is installed on your system, then please check that `cc` is in your PATH. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.经过一番上网查询,大概有两种原因:第一:没装内核源码 或者 内核源码版本过低第二: 没装gcc 或者 gcc版本过低于是想到前曾经给自己电脑上装Linux显卡驱动时,选择了大部分软件包,而这次没有选择软件,选择的稍候定制,才导致没有安装 gcc,导致程序无法编译而出错。
发布:站生 | 分类:Linux | 评论:0 | 引用:0 | 浏览:
&&( 23:8:23)&&( 23:7:52)&&( 23:5:22)&&( 23:4:54)&&( 23:4:22)&&( 23:3:5)&&( 22:51:6)&&( 22:45:32)&&( 22:38:10)&&( 22:35:14)
邮箱(有回复时邮件通知)
正文(*)(留言最长字数:1000)
记住我,下次回复时不用重新输入个人信息
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。安装 Ubuntu,对于 NVIDIA 显卡,默认情况下会使用第三方开源驱动,并且一般情况下,第三方开源驱动和系统兼容性更好。由于 NVIDIA 显卡驱动不是开放的,所以对 Linux 系统的原生支持要差一点,会引入一些小问题。所以,一般情况下,如果不是特别必要,使用第三方开源驱动是个好选择。
但如果要做 CUDA 相关开发,就必须使用 NVIDIA 官方驱动。
不要手动安装。应该在 Software & Updates 的 Additional Drivers 下找到可用的显卡驱动选项。如下图,选择使用最新的 340.98 驱动,然后 Apply Changes,系统会自动下载安装驱动。安装完成,重启系统。
2. 遇到的问题。
重启系统后发现,屏幕亮度调节 Fn + 亮/暗 键无效。解决方法如下,
- 更改显卡配置文件,在目录 /usr/share/X11/xorg.conf.d 下新建配置文件 10-nvidia.conf,添加如下内容,
1 Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "EnableBrightnessControl=1"
Option "NoLogo" "True"
7 EndSection
- 更改 grub 启动参数,打开 /etc/default 下的 grub 文件,修改如下,
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
更新 grub 启动菜单,
# update-grub
重启,即可解决亮度调节问题。
阅读(...) 评论()像Terraria的主人公一样探索世界
解决linux安装nvidia驱动后无法调节亮度的问题
Linux一般使用自带的nouveau驱动,但大部分人为了能充分发挥显卡的性能,会选择安装nvidia驱动。安装nvidia驱动的方法我就不细谈了,这里主要讲的是安装后的善后。
一般装完驱动之后,会发现无法用笔记本的fn键调节亮度,而且开机时会有一个巨大的nvidia图标,甚是难看,本文将手把手教你解决这些问题。
1. 比较老的系统
对于比较老的系统,如我的CentOS 6.5,所有的显卡驱动配置都存在/etc/X11/xorg.conf这个文件中,文件分为不同的Section,分别定义不同的功能,亮度相关的功能在Device部分。
因此,在Section "Device"部分添加
"RegistryDwords"
"EnableBrightnessControl=1"
"True"保存重启后,开机的nvidia图标就消失了,也可以用fn键调节亮度了。
2. 比较新的系统
对于比较新的系统,如Linux Mint 17,不再存在/etc/X11/xorg.conf这个文件,显卡驱动配置在/usr/share/X11/xorg.conf.d/这个文件夹下,配置被分配在了不同的文件中,每个文件定义一部分的功能,自己也可以新建一个文件来定义一部分功能。
因此,新建一个配置文件
sudo vi /usr/share/X11/xorg.conf.d/10-nvidia.conf
写入以下代码
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "EnableBrightnessControl=1"
Option "NoLogo" "True"
EndSection保存重启后即可。
没有更多推荐了,&>&Nvidia笔记本显卡在ubuntu Linux中调节亮度.txt
Nvidia笔记本显卡在ubuntu Linux中调节亮度.txt
上传大小:885B
Nvidia笔记本显卡在ubuntu Linux中调节亮度.txt
综合评分:3
{%username%}回复{%com_username%}{%time%}\
/*点击出现回复框*/
$(".respond_btn").on("click", function (e) {
$(this).parents(".rightLi").children(".respond_box").show();
e.stopPropagation();
$(".cancel_res").on("click", function (e) {
$(this).parents(".res_b").siblings(".res_area").val("");
$(this).parents(".respond_box").hide();
e.stopPropagation();
/*删除评论*/
$(".del_comment_c").on("click", function (e) {
var id = $(e.target).attr("id");
$.getJSON('/index.php/comment/do_invalid/' + id,
function (data) {
if (data.succ == 1) {
$(e.target).parents(".conLi").remove();
alert(data.msg);
$(".res_btn").click(function (e) {
var parentWrap = $(this).parents(".respond_box"),
q = parentWrap.find(".form1").serializeArray(),
resStr = $.trim(parentWrap.find(".res_area_r").val());
console.log(q);
//var res_area_r = $.trim($(".res_area_r").val());
if (resStr == '') {
$(".res_text").css({color: "red"});
$.post("/index.php/comment/do_comment_reply/", q,
function (data) {
if (data.succ == 1) {
var $target,
evt = e || window.
$target = $(evt.target || evt.srcElement);
var $dd = $target.parents('dd');
var $wrapReply = $dd.find('.respond_box');
console.log($wrapReply);
//var mess = $(".res_area_r").val();
var mess = resS
var str = str.replace(/{%header%}/g, data.header)
.replace(/{%href%}/g, 'http://' + window.location.host + '/user/' + data.username)
.replace(/{%username%}/g, data.username)
.replace(/{%com_username%}/g, data.com_username)
.replace(/{%time%}/g, data.time)
.replace(/{%id%}/g, data.id)
.replace(/{%mess%}/g, mess);
$dd.after(str);
$(".respond_box").hide();
$(".res_area_r").val("");
$(".res_area").val("");
$wrapReply.hide();
alert(data.msg);
}, "json");
/*删除回复*/
$(".rightLi").on("click", '.del_comment_r', function (e) {
var id = $(e.target).attr("id");
$.getJSON('/index.php/comment/do_comment_del/' + id,
function (data) {
if (data.succ == 1) {
$(e.target).parent().parent().parent().parent().parent().remove();
$(e.target).parents('.res_list').remove()
alert(data.msg);
//填充回复
function KeyP(v) {
var parentWrap = $(v).parents(".respond_box");
parentWrap.find(".res_area_r").val($.trim(parentWrap.find(".res_area").val()));
评论共有1条
一般般吧,可能是跟我的系统不符合,运行不了
VIP会员动态
CSDN下载频道资源及相关规则调整公告V11.10
下载频道用户反馈专区
下载频道积分规则调整V1710.18
spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip
资源所需积分/C币
当前拥有积分
当前拥有C币
输入下载码
为了良好体验,不建议使用迅雷下载
Nvidia笔记本显卡在ubuntu Linux中调节亮度.txt
会员到期时间:
剩余下载个数:
剩余积分:0
为了良好体验,不建议使用迅雷下载
积分不足!
资源所需积分/C币
当前拥有积分
您可以选择
程序员的必选
绿色安全资源
资源所需积分/C币
当前拥有积分
当前拥有C币
为了良好体验,不建议使用迅雷下载
资源所需积分/C币
当前拥有积分
当前拥有C币
为了良好体验,不建议使用迅雷下载
资源所需积分/C币
当前拥有积分
当前拥有C币
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
无法举报自己的资源
你当前的下载分为234。
你还不是VIP会员
开通VIP会员权限,免积分下载
你下载资源过于频繁,请输入验证码
您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:!
若举报审核通过,可返还被扣除的积分
被举报人:
请选择类型
资源无法下载 ( 404页面、下载失败、资源本身问题)
资源无法使用 (文件损坏、内容缺失、题文不符)
侵犯版权资源 (侵犯公司或个人版权)
虚假资源 (恶意欺诈、刷分资源)
含色情、危害国家安全内容
含广告、木马病毒资源
*投诉人姓名:
*投诉人联系方式:
*版权证明:
*详细原因:
Nvidia笔记本显卡在ubuntu Linux中调节亮度.txt

我要回帖

更多关于 linux没有亮度调节 的文章

 

随机推荐