Skip to content

Kenan YAMAN

Dışı tekniker, içi yazılımcı

Menu
Menu

Linux sleep modes and issues

Posted on 14 July 202114 July 2021 by Kenan

Hello everyone, I haven’t blogged for a long time. Whether it was a job change or the problems I had, I could not spare time and prepare content.

I want to start by writing how I solved a problem I had on my own computer. First, let’s go back to the beginning of the story. Those who have read my previous articles know that the first thing I did after coming back from the military was to format my computer. I started everything from scratch. There is no problem so far, but when I want to put my computer to sleep, it goes into sleep mode, when I want to wake it up again, it does not respond. It stayed on the black screen. I had this problem before and I fixed it. Since I don’t remember how I solved it, I had to solve it by doing research again. I wanted to share an article about this condition for those who suffer from it. Let’s start.

[goruntu_yatay]
[goruntu_yatay_amp]

İçerik gizle
1 Sleep Modes
1.1 1- Suspend To Ram
1.2 2- Suspend To Disk
1.3 3- Sleep on both ram and disk (Suspend Hybrid)
2 Sleep state on linux
3 Solution ?
3.1 Source:
3.2 Bunu paylaş:
3.3 Related

Sleep Modes

There are three types of sleep states. Let’s look at these in order. Each mode has its own advantages and disadvantages.

1- Suspend To Ram

[goruntu_yatay_amp]

When you put your computer to sleep in this mode, the information of the applications and files that are currently open on your computer are transferred to RAM and the rest of the hardware is turned off. In this way, you can keep your computer in this mode for a long time with lower energy.

Advantage; Since ram is a fast hardware, you can resume your computer from sleep mode in a short time and continue from where you left off, this time may vary according to your computer’s hardware. It is between 5-15 seconds on average.

Disadvantage; ram is a permanent solution, so if your computer goes out of power, all the information on the ram will be deleted, it is impossible to continue from where you left off when you turn your computer back on when the power comes on.

2- Suspend To Disk

With this mode, when your computer goes into sleep mode, all processes and the hardware to be recorded on the disk are turned off. It is the sleep mode that saves the most electricity. With this mode, the computer can stay in sleep state for long periods of time with much lower electricity consumption.

[baglanti_kare][goruntu_kare]

Advantage; Since the information is recorded on the disc, you can continue from where you left off when you turn on your computer even when the power is cut off.

Disadvantage; Your computer will boot a little slower than sleeping on ram. You can shorten this situation a little more by using SSD. Today, with the widespread use of SSDs, these times have become even shorter.

3- Sleep on both ram and disk (Suspend Hybrid)

In this mode, both ram and disk sleep are performed, in fact, you can think of it as a combination of the two modes I wrote above. All information is recorded on ram and disk. In case of power failure, the process continues on the disk, when the power is not cut off, the process continues on the ram.

[yazi_ici_goruntu][space]

Sleep state on linux

Since we are familiar with computer sleep modes, let’s take a closer look at them on linux.

When you put your computer to sleep mode, your computer hardware (CPU, GPU etc.) and kernel must be in harmony. In addition, the hardware drivers must be suitable for the operating system to have full control over these hardware.

The basis of sleep mode problems on Linux is due to the inconsistency or misconfiguration of what I wrote above.

[yazi_ici_goruntu][space]

Solution ?

In the linux mint distribution I use, I saw that the problem was with the video card driver. To elaborate a little more on the subject; I saw that the video card driver in use on my computer is the driver provided by the video card manufacturer, and I noticed that this driver causes problems with the kernel or other hardware in the sleep state.

I solved the video card driver by using another open source driver instead of the one provided by the manufacturer. After making this change, when I put my computer to sleep and want to wake it up again, I saw that it opened without any problems.

You can try this way and check if the problem is solved. If your problem persists, you can search the internet with your motherboard or video card -suspend to ram intel, suspend to disk nvidia- and use the solution found by other users who have experienced this problem before.

