Media, brightness and volume keys don't work with GNOME 3.15.90
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | GNOME Settings Daemon |
Unknown
|
Medium
|
||
| | GNOME Shell |
Invalid
|
Medium
|
||
| | Ubuntu GNOME |
Undecided
|
Unassigned | ||
| | gnome-settings-daemon (Ubuntu) |
High
|
Unassigned | ||
Bug Description
After upgrading Ubuntu 15.04 Vivid to use GNOME 3.15.90 (by using gnome3-team/gnome3, gnome3-
If I restart my computer media keys work again.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gnome-settings-
ProcVersionSign
Uname: Linux 3.19.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Mar 3 23:07:33 2015
InstallationDate: Installed on 2014-10-22 (132 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140923)
SourcePackage: gnome-settings-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
| Fran Diéguez (frandieguez) wrote : | #1 |
| Tim (darkxst) wrote : | #2 |
| Fran Diéguez (frandieguez) wrote : | #3 |
Hi Tim,
I have to improve the bug description because I don't get this error evertime. If I restart my computer media keys work again but I spend some time working in a session or after suspending the computer they stop working.
It's quite weird.
| description: | updated |
| Fran Diéguez (frandieguez) wrote : | #4 |
To increase the weirdness of the issue:
- Volume slider in g-s top left menu works but the brightness slider doesn't work
- If I go to Settings->Power the UI got frozen and it takes almost 20 seconds to show the panel. Find below the error output
(gnome-
(gnome-
(gnome-
(gnome-
Again if I reboot my computer those errors got fixed until some time passes.
| Tim (darkxst) wrote : | #5 |
does restarting g-s-d (gnome-
| Changed in ubuntu-gnome: | |
| milestone: | none → trusty.2 |
| milestone: | trusty.2 → none |
| milestone: | none → ww |
| Tim (darkxst) wrote : | #6 |
and/or gnome-shell (alt+f2 r)?
| Fran Diéguez (frandieguez) wrote : | #7 |
Tim, I've restarted g-s-d and g-s and that doesn't fix the problem. I have figured out that this problem is only reproducible after resume from suspend.
The only solution for this is restart my computer.
Find below output from restarting g-s-d:
$ gnome-settings-
** (gnome-
** (gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
| Fran Diéguez (frandieguez) wrote : | #8 |
Latest updates gave new results:
Now after Alt-F2, 'r' in gnome-shell and executing from a terminal 'gnome-
| Changed in gnome-shell: | |
| importance: | Unknown → Medium |
| status: | Unknown → Confirmed |
| Joe Barnett (thejoe) wrote : | #9 |
Seeing this here as well, it seems to also affect configured launcher hotkeys (eg ctrl+alt+w mapped to web browser in keyboard shortcuts control panel). I also see it happen before suspending, not sure what triggers it, but some amount of time after the session starts something does...
also closing the laptop lid does not result in suspend anymore -- not sure if that's related?
| Tim (darkxst) wrote : | #10 |
anyone seen this recently, I hit it a few times earlier, but not since 3.16.0 afaict
| Joe Barnett (thejoe) wrote : | #11 |
I'm still seeing this on 3.16.0 -- it may be triggered by adding/removing a monitor, but not entirely sure
| Marius Gedminas (mgedmin) wrote : | #12 |
Installed 3.16, rebooted, got this bug after less than an hour of usage. Didn't suspend/resume.
I can reproduce this bug by performing a VT switch:
- Ctrl-Alt-F1 to go away
- Ctrl-Alt-F2 to go back (BTW Ctrl-Alt-F7 gives me a _different_ gdm login screen)
- now keys (I was testing Ctrl+Alt+T, the terminal shortcut) don't work until I apply the workaround from comment 8.
| Marius Gedminas (mgedmin) wrote : | #13 |
If I run 'journalctl -f' in a terminal and do Ctrl-Alt-F1, Ctrl-Alt-F2, I see this:
Bal 24 11:03:36 platonas gnome-session[
Bal 24 11:03:36 platonas gnome-session[
Bal 24 11:03:36 platonas gnome-session[
Bal 24 11:03:36 platonas gnome-session[
| Marius Gedminas (mgedmin) wrote : | #14 |
I now have 7 copies of gnome-settings-
(Note: if I run gnome-settings-
| Marius Gedminas (mgedmin) wrote : | #15 |
strace shows socket communication (poll, read, write, recvmsg), then when a VT switch happens I see
write(2, "\n(gnome-
write(2, "\n(gnome-
write(2, "\n(gnome-
write(2, "\n(gnome-
(the assertion error messages), and then some more poll/read/recvmsg and finally
futex(0x7fa34a6
which never returns ever. Deadlock.
| Marius Gedminas (mgedmin) wrote : | #16 |
If I run gnome-settings-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
| Changed in gnome-shell: | |
| status: | Confirmed → Incomplete |
| MDCore (mdcore) wrote : | #17 |
I can confirm this bug. It can be triggered by as little as a VT switch. But I find that restarting g-s-d *does* restore functionality.
| Erich Eickmeyer (eeickmeyer) wrote : | #18 |
I can confirm bug as well. VT switch or screen lock can trigger the bug. Workaround is to restart shell and g-s-d.
| garrettgoss (garrettgoss) wrote : | #19 |
I can also confirm the above for a fresh ubuntu gnome 15.04 (x64) install. Happens after only a few minutes.
| Fran Diéguez (frandieguez) wrote : | #20 |
Recently moved to ArchLinux and this bug doesn't happens.
| Leo Francisco (georgeowell) wrote : | #21 |
I'm also experiencing this. Quite frustrating.
I'm on 15.04 and GNOME 3.16 with the gnome3-team and gnome3-staging PPA's.
Only thing to add this message in terminal every time I hit the non functional brightness keys:
(gnome-
| Launchpad Janitor (janitor) wrote : | #22 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in gnome-settings-daemon (Ubuntu): | |
| status: | New → Confirmed |
| Tim (darkxst) wrote : | #23 |
Its not entirely clear from the comments, but has anyone hit this on stock 15.04 (i.e. without gnome3-staging PPA)
Sorry, we don't support fixing bugs from PPAs.
| Changed in gnome-settings-daemon (Ubuntu): | |
| status: | Confirmed → Invalid |
| Tim (darkxst) wrote : | #25 |
Alberto, please don't do that, the gnome3-team PPA's are the official staging area for the Ubuntu GNOME team, These packages will soon enough be in Wily and the bug will only follow if not fixed. Reopening...
| Changed in gnome-settings-daemon (Ubuntu): | |
| status: | Invalid → Confirmed |
Okay, but then tag it as affecting the Wily Wonka.
| tags: |
added: wily removed: vivid |
| Changed in gnome-settings-daemon (Ubuntu): | |
| importance: | Undecided → High |
| Yuri (linux-colombi) wrote : | #27 |
Same issue since my Ubuntu 15.04 restarded from suspended mode. It disappeared after shutdown and a restart.
| Makinit (makinit) wrote : | #28 |
This does not seem to occur in GNOME on Wayland, only in the default shell.
| Simon Law (sfllaw) wrote : | #29 |
Bastien Nocera was able to track this down to the same problem in https:/
| Changed in gnome-settings-daemon: | |
| importance: | Unknown → Medium |
| status: | Unknown → Incomplete |
| Joe Barnett (thejoe) wrote : | #30 |
I tried rebuilding gnome-settings-
| Anders Kaseorg (andersk) wrote : | #31 |
| Anders Kaseorg (andersk) wrote : | #32 |
Specifically, this is caused because gnome-shell 3.16 has
https:/
but gnome-settings-
https:/
| Anders Kaseorg (andersk) wrote : | #33 |
Here’s a tested patch that reverts the relevant gnome-shell changes to make it work with gnome-settings-
| tags: | added: patch |
The attachment "gnome-
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]
| Ubuntu GNOME (ug-bot) wrote : | #35 |
Anders, thanks for the patch, I'll upload it even though we should get g-s-d/g-c-c updated in the next week or so.
However just to note that issue is not the same as this bug, which is related to media keys stop working after suspend of VT switch, that itself seems to be caused by g-s-d 3.16, but havent yet tracked down the cause.
| Iain Lane (laney) wrote : | #36 |
I think Tim is taking care of this - unsubscribing the main Ubuntu sponsors but add us back if necessary.
| Hubert Hesse (hubx) wrote : | #37 |
"I tried rebuilding gnome-settings-
I did the same thing, but no luck. Maybe we have to rebuilt other packages without Debian related patches as well? Any hints or suggestions are appreciated.
| Hubert Hesse (hubx) wrote : | #38 |
Please see the updated conversation in the gnome Bugtracker. I looks like this a thing related to compilation and/or linking flags in Ubuntu, since in a vanilla gsd I cannot reproduce the issue.
| Hubert Hesse (hubx) wrote : | #39 |
Please see the updated conversation in the gnome Bugtracker.
For me I looks like this a thing related to (d/p/revert-
sudo mv /usr/lib/
gsd works as expected again. (yay!)
@Joe can you confirm?
I don't why we didn't catch that earlier. Is it the case the patches are already applied in the source I download with `apt-get source gnome-settings-
Also in the patch there is a reference to (" plugins/
| Joe Barnett (thejoe) wrote : | #40 |
my initial tests show that disbling the wacom plugin fixes the issue with hotkeys, volume keys, and even brightness keys (previously even the restart didn't fix brightness keys for me even though it fixed hotkeys and volume keys).
| Tim (darkxst) wrote : Re: [Bug 1427877] Re: Media, brightness and volume keys don't work with GNOME 3.15.90 | #41 |
Hubert, thanks for digging into this.
On 26/06/15 22:35, Hubert Hesse wrote:
> Please see the updated conversation in the gnome Bugtracker.
>
> For me I looks like this a thing related to (d/p/revert-
> removals.patch: Refreshed), because if I disable the wacom plugin..
The g-s-d schemas are shared with unity-settings-
in g-s-d and won't cause any problem.
>
>
> sudo mv /usr/lib/
>
>
> gsd works as expected again. (yay!)
input device management moved into mutter for 3.16, perhaps mutter is supposed to handle the device removal?
>
>
> I don't why we didn't catch that earlier. Is it the case the patches are already applied in the source I download with `apt-get source gnome-settings-
yes they will be applied via quilt. you just need to do:
quilt pop -a
rm debian/patches
debuild -S
>
> Also in the patch there is a reference to (" plugins/
> manager.c | 32 +++++++
> change is not there.
thats harmless its just patch headers don't get updated when doing a `quilt refresh` to rebase patches
| Tim (darkxst) wrote : | #42 |
Hubert, Also I wonder if you are looking in the wrong place, might be better to try and track down the GsdDeviceManager error first:
(gnome-
Both xrandr and wacom use this device manager, the first call to gsd_device_
disabling the wacom plugin just avoids that second (attemted) invocation.
| Changed in gnome-settings-daemon: | |
| status: | Incomplete → Unknown |
| Tim (darkxst) wrote : | #43 |
I had a poke around in gdb, for some reason type info doesn't seem to be shared between plugins, so the second plugin to load will try and reregister the types.
This was caused by linking with -Wl, -BSymbolic-
| Tim (darkxst) wrote : | #44 |
Should be fixed with gnome-settings-
| Changed in ubuntu-gnome: | |
| status: | New → Confirmed |
| Changed in gnome-settings-daemon (Ubuntu): | |
| status: | Confirmed → Triaged |
| Simon Law (sfllaw) wrote : | #45 |
gnome-settings-
| Hubert Hesse (hubx) wrote : | #46 |
Hey there Tim
thanks for the fix.
1) Was that a regression and you saw some kind a delta to the previous version? Is that possible?
Thats one think I wished for while I was debugging
2) Since this is runtime, there should be some kind of integration test, correct? If so how do write one so similar incidents happen again
| Tim (darkxst) wrote : | #47 |
Hi Hubert,
1) no not really, its just that gnome-settings-
2) I have no idea, its a pretty tricky case to test for, however I suppose you could check that the pointers for the Gtypes match up between modules, however thats all kind of wrapped up in glib ( I had to cross into glib to code to work that out) so may not work in a test case.
3) if you want to work on some more Ubuntu GNOME stuff, I can point you in that direction, ping me on IRC or email.
| Changed in ubuntu-gnome: | |
| status: | Confirmed → Fix Released |
| Changed in gnome-settings-daemon (Ubuntu): | |
| status: | Triaged → Fix Released |
| Maurits Lamers (mauritslamers) wrote : | #48 |
Just leaving a comment that I am still suffering from this problem described in the title under Gnome-shell 3.16.4. After a while the sound buttons (and only the sound buttons) stop working. None of the other issues that are described as related above (Light not working from the menu, or the delay in loading the Power settings) apply, just the sound buttons.
Doing Alt-F2 + r fixes the problem (at least for a while).
| Changed in gnome-shell: | |
| status: | Incomplete → Invalid |


did you logout/login after upgrading? if so please attach logs (~/.cache/ upstart/ gnome-settings- daemon. log)