Results 1 to 8 of 8

Thread: kwin_x11 & XCB errors

  1. #1

    Default kwin_x11 & XCB errors

    I see a lots of errors like these in /var/log/messages -
    Code:
    2019-07-27T04:13:08.387305-07:00 linux-ayti kwin_x11[3108]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9938, resource id: 31457384, major code: 18 (ChangeProperty), minor code: 0
    2019-07-27T04:20:39.208315-07:00 linux-ayti kwin_x11[3108]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 27392, resource id: 31457397, major code: 18 (ChangeProperty), minor code: 0
    2019-07-27T04:21:15.039222-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3135, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:21:31.852911-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3278, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:21:53.645926-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3399, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:07.246654-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3507, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:07.443113-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3542, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:09.314182-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3587, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:09.334609-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3592, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:26.395793-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3660, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:26.922609-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3696, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:53.800029-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3756, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:53.806866-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3760, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:22:54.047438-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3788, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:21.582119-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 3981, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:23.450927-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4032, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:23.461653-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4034, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:35.769095-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4138, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:36.169210-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4183, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:36.913597-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4224, resource id: 6291472, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:37.440341-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4261, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:23:37.472667-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4265, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:24:03.279657-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4441, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:24:03.797713-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4478, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:24:07.367256-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4522, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:24:07.406424-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4531, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:24:33.123938-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4675, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:24:39.322292-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4742, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:25:15.909141-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4905, resource id: 54525958, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:25:37.418917-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 5185, resource id: 58720273, major code: 142 (Unknown), minor code: 3
    2019-07-27T04:25:37.996386-07:00 linux-ayti plasmashell[3114]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 5241, resource id: 14680143, major code: 142 (Unknown), minor code: 3
    I checked KDE forums but other than 'these errors are harmless' I couldn't find anything useful for fixing these.

    Please help.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,875
    Blog Entries
    3

    Default Re: kwin_x11 & XCB errors

    Messages like these?
    Code:
    2019-07-27T11:13:25.032791-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1932, resource id: 24421557, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:13:34.198116-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5970, resource id: 24422044, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:13:34.198670-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 5971, resource id: 24422044, major code: 14 (GetGeometry), minor code: 0
    2019-07-27T11:15:35.124966-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 45598, resource id: 24422376, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:15:35.125237-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 45599, resource id: 24422376, major code: 14 (GetGeometry), minor code: 0
    2019-07-27T11:31:44.616265-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23466, resource id: 24428628, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:31:44.616558-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 23467, resource id: 24428628, major code: 14 (GetGeometry), minor code: 0
    2019-07-27T11:31:51.732277-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25126, resource id: 88081845, major code: 15 (QueryTree), minor code: 0
    I have been ignoring them. I consider them to be log noise, and a bit annoying. But, apart from that, I ignore them.

    Their purpose seems to be to hide important log messages behind a wall of noise

    I recently switched to using "lightdm" to see if that would help. Now some of the noise is going to ".xsession-errors" instead of to "/var/log/messages". But that annoying XCB noise is still going to "/var/log/messages".

    Once upon a time, desktop messages would go to ".xsession-errors". And I would ignore them unless something was broken. In case of breakage, I would check that file. At the same time "/var/log/messages" only got system level message, so I would periodically browse recent entries to look for problems.

    The way things are done today, there is so much noise in "/var/log/messages" that I rarely bother to look. I much preferred the old way.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,830

    Default Re: kwin_x11 & XCB errors

    I have a theory about why you get them, and how to make them go away.

    Why you get them is because upstream KDE devs all use systemd in recommended configuration, which AFAICT includes /var/log/journal/. Thus, they don't even know anyone gets them, because they don't get them, because /var/log/messages isn't written to when the systemd journal is enabled.

    How to stop them: create directory /var/log/journal/, which will stop all writing to /var/log/messages.

    /var/log/messages does not exist on my only 15.1 installation that uses current or recent KDE/Plasma/kwin_x11, and in which 'journalctl -b | grep -i xcb produces no output.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,875
    Blog Entries
    3

    Default Re: kwin_x11 & XCB errors

    Quote Originally Posted by mrmazda View Post
    How to stop them: create directory /var/log/journal/, which will stop all writing to /var/log/messages.
    That somewhat misses the point. I would like to stop desktop noise going to "/var/log/messages", but I want to still see system logs.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,830

    Default Re: kwin_x11 & XCB errors

    It seems the reason they occur is actually a QT fault: https://bugs.kde.org/show_bug.cgi?id=390403
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  6. #6

    Default Re: kwin_x11 & XCB errors

    Quote Originally Posted by mrmazda View Post
    It seems the reason they occur is actually a QT fault: https://bugs.kde.org/show_bug.cgi?id=390403
    These messages will go away after disabling QT logging thru rules files but I don't know where that stuff is, in some distro it is located in /etc/xdg.

  7. #7

    Default Re: kwin_x11 & XCB errors

    Quote Originally Posted by nrickert View Post
    Messages like these?
    Code:
    2019-07-27T11:13:25.032791-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1932, resource id: 24421557, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:13:34.198116-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5970, resource id: 24422044, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:13:34.198670-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 5971, resource id: 24422044, major code: 14 (GetGeometry), minor code: 0
    2019-07-27T11:15:35.124966-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 45598, resource id: 24422376, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:15:35.125237-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 45599, resource id: 24422376, major code: 14 (GetGeometry), minor code: 0
    2019-07-27T11:31:44.616265-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23466, resource id: 24428628, major code: 3 (GetWindowAttributes), minor code: 0
    2019-07-27T11:31:44.616558-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 23467, resource id: 24428628, major code: 14 (GetGeometry), minor code: 0
    2019-07-27T11:31:51.732277-05:00 nwr2 kwin_x11[2629]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25126, resource id: 88081845, major code: 15 (QueryTree), minor code: 0
    I have been ignoring them. I consider them to be log noise, and a bit annoying. But, apart from that, I ignore them.

    Their purpose seems to be to hide important log messages behind a wall of noise

    I recently switched to using "lightdm" to see if that would help. Now some of the noise is going to ".xsession-errors" instead of to "/var/log/messages". But that annoying XCB noise is still going to "/var/log/messages".

    Once upon a time, desktop messages would go to ".xsession-errors". And I would ignore them unless something was broken. In case of breakage, I would check that file. At the same time "/var/log/messages" only got system level message, so I would periodically browse recent entries to look for problems.

    The way things are done today, there is so much noise in "/var/log/messages" that I rarely bother to look. I much preferred the old way.
    I can ignore them but it is annoying. When I tail messages I see these crazy output and the important stuff goes out of sight.

  8. #8

    Default Re: kwin_x11 & XCB errors

    Quote Originally Posted by mrmazda View Post
    I have a theory about why you get them, and how to make them go away.

    Why you get them is because upstream KDE devs all use systemd in recommended configuration, which AFAICT includes /var/log/journal/. Thus, they don't even know anyone gets them, because they don't get them, because /var/log/messages isn't written to when the systemd journal is enabled.

    How to stop them: create directory /var/log/journal/, which will stop all writing to /var/log/messages.

    /var/log/messages does not exist on my only 15.1 installation that uses current or recent KDE/Plasma/kwin_x11, and in which 'journalctl -b | grep -i xcb produces no output.
    That will divert everything to /var/log/journal but it will do no good in my case. I am receiving at least 20 mails/hour from OSSEC mailer about this particular error showing same lines with different time of the hour. Important system messages get buried under it. I wish there is some fix thru configuration that will suppress this annoyance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •