Stupid issue with plasmashell

hey,

i have an issue with kwin or plasma or manjaro.
sometimes when i start an application like steam i got this notification:

24.08.17 11:41 plasmashell New Notification: "KWin-Fensterverwaltung" "Arbeitsflächeneffekte wurden neu gestartet wegen der zurückgesetzten Grafik" -1 & Part of: 0

Sry for German language

After this notification, the control bar is gray instead of white. Theme is the default theme breeze.
And the entire mini-programs on the desktop and the control bar are frozen.

In the KsysLog I copied these lines times out:

    24.08.17 11:41   kernel	NVRM: GPU at PCI:0000:05:00: GPU-ec5ae32d-4e6b-a9c9-8d86-5e74e7ee1108
    24.08.17 11:41   kernel	NVRM: GPU Board Serial Number: 
    24.08.17 11:41   kernel	NVRM: Xid (PCI:0000:05:00): 31, Ch 00000028, engmask 00000101, intr 10000000    
    24.08.17 11:41   kwin_x11   QXcbConnection: XCB error: 3 (BadWindow), sequence: 65153, resource id: 75497508, major code: 18 (ChangeProperty), minor code: 0
    24.08.17 11:41   kwin_x11   QXcbConnection: XCB error: 3 (BadWindow), sequence: 65159, resource id: 44040387, major code: 18 (ChangeProperty), minor code: 0
    24.08.17 11:41   plasmashell   trying to show an empty dialog
    24.08.17 11:41   kwin_x11   QXcbConnection: XCB error: 3 (BadWindow), sequence: 2709, resource id: 44040395, major code: 18 (ChangeProperty), minor code: 0
    24.08.17 11:41   kactivitymanagerd   Creating the cache for:  "applications:steam.desktop"
    24.08.17 11:41   kactivitymanagerd   Already in database?  true
    24.08.17 11:41   kactivitymanagerd         First update :  QDateTime(2017-07-19 03:22:40.000 CEST Qt::TimeSpec(LocalTime))
    24.08.17 11:41   kactivitymanagerd          Last update :  QDateTime(2017-08-22 18:34:27.000 CEST Qt::TimeSpec(LocalTime))
    24.08.17 11:41   kactivitymanagerd   After the adjustment
    24.08.17 11:41   kactivitymanagerd        Current score :  16.7499
    24.08.17 11:41   kactivitymanagerd         First update :  QDateTime(2017-07-19 03:22:40.000 CEST Qt::TimeSpec(LocalTime))
    24.08.17 11:41   kactivitymanagerd          Last update :  QDateTime(2017-08-22 18:34:27.000 CEST Qt::TimeSpec(LocalTime))
    24.08.17 11:41   kactivitymanagerd   Interval length is  0
    24.08.17 11:41   kactivitymanagerd            New score :  17.7499
    24.08.17 11:41   kactivitymanagerd   ResourceScoreUpdated: "24ad21f4-09bc-4a55-95f2-89e15f1ad5ad" "org.kde.plasma.kicker" "applications:steam.desktop"
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd477f29470 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd4786b4650 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd4788461e0 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd477588ef0 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd478686180 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd478067010 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd477f900a0 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd477b25490 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd478260840 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   plasmashell   KActivitiesStats( 0xd475d2f1b0 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 17.7499 last: 1503567687 first: 1500427360
    24.08.17 11:41   kdeinit5   Registering ":1.93/org/ayatana/NotificationItem/steam" to system tray
    24.08.17 11:41   plasmashell   Registering ":1.93/org/ayatana/NotificationItem/steam"
    24.08.17 11:41   plasmashell   QQuickItem::stackAfter: Cannot stack after 0xd475f26d20, which must be a sibling
    24.08.17 11:41   plasmashell   libpng warning: iCCP: known incorrect sRGB profile
    24.08.17 11:41   kwin_x11   Error loading text-to-speech plug-in "flite"
    24.08.17 11:41   kwin_x11   kwin_core: OpenGL 2 compositing setup failed
    24.08.17 11:41   kwin_x11   kwin_core: Failed to initialize compositing, compositing disabled
    24.08.17 11:41   plasmashell   Currrent active notifications: QHash()
    24.08.17 11:41   plasmashell   Guessing partOf as: 0
    24.08.17 11:41   plasmashell    New Notification:  "KWin-Fensterverwaltung" "Arbeitsflächeneffekte wurden neu gestartet wegen der zurückgesetzten Grafik" -1 & Part of: 0
    24.08.17 11:41   kwin_x11   QXcbConnection: XCB error: 3 (BadWindow), sequence: 10095, resource id: 486, major code: 3 (GetWindowAttributes), minor code: 0
    24.08.17 11:41   kwin_x11   QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10096, resource id: 486, major code: 14 (GetGeometry), minor code: 0
    24.08.17 11:41   kwin_x11   QXcbConnection: XCB error: 8 (BadMatch), sequence: 10722, resource id: 75497587, major code: 42 (SetInputFocus), minor code: 0

After logging off and logging back everything works

lspci -k

05:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
        Subsystem: eVga.com. Corp. Device 6173
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
05:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
        Subsystem: eVga.com. Corp. Device 6173
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

inxi -Fxzc0

System:    Host: otaku-lucy Kernel: 4.9.44-1-MANJARO x86_64 (64 bit gcc: 7.1.1)
           Desktop: KDE Plasma 5.10.5 (Qt 5.9.1) Distro: Manjaro Linux
Machine:   Device: desktop System: ASUS product: All Series
           Mobo: ASUSTeK model: X99-E WS/USB 3.1 v: Rev 1.xx UEFI: American Megatrends v: 3502 date: 03/09/2017
CPU:       Deca core Intel Xeon E5-2630 v4 (-HT-MCP-) cache: 25600 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 43995
           clock speeds: max: 3100 MHz 1: 1206 MHz 2: 1652 MHz 3: 1796 MHz 4: 2199 MHz 5: 1199 MHz 6: 1199 MHz
           7: 1198 MHz 8: 1199 MHz 9: 1200 MHz 10: 1292 MHz 11: 1199 MHz 12: 2199 MHz 13: 1899 MHz 14: 1200 MHz
           15: 1299 MHz 16: 1203 MHz 17: 1199 MHz 18: 1255 MHz 19: 1299 MHz 20: 1199 MHz
Graphics:  Card: NVIDIA GP104 [GeForce GTX 1070] bus-ID: 05:00.0
           Display Server: x11 (X.Org 1.19.3) driver: nvidia
           Resolution: 1920x1080@119.98hz, 1920x1080@144.00hz, 1920x1080@119.98hz
           OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 version: 4.5.0 NVIDIA 375.82 Direct Render: Yes
Audio:     Card-1 C-Media CMI8788 [Oxygen HD Audio] driver: snd_virtuoso port: d000 bus-ID: 0a:04.0
           Card-2 Intel C610/X99 series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-3 NVIDIA GP104 High Definition Audio Controller driver: snd_hda_intel bus-ID: 05:00.1
           Sound: Advanced Linux Sound Architecture v: k4.9.44-1-MANJARO
Network:   Card-1: Intel Ethernet Connection (2) I218-LM driver: e1000e v: 3.2.6-k port: f020 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel I210 Gigabit Network Connection driver: igb v: 5.4.0-k port: b000 bus-ID: 10:00.0
           IF: enp16s0 state: down mac: <filter>
Drives:    HDD Total Size: 4510.9GB (20.5% used)
           ID-1: /dev/sda model: OCZ size: 120.0GB
           ID-2: /dev/sdb model: WDC_WD20EARX size: 2000.4GB
           ID-3: /dev/sdc model: Crucial_CT250MX2 size: 250.1GB
           ID-4: /dev/sdd model: SAMSUNG_HD642JJ size: 640.1GB
           ID-5: /dev/sde model: SAMSUNG_HD154UI size: 1500.3GB
Partition: ID-1: / size: 118G used: 18G (16%) fs: ext4 dev: /dev/sdc2
           ID-2: /home size: 111G used: 14G (14%) fs: ext4 dev: /dev/sdc3
           ID-3: /opt size: 586G used: 56G (10%) fs: ext4 dev: /dev/sdd1
Sensors:   System Temperatures: cpu: 29.0C mobo: N/A gpu: 0.0:32C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 328 Uptime: 3 days Memory: 3694.9/32091.8MB Init: systemd Gcc sys: 7.1.1
           Client: Shell (bash 4.4.121) inxi: 2.3.27

sdc1 = UEFI with 512 MB vfat + esp flag
bootloader is Refind


EDIT:
new log with kwin crash:

02.09.17 21:27	kactivitymanagerd	Creating the cache for:  "applications:steam.desktop"
02.09.17 21:27	kactivitymanagerd	Already in database?  true
02.09.17 21:27	kactivitymanagerd	      First update :  QDateTime(2017-07-19 03:22:40.000 CEST Qt::TimeSpec(LocalTime))
02.09.17 21:27	kactivitymanagerd	       Last update :  QDateTime(2017-09-02 20:33:06.000 CEST Qt::TimeSpec(LocalTime))
02.09.17 21:27	kactivitymanagerd	After the adjustment
02.09.17 21:27	kactivitymanagerd	     Current score :  17.9456
02.09.17 21:27	kactivitymanagerd	      First update :  QDateTime(2017-07-19 03:22:40.000 CEST Qt::TimeSpec(LocalTime))
02.09.17 21:27	kactivitymanagerd	       Last update :  QDateTime(2017-09-02 20:33:06.000 CEST Qt::TimeSpec(LocalTime))
02.09.17 21:27	kactivitymanagerd	Interval length is  0
02.09.17 21:27	kactivitymanagerd	         New score :  18.9456
02.09.17 21:27	kactivitymanagerd	ResourceScoreUpdated: "24ad21f4-09bc-4a55-95f2-89e15f1ad5ad" "org.kde.plasma.kicker" "applications:steam.desktop"
02.09.17 21:27	plasmashell	KActivitiesStats( 0x55a66b824ab0 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:steam.desktop" score: 18.9456 last: 1504380425 first: 1500427360
02.09.17 21:27	org_kde_powerdevil	powerdevil: Scheduling inhibition from ":1.12" "My SDL application" with cookie 2 and reason "Playing a game"
02.09.17 21:27	org_kde_powerdevil	powerdevil: Releasing inhibition with cookie  2
02.09.17 21:27	org_kde_powerdevil	powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
02.09.17 21:27	org_kde_powerdevil	powerdevil: Enforcing inhibition from ":1.12" "My SDL application" with cookie 2 and reason "Playing a game"
02.09.17 21:27	org_kde_powerdevil	powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
          02.09.17 21:27	kernel	NVRM: GPU at PCI:0000:05:00: GPU-ec5ae32d-4e6b-a9c9-8d86-5e74e7ee1108
          02.09.17 21:27	kernel	NVRM: GPU Board Serial Number: 
          02.09.17 21:27	kernel	NVRM: Xid (PCI:0000:05:00): 31, Ch 00000028, engmask 00000101, intr 10000000
02.09.17 21:27	kdeinit5	Registering ":1.61/org/ayatana/NotificationItem/steam" to system tray
02.09.17 21:27	plasmashell	Registering ":1.61/org/ayatana/NotificationItem/steam"
02.09.17 21:27	plasmashell	QQuickItem::stackAfter: Cannot stack after 0x55a66ca45140, which must be a sibling
          02.09.17 21:27	kwin_x11	Error loading text-to-speech plug-in "speechd"
          02.09.17 21:27	kwin_x11	kwin_core: OpenGL 2 compositing setup failed
          02.09.17 21:27	kwin_x11	kwin_core: Failed to initialize compositing, compositing disabled
02.09.17 21:27	kwin_x11	QXcbConnection: XCB error: 3 (BadWindow), sequence: 22276, resource id: 486, major code: 3 (GetWindowAttributes), minor code: 0
02.09.17 21:27	plasmashell	Currrent active notifications: QHash()
02.09.17 21:27	plasmashell	Guessing partOf as: 0
02.09.17 21:27	plasmashell	 New Notification:  "KWin-Fensterverwaltung" "Arbeitsflächeneffekte wurden neu gestartet wegen der zurückgesetzten Grafik" -1 & Part of: 0
02.09.17 21:27	plasmashell	libpng warning: iCCP: known incorrect sRGB profile
02.09.17 21:27	plasmashell	trying to show an empty dialog
02.09.17 21:27	kwin_x11	QXcbConnection: XCB error: 8 (BadMatch), sequence: 24087, resource id: 69206121, major code: 42 (SetInputFocus), minor code: 0
02.09.17 21:27	plasmashell	trying to show an empty dialog
02.09.17 21:27	kwin_x11	QXcbConnection: XCB error: 3 (BadWindow), sequence: 26020, resource id: 39846105, major code: 18 (ChangeProperty), minor code: 0

Errors are indented

I would report it to the KDE Bug Tracker.

It sounds like the compositor is crashing. This does happen from time to time; I seem to think you can adjust the settings to get a more stable setup depending on your graphics card etc.

1 Like

Problem Solved!
what i do:
i Installed the 17.0.3 iso over my existing installation.

i think the problem was anything with the Installation from the architect iso

2 Likes

Is this issue definitely resolved or has it crept back up on you? I am having the same issue on Gentoo Linux using the same video card (EVGA GeForce GTX 1070) and kwin version 5.10.5. I have tried numerous versions of Nvidia driver. I get the exact same XCB error and Xid error. When it occurs compositing dies and I have to restart kwin (kwin_x11 --replace&). I am able to reliably reproduce the issue using Steam. I quickly click back and forth between Library and Store and after some 10s of seconds the error occurs. My video card is new and I opened an RMA due to this issue. I am trying to determine if this is a bug or hardware fault but I don't want to wait beyond my RMA window.

https://forums.gentoo.org/

1 Like

i cant reproduce the issue so it is solved.
the only problem i have is when i start any game from steam, plasmashell freeze on the second monitor with all mini application when i close the game it is normal.

Is Reportet to KDE Forum.

I'm very well aware of the Gentoo forums thanks. This Manjaro user reported an issue in this thread that appears to be identical to the problem I am experiencing so I am simply following up to see if it is indeed solved for them. The fact that they are experiencing the issue in Manjaro points to it being a driver, kwin, or hardware issue so it is irrelevant that I am using a different distro. It is also not uncommon for Gentoo and Arch to share common issues and solutions. Anyway LucyDemoon has answered my question.

1 Like

If there's a similar issue on Gentoo it might have been nice to link to it for reference. This would also have meant people here didn't misinterpret that you're posting here in isolation. :slight_smile:

I haven't yet posted about this in the Gentoo community. Since the issue reported here matches mine I wanted to check on the status of it for this user before I proceed. I have recorded a video in which I reproduce the problem using Steam. I am going to file a bug on the Gentoo bug tracker, the KDE bug tracker, and I'm going to post about it on the Nvidia Linux forums. I will link to them here if so desired.

Here is the video which I will refer to in those reports: https://www.youtube.com/watch?v=mW6AM1CauNw

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by