[i915] External monitor lowered to 30Hz when resuming from suspend

Bug #2033647 reported by Alex
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hello there,

I have Ubuntu 23.04 installed on a Dell XPS 13 9300 with an LG 32" 4K Ergo Monitor attached as an external display. When I set the "primary display" at 1080p@60Hz for the LG 32" only with the "secondary display" of the Dell XPS 13" disabled" and "suspend power" of the Dell XPS 13, both the "primary display" of the LG 32" and the "secondary display" of the Dell XPS 13 are both "enabled" when resuming from "power suspend". Also, the frequency of the "primary display" of the LG 32" is lowered to 30Hz.

If the Ubuntu 23.04 software development team in charge of the X.org display could rectify the issue regarding the stability of my "primary display" at 1080p@60Hz during "power suspend" and "power on", that would be great.

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-31.31-generic 6.2.15
Uname: Linux 6.2.0-31-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 31 05:03:37 2023
DistUpgraded: Fresh install
DistroCodename: lunar
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Iris Plus Graphics G7 [8086:8a52] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Dell Iris Plus Graphics G7 [1028:096d]
InstallationDate: Installed on 2023-05-07 (116 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
MachineType: Dell Inc. XPS 13 9300
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-31-generic root=UUID=35826320-1bf8-43d1-831e-3b6e6d6a73e5 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/11/2023
dmi.bios.release: 1.19
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.0
dmi.board.name: 0Y4GNJ
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.19.0:bd07/11/2023:br1.19:svnDellInc.:pnXPS139300:pvr:rvnDellInc.:rn0Y4GNJ:rvrA01:cvnDellInc.:ct10:cvr:sku096D:
dmi.product.family: XPS
dmi.product.name: XPS 13 9300
dmi.product.sku: 096D
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.114-1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.0.4-0ubuntu1~23.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.7-1ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Alex (exhile) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The problem with the laptop screen getting turned on at resume-from-suspend is already tracked in bug 2018158. So let's make this bug just about the 30Hz problem.

affects: xorg (Ubuntu) → mutter (Ubuntu)
tags: added: multimonitor
tags: added: resume suspend-resume
summary: - When monitor set to 60Hz, "join screens" enabled
+ External monitor lowered to 30Hz when resuming from suspend
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: External monitor lowered to 30Hz when resuming from suspend

Next time the problems happens and the LG is only running at 30Hz, please run:

  sudo apt install drm-info
  drm_info > drminfo.txt

and attach the resulting text file here.

This will tell us if the 30Hz limit is coming from the kernel and therefore it's either a kernel bug or a hardware problem in re-detecting the monitor.

affects: mutter (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also it looks like you have 30Hz hard-coded in your ~/.config/monitors.xml so you should try changing the frequency in the Settings app and ensure the change to 60Hz gets saved in your monitors.xml

Revision history for this message
Alex (exhile) wrote :

Hello Daniel,

I have completed that task you've assigned me by configuring the "Settings App" to ensure 60Hz is saved to monitors.xml by "logging out" and "logging in" instead of just "suspending power" on the XPS 13.

Your suggestion did work and I have attached the "drminfo.txt" here.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks but I meant collecting drm_info while the bug was still happening. It's good that it seems to be working now.

If the problem reoccurs in future then most likely it's a combination of a hardware and kernel problem whereby the kernel can only detect support for 30Hz when waking up. So if it continues to happen in future please try using a new monitor cable.

affects: ubuntu → linux (Ubuntu)
summary: - External monitor lowered to 30Hz when resuming from suspend
+ [i915] External monitor lowered to 30Hz when resuming from suspend
tags: added: i915
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.