[Kernel-packages] [Bug 2006994] Re: Ubuntu 22.10 and Dell Latitude 7390 – screen does not turn back on after waking up from sleep

2023-02-25 Thread Benjamin Renard
With some help (https://gitlab.freedesktop.org/drm/intel/-/issues/4813),
I finally found a better workaround than the "nomodeset" kernel
parameter : replace it by "i915.enable_psr=0". See
https://gitlab.freedesktop.org/drm/intel/-/issues/4813 for details. For
me, all seem works well now (including suspend on RAM/disk and
with/without my DisplayLink USB-C dock).

** Bug watch added: gitlab.freedesktop.org/drm/intel/-/issues #4813
   https://gitlab.freedesktop.org/drm/intel/-/issues/4813

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2006994

Title:
  Ubuntu 22.10 and Dell Latitude 7390 – screen does not turn back on
  after waking up from sleep

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 22.10 and Dell Latitude 7390 – screen does not turn back on
  after waking up from sleep

  
  Scenario:

  Fresh and clean Ubuntu 22.10 install on Latitude 7390, requiring
  nomodeset kernel boot option to be added in GRUB at boot time when
  booting from USB stick. This can be achieved by following instructions
  from here: https://www.dell.com/support/kbdoc/en-uk/000123893/manual-
  nomodeset-kernel-boot-line-option-for-linux-booting

  Then, nomodeset needs to be permanently added to /etc/default/grub
  Followed instructions from 
https://askubuntu.com/questions/38780/how-do-i-set-nomodeset-after-ive-already-installed-ubuntu

  If nomodeset is not added, Dell Latitude 7390 will freeze at one point
  or another, either before reaching the Gnome desktop, either little
  after. This is the case with both, installing Ubuntu 22.10 from Live
  USB and running Ubuntu 22.10 after install the install (and having the
  USB stick disconnected).

  
  The issue after having Ubuntu 22.10 installed on Dell Latitude 7390 and 
having nomodeset permanently added to GRUB for each boot is:

  If by chance the system goes into sleep, after waking up, there is a
  totally pitch-black screen; nothing shows up, no screen backlight
  either. However, caps-lock works and I am able to log in to the system
  via ssh and can see the system is up an running well. I can even issue
  a request to send the system to sleep by “sudo systemctl suspend” and
  then wake the the system up several times without loosing ssh access,
  however, the screen will remain pitch-black.

  
  Other tries to troubleshoot and see if the system can be brought back with a 
working display (while nomodeset kernel option is being used):

  1. sudo systemctl suspend -i
  >>> this will result in an unusable system after waking up, again, with a 
pitch-black screen; moreover, the caps-lock would not work, the keyboard 
backlight won’t work, ssh won’t work; I need a hard reset to get the system 
back up.

  2. start the system in single user mode by inserting “single” in GRUB at boot 
time;
  >>> the system will be unusable after waking up, same as in try 1.

  3. after a normal boot into the GNOME desktop with kernel nomodeset
  option and investigating the dmesg for any acpi, no error could be
  found.

  Tried to read up on other possible solutions, while stumbled upon the ubuntu 
wiki page below:
  https://wiki.ubuntu.com/UnderstandingSuspend
  Unfortunately, to not much help so far.

  
  Other notes:
  N1. All the above were done by having the latest BIOS v1.30.0
  N2. This laptop came with Windows 10 Pro which works fine: goes into suspend 
and wakes up fine, with working screen and display.

  N3. Dell Latitude 7390 was released on 15 Feb 2018 ( source: 
https://www.laptoparena.net/dell/notebook-dell-latitude-7390-n025l739013emea-black-12984
 ) and the user manual states it has support for Ubuntu. Therefore, other older 
and major Ubuntu versions were given a try, along with a new version of Fedora:
  N3.1 – Ubuntu 22.04
  N3.2 – Ubuntu 18.04.6
  N3.3 – Ubuntu 16.04.7
  N3.4 – Fedora-Workstation-Live-x86_64-37-1.7
  Each of the above will freeze at one point or another if nomodeset is not 
used, except the Ubuntu 18.04.6 and Ubuntu 16.04.7 which will run well and 
install well from the USB Live stick and will also run fine after the install, 
until the system goes into sleep, after which, when the system is awake, the 
screen is black and will have nothing displayed.

  Any advice will be appreciated. Thank you!

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: linux-image-5.19.0-31-generic 5.19.0-31.32
  ProcVersionSignature: Ubuntu 5.19.0-31.32-generic 5.19.17
  Uname: Linux 5.19.0-31-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tuser  2832 F wireplumber
   /dev/snd/seq:tuser  2829 F pipewire
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Feb 11 13:37:59 2023
  InstallationDate: Installed on 2023-01-15 (27 days ago)
  InstallationMedia: Ubuntu 22.10 "Kineti

[Kernel-packages] [Bug 2000829] Re: Ubuntu 22.10 only works with nomodeset - will freeze otherwise

2023-02-25 Thread Benjamin Renard
With some help (https://gitlab.freedesktop.org/drm/intel/-/issues/4813),
I finally found a better workaround than the "nomodeset" kernel
parameter : replace it by "i915.enable_psr=0". See
https://gitlab.freedesktop.org/drm/intel/-/issues/4813 for details. For
me, all seem works well now (including suspend on RAM/disk and
with/without my DisplayLink USB-C dock).

** Bug watch added: gitlab.freedesktop.org/drm/intel/-/issues #4813
   https://gitlab.freedesktop.org/drm/intel/-/issues/4813

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2000829

Title:
  Ubuntu 22.10 only works with nomodeset - will freeze otherwise

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 22.10 only works with nomodeset - will freeze otherwise.

  A fresh install of Ubuntu 22.10 on Dell Latitude 7390. This was
  achieved with adding the nomodeset in the GRUB, while I was booting
  from the live USB (without nomodeset) - the system freezes at one
  point.

  After install, when booting the system from the SSD, I have to keep
  using nomodeset, otherwise, the system will freeze quite quickly.

  Further, if I issue the command in the retminal:

  systemctl suspend
  or
  systemctl hibernate

  The system will go into suspend/hibernate mode, from which I am unable
  to get back to work. No keyboard keypress, no mouse move, no power
  button will wake the system up. I will have to do a hard reset by
  pressing the power button for 5 seconds and start the system again.

  I have been using 18.04.6 and 16.04 for a little while on this machine
  to test them out. 16.04 will not require nomodeset, I am able to
  install from USB and run the system off SSD, all goes fine, until the
  system goes into suspend/hibernate, when, similar to 22.10, the system
  will no longer wake up.

  I have also tried the 18.04.6 which behaves similar to 16.04, no need
  for nomodeset at install time, nor after, for normal running, until
  the system will go into suspend/hibernate... then, it no longer wakes
  up?

  NOTE: I had Windows 10 Pro on it prior which worked well - I mention
  this in order to exclude the hardware failure.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: linux-image-5.19.0-26-generic 5.19.0-26.27
  ProcVersionSignature: Ubuntu 5.19.0-26.27-generic 5.19.7
  Uname: Linux 5.19.0-26-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  maximus1481 F wireplumber
   /dev/snd/seq:maximus1478 F pipewire
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan  1 11:14:34 2023
  InstallationDate: Installed on 2023-01-01 (0 days ago)
  InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
   Bus 001 Device 002: ID 0bda:5650 Realtek Semiconductor Corp. Integrated 
Webcam_HD
   Bus 001 Device 004: ID 0a5c:5832 Broadcom Corp. 5880
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Latitude 7390
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-26-generic 
root=UUID=21a5ce3b-5646-49ba-a1fc-ae8a100106d5 ro quiet nomodeset splash 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.19.0-26-generic N/A
   linux-backports-modules-5.19.0-26-generic  N/A
   linux-firmware 20220923.gitf09bebf3-0ubuntu1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/20/2022
  dmi.bios.release: 1.30
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.30.0
  dmi.board.name: 09386V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.30.0:bd11/20/2022:br1.30:svnDellInc.:pnLatitude7390:pvr:rvnDellInc.:rn09386V:rvrA00:cvnDellInc.:ct10:cvr:sku081B:
  dmi.product.family: Latitude
  dmi.product.name: Latitude 7390
  dmi.product.sku: 081B
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000829/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2006994] Re: Ubuntu 22.10 and Dell Latitude 7390 – screen does not turn back on after waking up from sleep

2023-02-23 Thread Benjamin Renard
I have exactly the same problem on my Dell Latitude 7390. I also try it
with Debian Bullseye and I reproduce this problem. No problem on the
original Microsoft Windows installation.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2006994

Title:
  Ubuntu 22.10 and Dell Latitude 7390 – screen does not turn back on
  after waking up from sleep

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 22.10 and Dell Latitude 7390 – screen does not turn back on
  after waking up from sleep

  
  Scenario:

  Fresh and clean Ubuntu 22.10 install on Latitude 7390, requiring
  nomodeset kernel boot option to be added in GRUB at boot time when
  booting from USB stick. This can be achieved by following instructions
  from here: https://www.dell.com/support/kbdoc/en-uk/000123893/manual-
  nomodeset-kernel-boot-line-option-for-linux-booting

  Then, nomodeset needs to be permanently added to /etc/default/grub
  Followed instructions from 
https://askubuntu.com/questions/38780/how-do-i-set-nomodeset-after-ive-already-installed-ubuntu

  If nomodeset is not added, Dell Latitude 7390 will freeze at one point
  or another, either before reaching the Gnome desktop, either little
  after. This is the case with both, installing Ubuntu 22.10 from Live
  USB and running Ubuntu 22.10 after install the install (and having the
  USB stick disconnected).

  
  The issue after having Ubuntu 22.10 installed on Dell Latitude 7390 and 
having nomodeset permanently added to GRUB for each boot is:

  If by chance the system goes into sleep, after waking up, there is a
  totally pitch-black screen; nothing shows up, no screen backlight
  either. However, caps-lock works and I am able to log in to the system
  via ssh and can see the system is up an running well. I can even issue
  a request to send the system to sleep by “sudo systemctl suspend” and
  then wake the the system up several times without loosing ssh access,
  however, the screen will remain pitch-black.

  
  Other tries to troubleshoot and see if the system can be brought back with a 
working display (while nomodeset kernel option is being used):

  1. sudo systemctl suspend -i
  >>> this will result in an unusable system after waking up, again, with a 
pitch-black screen; moreover, the caps-lock would not work, the keyboard 
backlight won’t work, ssh won’t work; I need a hard reset to get the system 
back up.

  2. start the system in single user mode by inserting “single” in GRUB at boot 
time;
  >>> the system will be unusable after waking up, same as in try 1.

  3. after a normal boot into the GNOME desktop with kernel nomodeset
  option and investigating the dmesg for any acpi, no error could be
  found.

  Tried to read up on other possible solutions, while stumbled upon the ubuntu 
wiki page below:
  https://wiki.ubuntu.com/UnderstandingSuspend
  Unfortunately, to not much help so far.

  
  Other notes:
  N1. All the above were done by having the latest BIOS v1.30.0
  N2. This laptop came with Windows 10 Pro which works fine: goes into suspend 
and wakes up fine, with working screen and display.

  N3. Dell Latitude 7390 was released on 15 Feb 2018 ( source: 
https://www.laptoparena.net/dell/notebook-dell-latitude-7390-n025l739013emea-black-12984
 ) and the user manual states it has support for Ubuntu. Therefore, other older 
and major Ubuntu versions were given a try, along with a new version of Fedora:
  N3.1 – Ubuntu 22.04
  N3.2 – Ubuntu 18.04.6
  N3.3 – Ubuntu 16.04.7
  N3.4 – Fedora-Workstation-Live-x86_64-37-1.7
  Each of the above will freeze at one point or another if nomodeset is not 
used, except the Ubuntu 18.04.6 and Ubuntu 16.04.7 which will run well and 
install well from the USB Live stick and will also run fine after the install, 
until the system goes into sleep, after which, when the system is awake, the 
screen is black and will have nothing displayed.

  Any advice will be appreciated. Thank you!

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: linux-image-5.19.0-31-generic 5.19.0-31.32
  ProcVersionSignature: Ubuntu 5.19.0-31.32-generic 5.19.17
  Uname: Linux 5.19.0-31-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tuser  2832 F wireplumber
   /dev/snd/seq:tuser  2829 F pipewire
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Feb 11 13:37:59 2023
  InstallationDate: Installed on 2023-01-15 (27 days ago)
  InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
   Bus 001 Device 002: ID 0bda:5650 Realtek Semiconductor Corp. Integrated 
Webcam_HD
   Bus 001 Device 004: ID 0a5c:5832