Bug 425801 - Touch screen stops working every time I open Discover with fwupd support enabled on neon unstable. Reboot is the only way to make it working again.
Summary: Touch screen stops working every time I open Discover with fwupd support enab...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-25 20:00 UTC by Patrick Silva
Modified: 2021-04-02 12:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
inline messages related to fwupd (105.54 KB, image/png)
2020-09-16 18:01 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-08-25 20:00:51 UTC
SUMMARY
Every time I open Discover the touch screen of my laptop stops working
and I need to reboot to make it working again. Re-login does not help.
This problem bagan after fresh install of neon unstable based on ubuntu 20.04,
my touch screen was working well with neon unstable based on ubuntu 18.04.

STEPS TO REPRODUCE
1. start Wayland or X11 sessions
2. open Discover via kickoff, Konsole or by clicking on updates notification
3. 

EXPECTED RESULT
touch screen always works

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
output when I start Discover via Konsole

$plasma-discover
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Applet"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Comic"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Theme"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/LookAndFeel"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/LookAndFeel"
invalid kns backend! "/usr/share/knsrcfiles/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
invalid kns backend! "/usr/share/knsrcfiles/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
adding empty sources model QStandardItemModel(0x55f1b814c340)
QObject::connect(AbstractReviewsBackend, ResourcesModel): invalid nullptr parameter
org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:49:9: QML PrivateActionToolButton: Binding loop detected for property "checkable"
took really long to fetch KNSBackend(0x55f1b7b062e0, name = "/usr/share/knsrcfiles/kwineffect.knsrc")
took really long to fetch KNSBackend(0x55f1b9444f40, name = "/usr/share/knsrcfiles/systemmonitor-presets.knsrc")
took really long to fetch KNSBackend(0x55f1b944b3f0, name = "/usr/share/knsrcfiles/colorschemes.knsrc")
took really long to fetch KNSBackend(0x55f1b9450540, name = "/usr/share/knsrcfiles/xcursor.knsrc")
took really long to fetch KNSBackend(0x55f1b9445d60, name = "/usr/share/knsrcfiles/wallpaper.knsrc")
took really long to fetch KNSBackend(0x55f1b94761b0, name = "/usr/share/knsrcfiles/kfontinst.knsrc")
took really long to fetch KNSBackend(0x55f1b9460db0, name = "/usr/share/knsrcfiles/ksieve_script.knsrc")
took really long to fetch KNSBackend(0x55f1b946b6c0, name = "/usr/share/knsrcfiles/wallpaperplugin.knsrc")
took really long to fetch KNSBackend(0x55f1b946ab00, name = "/usr/share/knsrcfiles/konsole.knsrc")
took really long to fetch KNSBackend(0x55f1b947d4c0, name = "/usr/share/knsrcfiles/comic.knsrc")
took really long to fetch KNSBackend(0x55f1b9477180, name = "/usr/share/knsrcfiles/icons.knsrc")
took really long to fetch KNSBackend(0x55f1b94877d0, name = "/usr/share/knsrcfiles/plasma-themes.knsrc")
took really long to fetch KNSBackend(0x55f1b947f060, name = "/usr/share/knsrcfiles/systemmonitor-faces.knsrc")
took really long to fetch KNSBackend(0x55f1b9481280, name = "/usr/share/knsrcfiles/kwinscripts.knsrc")
took really long to fetch KNSBackend(0x55f1b94821b0, name = "/usr/share/knsrcfiles/sddmtheme.knsrc")
took really long to fetch KNSBackend(0x55f1b9471380, name = "/usr/share/knsrcfiles/gtk_themes.knsrc")
took really long to fetch KNSBackend(0x55f1b94a4c60, name = "/usr/share/knsrcfiles/aurorae.knsrc")
took really long to fetch KNSBackend(0x55f1b9494360, name = "/usr/share/knsrcfiles/ksplash.knsrc")
took really long to fetch KNSBackend(0x55f1b94b35a0, name = "/usr/share/knsrcfiles/lookandfeel.knsrc")
took really long to fetch KNSBackend(0x55f1b94a7a50, name = "/usr/share/knsrcfiles/kwinswitcher.knsrc")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8363c30, name = "com.github.PintaProject.Pinta/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8e75610, name = "com.jonathankang.Weibird/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8ebac70, name = "de.create3000.titania/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8eca780, name = "fr.fgrabenstaetter.DigitalAssets/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f0c500, name = "io.github.trytonvanmeer.DungeonJournal/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f15c10, name = "io.howl.Editor/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f297f0, name = "mx.pwmc.Svgvi/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f4f5d0, name = "net.sourceforge.electrip.Electrip/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f5d170, name = "nl.hjdskes.gcolor3/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f97cd0, name = "org.gahshomar.Gahshomar/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8fb6d50, name = "org.gnome.HexGL/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8fc17b0, name = "org.gnome.OfficeRunner/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b901ff10, name = "org.librehunt.Organizer/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8363c30, name = "com.github.PintaProject.Pinta/x86_64/stable")
took really long to fetch KNSBackend(0x55f1b94b1950, name = "/usr/share/knsrcfiles/discover_ktexteditor_codesnippets_core.knsrc")
took really long to fetch KNSBackend(0x55f1b94c1a70, name = "/usr/share/knsrcfiles/window-decorations.knsrc")
took really long to fetch KNSBackend(0x55f1b94c3be0, name = "/usr/share/knsrcfiles/k3btheme.knsrc")
took really long to fetch KNSBackend(0x55f1b94afac0, name = "/usr/share/knsrcfiles/plasmoids.knsrc")
took really long to fetch KNSBackend(0x55f1b94ae860, name = "/usr/share/knsrcfiles/messageviewer_header_themes.knsrc")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8e75610, name = "com.jonathankang.Weibird/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8ebac70, name = "de.create3000.titania/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8eca780, name = "fr.fgrabenstaetter.DigitalAssets/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f0c500, name = "io.github.trytonvanmeer.DungeonJournal/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f15c10, name = "io.howl.Editor/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f297f0, name = "mx.pwmc.Svgvi/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f4f5d0, name = "net.sourceforge.electrip.Electrip/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f5d170, name = "nl.hjdskes.gcolor3/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8f97cd0, name = "org.gahshomar.Gahshomar/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8fb6d50, name = "org.gnome.HexGL/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b8fc17b0, name = "org.gnome.OfficeRunner/x86_64/stable")
could not find runtime QVector("org.gnome.Platform", "x86_64", "3.32") FlatpakResource(0x55f1b901ff10, name = "org.librehunt.Organizer/x86_64/stable")
took really long to fetch FlatpakBackend(0x55f1b94ed800)
took really long to fetch PackageKitBackend(0x55f1b94baeb0)
Comment 1 Nate Graham 2020-08-25 21:51:03 UTC
What the heck.

