Hibernation fails with closed lid and external monitor connected Ubuntu 18.04Different behaviour in 12.04 and 14.04 when laptop lid closed with external monitorLaptop goes to sleep right after boot with lid closed and external monitor connectedClosing lid turns off external monitor on 16.04Clicks on the screen while laptop lid is closedDisplay settings are not savedUnable to wake with external keyboard while lid is closedLogin screen won't show up on external display after screen lock if lid is closed (xubuntu)

Three Tongues of Rock

Extracting solutions from ContourPlot

Is it true that almost everyone who starts a PhD and sticks around long enough can get one?

Tablet and Wi-Fi AP can't agree on a channel. Which device is violating the 802.11n standard?

What can I do at Hong Kong Airport for 13 hours?

In the UK, who owns the intellectual property of a thesis?

Sold item on eBay, buyer wants it to be delivered to another country, and pay by bank transfer

Rite of Winter: How to Stop Crescian Couples from Mutual Assassination

Difference between a paintmap and wetmap

Is there an appropriate response to "Jesus Loves You"?

Captain Pun's new boat

Aliens kill as an art form, surprised that humans don't appreciate

Does driving a speaker with a DC offset AC signal matter?

Can I freely use 'here is' instead of 'there is' if I'm in the place where that thing is?

Why does all female physical beauty have to be sexualised?

Should high school teachers say “real numbers” before teaching complex numbers?

Stack Exchange Answerer

How can baseline humanity survive on its own in the future?

Commander Damage Stacking & Player Control

Is Communism intrinsically Authoritarian?

Can I travel to UK as a cabin crew after being refused entry to Ireland?

GIMP using command line

Sending non-work emails to colleagues. Is it rude?

Clockwise matrix rotation



Hibernation fails with closed lid and external monitor connected Ubuntu 18.04


Different behaviour in 12.04 and 14.04 when laptop lid closed with external monitorLaptop goes to sleep right after boot with lid closed and external monitor connectedClosing lid turns off external monitor on 16.04Clicks on the screen while laptop lid is closedDisplay settings are not savedUnable to wake with external keyboard while lid is closedLogin screen won't show up on external display after screen lock if lid is closed (xubuntu)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















I have configured hibernation on my laptop. It works as intended now as long as there is not external screen connected.



I often connect a second screen and close the lid of the laptop. It's set to do nothing when the lid is closed. The laptop display will just turn off and I can continue working on the larger screen. So far so good.



Now when I hibernate with an external screen connected, instead of hibernating properly some close lid action starts creating problems with the ubuntu login screen.



Hibernation with the second screen connected only works if I fully disable the lid action in:
/etc/UPower/UPower.conf
IgnoreLid=true



This however renders my second screen useless as the laptop screen stays powered on with closed lid and I can't get the full screen reso on my external screen.



I already tried to set all possible lid options in dconf editor to 'nothing'. Yet, this seems to have no effect. Same goes for lid related changes in /etc/systemd/logind.conf



I am lost at this point. I hope someone here can help.



Edit: I use a swap file for hibernation. 8GB RAM/ 16GB Swap. Hibernation works as long as no external monitor is connected with the laptop lid closed.



Update: When I hibernate with the laptop lid closed the system seems to sleep first then hibernate. When it boots back up it apparently then first comes back from hibernation and then tries to wake-up from sleep which fails due to RAM being empty (hibernation had caused a power off before). I still didn't find a solution for this problem. I made this observation from what I see happening on screen. Not sure if there are any logs that can confirm this.



Update: It's not the close lid action causing the problem. The problem occurs if a second screen is fully connected (using graphics card) regardless of any lid action.










share|improve this question






















  • 1





    I have added the information to the orginal post. Yet, I don't see how this is relevant. The problem is not that hibernation does not work. The problem is that hibernation does not work with an external monitor connected and the lid of the laptop closed.

    – phanky5
    Sep 20 at 19:50











  • Rules out two failure modes (i.e., changing to a swap file from a swap partition, and inadequate swap partition size). Thank you for the follow through.

    – K7AAY
    Sep 20 at 20:06

















1


















I have configured hibernation on my laptop. It works as intended now as long as there is not external screen connected.



I often connect a second screen and close the lid of the laptop. It's set to do nothing when the lid is closed. The laptop display will just turn off and I can continue working on the larger screen. So far so good.



Now when I hibernate with an external screen connected, instead of hibernating properly some close lid action starts creating problems with the ubuntu login screen.



Hibernation with the second screen connected only works if I fully disable the lid action in:
/etc/UPower/UPower.conf
IgnoreLid=true



This however renders my second screen useless as the laptop screen stays powered on with closed lid and I can't get the full screen reso on my external screen.



I already tried to set all possible lid options in dconf editor to 'nothing'. Yet, this seems to have no effect. Same goes for lid related changes in /etc/systemd/logind.conf



I am lost at this point. I hope someone here can help.



Edit: I use a swap file for hibernation. 8GB RAM/ 16GB Swap. Hibernation works as long as no external monitor is connected with the laptop lid closed.



Update: When I hibernate with the laptop lid closed the system seems to sleep first then hibernate. When it boots back up it apparently then first comes back from hibernation and then tries to wake-up from sleep which fails due to RAM being empty (hibernation had caused a power off before). I still didn't find a solution for this problem. I made this observation from what I see happening on screen. Not sure if there are any logs that can confirm this.



Update: It's not the close lid action causing the problem. The problem occurs if a second screen is fully connected (using graphics card) regardless of any lid action.










