[Dell XPS 13 9340] [i915] After recent update, screen is corrupted level with mouse pointer

Bug #2073252 reported by John Sturdy
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
En-Wei Wu

Bug Description

I accepted a "restart to install changes" request box yesterday, and my screen immediately started to show corruption on the scan lines which the mouse pointer has recently been on.

The corruption only happens on the built-in laptop display; external monitors are not affected.

I have tried a reboot, and an "apt-get update; apt-get dist-upgrade" followed by a reboot, and neither of these had any effect.

The machine is a Dell XPS13, running Ubuntu 24.04 LTS.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-38.38-generic 6.8.8
Uname: Linux 6.8.0-38-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 16 11:32:58 2024
DistUpgraded: Fresh install
DistroCodename: noble
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])
   Subsystem: Dell Meteor Lake-P [Intel Arc Graphics] [1028:0c87]
InstallationDate: Installed on 2024-06-05 (41 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: Dell Inc. XPS 13 9340
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-38-generic root=UUID=c4cafc00-a3d5-4488-ab4b-857fcff24446 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/12/2024
dmi.bios.release: 1.5
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.5.0
dmi.board.name: 0CH5X9
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.ec.firmware.release: 1.8
dmi.modalias: dmi:bvnDellInc.:bvr1.5.0:bd04/12/2024:br1.5:efr1.8:svnDellInc.:pnXPS139340:pvr:rvnDellInc.:rn0CH5X9:rvrA00:cvnDellInc.:ct10:cvr:sku0C87:
dmi.product.family: XPS
dmi.product.name: XPS 13 9340
dmi.product.sku: 0C87
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.9-0ubuntu0.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

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

Thanks for the bug report. Please add kernel parameter i915.enable_psr=0 to avoid such problems. You can do so in /etc/default/grub by changing:

  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"

Then run:

  sudo update-grub

and reboot.

tags: added: psr
affects: xorg (Ubuntu) → linux (Ubuntu)
tags: added: i915
tags: added: regression-update
summary: - After recent update, screen is corrupted level with mouse pointer
+ [Dell XPS 13 9340] [i915] After recent update, screen is corrupted level
+ with mouse pointer
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
John Sturdy (hillwithsmallfields) wrote : Re: [Bug 2073252] Re: After recent update, screen is corrupted level with mouse pointer
Download full text (3.8 KiB)

Many thanks for the quick reply --- that worked fine :-)

On Wed, Jul 17, 2024 at 2:45 AM Daniel van Vugt <email address hidden>
wrote:

