nvidia backlight brightness problem
Problem
Unity shows control while I press the Fn+Increase/Descrese brightness, but nothing happens. In console brightness doesn't work too while X server is running.
Checked solutions
I have tried ALL POSSIBLE solutions of this problem in google and nothing works:
- write acpi_backlight in grub
- reinstall drivers with apt purge nvidia*
- write "EnableBrightnessControl=1" in xorg.conf
- install nvidia-375.66, nvidia-378.13, 381.22, 384.47
- "xbacklight -set X" doesn't work
- changing /sys/class/backlight/brightness
- update linux kernel from 4.8 to 4.10 and 4.12
- replace EDID from old matrix (it breaks everything)
- setpci -v -H1 -s 00:01.0 3e.W=0 and then change backlight using Fn+keys.
- xrandr --output DP-0 --brightness 0.5 --- bad solution
My system and situation
I used N173HHE-G32 display matrix in my laptop before and everything was OK. But today I've replaced it to B173HAN01.2 and this problem has started. On Windows 10 I've solved it by reinstalling drivers on nvidia-376 from official MSI website.
So, I can see the next sequence: at laptop start brightness is maximum, then it is minimum (and working) while "initramfs ..." text is showing in console. And after X server starts brightness is maximum (broken) again. When X server stops brightness is working again!
MSI GT73VR 7RF, Ubuntu 16.04.2 LTS, NVidia GeForce GTX1080, B173HAN01.2 display matrix
uname -a
4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be0 (rev a1)
However!
But when I use nvidia-378 it WORKS! Unfortunately
378 has a critical bugs after suspend mode in Unity interface :(((
Please help, my eyes are in blood (it's very bright for them) and I don't know what to do...
16.04 nvidia xorg brightness backlight
|
show 5 more comments
Problem
Unity shows control while I press the Fn+Increase/Descrese brightness, but nothing happens. In console brightness doesn't work too while X server is running.
Checked solutions
I have tried ALL POSSIBLE solutions of this problem in google and nothing works:
- write acpi_backlight in grub
- reinstall drivers with apt purge nvidia*
- write "EnableBrightnessControl=1" in xorg.conf
- install nvidia-375.66, nvidia-378.13, 381.22, 384.47
- "xbacklight -set X" doesn't work
- changing /sys/class/backlight/brightness
- update linux kernel from 4.8 to 4.10 and 4.12
- replace EDID from old matrix (it breaks everything)
- setpci -v -H1 -s 00:01.0 3e.W=0 and then change backlight using Fn+keys.
- xrandr --output DP-0 --brightness 0.5 --- bad solution
My system and situation
I used N173HHE-G32 display matrix in my laptop before and everything was OK. But today I've replaced it to B173HAN01.2 and this problem has started. On Windows 10 I've solved it by reinstalling drivers on nvidia-376 from official MSI website.
So, I can see the next sequence: at laptop start brightness is maximum, then it is minimum (and working) while "initramfs ..." text is showing in console. And after X server starts brightness is maximum (broken) again. When X server stops brightness is working again!
MSI GT73VR 7RF, Ubuntu 16.04.2 LTS, NVidia GeForce GTX1080, B173HAN01.2 display matrix
uname -a
4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be0 (rev a1)
However!
But when I use nvidia-378 it WORKS! Unfortunately
378 has a critical bugs after suspend mode in Unity interface :(((
Please help, my eyes are in blood (it's very bright for them) and I don't know what to do...
16.04 nvidia xorg brightness backlight
Perhaps the best course is the 378 driver and fixing the suspend/resume bugs with it. What are the bugs?
– WinEunuuchs2Unix
Jul 16 '17 at 19:31
Bugs with Unity interface - some artifacts around the borders of windows and menus. There is description - bugs.launchpad.net/ubuntu/+source/unity/+bug/1675597
– Max Tkachenko
Jul 16 '17 at 19:47
I think someone said a month or two ago it has been fixed in version 381 or something like that. I think it was askubuntu.com/users/15811/rinzwind who said it but askubuntu.com/users/167850/pilot6 I believe is another expert.
– WinEunuuchs2Unix
Jul 16 '17 at 21:04
Bug with suspend is fixed, but backlight is not working :( i have tried 381..and many other versions..
– Max Tkachenko
Jul 16 '17 at 21:59
Can you update your question with the output of:for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/actual_brightness; cat $i/max_brightness; done
– WinEunuuchs2Unix
Jul 16 '17 at 23:50
|
show 5 more comments
Problem
Unity shows control while I press the Fn+Increase/Descrese brightness, but nothing happens. In console brightness doesn't work too while X server is running.
Checked solutions
I have tried ALL POSSIBLE solutions of this problem in google and nothing works:
- write acpi_backlight in grub
- reinstall drivers with apt purge nvidia*
- write "EnableBrightnessControl=1" in xorg.conf
- install nvidia-375.66, nvidia-378.13, 381.22, 384.47
- "xbacklight -set X" doesn't work
- changing /sys/class/backlight/brightness
- update linux kernel from 4.8 to 4.10 and 4.12
- replace EDID from old matrix (it breaks everything)
- setpci -v -H1 -s 00:01.0 3e.W=0 and then change backlight using Fn+keys.
- xrandr --output DP-0 --brightness 0.5 --- bad solution
My system and situation
I used N173HHE-G32 display matrix in my laptop before and everything was OK. But today I've replaced it to B173HAN01.2 and this problem has started. On Windows 10 I've solved it by reinstalling drivers on nvidia-376 from official MSI website.
So, I can see the next sequence: at laptop start brightness is maximum, then it is minimum (and working) while "initramfs ..." text is showing in console. And after X server starts brightness is maximum (broken) again. When X server stops brightness is working again!
MSI GT73VR 7RF, Ubuntu 16.04.2 LTS, NVidia GeForce GTX1080, B173HAN01.2 display matrix
uname -a
4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be0 (rev a1)
However!
But when I use nvidia-378 it WORKS! Unfortunately
378 has a critical bugs after suspend mode in Unity interface :(((
Please help, my eyes are in blood (it's very bright for them) and I don't know what to do...
16.04 nvidia xorg brightness backlight
Problem
Unity shows control while I press the Fn+Increase/Descrese brightness, but nothing happens. In console brightness doesn't work too while X server is running.
Checked solutions
I have tried ALL POSSIBLE solutions of this problem in google and nothing works:
- write acpi_backlight in grub
- reinstall drivers with apt purge nvidia*
- write "EnableBrightnessControl=1" in xorg.conf
- install nvidia-375.66, nvidia-378.13, 381.22, 384.47
- "xbacklight -set X" doesn't work
- changing /sys/class/backlight/brightness
- update linux kernel from 4.8 to 4.10 and 4.12
- replace EDID from old matrix (it breaks everything)
- setpci -v -H1 -s 00:01.0 3e.W=0 and then change backlight using Fn+keys.
- xrandr --output DP-0 --brightness 0.5 --- bad solution
My system and situation
I used N173HHE-G32 display matrix in my laptop before and everything was OK. But today I've replaced it to B173HAN01.2 and this problem has started. On Windows 10 I've solved it by reinstalling drivers on nvidia-376 from official MSI website.
So, I can see the next sequence: at laptop start brightness is maximum, then it is minimum (and working) while "initramfs ..." text is showing in console. And after X server starts brightness is maximum (broken) again. When X server stops brightness is working again!
MSI GT73VR 7RF, Ubuntu 16.04.2 LTS, NVidia GeForce GTX1080, B173HAN01.2 display matrix
uname -a
4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be0 (rev a1)
However!
But when I use nvidia-378 it WORKS! Unfortunately
378 has a critical bugs after suspend mode in Unity interface :(((
Please help, my eyes are in blood (it's very bright for them) and I don't know what to do...
16.04 nvidia xorg brightness backlight
16.04 nvidia xorg brightness backlight
edited Jul 16 '17 at 17:39
asked Jul 12 '17 at 21:31
Max Tkachenko
8619
8619
Perhaps the best course is the 378 driver and fixing the suspend/resume bugs with it. What are the bugs?
– WinEunuuchs2Unix
Jul 16 '17 at 19:31
Bugs with Unity interface - some artifacts around the borders of windows and menus. There is description - bugs.launchpad.net/ubuntu/+source/unity/+bug/1675597
– Max Tkachenko
Jul 16 '17 at 19:47
I think someone said a month or two ago it has been fixed in version 381 or something like that. I think it was askubuntu.com/users/15811/rinzwind who said it but askubuntu.com/users/167850/pilot6 I believe is another expert.
– WinEunuuchs2Unix
Jul 16 '17 at 21:04
Bug with suspend is fixed, but backlight is not working :( i have tried 381..and many other versions..
– Max Tkachenko
Jul 16 '17 at 21:59
Can you update your question with the output of:for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/actual_brightness; cat $i/max_brightness; done
– WinEunuuchs2Unix
Jul 16 '17 at 23:50
|
show 5 more comments
Perhaps the best course is the 378 driver and fixing the suspend/resume bugs with it. What are the bugs?
– WinEunuuchs2Unix
Jul 16 '17 at 19:31
Bugs with Unity interface - some artifacts around the borders of windows and menus. There is description - bugs.launchpad.net/ubuntu/+source/unity/+bug/1675597
– Max Tkachenko
Jul 16 '17 at 19:47
I think someone said a month or two ago it has been fixed in version 381 or something like that. I think it was askubuntu.com/users/15811/rinzwind who said it but askubuntu.com/users/167850/pilot6 I believe is another expert.
– WinEunuuchs2Unix
Jul 16 '17 at 21:04
Bug with suspend is fixed, but backlight is not working :( i have tried 381..and many other versions..
– Max Tkachenko
Jul 16 '17 at 21:59
Can you update your question with the output of:for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/actual_brightness; cat $i/max_brightness; done
– WinEunuuchs2Unix
Jul 16 '17 at 23:50
Perhaps the best course is the 378 driver and fixing the suspend/resume bugs with it. What are the bugs?
– WinEunuuchs2Unix
Jul 16 '17 at 19:31
Perhaps the best course is the 378 driver and fixing the suspend/resume bugs with it. What are the bugs?
– WinEunuuchs2Unix
Jul 16 '17 at 19:31
Bugs with Unity interface - some artifacts around the borders of windows and menus. There is description - bugs.launchpad.net/ubuntu/+source/unity/+bug/1675597
– Max Tkachenko
Jul 16 '17 at 19:47
Bugs with Unity interface - some artifacts around the borders of windows and menus. There is description - bugs.launchpad.net/ubuntu/+source/unity/+bug/1675597
– Max Tkachenko
Jul 16 '17 at 19:47
I think someone said a month or two ago it has been fixed in version 381 or something like that. I think it was askubuntu.com/users/15811/rinzwind who said it but askubuntu.com/users/167850/pilot6 I believe is another expert.
– WinEunuuchs2Unix
Jul 16 '17 at 21:04
I think someone said a month or two ago it has been fixed in version 381 or something like that. I think it was askubuntu.com/users/15811/rinzwind who said it but askubuntu.com/users/167850/pilot6 I believe is another expert.
– WinEunuuchs2Unix
Jul 16 '17 at 21:04
Bug with suspend is fixed, but backlight is not working :( i have tried 381..and many other versions..
– Max Tkachenko
Jul 16 '17 at 21:59
Bug with suspend is fixed, but backlight is not working :( i have tried 381..and many other versions..
– Max Tkachenko
Jul 16 '17 at 21:59
Can you update your question with the output of:
for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/actual_brightness; cat $i/max_brightness; done– WinEunuuchs2Unix
Jul 16 '17 at 23:50
Can you update your question with the output of:
for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/actual_brightness; cat $i/max_brightness; done– WinEunuuchs2Unix
Jul 16 '17 at 23:50
|
show 5 more comments
7 Answers
7
active
oldest
votes
The ultimate reference seems to be in Arch Linux which is a site I've turned to many times to fix difficult problems.
Kernel Parameters
Looking at your cat /proc/cmdline there are no extra kernel parameters passed. The above link states:
Sometimes, ACPI does not work well due to different motherboard implementations and ACPI quirks. This includes some laptops with dual graphics (e.g. Nvidia/Radeon dedicated GPU with Intel/AMD integrated GPU). On Nvidia Optimus laptops, the kernel parameter nomodeset can interfere with the ability to adjust the backlight. Additionally, ACPI sometimes needs to register its own acpi_video0 backlight even if one already exists (such as intel_backlight), which can be done by adding one of the following kernel parameters:
acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
If you find that changing the acpi_video0 backlight does not actually change the brightness, you may need to use acpi_backlight=none.
Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line
When xbacklight doesn't work
You've tried xbacklight already and the link above addresses this:
On some systems, the brighness hotkeys on your keyboard correctly modify the values of the acpi interface in /sys/class/backlight/acpi_video0/actual_brightness (As we tried in comments) but the brightness of the screen is not changed. Brigthness applets from desktop environments (ie Ubuntu brightness setting slider bar) may also show changes to no effect.
If you have tested the recommended kernel parameters and only xbacklight works, then you may be facing an incompatibility between your BIOS and kernel driver.
In this case the only solution is to wait for a fix either from the BIOS or GPU driver manufacturer.
A workaround is to use the inotify kernel api to trigger xbacklight each time the value of /sys/class/backlight/acpi_video0/actual_brightness changes.
First install inotify-tools. Then create a script around inotify that will be launched upon each boot or through autostart.
Below is script you need to create called: /usr/local/bin/xbacklightmon
#!/bin/sh
path=/sys/class/backlight/acpi_video0
luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%dn' "$((level * factor))"
}
read -r max < "$path"/max_brightness
xbacklight -set "$(luminance)"
inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
xbacklight -set "$(luminance)"
done
There is a lot more in the link above but these steps are a good place to start.
Dedicated Forums
For additional support there are dedicated Linux Graphics forums:
- Phoronix Linux/AMD/Nvidia support with many Ubuntu users
- Nvidia Linux Developers Forum (with many Ubuntu specific topics)
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
add a comment |
Hi I apologise if this is something the clever people have already ruled out, as I am far from familiar with the command line, but after a reinstall i hit this problem and all the above solutions didn't work for me
(MSI pe706QE nvidia 960m).
I was editing /etc/default/grub by:
gksudo 'insert editor of choice not in quotes' /etc/default/grub
and noticed the nomodeset was still sitting in the bottom of the file (I don't remember permanently adding it) and removed it.
save the file and run:
sudo update-grub
all working again with shortcut keys #noobie fail
hope this can help someone.
add a comment |
clone this repo and paste the script backlight.sh into /bin. then make it executable and after this open a root terminal and execute the following command.
sudo backlight.sh "brightness-level-number".
to clone the repository,
git clone https://github.com/el-beth/backlight.sh.git
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
it's not/sys/class/backlight/0/brightnessthe correct path is/sys/class/backlight/acpi_video0/brightness
– endrias
Jul 17 '17 at 7:27
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
add a comment |
You could install package of command xbacklight in terminal:
sudo apt-get install --reinstall xbacklight
After installation you could use command xbacklight as follows:
xbacklight -inc 20 # increase backlight by 20%
xbacklight -dec 30 # decrease by 30%
xbacklight -set 80 # set to 80% of max value
xbacklight -get # get the current level
Command xbacklight should work this way.
1
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
add a comment |
I have a Sony VPCEH notebook, I had the same problem.
I tried this solution that worked for me: http://ubuntuforums.org/showthread.php?t=2221452#6
Briefly:
With root privileges, create the file /usr/share/X11/xorg.conf.d/20-nvidia.conf with the following content
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 410M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and back in again to test.
And it gently adds: "If something goes wrong, simply delete that file and reboot to recover the system."
But I didn't need that addition. After logout and login the brightness control started to work again.
I hope it helps you too...
or this one after works with ubuntu 16.04 under my laptop sony VPCEJ2C5E but with nvidia 378.13 i don't have use for the moment the 390.25 drivers.
I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04.
These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates.
So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g:
sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf
Paste the following into the file:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K1000M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and log back in, or reboot, and your brightness keys should now work!
enter image description here
add a comment |
Per wineunuuchs2unix's request, I am reposting my answer to a similar question here.
Try acpi_osi=
On upgrading to Bionic a few days ago, I encountered a similar problem (I have an NVIDIA GeForce GTX 1060 Mobile, but for me /sys/class/backlight is showing as empty).
In working through the backlight debugging procedure, I discovered a workaround via kernel parameters:
- In "Software & Updates" → "Additional Drivers", make sure that you have
nvidia-driver-396(or whichever metapackage is current; 396 is the latest at the time of writing) selected. - Edit
/etc/default/grubby running the commandsudo nano /etc/default/grub(optionally replacingnanowith your favorite editor). - Find the line that sets
GRUB_CMDLINE_LINUX_DEFAULTand addacpi_osi=at the end inside of the quotes. On most systems this will leave you with a line readingGRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=". - Save and exit the editor.
- Run the command
sudo update-gruband reboot.
(If these steps do not work, restore your settings by repeating the process, but removing acpi_osi= when you edit the GRUB configuration.)
Another workaround, if it is an option for you, is to switch to a mainline kernel. In particular, I do not see the problem under mainline kernel version 4.17.
(Bug reported here.)
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
add a comment |
one program to solve all this problem !!!
i have GTX 1060 6Gb desktop ubuntu 16.04
NO need to do anything, just install brightness-controller with the ppa :
https://launchpad.net/~apandada1/+archive/ubuntu/brightness-controller/
solved the issue for me (see screenshots)
however it conflicts with redshift so you need to remove redshift
you can add it to startup for convenient use
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f935585%2fnvidia-backlight-brightness-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
The ultimate reference seems to be in Arch Linux which is a site I've turned to many times to fix difficult problems.
Kernel Parameters
Looking at your cat /proc/cmdline there are no extra kernel parameters passed. The above link states:
Sometimes, ACPI does not work well due to different motherboard implementations and ACPI quirks. This includes some laptops with dual graphics (e.g. Nvidia/Radeon dedicated GPU with Intel/AMD integrated GPU). On Nvidia Optimus laptops, the kernel parameter nomodeset can interfere with the ability to adjust the backlight. Additionally, ACPI sometimes needs to register its own acpi_video0 backlight even if one already exists (such as intel_backlight), which can be done by adding one of the following kernel parameters:
acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
If you find that changing the acpi_video0 backlight does not actually change the brightness, you may need to use acpi_backlight=none.
Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line
When xbacklight doesn't work
You've tried xbacklight already and the link above addresses this:
On some systems, the brighness hotkeys on your keyboard correctly modify the values of the acpi interface in /sys/class/backlight/acpi_video0/actual_brightness (As we tried in comments) but the brightness of the screen is not changed. Brigthness applets from desktop environments (ie Ubuntu brightness setting slider bar) may also show changes to no effect.
If you have tested the recommended kernel parameters and only xbacklight works, then you may be facing an incompatibility between your BIOS and kernel driver.
In this case the only solution is to wait for a fix either from the BIOS or GPU driver manufacturer.
A workaround is to use the inotify kernel api to trigger xbacklight each time the value of /sys/class/backlight/acpi_video0/actual_brightness changes.
First install inotify-tools. Then create a script around inotify that will be launched upon each boot or through autostart.
Below is script you need to create called: /usr/local/bin/xbacklightmon
#!/bin/sh
path=/sys/class/backlight/acpi_video0
luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%dn' "$((level * factor))"
}
read -r max < "$path"/max_brightness
xbacklight -set "$(luminance)"
inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
xbacklight -set "$(luminance)"
done
There is a lot more in the link above but these steps are a good place to start.
Dedicated Forums
For additional support there are dedicated Linux Graphics forums:
- Phoronix Linux/AMD/Nvidia support with many Ubuntu users
- Nvidia Linux Developers Forum (with many Ubuntu specific topics)
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
add a comment |
The ultimate reference seems to be in Arch Linux which is a site I've turned to many times to fix difficult problems.
Kernel Parameters
Looking at your cat /proc/cmdline there are no extra kernel parameters passed. The above link states:
Sometimes, ACPI does not work well due to different motherboard implementations and ACPI quirks. This includes some laptops with dual graphics (e.g. Nvidia/Radeon dedicated GPU with Intel/AMD integrated GPU). On Nvidia Optimus laptops, the kernel parameter nomodeset can interfere with the ability to adjust the backlight. Additionally, ACPI sometimes needs to register its own acpi_video0 backlight even if one already exists (such as intel_backlight), which can be done by adding one of the following kernel parameters:
acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
If you find that changing the acpi_video0 backlight does not actually change the brightness, you may need to use acpi_backlight=none.
Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line
When xbacklight doesn't work
You've tried xbacklight already and the link above addresses this:
On some systems, the brighness hotkeys on your keyboard correctly modify the values of the acpi interface in /sys/class/backlight/acpi_video0/actual_brightness (As we tried in comments) but the brightness of the screen is not changed. Brigthness applets from desktop environments (ie Ubuntu brightness setting slider bar) may also show changes to no effect.
If you have tested the recommended kernel parameters and only xbacklight works, then you may be facing an incompatibility between your BIOS and kernel driver.
In this case the only solution is to wait for a fix either from the BIOS or GPU driver manufacturer.
A workaround is to use the inotify kernel api to trigger xbacklight each time the value of /sys/class/backlight/acpi_video0/actual_brightness changes.
First install inotify-tools. Then create a script around inotify that will be launched upon each boot or through autostart.
Below is script you need to create called: /usr/local/bin/xbacklightmon
#!/bin/sh
path=/sys/class/backlight/acpi_video0
luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%dn' "$((level * factor))"
}
read -r max < "$path"/max_brightness
xbacklight -set "$(luminance)"
inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
xbacklight -set "$(luminance)"
done
There is a lot more in the link above but these steps are a good place to start.
Dedicated Forums
For additional support there are dedicated Linux Graphics forums:
- Phoronix Linux/AMD/Nvidia support with many Ubuntu users
- Nvidia Linux Developers Forum (with many Ubuntu specific topics)
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
add a comment |
The ultimate reference seems to be in Arch Linux which is a site I've turned to many times to fix difficult problems.
Kernel Parameters
Looking at your cat /proc/cmdline there are no extra kernel parameters passed. The above link states:
Sometimes, ACPI does not work well due to different motherboard implementations and ACPI quirks. This includes some laptops with dual graphics (e.g. Nvidia/Radeon dedicated GPU with Intel/AMD integrated GPU). On Nvidia Optimus laptops, the kernel parameter nomodeset can interfere with the ability to adjust the backlight. Additionally, ACPI sometimes needs to register its own acpi_video0 backlight even if one already exists (such as intel_backlight), which can be done by adding one of the following kernel parameters:
acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
If you find that changing the acpi_video0 backlight does not actually change the brightness, you may need to use acpi_backlight=none.
Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line
When xbacklight doesn't work
You've tried xbacklight already and the link above addresses this:
On some systems, the brighness hotkeys on your keyboard correctly modify the values of the acpi interface in /sys/class/backlight/acpi_video0/actual_brightness (As we tried in comments) but the brightness of the screen is not changed. Brigthness applets from desktop environments (ie Ubuntu brightness setting slider bar) may also show changes to no effect.
If you have tested the recommended kernel parameters and only xbacklight works, then you may be facing an incompatibility between your BIOS and kernel driver.
In this case the only solution is to wait for a fix either from the BIOS or GPU driver manufacturer.
A workaround is to use the inotify kernel api to trigger xbacklight each time the value of /sys/class/backlight/acpi_video0/actual_brightness changes.
First install inotify-tools. Then create a script around inotify that will be launched upon each boot or through autostart.
Below is script you need to create called: /usr/local/bin/xbacklightmon
#!/bin/sh
path=/sys/class/backlight/acpi_video0
luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%dn' "$((level * factor))"
}
read -r max < "$path"/max_brightness
xbacklight -set "$(luminance)"
inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
xbacklight -set "$(luminance)"
done
There is a lot more in the link above but these steps are a good place to start.
Dedicated Forums
For additional support there are dedicated Linux Graphics forums:
- Phoronix Linux/AMD/Nvidia support with many Ubuntu users
- Nvidia Linux Developers Forum (with many Ubuntu specific topics)
The ultimate reference seems to be in Arch Linux which is a site I've turned to many times to fix difficult problems.
Kernel Parameters
Looking at your cat /proc/cmdline there are no extra kernel parameters passed. The above link states:
Sometimes, ACPI does not work well due to different motherboard implementations and ACPI quirks. This includes some laptops with dual graphics (e.g. Nvidia/Radeon dedicated GPU with Intel/AMD integrated GPU). On Nvidia Optimus laptops, the kernel parameter nomodeset can interfere with the ability to adjust the backlight. Additionally, ACPI sometimes needs to register its own acpi_video0 backlight even if one already exists (such as intel_backlight), which can be done by adding one of the following kernel parameters:
acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
If you find that changing the acpi_video0 backlight does not actually change the brightness, you may need to use acpi_backlight=none.
Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line
When xbacklight doesn't work
You've tried xbacklight already and the link above addresses this:
On some systems, the brighness hotkeys on your keyboard correctly modify the values of the acpi interface in /sys/class/backlight/acpi_video0/actual_brightness (As we tried in comments) but the brightness of the screen is not changed. Brigthness applets from desktop environments (ie Ubuntu brightness setting slider bar) may also show changes to no effect.
If you have tested the recommended kernel parameters and only xbacklight works, then you may be facing an incompatibility between your BIOS and kernel driver.
In this case the only solution is to wait for a fix either from the BIOS or GPU driver manufacturer.
A workaround is to use the inotify kernel api to trigger xbacklight each time the value of /sys/class/backlight/acpi_video0/actual_brightness changes.
First install inotify-tools. Then create a script around inotify that will be launched upon each boot or through autostart.
Below is script you need to create called: /usr/local/bin/xbacklightmon
#!/bin/sh
path=/sys/class/backlight/acpi_video0
luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%dn' "$((level * factor))"
}
read -r max < "$path"/max_brightness
xbacklight -set "$(luminance)"
inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
xbacklight -set "$(luminance)"
done
There is a lot more in the link above but these steps are a good place to start.
Dedicated Forums
For additional support there are dedicated Linux Graphics forums:
- Phoronix Linux/AMD/Nvidia support with many Ubuntu users
- Nvidia Linux Developers Forum (with many Ubuntu specific topics)
edited Jun 5 '18 at 22:42
answered Jul 17 '17 at 23:26
WinEunuuchs2Unix
43.9k1076166
43.9k1076166
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
add a comment |
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Thank you for a such big answer! 1) Try each of the acpi_backlight=xxxx options on your grub kernel paremeters line --- yes, I've tried it many times without any result.
– Max Tkachenko
Jul 18 '17 at 10:23
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
Unfortunately, xbacklight doesn't work too :(
– Max Tkachenko
Jul 18 '17 at 10:25
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
I think it's a drivers bug.. and I need somebody from nvidia dev team :)
– Max Tkachenko
Jul 18 '17 at 10:26
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
If I remember correctly, the nVidia team who normally worked on the linux driver just got switched around, and there might not be the same linux support in days to come.
– ben-Nabiy Derush
Jul 23 '17 at 13:53
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
@ben-NabiyDerush I recall last year Nvidia launched a forum specifically aimed at finding out problems users were having and working with them to solve them. Linux was their focus I believe. I went looking for the forum again today but couldn't find it. I did find two other support forums though and updated the answer with them.
– WinEunuuchs2Unix
Jul 23 '17 at 18:40
add a comment |
Hi I apologise if this is something the clever people have already ruled out, as I am far from familiar with the command line, but after a reinstall i hit this problem and all the above solutions didn't work for me
(MSI pe706QE nvidia 960m).
I was editing /etc/default/grub by:
gksudo 'insert editor of choice not in quotes' /etc/default/grub
and noticed the nomodeset was still sitting in the bottom of the file (I don't remember permanently adding it) and removed it.
save the file and run:
sudo update-grub
all working again with shortcut keys #noobie fail
hope this can help someone.
add a comment |
Hi I apologise if this is something the clever people have already ruled out, as I am far from familiar with the command line, but after a reinstall i hit this problem and all the above solutions didn't work for me
(MSI pe706QE nvidia 960m).
I was editing /etc/default/grub by:
gksudo 'insert editor of choice not in quotes' /etc/default/grub
and noticed the nomodeset was still sitting in the bottom of the file (I don't remember permanently adding it) and removed it.
save the file and run:
sudo update-grub
all working again with shortcut keys #noobie fail
hope this can help someone.
add a comment |
Hi I apologise if this is something the clever people have already ruled out, as I am far from familiar with the command line, but after a reinstall i hit this problem and all the above solutions didn't work for me
(MSI pe706QE nvidia 960m).
I was editing /etc/default/grub by:
gksudo 'insert editor of choice not in quotes' /etc/default/grub
and noticed the nomodeset was still sitting in the bottom of the file (I don't remember permanently adding it) and removed it.
save the file and run:
sudo update-grub
all working again with shortcut keys #noobie fail
hope this can help someone.
Hi I apologise if this is something the clever people have already ruled out, as I am far from familiar with the command line, but after a reinstall i hit this problem and all the above solutions didn't work for me
(MSI pe706QE nvidia 960m).
I was editing /etc/default/grub by:
gksudo 'insert editor of choice not in quotes' /etc/default/grub
and noticed the nomodeset was still sitting in the bottom of the file (I don't remember permanently adding it) and removed it.
save the file and run:
sudo update-grub
all working again with shortcut keys #noobie fail
hope this can help someone.
edited Feb 19 '18 at 20:47
Zanna
50.1k13131240
50.1k13131240
answered Feb 19 '18 at 16:36
treasure
213
213
add a comment |
add a comment |
clone this repo and paste the script backlight.sh into /bin. then make it executable and after this open a root terminal and execute the following command.
sudo backlight.sh "brightness-level-number".
to clone the repository,
git clone https://github.com/el-beth/backlight.sh.git
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
it's not/sys/class/backlight/0/brightnessthe correct path is/sys/class/backlight/acpi_video0/brightness
– endrias
Jul 17 '17 at 7:27
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
add a comment |
clone this repo and paste the script backlight.sh into /bin. then make it executable and after this open a root terminal and execute the following command.
sudo backlight.sh "brightness-level-number".
to clone the repository,
git clone https://github.com/el-beth/backlight.sh.git
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
it's not/sys/class/backlight/0/brightnessthe correct path is/sys/class/backlight/acpi_video0/brightness
– endrias
Jul 17 '17 at 7:27
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
add a comment |
clone this repo and paste the script backlight.sh into /bin. then make it executable and after this open a root terminal and execute the following command.
sudo backlight.sh "brightness-level-number".
to clone the repository,
git clone https://github.com/el-beth/backlight.sh.git
clone this repo and paste the script backlight.sh into /bin. then make it executable and after this open a root terminal and execute the following command.
sudo backlight.sh "brightness-level-number".
to clone the repository,
git clone https://github.com/el-beth/backlight.sh.git
answered Jul 16 '17 at 17:39
endrias
344114
344114
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
it's not/sys/class/backlight/0/brightnessthe correct path is/sys/class/backlight/acpi_video0/brightness
– endrias
Jul 17 '17 at 7:27
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
add a comment |
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
it's not/sys/class/backlight/0/brightnessthe correct path is/sys/class/backlight/acpi_video0/brightness
– endrias
Jul 17 '17 at 7:27
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
Thank you! Unfortunately, it uses "echo $1 > /sys/class/backlight/0/brightness;" and it's the same I wrote below "6. changing /sys/class/backlight/brightness"
– Max Tkachenko
Jul 16 '17 at 19:23
it's not
/sys/class/backlight/0/brightness the correct path is /sys/class/backlight/acpi_video0/brightness– endrias
Jul 17 '17 at 7:27
it's not
/sys/class/backlight/0/brightness the correct path is /sys/class/backlight/acpi_video0/brightness– endrias
Jul 17 '17 at 7:27
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
or some other similar path for systems with specialized graphics hardware.
– endrias
Jul 17 '17 at 7:28
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
In any case it doesn't work :(
– Max Tkachenko
Jul 17 '17 at 7:31
add a comment |
You could install package of command xbacklight in terminal:
sudo apt-get install --reinstall xbacklight
After installation you could use command xbacklight as follows:
xbacklight -inc 20 # increase backlight by 20%
xbacklight -dec 30 # decrease by 30%
xbacklight -set 80 # set to 80% of max value
xbacklight -get # get the current level
Command xbacklight should work this way.
1
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
add a comment |
You could install package of command xbacklight in terminal:
sudo apt-get install --reinstall xbacklight
After installation you could use command xbacklight as follows:
xbacklight -inc 20 # increase backlight by 20%
xbacklight -dec 30 # decrease by 30%
xbacklight -set 80 # set to 80% of max value
xbacklight -get # get the current level
Command xbacklight should work this way.
1
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
add a comment |
You could install package of command xbacklight in terminal:
sudo apt-get install --reinstall xbacklight
After installation you could use command xbacklight as follows:
xbacklight -inc 20 # increase backlight by 20%
xbacklight -dec 30 # decrease by 30%
xbacklight -set 80 # set to 80% of max value
xbacklight -get # get the current level
Command xbacklight should work this way.
You could install package of command xbacklight in terminal:
sudo apt-get install --reinstall xbacklight
After installation you could use command xbacklight as follows:
xbacklight -inc 20 # increase backlight by 20%
xbacklight -dec 30 # decrease by 30%
xbacklight -set 80 # set to 80% of max value
xbacklight -get # get the current level
Command xbacklight should work this way.
answered Jul 17 '17 at 18:23
dschinn1001
2,21431734
2,21431734
1
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
add a comment |
1
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
1
1
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
Sorry, but xbacklight in checked solutions list.. It doesn't work :(
– Max Tkachenko
Jul 17 '17 at 19:02
add a comment |
I have a Sony VPCEH notebook, I had the same problem.
I tried this solution that worked for me: http://ubuntuforums.org/showthread.php?t=2221452#6
Briefly:
With root privileges, create the file /usr/share/X11/xorg.conf.d/20-nvidia.conf with the following content
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 410M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and back in again to test.
And it gently adds: "If something goes wrong, simply delete that file and reboot to recover the system."
But I didn't need that addition. After logout and login the brightness control started to work again.
I hope it helps you too...
or this one after works with ubuntu 16.04 under my laptop sony VPCEJ2C5E but with nvidia 378.13 i don't have use for the moment the 390.25 drivers.
I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04.
These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates.
So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g:
sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf
Paste the following into the file:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K1000M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and log back in, or reboot, and your brightness keys should now work!
enter image description here
add a comment |
I have a Sony VPCEH notebook, I had the same problem.
I tried this solution that worked for me: http://ubuntuforums.org/showthread.php?t=2221452#6
Briefly:
With root privileges, create the file /usr/share/X11/xorg.conf.d/20-nvidia.conf with the following content
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 410M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and back in again to test.
And it gently adds: "If something goes wrong, simply delete that file and reboot to recover the system."
But I didn't need that addition. After logout and login the brightness control started to work again.
I hope it helps you too...
or this one after works with ubuntu 16.04 under my laptop sony VPCEJ2C5E but with nvidia 378.13 i don't have use for the moment the 390.25 drivers.
I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04.
These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates.
So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g:
sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf
Paste the following into the file:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K1000M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and log back in, or reboot, and your brightness keys should now work!
enter image description here
add a comment |
I have a Sony VPCEH notebook, I had the same problem.
I tried this solution that worked for me: http://ubuntuforums.org/showthread.php?t=2221452#6
Briefly:
With root privileges, create the file /usr/share/X11/xorg.conf.d/20-nvidia.conf with the following content
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 410M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and back in again to test.
And it gently adds: "If something goes wrong, simply delete that file and reboot to recover the system."
But I didn't need that addition. After logout and login the brightness control started to work again.
I hope it helps you too...
or this one after works with ubuntu 16.04 under my laptop sony VPCEJ2C5E but with nvidia 378.13 i don't have use for the moment the 390.25 drivers.
I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04.
These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates.
So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g:
sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf
Paste the following into the file:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K1000M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and log back in, or reboot, and your brightness keys should now work!
enter image description here
I have a Sony VPCEH notebook, I had the same problem.
I tried this solution that worked for me: http://ubuntuforums.org/showthread.php?t=2221452#6
Briefly:
With root privileges, create the file /usr/share/X11/xorg.conf.d/20-nvidia.conf with the following content
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 410M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and back in again to test.
And it gently adds: "If something goes wrong, simply delete that file and reboot to recover the system."
But I didn't need that addition. After logout and login the brightness control started to work again.
I hope it helps you too...
or this one after works with ubuntu 16.04 under my laptop sony VPCEJ2C5E but with nvidia 378.13 i don't have use for the moment the 390.25 drivers.
I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04.
These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates.
So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g:
sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf
Paste the following into the file:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K1000M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Log out and log back in, or reboot, and your brightness keys should now work!
enter image description here
edited Mar 1 '18 at 14:18
answered Mar 1 '18 at 14:12
Ubuntu1304XFCE
163
163
add a comment |
add a comment |
Per wineunuuchs2unix's request, I am reposting my answer to a similar question here.
Try acpi_osi=
On upgrading to Bionic a few days ago, I encountered a similar problem (I have an NVIDIA GeForce GTX 1060 Mobile, but for me /sys/class/backlight is showing as empty).
In working through the backlight debugging procedure, I discovered a workaround via kernel parameters:
- In "Software & Updates" → "Additional Drivers", make sure that you have
nvidia-driver-396(or whichever metapackage is current; 396 is the latest at the time of writing) selected. - Edit
/etc/default/grubby running the commandsudo nano /etc/default/grub(optionally replacingnanowith your favorite editor). - Find the line that sets
GRUB_CMDLINE_LINUX_DEFAULTand addacpi_osi=at the end inside of the quotes. On most systems this will leave you with a line readingGRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=". - Save and exit the editor.
- Run the command
sudo update-gruband reboot.
(If these steps do not work, restore your settings by repeating the process, but removing acpi_osi= when you edit the GRUB configuration.)
Another workaround, if it is an option for you, is to switch to a mainline kernel. In particular, I do not see the problem under mainline kernel version 4.17.
(Bug reported here.)
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
add a comment |
Per wineunuuchs2unix's request, I am reposting my answer to a similar question here.
Try acpi_osi=
On upgrading to Bionic a few days ago, I encountered a similar problem (I have an NVIDIA GeForce GTX 1060 Mobile, but for me /sys/class/backlight is showing as empty).
In working through the backlight debugging procedure, I discovered a workaround via kernel parameters:
- In "Software & Updates" → "Additional Drivers", make sure that you have
nvidia-driver-396(or whichever metapackage is current; 396 is the latest at the time of writing) selected. - Edit
/etc/default/grubby running the commandsudo nano /etc/default/grub(optionally replacingnanowith your favorite editor). - Find the line that sets
GRUB_CMDLINE_LINUX_DEFAULTand addacpi_osi=at the end inside of the quotes. On most systems this will leave you with a line readingGRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=". - Save and exit the editor.
- Run the command
sudo update-gruband reboot.
(If these steps do not work, restore your settings by repeating the process, but removing acpi_osi= when you edit the GRUB configuration.)
Another workaround, if it is an option for you, is to switch to a mainline kernel. In particular, I do not see the problem under mainline kernel version 4.17.
(Bug reported here.)
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
add a comment |
Per wineunuuchs2unix's request, I am reposting my answer to a similar question here.
Try acpi_osi=
On upgrading to Bionic a few days ago, I encountered a similar problem (I have an NVIDIA GeForce GTX 1060 Mobile, but for me /sys/class/backlight is showing as empty).
In working through the backlight debugging procedure, I discovered a workaround via kernel parameters:
- In "Software & Updates" → "Additional Drivers", make sure that you have
nvidia-driver-396(or whichever metapackage is current; 396 is the latest at the time of writing) selected. - Edit
/etc/default/grubby running the commandsudo nano /etc/default/grub(optionally replacingnanowith your favorite editor). - Find the line that sets
GRUB_CMDLINE_LINUX_DEFAULTand addacpi_osi=at the end inside of the quotes. On most systems this will leave you with a line readingGRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=". - Save and exit the editor.
- Run the command
sudo update-gruband reboot.
(If these steps do not work, restore your settings by repeating the process, but removing acpi_osi= when you edit the GRUB configuration.)
Another workaround, if it is an option for you, is to switch to a mainline kernel. In particular, I do not see the problem under mainline kernel version 4.17.
(Bug reported here.)
Per wineunuuchs2unix's request, I am reposting my answer to a similar question here.
Try acpi_osi=
On upgrading to Bionic a few days ago, I encountered a similar problem (I have an NVIDIA GeForce GTX 1060 Mobile, but for me /sys/class/backlight is showing as empty).
In working through the backlight debugging procedure, I discovered a workaround via kernel parameters:
- In "Software & Updates" → "Additional Drivers", make sure that you have
nvidia-driver-396(or whichever metapackage is current; 396 is the latest at the time of writing) selected. - Edit
/etc/default/grubby running the commandsudo nano /etc/default/grub(optionally replacingnanowith your favorite editor). - Find the line that sets
GRUB_CMDLINE_LINUX_DEFAULTand addacpi_osi=at the end inside of the quotes. On most systems this will leave you with a line readingGRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=". - Save and exit the editor.
- Run the command
sudo update-gruband reboot.
(If these steps do not work, restore your settings by repeating the process, but removing acpi_osi= when you edit the GRUB configuration.)
Another workaround, if it is an option for you, is to switch to a mainline kernel. In particular, I do not see the problem under mainline kernel version 4.17.
(Bug reported here.)
answered Jun 7 '18 at 15:41
Guest
112
112
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
add a comment |
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
unfortunately it doesn't help :(
– Max Tkachenko
Jun 10 '18 at 14:35
add a comment |
one program to solve all this problem !!!
i have GTX 1060 6Gb desktop ubuntu 16.04
NO need to do anything, just install brightness-controller with the ppa :
https://launchpad.net/~apandada1/+archive/ubuntu/brightness-controller/
solved the issue for me (see screenshots)
however it conflicts with redshift so you need to remove redshift
you can add it to startup for convenient use
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
add a comment |
one program to solve all this problem !!!
i have GTX 1060 6Gb desktop ubuntu 16.04
NO need to do anything, just install brightness-controller with the ppa :
https://launchpad.net/~apandada1/+archive/ubuntu/brightness-controller/
solved the issue for me (see screenshots)
however it conflicts with redshift so you need to remove redshift
you can add it to startup for convenient use
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
add a comment |
one program to solve all this problem !!!
i have GTX 1060 6Gb desktop ubuntu 16.04
NO need to do anything, just install brightness-controller with the ppa :
https://launchpad.net/~apandada1/+archive/ubuntu/brightness-controller/
solved the issue for me (see screenshots)
however it conflicts with redshift so you need to remove redshift
you can add it to startup for convenient use
one program to solve all this problem !!!
i have GTX 1060 6Gb desktop ubuntu 16.04
NO need to do anything, just install brightness-controller with the ppa :
https://launchpad.net/~apandada1/+archive/ubuntu/brightness-controller/
solved the issue for me (see screenshots)
however it conflicts with redshift so you need to remove redshift
you can add it to startup for convenient use
answered Dec 13 '18 at 18:06
Go MasterZero
111
111
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
add a comment |
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
Thank you for your answer. But I think this is not right thing, text is from site: "It is a software based dimmer". It's not control of your back light power, it's only software solution with RGB curves :( I'll try it a little bit later.
– Max Tkachenko
Dec 14 '18 at 14:12
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
try it, it really works :)
– Go MasterZero
Dec 18 '18 at 12:41
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
I have tested it. As I said it's software solution, it doesn't save the battery and it damages the picture color. xrandr --output DP-0 --brightness $VALUE --- do the same thing.
– Max Tkachenko
Dec 22 '18 at 12:46
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
thanks for your feedback, a GUI is still nice to have though
– Go MasterZero
Dec 22 '18 at 21:14
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f935585%2fnvidia-backlight-brightness-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Perhaps the best course is the 378 driver and fixing the suspend/resume bugs with it. What are the bugs?
– WinEunuuchs2Unix
Jul 16 '17 at 19:31
Bugs with Unity interface - some artifacts around the borders of windows and menus. There is description - bugs.launchpad.net/ubuntu/+source/unity/+bug/1675597
– Max Tkachenko
Jul 16 '17 at 19:47
I think someone said a month or two ago it has been fixed in version 381 or something like that. I think it was askubuntu.com/users/15811/rinzwind who said it but askubuntu.com/users/167850/pilot6 I believe is another expert.
– WinEunuuchs2Unix
Jul 16 '17 at 21:04
Bug with suspend is fixed, but backlight is not working :( i have tried 381..and many other versions..
– Max Tkachenko
Jul 16 '17 at 21:59
Can you update your question with the output of:
for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/actual_brightness; cat $i/max_brightness; done– WinEunuuchs2Unix
Jul 16 '17 at 23:50