Bug 102305 - [GFX][SKL] The DUT not perform S4...
Summary: [GFX][SKL] The DUT not perform S4...
Status: CLOSED DUPLICATE of bug 99669
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 21:16 UTC by Hector Velazquez
Modified: 2018-04-09 10:23 UTC (History)
2 users (show)

See Also:
i915 platform: SKL
i915 features: power/suspend-resume


Attachments
Dmesg.log (105.36 KB, text/plain)
2017-08-18 21:16 UTC, Hector Velazquez
no flags Details
kernel log (51.06 MB, text/plain)
2017-12-01 16:00 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2017-08-18 21:16:13 UTC
Created attachment 133619 [details]
Dmesg.log

======================================
        Test List
======================================
drm_suspend_S4


======================================
             Software
======================================
kernel version              : 4.12.5-300.fc26.i686+PAE
hostname                    : localhost.localdomain
architecture                : i686
os version                  : Fedora release 26 (Twenty Six)
os codename                 : TwentySix
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016
hardware acceleration       : disabled
swap partition              : enabled on (/dev/dm-1)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
/bin/bash: dpkg: command not found
/bin/bash: dpkg: command not found
/bin/bash: dpkg: command not found
/bin/bash: dpkg: command not found
/bin/bash: dpkg: command not found

======================================
             Hardware
======================================
platform                   : Skylake Canyon
motherboard id             : NUC6i7KYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
gpu card                   : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 31.54 GB
max memory ram             : 32 GB
cpu thread                 : 8
cpu core                   : 4
cpu model                  : 94
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 94, Stepping 3
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-3

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
             kernel parameters
======================================
Comment 1 Chris Wilson 2017-08-18 21:36:16 UTC
[  380.117557] PM: Creating hibernation image:
[  380.506423] PM: Need to copy 1051349 pages
[  380.506425] PM: Normal pages needed: 123429 + 1024, available pages: 103150
[  380.506425] PM: Not enough free memory
[  380.118245] PM: Error -12 creating hibernation image
Comment 2 Jani Nikula 2017-08-21 11:51:34 UTC
What is this update tool and what is this influx of bug reports about it?
Comment 3 Jani Nikula 2017-08-24 07:30:11 UTC
Ah, a new name for the Graphics Installer. We don't support that upstream. Support is available at https://01.org/linuxgraphics/forum/update-tool-support-forum
Comment 4 Ricardo 2017-08-24 21:08:48 UTC
hi Jani,
this bug is not related to the actual Update tool it has to do with S4, I will have Hector share more details about how to reproduce issue but this was identified in Fedora26 - 32 bits
Comment 5 Hector Velazquez 2017-08-24 21:48:09 UTC
steps to reproduce the issue:

1)Setup one SKL with Ubuntu/Fedora 32 bits
2)Install Update Tools
3)In Fedora:
    sudo dmesg | grep "swap", make sure swap has been added on "/dev/mapper/fedora-swap"
	edit /etc/default/grub to add next parameter into existing line: GRUB_CMDLINE_LINUX:"...resume=/dev/mapper/fedora-swap..."
	run: #grub2-mkconfig -o /boot/grub2/grub.cfg
  In Ubuntu:
    edit /etc/default/grub to add next parameter into existing line: GRUB_CMDLINE_LINUX:"...resume=/dev/sd?..."
	#grub-update
4)write: #echo disk > /sys/power/state
5)The system should be executed S4 power state...
Comment 6 Jani Nikula 2017-08-29 10:15:41 UTC
(In reply to Ricardo from comment #4)
> hi Jani,
> this bug is not related to the actual Update tool it has to do with S4, I
> will have Hector share more details about how to reproduce issue but this
> was identified in Fedora26 - 32 bits

Please reproduce using upstream drm-tip kernel and upstream tests.
Comment 7 Hector Velazquez 2017-12-01 15:59:10 UTC
This issue continue in SKL, with Linux 32 bits...
Tested with latest drm-tip (commit 07df63d9)

======================================
	     Software
======================================
kernel version              : 4.15.0-rc1+
hostname                    : gfx-desktop
architecture                : i686
os version                  : Ubuntu 17.04
os codename                 : zesty
memory ram                  : 31.56 GB
max memory ram              : 32 GB

Name        Version   Architecture   Description
===========-=========-==============-==========================================
pm-utils    1.4.1-17  all            utilities and scripts for power management

======================================
	     swap setup:
======================================
(07:22 AM) [gfx@gfx-desktop] [~]$ : lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 223.6G  0 disk
├─sda1   8:1    0  37.3G  0 part [SWAP]
└─sda2   8:2    0 186.3G  0 part /
(07:38 AM) [gfx@gfx-desktop] [~]$ : swapon
NAME      TYPE       SIZE USED PRIO
/dev/sda1 partition 37.3G   0B   -2
======================================
	     kernel parameters
======================================
quiet splash drm.debug=0xe resume=/dev/sda1
Comment 8 Hector Velazquez 2017-12-01 16:00:11 UTC
Created attachment 135855 [details]
kernel log
Comment 9 Jani Saarinen 2018-03-29 07:11:00 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 10 Elizabeth 2018-04-06 21:34:35 UTC

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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.