What touchscreen hardware do you have? Is it by any chance a Lenovo laptop with a Wacom touchscreen?
Comment 2 Patrick Silva 2020-08-25 22:37:49 UTC
it's an old lenovo G400S Touch laptop.
Output of "input list"

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Large Touch Screen Mouse      id=9    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Large Touch Screen    id=10   [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Lenovo EasyCamera: Lenovo EasyC           id=11   [slave  keyboard (3)]
    ↳ Ideapad extra buttons                     id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard
Comment 3 Patrick Silva 2020-08-25 22:39:02 UTC
ops, I meant "xinput list".
Comment 4 Steffen 2020-09-16 13:58:56 UTC
I can confirm this on a HP Spectre x360

steffen-kde@steffen-hplaptop:~$ xinput -list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Touch Digitizer V04 Mouse     id=10   [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Touch Digitizer V04   id=11   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ HP Truevision Full HD: HP Truev           id=9    [slave  keyboard (3)]
    ↳ Intel Virtual Button driver               id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=13   [slave  keyboard (3)]
    ↳ HP Wireless hotkeys                       id=15   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                            id=16   [slave  keyboard (3)]
steffen-kde@steffen-hplaptop:~$
Comment 5 Steffen 2020-09-16 15:04:40 UTC
I found the following, the touchscreen stop working if Discover is using the  fwupd-backend.
Comment 6 Patrick Silva 2020-09-16 15:11:18 UTC
fwupd-backend is not installed on my system and my touchscreen stops working anyway. :(
Comment 7 Patrick Silva 2020-09-16 18:01:38 UTC
Created attachment 131705 [details]
inline messages related to fwupd

Humm, plasma-discover-backend-fwupd package was not installed.
But I uninstalled both fwupd and fwupd packages, rebooted and the problem
is no longer reproducible.

Now Discover shows inline messages related to fwupd on opening.
Comment 8 Patrick Silva 2020-09-16 18:03:10 UTC
(In reply to Patrick Silva from comment #7)
> Created attachment 131705 [details]
> inline messages related to fwupd
> 
> Humm, plasma-discover-backend-fwupd package was not installed.
> But I uninstalled both fwupd and fwupd packages, rebooted and the problem
> is no longer reproducible.
> 
> Now Discover shows inline messages related to fwupd on opening.

I meant "...both fwupd and fwupd-signed packages..."
Comment 9 Aleix Pol 2020-12-01 18:53:15 UTC
It screams like a packaging issue, no?
I see you're on Neon, you should have the new stable version since recently. Does it still happen?
Comment 10 Patrick Silva 2020-12-02 09:56:08 UTC
This problem persists on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.1
Comment 11 Aleix Pol 2021-01-14 19:25:55 UTC
This will need further research. There's no way I can figure this out on my own. :/

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

Maybe you could take a look at the commands they suggest there.

In any case, I'm pretty sure this is either an upstream or downstream issue.
Comment 12 Patrick Silva 2021-04-02 12:26:42 UTC
I have re-enabled fwupd support on my sysyem reinstalling fwupd package
(fwupd-signed package is not installed this time) and this problem is no longer
happening even after reboot. :)

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Graphics Platform: X11