[Bug 2049248] Re: Kernel 6.5 breaks display brightness controls and sets it to 100% all the time

2024-08-30 Thread Paddy Landau
Alas, the latest update from the Zabbly line no longer works after the
last update :(

** Description changed:

  Since kernel 6.5, monitor brightness is set to 100%, and cannot be
  changed: The brightness controls have disappeared from Settings, and
  brightness doesn't respond to the keypad controls.
  
  See the attached screenshot, showing the difference between the settings
  in kernels 6.2 and 6.5.
  
  This applies to Ubuntu 22.04 and 23.10, whether using Wayland or X.Org.
  
  It's possible (when using X.Org) to adjust the brightness with…
  
  $ xrandr --output [monitor] --brightness [brightness]
  
  e.g. on my machine…
  
  $ xrandr --output eDP-1 --brightness 0.5
  
  … but, unfortunately, it doesn't last long — anywhere between a less
  than a second later and about a minute later, the screen reverts to 100%
  brightness.
  
  As a workaround, I am running the following command in the background…
  
  $ while true; do xrandr --output eDP-1 --brightness 0.5; sleep 1s; done
  
  … which results in the screen at the correct brightness, but frequently
  flashing!
  
  ———
  UPDATES
  ———
  
  • See comment #7 — This is somehow linked to the Night Light.
  • Even when Night Light is permanently turned off, the screen still 
(sometimes; it's intermittent) goes bright when…
  — Playing a video full screen (e.g. VLC, YouTube).
  — Chrome gives a pop-up dialogue (e.g. downloading) or a notification (e.g. 
Calendar notification).
  • Workaround in comment #9
  • Also see bug #2078054 where the workaround also works.
+ • The workaround in comment #9 no longer works after the latest update. It 
worked with kernel linux-image-6.10.6-zabbly+ but no longer works with kernel 
linux-image-6.10.7-zabbly+
  
  —
  TESTED ON
  —
  
  • Ubuntu 22.04
  — Kernel 6.2.0-39 and prior works correctly
  — Kernels 6.5.0-14 & 6.5.0.15 have the problem
  
  • Ubuntu 23.10
  — Kernel 6.5.0-9 has the problem
  
  $ sudo lshw -numeric -C display
    *-display
     description: VGA compatible controller
     product: CometLake-S GT2 [UHD Graphics 630] [8086:9BC5]
     vendor: Intel Corporation [8086]
     physical id: 2
     bus info: pci@:00:02.0
     logical name: /dev/fb0
     version: 05
     width: 64 bits
     clock: 33MHz
     capabilities: pciexpress msi pm vga_controller bus_master cap_list rom 
fb
     configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
     resources: irq:145 memory:c100-c1ff memory:d000-dfff 
ioport:3000(size=64) memory:c-d
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-6.5.0-14-generic 6.5.0-14.14~22.04.1
  ProcVersionSignature: Ubuntu 6.5.0-14.14~22.04.1-generic 6.5.3
  Uname: Linux 6.5.0-14-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jan 13 07:19:58 2024
  InstallationDate: Installed on 2022-08-28 (502 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-signed-hwe-6.5
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  Kernel 6.5 breaks display brightness controls and sets it to 100% all
  the time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2049248/+subscriptions


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

[Bug 2049248] Re: Kernel 6.5 breaks display brightness controls and sets it to 100% all the time

2024-08-28 Thread Paddy Landau
** Description changed:

  Since kernel 6.5, monitor brightness is set to 100%, and cannot be
  changed: The brightness controls have disappeared from Settings, and
  brightness doesn't respond to the keypad controls.
  
  See the attached screenshot, showing the difference between the settings
  in kernels 6.2 and 6.5.
  
  This applies to Ubuntu 22.04 and 23.10, whether using Wayland or X.Org.
  
  It's possible (when using X.Org) to adjust the brightness with…
  
  $ xrandr --output [monitor] --brightness [brightness]
  
  e.g. on my machine…
  
  $ xrandr --output eDP-1 --brightness 0.5
  
  … but, unfortunately, it doesn't last long — anywhere between a less
  than a second later and about a minute later, the screen reverts to 100%
  brightness.
  
  As a workaround, I am running the following command in the background…
  
  $ while true; do xrandr --output eDP-1 --brightness 0.5; sleep 1s; done
  
  … which results in the screen at the correct brightness, but frequently
  flashing!
  
  ———
  UPDATES
  ———
  
  • See comment #7 — This is somehow linked to the Night Light.
  • Even when Night Light is permanently turned off, the screen still 
(sometimes; it's intermittent) goes bright when…
  — Playing a video full screen (e.g. VLC, YouTube).
  — Chrome gives a pop-up dialogue (e.g. downloading) or a notification (e.g. 
Calendar notification).
+ • Workaround in comment #9
+ • Also see bug #2078054 where the workaround also works.
  
  —
  TESTED ON
  —
  
  • Ubuntu 22.04
  — Kernel 6.2.0-39 and prior works correctly
  — Kernels 6.5.0-14 & 6.5.0.15 have the problem
  
  • Ubuntu 23.10
  — Kernel 6.5.0-9 has the problem
  
  $ sudo lshw -numeric -C display
    *-display
     description: VGA compatible controller
     product: CometLake-S GT2 [UHD Graphics 630] [8086:9BC5]
     vendor: Intel Corporation [8086]
     physical id: 2
     bus info: pci@:00:02.0
     logical name: /dev/fb0
     version: 05
     width: 64 bits
     clock: 33MHz
     capabilities: pciexpress msi pm vga_controller bus_master cap_list rom 
fb
     configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
     resources: irq:145 memory:c100-c1ff memory:d000-dfff 
ioport:3000(size=64) memory:c-d
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-6.5.0-14-generic 6.5.0-14.14~22.04.1
  ProcVersionSignature: Ubuntu 6.5.0-14.14~22.04.1-generic 6.5.3
  Uname: Linux 6.5.0-14-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jan 13 07:19:58 2024
  InstallationDate: Installed on 2022-08-28 (502 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-signed-hwe-6.5
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  Kernel 6.5 breaks display brightness controls and sets it to 100% all
  the time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2049248/+subscriptions


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

[Bug 2049248] Re: Kernel 6.5 breaks display brightness controls and sets it to 100% all the time

2024-08-27 Thread Paddy Landau
There is a solution to this, albeit not the greatest. However, it does
point to how the devs can fix this.

Apparently, for reasons known only to itself, Canonical removes some of
the drivers from the kernels when releasing them.

A maintainer, Zabbly, maintains the mainline kernel but including the
removed bits.

https://github.com/zabbly/linux

This also solves another problem, probably related, to do with the
screen periodically blanking.

https://ubuntuforums.org/showthread.php?t=2499896

I shall create a new bug for the latter problem, and link it to this
one.

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

Title:
  Kernel 6.5 breaks display brightness controls and sets it to 100% all
  the time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2049248/+subscriptions


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

[Bug 2049248] Re: Kernel 6.5 breaks display brightness controls and sets it to 100% all the time

2024-06-30 Thread Pierre-Benoit MERLAND
Hi,

I confirm that, at least for my configuration (Dell Inspiron 5400 AIO), kernels 
6.5 and 6.8 breaks display brightness controls.
 
Tested 22.04.4 LTS linux-generic-hwe-22.04, so 6.5.0-41 at this time, and 24.04 
with a live USB (so 6.8 kernel) i cant adjust brightness. The slider is no 
longer visible.

So for now i stick with 22.04 and 5.15 GA kernel. As everything is
working well with this configuration. It was also working well with some
6.2 version (tested for example 23.04 OS with live USB)

Thanks

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

Title:
  Kernel 6.5 breaks display brightness controls and sets it to 100% all
  the time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2049248/+subscriptions


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