/sys/class/backlight/acpi_video0/brightness is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
System76 |
Triaged
|
High
|
Jason Gerard DeRose | ||
nvidia-graphics-drivers-352 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
With nvidia-352 (and for that matter nvidia-346), the /sys/class/
Writing to /sys/class/
I don't know when exactly this broke in the Nvidia driver, but I do know that not that long ago it worked because the system76-driver uses this to restore the previous backlight brightness level during boot. I believe this still worked with nvidia-343 and perhaps also worked in early nvidia-346 versions.
This problem is somewhat masked because with Ubuntu (Unity), unity-settings-
1) Using /sys/class/
2) Using xrandr, which as far as I can tell takes (roughly) the same approach as the `xbacklight` command line tool
However, approach (2) does not work with Ubuntu GNOME because gnome-settings-
I've started digging into the dkms module source code, but haven't come up with anything yet. Of course, there is a chance the problem is in the closed proprietary bits.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: nvidia-352 352.63-
ProcVersionSign
Uname: Linux 4.2.0-18-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 352.63 Sat Nov 7 21:25:42 PST 2015
GCC version: gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Nov 20 15:01:42 2015
DistUpgraded: Fresh install
DistroCodename: wily
DistroVariant: ubuntu
DkmsStatus:
bbswitch, 0.7, 4.2.0-18-generic, x86_64: installed
fwts-efi-
nvidia-352, 352.63, 4.2.0-18-generic, x86_64: installed
GraphicsCard:
NVIDIA Corporation GM204M [GeForce GTX 970M] [10de:1618] (rev a1) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device [1558:7701]
MachineType: System76, Inc. Serval WS
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: nvidia-
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/09/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.03.03RSY2
dmi.board.
dmi.board.name: Serval WS
dmi.board.vendor: System76, Inc.
dmi.board.version: serw8-17g
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: System76, Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: Serval WS
dmi.product.
dmi.sys.vendor: System76, Inc.
modified.
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1
version.
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Fri Nov 20 08:41:35 2015
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
xserver.version: 2:1.17.2-1ubuntu9
Changed in system76: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Jason Gerard DeRose (jderose) |
I encountered the same issue when installing Fedora 23 onto my Oryx Pro (I know Fedora isn't supported, etc.). I found a solution on the Archlinux wiki that talks about using inotify to watch for changes to the brightness file and run xbacklight to adjust the backlight levels. For my own sake, I documented it, but this might help for you on Ubuntu. It really sounds like a regression with the proprietary NVIDIA drivers. Maybe a similar file-monitoring could be incorporated into system76-daemon?
http:// www.moxbant. net/fedora- 23-on-system76- oryx-pro/