Hibernate aktivieren

Message
Author
DenimDevil
Posts: 64
Joined: Fri Sep 04, 2020 4:22 am

Hibernate aktivieren

#1 Post by DenimDevil »

Hi,

ich habe mir einen neuen PC mit MX 23 eingerichtet aber der Ruhezustand (Hibernate) funktioniert nicht. Die Anleitung aus dem Wiki https://mxlinux.org/wiki/system/hibernate/ funktioniert ist anscheinend veraltet. An anderer Stelle hab ich gelesen, dass man dafür eine Swap Partition braucht. Da ich den PC recht schnell einrichten wollte, habe ich die Partitionierung automatisch erstellen lassen und darum wurde wohl keine Swap erstellt. Reicht es aus, wenn ich jetzt noch eine Swap Partiton erstelle und sie in die /etc/fstab eintrage oder muss ich noch mehr einstellen?

Code: Select all

System:
  Kernel: 6.1.0-28-amd64 [6.1.119-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-28-amd64 root=UUID=<filter> ro quiet splash
    resume=UUID=<filter> resume_offset=104830976
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_x64 Libretto September 15  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG Z390 GAMING PRO CARBON (MS-7B17) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.60 date: 08/08/2019
CPU:
  Info: model: Intel Core i9-9900K bits: 64 type: MT MCP arch: Coffee Lake gen: core 9 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xD (13)
    microcode: 0x100
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 809 high: 957 min/max: 800/5000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 957 9: 800 10: 800
    11: 800 12: 800 13: 800 14: 800 15: 800 16: 800 bogomips: 115200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
    PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: ASUSTeK driver: nouveau v: kernel
    non-free: 530.xx+ status: current (as of 2023-03) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: DVI-D-1 off: HDMI-A-1 empty: DP-1,DP-2,HDMI-A-2 bus-ID: 01:00.0 chip-ID: 10de:1c03
    class-ID: 0300 temp: 22.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1600x1200 s-dpi: 96 s-size: 423x318mm (16.65x12.52") s-diag: 529mm (20.83")
  Monitor-1: DVI-D-1 pos: primary model: ViewSonic VP201s serial: <filter> built: 2003
    res: 1600x1200 hz: 60 dpi: 100 gamma: 1.2 size: 408x306mm (16.06x12.05") diag: 510mm (20.1")
    ratio: 4:3 modes: max: 1600x1200 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 note: disabled model: Samsung built: 2007 res: 1600x1200
    dpi: 305 gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 184mm (7.2") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.3 Mesa 22.3.6 renderer: NV136 direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA GP106 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1
    chip-ID: 10de:10f1 class-ID: 0403
  API: ALSA v: k6.1.0-28-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 5.91 TiB used: 119.77 GiB (2.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 2B2QEXM7 temp: 29.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 QVO 2TB size: 1.82 TiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Seagate model: ST4000DM 004-2CV104
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 0001
    scheme: GPT
Partition:
  ID-1: / raw-size: 465.51 GiB size: 457.13 GiB (98.20%) used: 119.77 GiB (26.2%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 275 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 70.73 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 26.0 C pch: 31.0 C mobo: N/A gpu: nouveau temp: 23.0 C
  Fan Speeds (RPM): N/A gpu: nouveau fan: 1197
Repos:
  Packages: pm: dpkg pkgs: 2337 libs: 1183 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm main non-free
Info:
  Processes: 307 Uptime: 50m wakeups: 1 Memory: 62.73 GiB used: 3.51 GiB (5.6%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

User avatar
j2mcgreg
Global Moderator
Posts: 7161
Joined: Tue Oct 23, 2007 12:04 pm

Re: Hibernate aktivieren

#2 Post by j2mcgreg »

Unsere automatische Installationsmethode erstellt standardmäßig eine Auslagerungsdatei (die in Ihrem QSI angezeigt wird) und funktioniert genauso wie eine dedizierte Auslagerungspartition. Der XFCE-Bildschirmspeicher ist fehlerhaft und sollte vollständig deinstalliert werden. Sie können ihn durch Light-Locker ersetzen.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

DenimDevil
Posts: 64
Joined: Fri Sep 04, 2020 4:22 am

Re: Hibernate aktivieren

#3 Post by DenimDevil »

Hallo j2mcgreg,

soweit ich gelesen habe, reicht die Swap Datei nicht aus, aber ich werde erstmal Light-Locker probieren. Was meinst du mit XFCE-Bildschirmspeicher, ich glaube die Übersetzeung ist nicht richtig. Screensaver?

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: Hibernate aktivieren

#4 Post by davidy »

richtig
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

User avatar
zirius
Posts: 14
Joined: Sat Jul 09, 2022 9:10 am

Re: Hibernate aktivieren

#5 Post by zirius »

Wenn eine Swap Partition angelegt wurde und aktiv ist dann in der Energieverwaltung unter dem Reiter System den Energiesparmodus auf Ruhezustand setzen und eine Aktivierungszeit einstellen.
Zusätzlich kannst du in MX-Tweak Konfigurationsoptionen das Häkchen "Ruhezustand im Log-Out Menü zulassen" aktivieren.

DenimDevil
Posts: 64
Joined: Fri Sep 04, 2020 4:22 am

Re: Hibernate aktivieren

#6 Post by DenimDevil »

Hab alles so eingestellt, aber so richtig funktioniert es noch nicht. Der PC geht erstmal in den Ruhezustand, wacht dann aber nicht richtig auf. MX Linux fährt bis zum Desktop hoch, aber es funktionieren weder Maus noch Tastatur.

DenimDevil
Posts: 64
Joined: Fri Sep 04, 2020 4:22 am

Re: Hibernate aktivieren

#7 Post by DenimDevil »

Kleines Update: hab im UEFI/BIOS USB legacy deaktiviert, jetzt fährt der PC bis zum Anmeldebildschirm hoch und da funktioniert auch Maus und Tastatur. Nachdem ich das Passwort eingegeben habe, kommt aber nur ein schwarzer Bildschirm und der Mauszeiger. In /var/log/pm-suspend.log steht zwar überall success, aber ich glaube das betrifft nur das Herunterfahren.

Post Reply

Return to “Deutsches Forum”