Hope to see you in the next article

Source:

https://forum.ubuntu-tr.net/index.php?topic=46685.0

https://www.kernel.org/doc/html/v4.15/admin-guide/pm/sleep-states.html

https://www.webopedia.com/definitions/suspend-to-ram/#:~:text=Suspend%2Dto%2DRAM%20(STR,other%20components%20are%20turned%20off.

https://unix.stackexchange.com/questions/162886/what-does-pm-suspend-hybrid-do

Bunu paylaş:

  • Twitter
  • Facebook

Related

Leave a Reply Cancel reply

Categories

  • Console
  • Django-en
  • English
  • General
  • Hardware
  • Kick-off information
  • Linux-en
  • Python-en
  • Software
  • TürkçeTürkçe

Personal VPN setup

Personal vpn setup

RSS Rss

  • Samsung np s3511 laptop fan temizliği, termal macun değişimi ve parça değişimi (RAM, HDD,Cd room,CPU ) 12 October 2021
    Herkese merhaba, uzun zamandır bir laptop söküp bakım yapmamıştım. Eski bir arkadaşım laptopuında ısınma ve kapanma sorunları olduğunu söyledi. Bir hafta sonu misafirliğe giderek laptopa güzel bir temizlik yaptık. Temizlik yaparken yaptığım işlemleri resim çekerek görselleştirdim. Ben temizlik için laptopu söktüm fakat sadece temizlik yapmak dışında bu yazınında başlığında gördüğünüz gibi parça değişimi işlemleri içinde...
  • Linux işletim sisteminin yanına windows işletim sistemi nasıl kurulur ? [Dual boot] 28 June 2021
    Herkese merhaba, bugün ki konumuz dual boot, bir başka değişle; bilgisayarınızda yüklü olan işletim sisteminin yanına bir başka işletim sistemi kurmak. Uzun yıllar Windows kullanmış bir birey olarak, yaklaşık 5-6 yıldır Linux tabanlı işletim sistemleri kullanıyorum. Uygulama geliştiricelerin kullanırken daha rahat hissetiği ve işletim sistemi üzerinde tam kontrole sahip olduğu bir işletim sistemi. Bunun yanı...
  • Docker nedir, Docker ile neler yapılır ? 14 June 2021
    Herkese merhaba, sitemin temasını değiştirdim ve bir kaç bileşen eklemesi yaptım. Bri şeyi fark ettim, bir kaç yıldır blog yazıyorum fakat bloğumda arşiv kısmına baktığımda bir kaç ay hariç geri kalan aylarda neredeyse sadece bir adet yazı paylaşmışım. Düşünüyorum; ayda bir yazıdan fazla blog yazmış olmam gerekiyor. Ama gerçekte öyle değilmiş. Neyse, bu durum bloğun...
  • Linux uyku modları ve sorunları 22 May 2021
    Herkese merhaba, uzun zamandır blog yazamıyorum. İş değiştirme olsun yaşadığım sorunlar olsun bir türlü vakit ayırıp içerik hazırlayamadım. Kendi bilgisayarım üzerinde yaşadığım bir sorunu nasıl çözdüğümü yazarak başlamak istiyorum. Öncelikle hikayenin başına dönelim. Önceki yazılarımı okuyanlar bilir, askerden geldikten sonra yaptığım ilk iş bilgisayarıma format atmak oldu. Herşeye sıfırdan başladım. Buraya kadar bir problem yok...
  • WordPress, web sitenizde kritik bir hata oluştu! 3 April 2021
    Herkese merhaba, uzun süredir içerik üretemedim ve fazla vakit ayıramadım buralara, yeterince vakit bulamadım işin açıkcası. Bulduğum ilk fırsatta bir iki yazı yazmak istedim. İlk yazım wordpress kullanan her kullanıcının başına gelebilecek türden bir hata. Bir gün web sitenize girmek istediniz ve karşınıza böyle bir ekran geldi. [goruntu_kare][goruntu_kare_amp] Siz en son bıraktığınızda siteniz güzel ve...
  • İnternette Kişisel Güvenlik 24 January 2021
    Geçtiğimiz günlerde WhatsApp’ın güncellediği kişisel veri ilkesiyle ülkemizde büyük ses getird. Bununla birlikte telefonumuzda ya da bilgisayarımızda kullandığımız uygulamaların ne tür verileri sakladığını ve bu verileri ne amaçla kullandığını bilmek kişisel olarak güvenliğimizi artırmak için araştırmamız gereken konular arasına girdi. İnternet üzerinde yaptığımız her türlü araştırma ve web site ziyareti kayıt altına alınıyor bu bir...
  • Nasıl pasaport alınır ? detaylı anlatım 2021 5 December 2020
    Dünyanın başına gelmeyen olayın kalmadığı 2020 yılının son ayındayız. Hastalıklar, doğal afetler, ölümler, patlamalar, çatlamalar envai çeşit sıkıntıyla yüzleştik, umarım 2021 yılı daha hurulu ve mutlu geçer tüm dünya ve bizim için. 2020 yılının son ayına girdiğimiz şu günlerde uzun süredir aklımda olan bir eylemi gerçekleştirdim ve pasaport aldım. Pasaport alırken yapılacak işlemleri ve pasaport...
  • Pythonanywhere üzerinde selenium kullanımı 5 November 2020
    Python üzerinde veri kazıma yapmak isterseniz eğer muhakkak ismini duyup araştırmışsınızdır selenium modülünü. Selenium modülü ile kullanıcı taklit edilecek web sitesi üzerinde testler oluşturabilir ya da veri kazıma işlemleri yapabilirsiniz. Peki bu işlemleri herhangi bir ekrana sahip olmayan uzak sunucu üzerinde yapmak istersek nasıl gerçekleştireceğiz ? Hadi başlayalım. [baglanti_kare] [baglanti_kare][space] Python selenium modülü nedir ?...
  • Polylang eklentisi nedir ? WordPress sitesine çoklu dil ekleme nasıl yapılır ? 29 October 2020
    Herkese merhaba, bir blog siteniz varsa ve sürekli yazılar yayınlayıp paylaşıyorsanız eğer bir süre sonra bu yazıları farklı diller içinde paylaşmak isteyebilirsiniz. Farklı dillerde yayın yaparak daha fazla kitelelere ulaşabilir ve Google adsense ya da farklı reklam gösterimlerini kullanarak daha fazla gelir elde edebilirsniz. Peki wordpress alt yapısı ile oluşturulmuş bir sitede çoklu dil eklemek...
  • HTTP Metodları nelerdir ? 26 October 2020
    Bugün ki yazımda, gün içinde sıklıkla kullandığımız fakat arkaplanına pek dikkat etmediğimiz web site isteklerine bakacağız. Bilgisayar başına geçtiğimizde gerek iş için olsun gerekse bir araştırma için olsun bir çok web sitesini ziyaret ediyoruz, bu ziyaretlerimiz sırasında site ile iletişim kurmamız gereken durumlarda meydana geliyor. Peki bu iletişimin nasıl olduğunu hiç merak ettiniz mi ?...

Archives

  • July 2021 (2)
  • April 2021 (1)
  • October 2020 (2)
  • September 2020 (1)
  • March 2020 (1)
  • February 2020 (4)
  • January 2020 (6)
  • December 2019 (5)
  • November 2019 (3)
  • September 2019 (1)
  • July 2019 (1)
  • April 2019 (1)
  • December 2018 (2)
  • November 2018 (2)
  • October 2018 (1)
  • September 2018 (1)
  • August 2018 (4)

Blog Stats

  • 22,921 hits

Blog İnformation

  • 22,921 Click

DMCA.com Protection Status

© 2022 Kenan YAMAN | Powered by Minimalist Blog WordPress Theme
Go to mobile version