Description of problem: After upgrading (graphical) from 24 to 25 suspend and hibernate where not working nor was there an entry in Gnome > settings > energy to make this possible. Version-Release number of selected component (if applicable): Fedora 25 How reproducible: Allways Steps to Reproduce: 1. Close laptop lid 2. Laptop stays on 3. Actual results: None Expected results: Got to suspend Additional info: In bios I have activated both graphics cards (intel and nvidia) due to better support in FC 25 (wayland) for switchable graphics. Turned to intergrated (Intel) only. Edited GRUB to: GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet acpi=on acpi_osi=Linux" and removed "i915.i915_enable_rc6=1". Now suspend an hibernate works but I can not use the Nvida card.
This bug is assinged to a wrong componet, because: Hibernate is a powerful, ultra-high performance object/relational persistence and query service for Java.
suggestion: $ locate hibernate ... /usr/sbin/pm-hibernate ... rpm -qf /usr/sbin/pm-hibernate
/usr/sbin/pm-hibernate is available. Result of rpm -qf /usr/sbin/pm-hibernate is pm-utils-1.4.1-30.fc21.x86_64 When selecting both graphic cards in BIOS suspend and hibernate do not work. Only when given the command from commandline but not when closing the laptop. When selecting only Intel graphic card in BIOS suspend and hibernate work as expected.
Hardware: Nvidia GForce 540M and Intel. Legacy BIOS, Acer TimelineX 3830TG lspci |grep VGA 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Currently pm-utils are obsoleted. Suspend/resume is handled by kernel and as a frontend systemd is used which is usually called by desktop power manager. Lid switch is handled by systemd. Check /etc/systemd/logind.conf HandleLidSwitch should be commented (i.e. on the default settings which is suspend) or you can also set it the following way: HandleLidSwitch=suspend In case there are multiple monitors/GPUs or dock you may also need to set: HandleLidSwitchDocked=suspend Which is by default set to 'ignore'. For details see: $ man logind.conf If it still doesn't work, please reassign this bug to systemd. Also please note this bug is currenty in 'CLOSED' state, i.e. resolved.
I have a hypothesis that this happening because of missing swap partitions. I have a similar issue on Fedora 26. And after a lot of trial and errors, I tried to see the dependence on swap partitions. One of the things I noticed is that I dont have a swap partition cat /proc/swaps I then created a new swap file sudo dd if=/dev/zero of=/swapfile bs=1024 count=8388608 sudo chmod 0600 /swapfile sudo swapon /swapfile echo "/swapfile none swap sw 0 0" >> /etc/fstab It looks my suspend/resume is working fine again. I wonder how I ended up with no swap partition. I'm pretty sure I used Fedora default installation options