> Thanks for the bug report. Please add kernel parameter i915.enable_psr=0
> to avoid such problems. You can do so in /etc/default/grub by changing:
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
>
> to
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"
>
> Then run:
>
> sudo update-grub
>
> and reboot.
>
>
> ** Tags added: psr
>
> ** Package changed: xorg (Ubuntu) => linux (Ubuntu)
>
> ** Tags added: i915
>
> ** Tags added: regression-update
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2073252
>
> Title:
> After recent update, screen is corrupted level with mouse pointer
>
> Status in linux package in Ubuntu:
> New
>
> Bug description:
> I accepted a "restart to install changes" request box yesterday, and
> my screen immediately started to show corruption on the scan lines
> which the mouse pointer has recently been on.
>
> The corruption only happens on the built-in laptop display; external
> monitors are not affected.
>
> I have tried a reboot, and an "apt-get update; apt-get dist-upgrade"
> followed by a reboot, and neither of these had any effect.
>
> The machine is a Dell XPS13, running Ubuntu 24.04 LTS.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 24.04
> Package: xorg 1:7.7+23ubuntu3
> ProcVersionSignature: Ubuntu 6.8.0-38.38-generic 6.8.8
> Uname: Linux 6.8.0-38-generic x86_64
> ApportVersion: 2.28.1-0ubuntu3
> Architecture: amd64
> BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
> CasperMD5CheckResult: pass
> CompositorRunning: None
> CurrentDesktop: ubuntu:GNOME
> Date: Tue Jul 16 11:32:58 2024
> DistUpgraded: Fresh install
> DistroCodename: noble
> DistroVariant: ubuntu
> ExtraDebuggingInterest: Yes, if not too technical
> GraphicsCard:
> Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev
> 08) (prog-if 00 [VGA controller])
> Subsystem: Dell Meteor Lake-P [Intel Arc Graphics] [1028:0c87]
> InstallationDate: Installed on 2024-06-05 (41 days ago)
> InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64
> (20240424)
> MachineType: Dell Inc. XPS 13 9340
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-38-generic
> root=UUID=c4cafc00-a3d5-4488-ab4b-857fcff24446 ro quiet splash vt.handoff=7
> SourcePackage: xorg
> Symptom: display
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 04/12/2024
> dmi.bios.release: 1.5
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: 1.5.0
> dmi.board.name: 0CH5X9
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A00
> dmi.chassis.type: 10
> dmi.chassis.vendor: Dell Inc.
> dmi.ec.firmware.release: 1.8
> dmi.modalias:
> dmi:bvnDellInc.:bvr1.5.0:bd04/12/2024:br1.5:efr1.8:svnDellInc.:pnXPS139340:pvr:rvnDellInc.:rn0CH5X9:rvrA00:cvnDellInc.:ct10:cvr:sku0C87:
> dmi.product.family: XPS
> dmi.product.name: XPS 13 9340
> dmi.product.sku: 0C87
> dmi.sys.vendor: Dell Inc.
> version.compiz: co...

Read more...

Revision history for this message
AaronMa (mapengyu) wrote :

@John,

Could you try mainline kernel to check if it's reproduced:
https://kernel.ubuntu.com/mainline/v6.10-rc4/

I think it's a regression from commit:
1d395ab43e6bf drm/i915/display: Increase number of fast wake precharge pulses
e6b076d508d48 drm/i915/psr: Calculate IO wake and fast wake lines for DISPLAY_VER < 12
307476565ef6e drm/i915/psr: Improve fast and IO wake lines calculation

If mainline kernel can reproduce it, we should let Intel know.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
assignee: nobody → AaronMa (mapengyu)
AaronMa (mapengyu)
Changed in linux (Ubuntu):
assignee: AaronMa (mapengyu) → En-Wei Wu (rickywu)
Revision history for this message
En-Wei Wu (rickywu) wrote :

Hi @AaronMa and @John,

This bug is related to the bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2069993,
and we had some quirk fixing on these panels:

Panels show garbage or flickering when i915.psr2 enabled (LP: #2069993)
    - SAUCE: drm/i915/display/psr: add a psr2 disable quirk table
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x4d_0x10_0x93_0x15
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x30_0xe4_0x8b_0x07
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x30_0xe4_0x78_0x07
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x30_0xe4_0x8c_0x07
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x06_0xaf_0x9a_0xf9
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x4d_0x10_0x8f_0x15
    - SAUCE: drm/i915/display/psr: disable psr2 for panel_0x06_0xaf_0xa3_0xc3

So for this bug here, we would like to add a quirk on user's panel (the exact same way as we've done before).

@John, please follow the instruction below to give us the information of your panel used by Dell XPS 13 9340:

1. Install the needed package:
```
sudo apt install edid-decode
```
2. Get EDID of your running panel:
```
sudo get-edid | edid-decode
```

Please paste or attach the whole output from edid-decode, thanks.

Revision history for this message
En-Wei Wu (rickywu) wrote :

Hi @Aaron,

We're communicating with Intel to have some fixes on certain panels, the upstream bug is here: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9739.

Intel has a progress that they have added a quirk on a specific panel (to be more precise, a laptop model): https://patchwork.freedesktop.org/series/135777/. I'm sure they're going to fix more panels in the future.

But for oem-6.8, we may still use Ubuntu's local patch/quirk.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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