[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2017-12-13 Thread Vaclav Cermak
I have also this problem with Clevo P775DM3. With one (big) difference,
neither xbacklight nor nvidia-settings works in my case :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2017-12-11 Thread Alejandro Palacios
link-dupont really nailed it! I am having the same issue on an HP
Elitebook 8770w with ONLY an NVIDIA Quadro K3000M, using the proprietary
driver version 387.34 on Fedora 27, Kernel 4.14.3-300

I tried all:

acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native

to no avail, so removed all of that and installed inotify-tools, I do
have /sys/class/backlight/acpi_video0 so I ended up with the following
script in /home/YOURUSERHERE/Scripts/backlight_inotify.sh

#!/bin/sh

path=/sys/class/backlight/acpi_video0

luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%d\n' "$((level * factor))"
}

read -r max < "$path"/max_brightness

nvidia-settings -n -a BacklightBrightness="$(luminance)"

inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
nvidia-settings -n -a BacklightBrightness="$(luminance)"
done


And then created file brightnessfix.desktop under 
/home/YOURUSERHERE/.config/autostart


[Desktop Entry]
Name=Brightness Fix
Exec=/home/YOURUSERHERE/Scripts/backlight_inotify.sh
Terminal=false
Type=Application
Name[en_US]=backlightfix.desktop


It is a very effective workaround, thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2016-06-17 Thread dhenry
Same issue with GTX 980M on Ubuntu 16.04, even with latest NVIDIA
drivers (367.27).

I described this on NVIDIA forums:
https://devtalk.nvidia.com/default/topic/942337/linux/backlight-brightness-not-hooked-to-acpi-events-ubuntu-16-04-/

I manually fixed it by created an acpid event handler, however in my
solution, it only works when changing the brightness with the Fn-keys,
but not by changing /sys/class/backlight/acpi_video0/brightness value.

Link Dupont's fix works better (but I didn't use
video.use_native_backlight=1 on GRUB_CMDLINE_LINUX as he said). By the
way, the link to his solution is dead. This one works: http://sub-
pop.net/post/fedora-23-on-system76-oryx-pro/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2016-06-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nvidia-graphics-drivers-352 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2016-01-05 Thread Jason Gerard DeRose
Link,

Your write-up for getting this working on Fedora is great, thanks!

We're considering adding something like this to the system76-daemon
assuming Nvidia isn't going to support this mechanism any more.

Thanks again!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2016-01-05 Thread Link Dupont
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/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2015-12-01 Thread Jason Gerard DeRose
** Changed in: system76
   Status: New => Triaged

** Changed in: system76
   Importance: Undecided => High

** Changed in: system76
 Assignee: (unassigned) => Jason Gerard DeRose (jderose)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs