You are not logged in.

#1 2025-04-09 22:05:32

anonking1977
Member
Registered: 2025-04-07
Posts: 9

Hibernation does not work and internet cut off after nvidia install

This is my system:

zain@Archie
OS: Arch Linux x86_64
Host: ZenBook Pro Duo UX581LV_UX581LV (1.0)
Kernel: Linux 6.14.1-arch1-1
Uptime: 38 mins
Packages: 1010 (pacman)
Shell: zsh 5.9
Display (BOE085F): 3840x1100 @ 60 Hz (as 1920x550) in 14" [External]
Display (SDCA029): 3840x2160 @ 60 Hz (as 1920x1080) in 16" [Built-in] *
DE: KDE Plasma 6.3.4
WM: KWin (Wayland)
WM Theme: Sweet-ambar-blue'Theme: Breeze (SweetAmbarBlue) [Qt], Breeze-Dark [GTK2], Breeze [GTK3/4]
Icons: candy-icons [Qt], candy-icons [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: Bibata-Rainbow-Modern (40px)
Terminal: konsole 24.12.3
Terminal Font: MesloLGS NF (12pt, Bold, Italic)
 CPU: Intel(R) Core(TM) i9-10980HK (16) @ 5.30 GHz
GPU 1: NVIDIA GeForce RTX 2060 Mobile [Discrete]
GPU 2: Intel UHD Graphics @ 1.25 GHz [Integrated]
Memory: 6.14 GiB / 31.12 GiB (20%)
Swap: 0 B / 38.00 GiB (0%)
Disk (/): 18.35 GiB / 97.87 GiB (19%) - ext4
Disk (/home): 29.45 GiB / 3.44 TiB (1%) - ext4
Disk (/run/timeshift/594469/backup): 78.08 GiB / 3.58 TiB (2%) - ext4
Battery (ASUS Battery): 85% [Discharging]
Locale: da_DK.UTF-8

This is my mkinitcpio.conf:

   7   │ MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
  55   │ #HOOKS=(base udev resume autodetect microcode modconf kms keyboard keymap consolefont block encrypt lvm2 filesystems fsck)
  56   │ 
  57   │ #HOOKS=(base udev resume autodetect microcode modconf keyboard keymap consolefont block encrypt lvm2 filesystems fsck)
  58   │ 
  59   │ HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block encrypt lvm2 filesystems resume fsck)

This is my grub config

   6   │ GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=/dev/nvme0n1p4:ArchMage0 quiet resume=UUID=05b0326b-d79b-4568-8f74-7451c84bd4c4 nvidia_drm.modeset=1"
   7   │ GRUB_CMDLINE_LINUX=""

This my modprobe:

       │ File: /etc/modprobe.d/nvidia.conf
   1   │ options nvidia NVreg_PreserveVideoMemoryAllocations=1
   2   │ options nvidia NVreg_TemporaryFilePath=/var/tmp

And this is my fstab:

  14   │ UUID=05b0326b-d79b-4568-8f74-7451c84bd4c4 none swap sw 0 0 

abd my partition

nvme0n1                                                                                                  
├─nvme0n1p1             ext4        1.0            defca5ee-2301-461e-826d-14bf4cd288e6      1,1G    35% /boot
├─nvme0n1p2             vfat        FAT32          C15A-D8E3                                             
├─nvme0n1p3             swap        1              05b0326b-d79b-4568-8f74-7451c84bd4c4                  [SWAP]
└─nvme0n1p4             crypto_LUKS 2              aba05bcf-0931-4e63-acd4-af7f19a10f93                  
  └─ArchMage0           LVM2_member LVM2 001       avp1rS-cI9J-qG22-WykQ-WimQ-mHJO-mfAUbV                
    ├─ArchMage0-lv_root ext4        1.0            89309ad1-ab49-48f4-9f60-141e08fc87d0     74,5G    19% /
    └─ArchMage0-lv_home ext4        1.0            9c616bfe-b6c2-4a90-99ec-ad200fab4014      3,2T     1% /home

my swap space is 38 GiB and my ram 31 GiB.

Every time i hibernate i reboot, but i get a bug where my internet is cut off and cant reconnect unless i reboot normally. Is there any fixes?

Offline

#2 2025-04-10 06:08:34

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Hibernation does not work and internet cut off after nvidia install

https://bbs.archlinux.org/viewtopic.php … 7#p2236327
If you still have network issues after resuming, we'll need to see a system journal of that, but it's unlikely to somehow hinge on the nvidia drivers.
The botched resume might have pissed off your switch/dhcp server, though, so it stopped talking to your host.

Offline

#3 2025-04-10 19:18:35

anonking1977
Member
Registered: 2025-04-07
Posts: 9

Re: Hibernation does not work and internet cut off after nvidia install

seth wrote:

https://bbs.archlinux.org/viewtopic.php … 7#p2236327
If you still have network issues after resuming, we'll need to see a system journal of that, but it's unlikely to somehow hinge on the nvidia drivers.
The botched resume might have pissed off your switch/dhcp server, though, so it stopped talking to your host.

I found a solution. Its just you dont have to add nvidia modules on mkinitcpio (in other words. no early kms for nvidia) to make hibernation work.

Offline

#4 2025-04-10 19:21:24

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Hibernation does not work and internet cut off after nvidia install

Yeah, that's the solution I told you in my first reply on the other thread and I understood that (obviously…) fixes your general hibernation issue.

The question is whether there's an semi-/unrelated network issue next to that.
If not and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2025-04-10 19:47:41

anonking1977
Member
Registered: 2025-04-07
Posts: 9

Re: Hibernation does not work and internet cut off after nvidia install

seth wrote:

Yeah, that's the solution I told you in my first reply on the other thread and I understood that (obviously…) fixes your general hibernation issue.

The question is whether there's an semi-/unrelated network issue next to that.
If not and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

I am new here. But another thing i want to say. The one who solved this put systemd on hooks and removed resume. Big mistake as i cant boot into my system at all.

Offline

#6 2025-04-10 20:22:01

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Hibernation does not work and internet cut off after nvidia install

https://deepl.com - I've no idea what you're trying to say.

Offline

#7 2025-04-12 09:59:20

anonking1977
Member
Registered: 2025-04-07
Posts: 9

Re: Hibernation does not work and internet cut off after nvidia install

seth wrote:

https://deepl.com - I've no idea what you're trying to say.

What i am trying to say that:

HOOKS=(base [bold]systemd[/bold] udev autodetect microcode modconf keyboard keymap consolefont block filesystems plymouth fsck) # This code will not make your pc boot into OS
HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block filesystems plymouth [code]resume[/code] fsck) # This code will make you boot into your OS

I tried it myself

Offline

#8 2025-04-12 14:16:39

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Hibernation does not work and internet cut off after nvidia install

https://wiki.archlinux.org/title/Mkinit … mmon_hooks - you can choose the systemd or busybox configuration - not both. And the udev hook would be in the way.

Offline

Board footer

Powered by FluxBB