Bug 1343800

Summary: screen dimming freezes gnome for a few seconds
Product: [Fedora] Fedora Reporter: Luke Meyer <lmeyer>
Component: gnome-power-managerAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: kgiusti, mclasen, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-01 20:44:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luke Meyer 2016-06-08 02:05:31 UTC
Description of problem:
When I am working on my laptop (ThinkPad W541) with the power cord unplugged, if I don't have any input for about 15 seconds, the screen will automatically dim. When it does, gnome freezes for a few seconds. Then when I press a key, it un-dims, and freezes again for a few seconds. I can't figure out how to get it to stop dimming, and I don't know why it freezes.

Additional info:
These logs in the journal look relevant, but I am not sure what it is telling me that ACPI requires.

Jun 07 10:05:03 <redacted> pkexec[12853]: lmeyer: Executing command [USER=root] [TTY=unknown] [CWD=/home/lmeyer] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 1438]
Jun 07 10:05:03 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming kernel object tree...
Jun 07 10:05:04 <redacted> kernel: nouveau 0000:01:00.0: devinit: 0x64da[0]: script needs connector type
Jun 07 10:05:06 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming client object trees...
Jun 07 10:05:10 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming display...
Jun 07 10:05:10 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming console...
Jun 07 10:05:15 <redacted> kernel: ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)
Jun 07 10:05:15 <redacted> kernel: ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)
Jun 07 10:05:15 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending console...
Jun 07 10:05:15 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending display...
Jun 07 10:05:15 <redacted> kernel: nouveau 0000:01:00.0: DRM: evicting buffers...
Jun 07 10:05:15 <redacted> kernel: nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
Jun 07 10:05:15 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending client object trees...
Jun 07 10:05:19 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending kernel object tree...
Jun 07 10:05:23 <redacted> pkexec[12859]: pam_systemd(polkit-1:session): Cannot create session: Already running in a session
Jun 07 10:05:23 <redacted> pkexec[12859]: pam_unix(polkit-1:session): session opened for user root by (uid=3668)
Jun 07 10:05:23 <redacted> audit[12859]: USER_START pid=12859 uid=3668 auid=3668 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_mkhomedir,pam_unix acct="root" exe="/usr/bin/pkexec" hostname=? addr=? terminal=? res=success'
Jun 07 10:05:23 <redacted> pkexec[12859]: lmeyer: Executing command [USER=root] [TTY=unknown] [CWD=/home/lmeyer] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 4794]
Jun 07 10:05:23 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming kernel object tree...
Jun 07 10:05:24 <redacted> kernel: nouveau 0000:01:00.0: devinit: 0x64da[0]: script needs connector type
Jun 07 10:05:28 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming client object trees...
Jun 07 10:05:32 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming display...
Jun 07 10:05:32 <redacted> kernel: nouveau 0000:01:00.0: DRM: resuming console...
Jun 07 10:05:32 <redacted> /usr/libexec/gdm-x-session[2604]: (II) SYN_DROPPED event from "SynPS/2 Synaptics TouchPad" - some input events have been lost.
Jun 07 10:05:37 <redacted> kernel: ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)
Jun 07 10:05:37 <redacted> kernel: ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)
Jun 07 10:05:37 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending console...
Jun 07 10:05:37 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending display...
Jun 07 10:05:37 <redacted> kernel: nouveau 0000:01:00.0: DRM: evicting buffers...
Jun 07 10:05:37 <redacted> kernel: nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
Jun 07 10:05:37 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending client object trees...
Jun 07 10:05:41 <redacted> kernel: nouveau 0000:01:00.0: DRM: suspending kernel object tree...

Comment 1 Luke Meyer 2016-06-08 12:45:13 UTC
It also freezes when plugged in, if I'm using the laptop screen and I manually change the brightness; but not if I'm using auxiliary screens.

Comment 2 Ken Giusti 2016-07-01 12:57:26 UTC
I see the same behavior on my Lenovo W541, regardless of power source.

I can reproduce this simply by opening the system settings gnome tool via the system menu (pull down menu on the far right of the top menu bar).

The system GUI hard freezes for maybe 5-15 seconds.  journalctl -f output captured before and after the freeze:

Jul 01 08:54:07 localhost.localdomain kgiusti[3500]: Opening settings now

<freezes here for ~6 seconds, then resumes.  The following is printed immediately upon resuming:>

Jul 01 08:54:11 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: resuming kernel object tree...
Jul 01 08:54:12 localhost.localdomain kernel: nouveau 0000:01:00.0: devinit: 0x64da[0]: script needs connector type
Jul 01 08:54:16 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: resuming client object trees...
Jul 01 08:54:20 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: resuming display...
Jul 01 08:54:20 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: resuming console...
Jul 01 08:54:20 localhost.localdomain /usr/libexec/gdm-x-session[2115]: (II) SYN_DROPPED event from "Logitech Wireless Mouse M560" - some input events have been lost.

<then after a few seconds:>

Jul 01 08:54:25 localhost.localdomain kernel: ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)
Jul 01 08:54:25 localhost.localdomain kernel: ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)
Jul 01 08:54:25 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: suspending console...
Jul 01 08:54:25 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: suspending display...
Jul 01 08:54:25 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: evicting buffers...
Jul 01 08:54:25 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
Jul 01 08:54:25 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: suspending client object trees...
Jul 01 08:54:29 localhost.localdomain kernel: nouveau 0000:01:00.0: DRM: suspending kernel object tree...

Comment 3 Ken Giusti 2016-07-01 13:02:30 UTC
I believe this is a duplicate of BZ1302847

https://bugzilla.redhat.com/show_bug.cgi?id=1302847

I'll leave it up to Richard whether or not to mark it as such.

Comment 4 Luke Meyer 2016-07-01 20:44:56 UTC
I agree it's a duplicate. I'll try out the solution there. I'll reopen (or Richard can) if it looks different somehow.

*** This bug has been marked as a duplicate of bug 1302847 ***