[media-keys] GNOME hangs while changing display brightness from keyboard shortcut

Bug #1892747 reported by Sujit Kumar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Whenever I change my display's brightness using keyboard shortcuts (For me F11 & F12), Ubuntu hangs a little, the brightness is changed immediately, but everything (except the mouse) hangs while it is being changed and sometimes for quite some time after. There is no problem doing it through the system. Changing volume using keyboard shortcuts works perfectly.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-08-22 (3 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
NonfreeKernelModules: nvidia
Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2
Tags: focal
Uname: Linux 5.4.0-42-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1892747/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → gnome-shell-extension-brightness-control (Ubuntu)
no longer affects: brightnessctl (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

You're probably not using 'gnome-shell-extension-brightness-control'. Please run this command to send us more information about the system:

  apport-collect 1892747

affects: gnome-shell-extension-brightness-control (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Sujit Kumar (therealsujitk) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Sujit Kumar (therealsujitk) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Sujit Kumar (therealsujitk) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Sujit Kumar (therealsujitk) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sujit Kumar (therealsujitk) wrote : ShellJournal.txt

apport information

Revision history for this message
Sujit Kumar (therealsujitk) wrote : monitors.xml.txt

apport information

Revision history for this message
Sujit Kumar (therealsujitk) wrote : Re: Ubuntu hangs while changing display brightness from keyboard shortcut

Daniel, I ran the command and clicked "Send Report".

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can see bug 1849142 is also happening in your logs. Please try disabling 'Ubuntu AppIndicators' in the 'Extensions' app, and then tell us if this bug still happens.

tags: added: nvidia
summary: - Ubuntu hangs while changing display brightness from keyboard shortcut
+ [Dell Vostro 3446] Ubuntu hangs while changing display brightness from
+ keyboard shortcut
Revision history for this message
Sujit Kumar (therealsujitk) wrote : Re: [Dell Vostro 3446] Ubuntu hangs while changing display brightness from keyboard shortcut

Daniel, the bug s still present after running
    gnome-extensions disable <email address hidden>

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
tags: added: performance
Revision history for this message
Sujit Kumar (therealsujitk) wrote :

I found this question on askUbuntu: https://askubuntu.com/questions/1242205/ubuntu-20-04-hangs-when-changing-brightness-level-with-keyboard . Someone else is also facing the same bug. Does this mean the bug can be Confirmed now?

Revision history for this message
Sujit Kumar (therealsujitk) wrote :

Daniel, I'm not sure if this bug is related but, the system also hangs for a few seconds whenever the Wi-Fi gets disconnected.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Bugs like this are model-specific. And since the above link is about a different model of laptop, this bug is not yet confirmed. It's still open and valid, so don't worry.

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ): Re: GNOME hangs while changing display brightness from keyboard shortcut

It seems I was wrong. More bug reports found, and tracking upstream in:

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1279

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
summary: - [Dell Vostro 3446] Ubuntu hangs while changing display brightness from
- keyboard shortcut
+ GNOME hangs while changing display brightness from keyboard shortcut
tags: added: kinetic
Changed in gnome-shell:
status: Unknown → New
Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote :
Revision history for this message
Sujit Kumar (therealsujitk) wrote :

I should add, I'm using Ubuntu 22.04 now and I don't face the issue anymore. In 22.04 I use the Wayland windowing system, so I no longer use nvidia drivers, not sure if the problem lies there.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Alright then we'll close this and keep bug 2013255 open.

Changed in gnome-shell (Ubuntu):
status: Confirmed → Fix Released
no longer affects: gnome-shell
Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote (last edit ):
summary: - GNOME hangs while changing display brightness from keyboard shortcut
+ [media-keys] GNOME hangs while changing display brightness from keyboard
+ shortcut
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.