Window could be glitched with Intel + NVIDIA GPU laptops, and prime-select set to intel

Bug #1977790 reported by Yao Wei
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
High
Unassigned
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

[Summary]
Firefox on Ubuntu 20.04 (99.0build2-0ubuntu0.20.04.2) window could be glitched with laptops with Intel + NVIDIA GPU, and prime-select set to intel.

Either setting gfx.x11-egl-force-disabled to true in about:config, or setting prime-select to on-demand or nvidia, makes the issue unreproducible.

Note that through nvidia-settings GUI, prime-select cannot be set to intel.

Reproducibility: 1/8

[Reproduce Steps]
1. Run `sudo prime-select intel` in Terminal then reboot
2. Open Firefox window
3. Close Firefox window
4. Repeat until window is glitched (usually Firefox being transparent except the borders of the window)

[Results]
Expected: Firefox should not have its window glitched
Actual: Firefox is glitched with window being transparent but the border, and every window on top of it draws on the Firefox window. Video attached.
---
ProblemType: Bug
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: u 1753 F.... pulseaudio
BuildID: 20220330194208
CasperMD5CheckResult: skip
Channel: Unavailable
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-focal-amd64-20200502-85+fossa-spearow-14p+X215
DistroRelease: Ubuntu 20.04
ForcedLayersAccel: False
InstallationDate: Installed on 2022-05-25 (12 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58
IpRoute:
 default via 10.102.142.1 dev enp0s31f6 proto dhcp metric 100
 default via 10.102.136.1 dev wlp0s20f3 proto dhcp metric 600
 10.102.136.0/22 dev wlp0s20f3 proto kernel scope link src 10.102.139.188 metric 600
 10.102.142.0/23 dev enp0s31f6 proto kernel scope link src 10.102.142.246 metric 100
 169.254.0.0/16 dev wlp0s20f3 scope link metric 1000
NoProfiles: True
NonfreeKernelModules: nvidia_modeset nvidia
Package: firefox 99.0+build2-0ubuntu0.20.04.2
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.14.0-1034.37-oem 5.14.21
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RunningIncompatibleAddons: False
Tags: focal
Uname: Linux 5.14.0-1034-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 05/16/2022
dmi.bios.release: 1.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.2
dmi.board.vendor: Dell Inc.
dmi.chassis.asset.tag: RAID
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.3.2:bd05/16/2022:br1.3:svnDellInc.:pnPrecision3470:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0BC1:
dmi.product.family: Precision
dmi.product.name: Precision 3470
dmi.product.sku: 0BC1
dmi.sys.vendor: Dell Inc.

Revision history for this message
Yao Wei (medicalwei) wrote :
tags: added: oem-priority originate-from-1977786 somerville
Revision history for this message
Yao Wei (medicalwei) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Yao Wei (medicalwei) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Yao Wei (medicalwei) wrote : Dependencies.txt

apport information

Revision history for this message
Yao Wei (medicalwei) wrote : IpAddr.txt

apport information

Revision history for this message
Yao Wei (medicalwei) wrote : Lspci.txt

apport information

Revision history for this message
Yao Wei (medicalwei) wrote : PciNetwork.txt

apport information

Revision history for this message
Yao Wei (medicalwei) wrote : ProcCpuinfoMinimal.txt

apport information

Yao Wei (medicalwei)
description: updated
Changed in oem-priority:
importance: Undecided → High
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.