Brightness controls are not working in Unity / Xorg because of Nvidia proprietary driver.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-340 (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
nvidia-graphics-drivers-375 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Affects: Ubuntu 16.04 and 14.04.
Occurs only with Nvidia proprietary driver. Nouveau works well.
Brightness controls are not working in Unity / Xorg. When pressing the keys <fn><home> and <fn><end> on my Lenovo W510, I see the indicator on the screen showing the level of brightness changing, so key mapping is not the problem. However, the brightness is not changing.
On the kernel level, I have the single following device:
# cd /sys/class/
# ls -l
total 0
lrwxrwxrwx 1 root root 0 Nov 3 17:16 acpi_video0 -> ../../devices/
When playing with the <fn><home> and <fn><end>, the value of /sys/class/
Performing:
# echo 10 >brightness
...does not have any effect (regardless of the value provided, 10 being just an example).
WORKAROUND
There is an odd workaround. Simply go to the console using <CTRL><ALT><F1> and using the <fn><home> and <fn><end> keys, brightness then changes. Return to Unity / Xorg with <CTRL><ALT><F7> and the selected brightness persists.
NON WORKING WORKAROUND
On the web, I read that adding:
Option "RegistryDwords" "EnableBrightne
in xorg.conf might fix the problem. I do not have an xorg and when I let the proprietary Nvidia driver generate one and add this option, X does not start anymore.
Ubuntu 14.04.1 LTS with latest updates as of this writing.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8
ProcVersionSign
Uname: Linux 3.13.0-39-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan 8 19:32:30 PST 2014
GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
.tmp.unity.
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CompizPlugins: [core,bailer,
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Tue Nov 4 07:38:59 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
bbswitch, 0.7, 3.13.0-32-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-39-generic, x86_64: installed
nvidia-331, 331.38, 3.13.0-32-generic, x86_64: installed
nvidia-331, 331.38, 3.13.0-39-generic, x86_64: installed
tp-smapi, 0.41, 3.13.0-32-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GT216GLM [Quadro FX 880M] [10de:0a3c] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:2145]
InstallationDate: Installed on 2014-11-01 (3 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: LENOVO 4318CTO
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/03/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 6NET84WW (1.45 )
dmi.board.name: 4318CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4318CTO
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.11.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Tue Nov 4 01:40:35 2014
xserver.configfile: default
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
xserver.version: 2:1.15.1-0ubuntu2.1
Changed in xorg (Ubuntu): | |
status: | Incomplete → New |
tags: | added: needs-vivid-test |
Changed in xorg (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Incomplete |
description: | updated |
Changed in xorg (Ubuntu): | |
status: | Incomplete → New |
Changed in nvidia: | |
status: | New → Incomplete |
Changed in nvidia: | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in xorg (Ubuntu): | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in nvidia: | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in xorg (Ubuntu): | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in nvidia: | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in xorg (Ubuntu): | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in nvidia: | |
status: | Incomplete → New |
status: | New → Incomplete |
Changed in xorg (Ubuntu): | |
status: | Incomplete → New |
status: | New → Incomplete |
tags: |
added: xenial removed: needs-vivid-test |
no longer affects: | xorg (Ubuntu) |
affects: | nvidia → nvidia-graphics-drivers-340 (Ubuntu) |
Changed in nvidia-graphics-drivers-340 (Ubuntu): | |
importance: | Undecided → Low |
Changed in nvidia-graphics-drivers-375 (Ubuntu): | |
importance: | Undecided → High |
Changed in nvidia-graphics-drivers-340 (Ubuntu): | |
importance: | Low → High |
Some more clarification. I tried under KDE Plasma 5.1 (Neon) and still I could not change the brightness of the backlight.
However, the CLI commands that fail in a terminal running under an Xorg session work flawlessly under a console (<CTRL><ALT><F1>).
cd /sys/class/ backlight/ acpi_video0
echo 5 >brightness # Works under the console!
echo 10 >brightness # Works under the console!
This all suggest that somehow, Xorg is inhibiting the brightness control.