Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 14050  / 1 Year ago, tue, december 6, 2022, 11:51:08

I updated to Ubuntu 22.04 and there is something wrong when I suspend my computer: I have that screen:


enter image description here


I'm using NVIDIA driver (nvidia-driver-470) and I'm on X11 and since the update I can't switch to Wayland anymore from the login session.


enter image description here


edit (23/04/2022):


$ sudo dmidecode -s bios-version
X751LN.302

$ free -h
total used free shared buff/cache available
Mem: 11Gi 1,7Gi 8,1Gi 270Mi 1,8Gi 9,4Gi
Swap: 2,0Gi 0B 2,0Gi


$ sysctl vm.swappiness
vm.swappiness = 60

$ swapon -s
Filename Type Size Used Priority
/swapfile file 2097148 0 -2



$ sudo lshw -C memory
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: X751LN.302
date: 01/30/2015
size: 64KiB
capacity: 6MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification uefi
*-cache:0
description: L2 cache
physical id: 9
slot: CPU Internal L2
size: 512KiB
capacity: 512KiB
capabilities: internal write-back unified
configuration: level=2
*-cache:1
description: L1 cache
physical id: a
slot: CPU Internal L1
size: 128KiB
capacity: 128KiB
capabilities: internal write-back
configuration: level=1
*-cache:2
description: L3 cache
physical id: b
slot: CPU Internal L3
size: 4MiB
capacity: 4MiB
capabilities: internal write-back unified
configuration: level=3
*-memory
description: System Memory
physical id: c
slot: System board or motherboard
size: 12GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
vendor: Micron
physical id: 0
serial: 00000000
slot: ChannelA-DIMM0
size: 4GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:1
description: DIMM [empty]
product: [Empty]
vendor: [Empty]
physical id: 1
serial: [Empty]
slot: ChannelA-DIMM1
*-bank:2
description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
vendor: 0000
physical id: 2
serial: 0104AB19
slot: ChannelB-DIMM0
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:3
description: DIMM [empty]
product: [Empty]
vendor: [Empty]
physical id: 3
serial: [Empty]
slot: ChannelB-DIMM1

I think i don't have ram issues according to memtest :


memtest
enter image description here


I manage to get Wayland back by editing



/usr/lib/udev/rules.d/61-gdm.rules



as @ManOnTheMoon suggested in comments.


More From » suspend

 Answers
7

After a few days of searching for a solution, I finally found one of the solutions I tried yesterday, and it finally worked! But I haven't found out any further whether the impact on my laptop in the future, at least this solution can help me first for now. Who knows this can help other friends too..


From the following reference (in comment #2 from dhenry), I tried disabling nvidia-resume and nvidia-suspend services using this command :


systemctl disable nvidia-hibernate.service nvidia-resume.service nvidia-suspend.service

Source :
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-510/+bug/1970088


[#644] Thursday, December 8, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
onbean

Total Points: 29
Total Questions: 102
Total Answers: 115

Location: Benin
Member since Fri, Mar 24, 2023
1 Year ago
onbean questions
Fri, Mar 18, 22, 19:49, 2 Years ago
Mon, Jun 7, 21, 17:21, 3 Years ago
Mon, Jan 16, 23, 04:48, 1 Year ago
Mon, Oct 17, 22, 14:51, 2 Years ago
;