DELL M3800 Touchscreen not working after login (but works if fwupd is removed)

Bug #1886912 reported by altadeos
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fwupd (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Medium
Unassigned
Groovy
Fix Released
Medium
Unassigned
fwupd-signed (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Groovy
Fix Released
Undecided
Unassigned

Bug Description

Upgrade focal fwupd from 1.3.11 to 1.4.7.

[Impact]

 * touchscreen is working after login on certain HW
 * Current LTS is the OEM Project scope, so we need to SRU it.
 * It's a specific HW-related upstream fix.

[Test Plan]

 * Wit this upgraded, with specific HW, check if touchscreen still
   working after login.

[Where problems could occur]
[Other Info]

 * It's low risk given it's an HWE upstream fix.

-----

Hello,

I have freshly installed Ubuntu 20.04 and have a bug on my M3800.
The touchscreen is working good on login screen bug after I enter my credentials and the gnome session open I can't use it.

I'm on a dual boot computer and all is working well on Windows 10.

How can I help you to track this bug and solve it ?

Best regards

Revision history for this message
altadeos (altadeos) wrote :
Revision history for this message
altadeos (altadeos) wrote :

add lspci attachment

Revision history for this message
altadeos (altadeos) wrote :

add dmesg log

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1886912/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
altadeos (altadeos) wrote :

I Think this problem is related to kernel or Gnome.
Tried with Nvidia proprietary driver and Intel driver and the problem is the same.

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: focal
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote : Re: DELL M3800 Touchscreen not working after login
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
altadeos (altadeos) wrote :

Hello,

Tried with the latest mainline kernel and the problem is the same.

uname -a

5.8.0-050800-generic #202007052030 SMP Mon Jul 6 00:37:33 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Best regards

Revision history for this message
altadeos (altadeos) wrote :

dmesg on latest mainline kernel

Revision history for this message
altadeos (altadeos) wrote :

lspci -vnvn on latest mainline kernel

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please add "dyndbg='file drivers/usb/* +p'" to kernel parameter, and attach dmesg here? Thanks!

Revision history for this message
altadeos (altadeos) wrote :

here you can find the result of this test

Revision history for this message
altadeos (altadeos) wrote :

this test was done on the actual kernel 5.4

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please test if enabling "automatic login" makes any difference? Thanks!

Revision history for this message
altadeos (altadeos) wrote :

I tried with live usb from original iso and all is working as expected.

uname -a
Linux ubuntu 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

you can find dmesg took with live usb in attachment

Revision history for this message
altadeos (altadeos) wrote :

lspci live usb

tags: added: apport-collected
description: updated
Revision history for this message
altadeos (altadeos) wrote : AlsaInfo.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : CRDA.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : CurrentDmesg.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : IwConfig.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lspci.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lspci-vt.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lsusb.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lsusb-t.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lsusb-v.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcInterrupts.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcModules.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : PulseList.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : RfKill.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : UdevDb.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
altadeos (altadeos) wrote : Re: DELL M3800 Touchscreen not working after login

apport-collect with live usb from #17 to #24 with working touchscreen

Revision history for this message
altadeos (altadeos) wrote :

tried with auto login on installed system and it's not working.
I will do apport-collect on installed system now.
I think I will install the system again without installing any updates to check if it's one that produce this bug.

tags: added: wayland-session
description: updated
Revision history for this message
altadeos (altadeos) wrote : AlsaInfo.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : CRDA.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : CurrentDmesg.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : IwConfig.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lspci.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lspci-vt.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lsusb.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lsusb-t.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : Lsusb-v.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcInterrupts.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : ProcModules.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : PulseList.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : RfKill.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : UdevDb.txt

apport information

Revision history for this message
altadeos (altadeos) wrote : WifiSyslog.txt

apport information

altadeos (altadeos)
description: updated
Revision history for this message
altadeos (altadeos) wrote : Re: DELL M3800 Touchscreen not working after login

I had reinstalled ubuntu 20.04 and all was working well with the touchscreen.
I installed all updates one by one and it was working too.
Changed on prime between intel mode, nvidia on demand and nvidia performance mode too.

I was able to reproduce the bug when I activated "fractional scaling" and set it to 150% on gnome settings.
Since this the touchscreen doesn't work anymore on my ubuntu session. I had disabled "fractional scaling" and set to 200% like just after the installation but it doesn't work anymore.

Tried again with nvidia and intel mode with the same result.

Can it be a bug related to gnome ?

Revision history for this message
altadeos (altadeos) wrote :

gnome shell log

summary: - DELL M3800 Touchscreen not working after login
+ DELL M3800 Touchscreen not working after login with fractional scaling.
affects: linux (Ubuntu) → gnome-shell (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: DELL M3800 Touchscreen not working after login with fractional scaling.

Please clarify:

 * Does disabling fractional scaling fix the problem?

 * Does logging into 'Ubuntu on Wayland' fix the problem?

Also when the problem is happening please run:

  journalctl -b0 > journal.txt

and attach the resulting text file here.

Revision history for this message
altadeos (altadeos) wrote :

journalctl -b0 > journal.txt
when touchscreen is not working

Revision history for this message
altadeos (altadeos) wrote :

After found how to reproduce the bug I have disabled fractional scaling and the problem persists.
I tried on "Ubuntu on Wayland" session and the problem is the same.

journalctl -b0 > journal_on_wayland.txt

I tried to reset gnome settings using "dconf reset -f /org/gnome/" and the problem persists.

I created a new user called "test" and I don't have a bug on it until I enable fractional scaling.

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

I assume the device in question is the 'SYNAPTICS Synaptics Large Touch Screen'. The log file in comment #56 shows that xserver-xorg-input-libinput is aware of the device but not using it.

It also looks like you have a Xorg config file that is trying to configure that device so that config file might be the problem. Please try removing any Xorg config files you have created.

affects: gnome-shell (Ubuntu) → xserver-xorg-input-libinput (Ubuntu)
Changed in xserver-xorg-input-libinput (Ubuntu):
status: Incomplete → New
Changed in libinput (Ubuntu):
status: New → Incomplete
Changed in xserver-xorg-input-libinput (Ubuntu):
status: New → Incomplete
Revision history for this message
altadeos (altadeos) wrote :

Just a little precision.

If I open my "rom1" session where I have enabled and disabled the fractional scaling, then I close it and open the "test" session my touchscreen is not working.

If I reboot the computer and open "test" session only my touchscreen is working.

It seems that open my "rom1" session first block something on the system that affect all users that log after. If I don't open this session after a reboot I have no problem on other users.

Please find the result of this command on my test session with working touchscreen:
journalctl -b0 > journal_working_touchscreen.txt

Revision history for this message
altadeos (altadeos) wrote :

I never created myself any xorg config file.
I will try to delete it. Do you have the file location please ?

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

Oh actually don't delete any config files. I just noticed we ship some default ones like:

/usr/share/X11/xorg.conf.d/40-libinput.conf

Revision history for this message
altadeos (altadeos) wrote :

Hello,

Can I send more informations to help to track this bug ?

Best regards.

Changed in libinput (Ubuntu):
status: Incomplete → New
Changed in xserver-xorg-input-libinput (Ubuntu):
status: Incomplete → New
Revision history for this message
altadeos (altadeos) wrote :

Hello,

The bug is still present with 20.04.2.
Can't it be related to gnome ?
How can I help ?

Best regards.

tags: added: xrandr-scaling
Revision history for this message
altadeos (altadeos) wrote :

Hello,

Tried a fresh install of Ubuntu 20.04.2 and problem is the same even I haven't activated fractional scaling.
The touchscreen is working good on live iso.
It's also working good on GDM before a session is opened.

Hope you can fix this bug.

Best regards.

Revision history for this message
altadeos (altadeos) wrote :

It seems to be not related only to M3800 laptop but others like HP Spectre too.
Regarding this topic I'm able to have a working touchscreen when I removed fwupd.

https://askubuntu.com/questions/1234975/touchscreen-stops-working-a-few-seconds-after-login-to-gnome-ubuntu-session-ubu

I removed fwupd with the command "sudo apt remove fwupd" and rebooted the computer and now the touchscreen is working again.

Do you need more informations ?

affects: xserver-xorg-input-libinput (Ubuntu) → linux-firmware (Ubuntu)
affects: mutter (Ubuntu) → fwupd (Ubuntu)
summary: - DELL M3800 Touchscreen not working after login with fractional scaling.
+ DELL M3800 Touchscreen not working after login
tags: removed: xrandr-scaling
no longer affects: libinput (Ubuntu)
summary: - DELL M3800 Touchscreen not working after login
+ DELL M3800 Touchscreen not working after login (but works if fwupd is
+ removed)
Revision history for this message
Mario Limonciello (superm1) wrote :

> fwupd
It sounds like it might be part of the reason that this commit went in upstream:
https://github.com/fwupd/fwupd/commit/277347688427fd1bf68d68d8d8788bf67d42e01c

If you want to keep fwupd on your system, for now you can instead add synaptics_rmi into the BlacklistPlugins= or DsiabledPlugins= field of /etc/fwupd/daemon.conf

Revision history for this message
Mario Limonciello (superm1) wrote :
Changed in fwupd (Ubuntu):
status: New → Triaged
no longer affects: linux-firmware (Ubuntu)
Changed in fwupd (Ubuntu):
status: Triaged → Fix Released
Changed in fwupd (Ubuntu Focal):
status: New → Triaged
Changed in fwupd (Ubuntu Groovy):
status: New → Triaged
Changed in fwupd (Ubuntu Focal):
importance: Undecided → Medium
Changed in fwupd (Ubuntu Groovy):
importance: Undecided → Low
importance: Low → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That commit is in fwupd 1.5.6 onward, so it's released as of hirsute.

tags: added: fixed-in-1.3.12 fixed-in-1.4.7 fixed-in-1.5.6 fixed-upstream
description: updated
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Ok, so I'm really not happy with the 'What could go wrong' section, as it basically has no info right now. But I'll let it pass this one time.

Changed in fwupd (Ubuntu Groovy):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-groovy
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello altadeos, or anyone else affected,

Accepted fwupd into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/fwupd/1.4.7-0~20.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in fwupd-signed (Ubuntu Groovy):
status: New → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello altadeos, or anyone else affected,

Accepted fwupd-signed into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/fwupd-signed/1.30.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
altadeos (altadeos) wrote :

Hello Łukasz Zemczak.

I'm using 20.04.2 Focal on my computer.
Need to install Groovy to test the proposed package?
I checked the documentation and was not able to install the version.

Best regards.

Revision history for this message
altadeos (altadeos) wrote :

I have upgraded my computer from focal to groovy.
The version of fwupd was 1.4.5 and the touchscreen was not working. I installed the version 1.4.7 available in groovy-proposed and confirm that it solved my problem.
Best regards.

Revision history for this message
altadeos (altadeos) wrote :

Installed version is :
fwupd/groovy-proposed,now 1.4.7-0~20.10.1 amd64 [installé]
  Démon de mise à jour du micrologiciel

tags: added: verification-done-groovy
removed: verification-needed-groovy
Mathew Hodson (mhodson)
tags: removed: verification-needed
Changed in fwupd-signed (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fwupd - 1.4.7-0~20.10.1

---------------
fwupd (1.4.7-0~20.10.1) groovy; urgency=medium

  * new upstream version (1.4.7)
  * Bug fixes:
    - Check returned volumes before accessing them
    - Correct a Thunderbolt assertion if kernel failed FW read
    - Do not dedupe NVMe devices
    - Do not match all HIDRAW\VEN_06CB devices
    - Don't allow device updates while needing activation
    - Fix adding multiple flags to devices
    - Fix critical warning regression with 'fwupdate -a'
    - Fix probe warning for the Logitech Unifying device
    - Fix the quirk key name for the Lenovo HDMI with power
    - Make TPM more optional
    - Make udisks2 errors more apparent
    - Only set the version format for ESRT entries
    - Remove the Hughski public key
    - Restore recognizing gpg and pkcs7 types still
    - Wait a few ms for the Logitech hardware to settle after detach
  * New features
    - Add support for SBAT. (LP: #1921539)
    - Adds support for Synaptics fingerprinter reader (LP:# 1900935)
  * Fixes TPM PCR0 reading failures if all characters are 0.
    (LP: #1909734)
  * Fixes Synaptics RMI probe causing touchscreen failures
    (LP: #1886912)
  * Backport a patch from upstream 1_4_X branch to fix SBAT character.
  * Backport a patch from upstream 1_4_X branch to fix vendor-id requirement
    error on Dell WD19 (LP: #1921544)

 -- Mario Limonciello <email address hidden> Fri, 26 Mar 2021 13:45:02 -0500

Changed in fwupd (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fwupd-signed - 1.30.1

---------------
fwupd-signed (1.30.1) groovy; urgency=medium

  * Build depend on fwupd 1.4.7-0~20.10.1
    - LP: #1921544
    - LP: #1921539
    - LP: #1909734
    - LP: #1886912
    - LP: #1900935

 -- Mario Limonciello <email address hidden> Fri, 26 Mar 2021 14:04:01 -0500

Changed in fwupd-signed (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for fwupd has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Mario Limonciello (superm1) wrote :

This should have gotten closed when fwupd 1.7.5 got upgraded in Focal.

Changed in fwupd (Ubuntu Focal):
status: Triaged → Fix Released
Changed in fwupd-signed (Ubuntu Focal):
status: New → Fix Released
To post a comment you must log in.