[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Launchpad Bug Tracker
This bug was fixed in the package policykit-1 - 0.105-16git1 --- policykit-1 (0.105-16git1) yakkety; urgency=medium Upload current Debian packaging git. [ Michael Biebl ] * Use https:// for the upstream homepage. * Update Vcs-Browser to use cgit. [ Simon McVittie ] *

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Martin Pitt
** Tags added: systemd-session -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to policykit-1 in Ubuntu. https://bugs.launchpad.net/bugs/1626651 Title: brightness keys are handled slower in Yakkety than Xenial Status in policykit-1

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Martin Pitt
> Thus I am much more convinced now that switching to common-session- noninteractive is not only correct (and also fixing this bug), but also not actually that regression prone. To prove this: $ diff -u /etc/pam.d/common-session{-noninteractive,} @@ -27,5 +27,6 @@ session optional

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Martin Pitt
https://anonscm.debian.org/cgit/pkg- utopia/policykit.git/commit/?id=4299fc41 ** Changed in: policykit-1 (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-settings-daemon in Ubuntu.

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Martin Pitt
The reason why it is fast under upstart is that with upstart the entire session is running in the logind scope/session, in particular unity- settings-daemon; and then pkexec causes Okt 06 22:10:46 donald pkexec[9943]: pam_systemd(polkit-1:session): Cannot create session: Already running in a

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Martin Pitt
The flurry of uevents like KERNEL[2471.462139] add /kernel/slab/:atA-192/cgroup/dentry(4399:user@0.service) (cgroup) ACTION=add DEVPATH=/kernel/slab/:atA-192/cgroup/dentry(4399:user@0.service) SEQNUM=4916 SUBSYSTEM=cgroup are new with kernel 4.8. This can easily be

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Jason Gerard DeRose
I'm back to testing u-s-d started under systemd, and I found some serious wackiness observing `sudo journalctl -f` when I use the brigtness up/down hotkeys. The attached "wacky-journalctl.txt" file has the output of `sudo journalctl -f` during which I used the brightness hotkeys *twice*, and

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Jason Gerard DeRose
`sudo forkstat -D 4` when u-s-d is started under systemd and I press the brightness up hotkey. ** Attachment added: "with-systemd.txt" https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1626651/+attachment/4756099/+files/with-systemd.txt -- You received this bug

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-06 Thread Jason Gerard DeRose
Okay, an interesting hint is that this problem seems to be fixed if u-s-d is started under the Upstart user session instead of the systemd user session. If anyone wants to try this, just comment out these three lines in /etc/X11/Xsession.d/00upstart: if [ "${1#*.target}" != "$1" ]; then

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-04 Thread Eduards Bezverhijs
In contrast this is what is happening with Xenial, which works perfectly. evtest: Event: time 1475641421.193234, type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), value 1 Event: time 1475641421.193234, -- SYN_REPORT Event: time 1475641421.193306, type 1 (EV_KEY), code 225

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-04 Thread Eduards Bezverhijs
I have similar problem on Dell XPS 15 (l521x). It is not quick and it seems that for every key-press it's trying to change brightness twice. I'll attach evtest and udev monitor outputs. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-04 Thread Eduards Bezverhijs
** Attachment added: "udev.txt" https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1626651/+attachment/4754480/+files/udev.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-settings-daemon in Ubuntu.

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-04 Thread Eduards Bezverhijs
** Attachment added: "evdtest.txt" https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1626651/+attachment/4754481/+files/evdtest.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-settings-daemon in Ubuntu.

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-10-01 Thread Zero
Confirm on Yakkety 16.10 on notebook HP Pavilion g7 smbios-2.7 dmi-2.7 smp vsyscall32 Very very slow and inert reaction on pressing brightness keys $ uname -r 4.8.0-17-generic $ lspci 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:01.0 PCI bridge:

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-09-22 Thread Martin Pitt
On the u-s-d side there is some potential optimization: Ideally the brightness would always be set through xrandr XBACKLIGHT, which works unprivileged, and only fall back to the helper if that is not available and the brightness needs to be set via sysfs properties. However, even then there is no

[Desktop-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-09-22 Thread Martin Pitt
Changing tasks as this is somewhere between unity-settings-daemon and polkit. ** Package changed: linux (Ubuntu) => unity-settings-daemon (Ubuntu) ** Changed in: unity-settings-daemon (Ubuntu) Status: Incomplete => Triaged ** Package changed: systemd (Ubuntu) => policykit-1 (Ubuntu) **