share|improve this question






















  • 1





    I have added the information to the orginal post. Yet, I don't see how this is relevant. The problem is not that hibernation does not work. The problem is that hibernation does not work with an external monitor connected and the lid of the laptop closed.

    – phanky5
    Sep 20 at 19:50











  • Rules out two failure modes (i.e., changing to a swap file from a swap partition, and inadequate swap partition size). Thank you for the follow through.

    – K7AAY
    Sep 20 at 20:06













1













1









1








I have configured hibernation on my laptop. It works as intended now as long as there is not external screen connected.



I often connect a second screen and close the lid of the laptop. It's set to do nothing when the lid is closed. The laptop display will just turn off and I can continue working on the larger screen. So far so good.



Now when I hibernate with an external screen connected, instead of hibernating properly some close lid action starts creating problems with the ubuntu login screen.



Hibernation with the second screen connected only works if I fully disable the lid action in:
/etc/UPower/UPower.conf
IgnoreLid=true



This however renders my second screen useless as the laptop screen stays powered on with closed lid and I can't get the full screen reso on my external screen.



I already tried to set all possible lid options in dconf editor to 'nothing'. Yet, this seems to have no effect. Same goes for lid related changes in /etc/systemd/logind.conf



I am lost at this point. I hope someone here can help.



Edit: I use a swap file for hibernation. 8GB RAM/ 16GB Swap. Hibernation works as long as no external monitor is connected with the laptop lid closed.



Update: When I hibernate with the laptop lid closed the system seems to sleep first then hibernate. When it boots back up it apparently then first comes back from hibernation and then tries to wake-up from sleep which fails due to RAM being empty (hibernation had caused a power off before). I still didn't find a solution for this problem. I made this observation from what I see happening on screen. Not sure if there are any logs that can confirm this.



Update: It's not the close lid action causing the problem. The problem occurs if a second screen is fully connected (using graphics card) regardless of any lid action.










share|improve this question
















I have configured hibernation on my laptop. It works as intended now as long as there is not external screen connected.



I often connect a second screen and close the lid of the laptop. It's set to do nothing when the lid is closed. The laptop display will just turn off and I can continue working on the larger screen. So far so good.



Now when I hibernate with an external screen connected, instead of hibernating properly some close lid action starts creating problems with the ubuntu login screen.



Hibernation with the second screen connected only works if I fully disable the lid action in:
/etc/UPower/UPower.conf
IgnoreLid=true



This however renders my second screen useless as the laptop screen stays powered on with closed lid and I can't get the full screen reso on my external screen.



I already tried to set all possible lid options in dconf editor to 'nothing'. Yet, this seems to have no effect. Same goes for lid related changes in /etc/systemd/logind.conf



I am lost at this point. I hope someone here can help.



Edit: I use a swap file for hibernation. 8GB RAM/ 16GB Swap. Hibernation works as long as no external monitor is connected with the laptop lid closed.



Update: When I hibernate with the laptop lid closed the system seems to sleep first then hibernate. When it boots back up it apparently then first comes back from hibernation and then tries to wake-up from sleep which fails due to RAM being empty (hibernation had caused a power off before). I still didn't find a solution for this problem. I made this observation from what I see happening on screen. Not sure if there are any logs that can confirm this.



Update: It's not the close lid action causing the problem. The problem occurs if a second screen is fully connected (using graphics card) regardless of any lid action.







multiple-monitors power-management hibernate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 21 at 6:05







phanky5

















asked Sep 20 at 17:50









phanky5phanky5

234 bronze badges




234 bronze badges










  • 1





    I have added the information to the orginal post. Yet, I don't see how this is relevant. The problem is not that hibernation does not work. The problem is that hibernation does not work with an external monitor connected and the lid of the laptop closed.

    – phanky5
    Sep 20 at 19:50











  • Rules out two failure modes (i.e., changing to a swap file from a swap partition, and inadequate swap partition size). Thank you for the follow through.

    – K7AAY
    Sep 20 at 20:06












  • 1





    I have added the information to the orginal post. Yet, I don't see how this is relevant. The problem is not that hibernation does not work. The problem is that hibernation does not work with an external monitor connected and the lid of the laptop closed.

    – phanky5
    Sep 20 at 19:50











  • Rules out two failure modes (i.e., changing to a swap file from a swap partition, and inadequate swap partition size). Thank you for the follow through.

    – K7AAY
    Sep 20 at 20:06







1




1





I have added the information to the orginal post. Yet, I don't see how this is relevant. The problem is not that hibernation does not work. The problem is that hibernation does not work with an external monitor connected and the lid of the laptop closed.

– phanky5
Sep 20 at 19:50





I have added the information to the orginal post. Yet, I don't see how this is relevant. The problem is not that hibernation does not work. The problem is that hibernation does not work with an external monitor connected and the lid of the laptop closed.

– phanky5
Sep 20 at 19:50













Rules out two failure modes (i.e., changing to a swap file from a swap partition, and inadequate swap partition size). Thank you for the follow through.

– K7AAY
Sep 20 at 20:06





Rules out two failure modes (i.e., changing to a swap file from a swap partition, and inadequate swap partition size). Thank you for the follow through.

– K7AAY
Sep 20 at 20:06










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175542%2fhibernation-fails-with-closed-lid-and-external-monitor-connected-ubuntu-18-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175542%2fhibernation-fails-with-closed-lid-and-external-monitor-connected-ubuntu-18-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?