Most of the time when I try to log into my laptop after the session automatically closes for inactivity the session closes and I have to open again the applications. I suspect the problem is related to the nvidia drivers, any suggestion:
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: /etc/gdm3/Xsession: Beginning session setup...
Nov 5 19:46:35 Laptop1 kernel: [ 16.271691] bbswitch: version 0.8
Nov 5 19:46:35 Laptop1 kernel: [ 16.271700] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
Nov 5 19:46:35 Laptop1 kernel: [ 16.271713] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.RP01.PXSX
Nov 5 19:46:35 Laptop1 kernel: [ 16.271930] bbswitch: detected an Optimus _DSM function
Nov 5 19:46:35 Laptop1 kernel: [ 16.271947] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
Nov 5 19:46:35 Laptop1 kernel: [ 16.274042] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1080]: (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card1 /dev/dri/card1
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1080]: xf86: remove device 1 /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card1
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1080]: failed to find screen to remove
Nov 5 19:46:35 Laptop1 kernel: [ 16.293191] nvidia-modeset: Unloading
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: dbus-update-activation-environment: setting DISPLAY=:1
Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: dbus-update-activation-environment: setting XAUTHORITY=/run/user/1000/gdm/Xauthority
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): EDID vendor "HPN", prod id 13860
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Using EDID range info for horizontal sync
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Using EDID range info for vertical refresh
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Printing DDC gathered Modelines:
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1600x900"x60.0 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1440x900"x0.0 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (--) modeset(0): HDMI max TMDS frequency 170000KHz
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): EDID vendor "HPN", prod id 13860
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Using hsync ranges from config file
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Using vrefresh ranges from config file
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Printing DDC gathered Modelines:
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1600x900"x60.0 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1440x900"x0.0 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (--) modeset(0): HDMI max TMDS frequency 170000KHz
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card1 /dev/dri/card1
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: xf86: remove device 1 /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card1
Nov 5 19:46:36 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: failed to find screen to remove
User contributions licensed under CC BY-SA 3.0