This topic has been deleted. Only users with topic management privileges can see it.
{linux 3.19 QT5.6}…
I using OpenCV3 OpenGL SQLITE3 …. and at lauch of my app appear :
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1587, resource id: 65011835, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1635, resource id: 65011835, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1647, resource id: 65011835, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1659, resource id: 65011835, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1671, resource id: 65011835, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1724, resource id: 65011835, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1828, resource id: 65011922, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1900, resource id: 65011922, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1901, resource id: 65011922, major code: 130 (Unknown), minor code: 3
the error appear after I add on my app Qlabel with opengl texure for show my cam….
I ‘ve any Ideas of these … on google I fingd only error related xorg ….. but these isn’t xorg bug… log file is ok….
Any suggest is well accept…
Regards
Giorgio
Hi,
Can you explain how you set a texture on your QLabel ?
By the way, why not use QCamera and QCameraViewfinder since you are working with a camera?
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "glwidg.h"
#include <QThread>
#include <QtConcurrent/QtConcurrent>
#include <QtConcurrent/QtConcurrentRun>
#include <QFuture>
#include <QFutureWatcher>
#include <QtWidgets>
#include <QtWidgets/QAction>
#include <QtWidgets/QWidget>
#include <QtWidgets/QWidgetAction>
#include <QtWidgetsDepends>
#include <QtWidgetsVersion>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QTableWidgetSelectionRange>
#include <QTableView>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include <sstream>
#include <string.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <GL/freeglut.h>
#include <QtOpenGL/QGLWidget>
#include <QtOpenGL/QGLBuffer>
#include <QtOpenGL/QtOpenGL>
#include <QTime>
#include <QTimer>
#include <QDebug>
QImage camera000;
GLuint texture[1];
QImage GL_formatt;
QImage qform;
QImage qform1;
int cambio1 = 0;
cv::Mat imma2;
cv::Mat imma3;
IplImage* frame0;
int play = 0;
glwidg::glwidg(QWidget *parent) :
QGLWidget(parent)
{
this->setAttribute(Qt::WA_DeleteOnClose); //// SI INIZIALIZZ AIL BUFFER E LE DIMENSIONI DI CATTURA
QGLWidget(QGLFormat(QGL::DirectRendering));
setMaximumSize(480,360);//(352,288);
initializeGL();
paintGL();
}
void glwidg::resizeGL(int w, int h)
{
makeCurrent();
glViewport(0, 0, w, h);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluOrtho2D(0, w, 0, h); // set origin to bottom left corner
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
}
void glwidg::initializeGL()
{
makeCurrent();
glClearDepth(2000.0);
glDisable(GL_TEXTURE_2D);
glDisable(GL_DEPTH_TEST);
glDisable(GL_COLOR_MATERIAL);
glEnable(GL_BLEND);
glEnable(GL_POLYGON_SMOOTH);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
qglClearColor(Qt::white);
}
void glwidg::paintGL()
{
makeCurrent();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
qglColor(Qt::white);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGBA);
glMatrixMode(GL_MODELVIEW); /*+*/
glEnable(GL_DEPTH_TEST);
if (cambio1 == 0)
{
qform1.load("/home/kc1/Qt/KC-C/RIS/control2_106.png");
qq1frame = qform1.scaled(this->size(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
}
else
{
qq1frame = qform1.scaled(this->size(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
}
qqframe = qq1frame.mirrored(false, true);
if(!qqframe.isNull())
{
qqframe = qqframe.scaled(this->size(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
// glDrawPixels(qqframe.width(), qqframe.height(), GL_RGBA, GL_UNSIGNED_BYTE, qqframe.bits());
// or do 2D texture mapping
glMatrixMode(GL_MODELVIEW); /**/
glEnable(GL_DEPTH_TEST);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluOrtho2D(0,qqframe.width(),qqframe.height(),0);
glMatrixMode(GL_MODELVIEW);
//glDisable(GL_DEPTH_TEST);
glLoadIdentity();
glEnable(GL_TEXTURE_2D);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexImage2D( GL_TEXTURE_2D, 0, 4, qqframe.width(), qqframe.height(), 0, GL_BGRA, GL_UNSIGNED_BYTE, qqframe.bits() );
glBegin(GL_QUADS);
glTexCoord2f(0,0); glVertex2f(0,qqframe.height());
glTexCoord2f(0,1); glVertex2f(0,0);
glTexCoord2f(1,1); glVertex2f(qqframe.width(),0);
glTexCoord2f(1,0); glVertex2f(qqframe.width(),qqframe.height());
glEnd();
glDisable(GL_TEXTURE_2D);
// .... end
// qDebug() << ("ho disegnato??");
glDisable(GL_DEPTH_TEST);
glFlush();
}
if(qqframe.isNull())
{
glClear(GL_COLOR_BUFFER_BIT);
qglColor(Qt::white);
}
}
void glwidg::donextcam()
{
makeCurrent();
}
void glwidg::imma_orig_r1(QImage qi1)
{
cambio1 = 1;
qform1 = qi1;
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
updateGL();
}
void glwidg::stopcam1(bool st1)
{
if (st1)
{
cambio1 = 0;
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
updateGL();
}
else
{
cambio1 = 1;
}
}
Because Gstream nor recognize mi BA81 camera???
Sorry but you suggsdest me that beckground of QT camera is Gstream … And I reply you tha GStream is not supported by my system for BA81 so I must use the old method of include v4l.cpp file in my filegrabcamera.cpp and use camerabuffer for convert matrix in right rgb format ….
By the way I not understand XBC error:8 and not find any info about it.
Thanks for any suggst.
Regards
Giorgio
How am I supposed to relate this question to that other thread since you don’t even mention it in the first place ?
Also, your code doesn’t use any QLabel and you seem to load your images from your hard drive so it gets a bit confusing to find the relation with your camera.
So the question is: are you seeing this message since you added that custom QGLWidget ?
There seems to also be OpenCV in the mix, are you using it to get images from the camera ?
As for that XCB error 8, there’s for example this bug that mentions it and that has been fixed since then.
the mechanism:
1-qthread with opencv grab from camera…+ v4l.cpp integrted in it for right converting of image….(opencv meke some logical operation on image matrix)
2-matrix2Qimage functon
3-Qimage send to glwidg that use paint event to refresh QImage and convertitin the right dimension (i these way you can use opengl too and you can send multiple image if you wont…)
4-in gui qlabel show qimqge or multiple tranformation from opengl if you want…..
I show glwidg because opencv part use noting of qt part…. only matrix2qimage funcon…… glwidg use painter event ….other part of gui is right tested without glwidg….
Thnks for your help
Regards Giorgio
Do you mean that you show the image twice ? Once with a QLabel and once with your QGLWidget ?
Real Real Sorry…. no QLabel exist….. GLwidg and opencv calculation is my old application vision system… now I rewamp it in my new interface … to do that I have copy and paste .ui an .h .cpp file …. I see now that not exist QLabel that now is my custom widget GLwidg…..
I must correct these:
the mechanism:
1-qthread with opencv grab from camera…+ v4l.cpp integrted in it for right converting of image….(opencv meke some logical operation on image matrix)
2-matrix2Qimage functon
3-Qimage send to glwidg that use paint event to refresh QImage and convertitin the right dimension (i these way you can use opengl too and you can send multiple image if you wont…) and show image in gui [stop here]
/// not exist ///4-in gui qlabel show qimqge or multiple tranformation from opengl if you want…../
Any how …..the error is still before the thread that creates the images begin to convey to glwidgt few frames …. I have a button to activate or not the Qthread with opencv capture …. The error occurs just start my application … reading the link you gave me the error appears to be related to a window that does not open …. I put in /…/ all the code that launches messages or popup windows …. but XBC error remains …..
Please can someone explain to me what does QXcb ??
Regards
Giorgio
ok I understand how not works ….. my app is quite large and not can control all in any situation ….
fortunately today I needed to launch a command from my interface …. I made a mistake and the machinery driven by the interface has returned an error to me properly …. just that the pop-up window notifying the error is not seen .. … so I could verify that the notification window is broken somewhere …but to some resources it is not available (it could be a font, an icon, an associated variable … I do not know …. )
mystery solved … almost … now I have to see what that is hidden to the system.
regards
Giorgio
Check whether you have any path that might be relative in your code.
Strange these error …. Finally I found these ….
As I said the problem is a Qdialog … these dialog is only a Waiting charge dialog with a circular progress bar …. first of insert my openCvWidget the code to start it was:
m_dia2 = new Dia2(this);
m_dia2->setAttribute(Qt::WA_DeleteOnClose, true);
m_dia2->setWindowFlags(Qt::Widget | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
m_dia2->setAttribute(Qt::WA_NoSystemBackground, true);
m_dia2->setAttribute(Qt::WA_TranslucentBackground, true);
m_dia2->AutoBmecdia2Value(AutoCount);
m_dia2->Stepbmecdia2Value(WaitingStep);
m_dia2->show();
but now with «this» flag I Obtain QXcbConnection:XCB error 8 ……
for solve the error now the code is:
m_dia2 = new Dia2();
m_dia2->setAttribute(Qt::WA_DeleteOnClose, true);
m_dia2->setWindowFlags(Qt::Widget | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
m_dia2->setAttribute(Qt::WA_NoSystemBackground, true);
m_dia2->setAttribute(Qt::WA_TranslucentBackground, true);
m_dia2->AutoBmecdia2Value(AutoCount);
m_dia2->Stepbmecdia2Value(WaitingStep);
m_dia2->show();
in these way the dialog can exist when myapp is close and not found other solution to close these dialog when my app close …. Why firt to add a new code I can use:
m_dia2 = new Dia2(this);
and after only:
m_dia2 = new Dia2();
???
regards
Giorgio
From what widget are you calling this code ?
from void in MainWindow …..
regards
Giorgio
void is a type, do you mean in a slot from MainWindow ?
I call it in c++ style some time from mainwindow slot sometime from qthread with connect signal slot but nevertimre directly every time calling it inside a mainwindows slot….
regards
giorgio
How did you connect the signal from that QThread ?
i have a slot in mainwindow that start qhread … inside that slot I have a list of:
connect(mythread, SIGNAL(mysignal1(Qimage)), this, SLOT(mainwindosslot(QImage)), Qt::DirectConnection);
for example….
Ragards
Giorgio
Why are you forcing a direct connection ?
This means that the slot will be called in the context of the thread managed by QThread which is not the GUI thread thus you are doing GUI related stuff from another thread which is not allowed.
@SGaist … you are in right …. tanks.
regards
miki
Содержание
- Qxcbconnection xcb error 8 badmatch
- Qxcbconnection xcb error 8 badmatch
- Qxcbconnection xcb error 8 badmatch
- Qxcbconnection xcb error 8 badmatch
Qxcbconnection xcb error 8 badmatch
i have compiled my project on a machine running Debian Stretch and out of a sudden get many of these errors:
What is this? (it doesn’t seem to cause any problems, but still it can’t be good to ignore it)
On Windows 7 as well as on another machine running Kubuntu they don’t appear.
Are you running your OS on a physical machine or a virtual machine ?
Hi,
it’s a physical maschine
What desktop environment are you using ?
What window manager ?
the desktop environment is KDE with kwin as window manager.
KDE version is 5:92
kwin version is 4:5.8.6-1
Are you using the distribution provided Qt ?
@SGaist yes its the distribution Qt version.
i’m not sure if it has something to do with this, but i noticed, that i get some compiler warning about VTK:
VTK version is VTK-8.1.0
or maybe you can tell me what the error means because i have absolutely no idea where to search for
That’s not an error, it’s just a warning that you are using a method that is considered deprecated and you should consider updating your code.
Источник
Qxcbconnection xcb error 8 badmatch
I using OpenCV3 OpenGL SQLITE3 . and at lauch of my app appear :
the error appear after I add on my app Qlabel with opengl texure for show my cam.
I ‘ve any Ideas of these . on google I fingd only error related xorg . but these isn’t xorg bug. log file is ok.
Any suggest is well accept.
Can you explain how you set a texture on your QLabel ?
By the way, why not use QCamera and QCameraViewfinder since you are working with a camera?
Because Gstream nor recognize mi BA81 camera.
Sorry but you suggsdest me that beckground of QT camera is Gstream . And I reply you tha GStream is not supported by my system for BA81 so I must use the old method of include v4l.cpp file in my filegrabcamera.cpp and use camerabuffer for convert matrix in right rgb format .
By the way I not understand XBC error:8 and not find any info about it.
Thanks for any suggst.
How am I supposed to relate this question to that other thread since you don’t even mention it in the first place ?
Also, your code doesn’t use any QLabel and you seem to load your images from your hard drive so it gets a bit confusing to find the relation with your camera.
So the question is: are you seeing this message since you added that custom QGLWidget ?
There seems to also be OpenCV in the mix, are you using it to get images from the camera ?
As for that XCB error 8, there’s for example this bug that mentions it and that has been fixed since then.
1-qthread with opencv grab from camera. + v4l.cpp integrted in it for right converting of image. (opencv meke some logical operation on image matrix)
2-matrix2Qimage functon
3-Qimage send to glwidg that use paint event to refresh QImage and convertitin the right dimension (i these way you can use opengl too and you can send multiple image if you wont. )
4-in gui qlabel show qimqge or multiple tranformation from opengl if you want.
I show glwidg because opencv part use noting of qt part. only matrix2qimage funcon. glwidg use painter event . other part of gui is right tested without glwidg.
Thnks for your help
Do you mean that you show the image twice ? Once with a QLabel and once with your QGLWidget ?
Real Real Sorry. no QLabel exist. GLwidg and opencv calculation is my old application vision system. now I rewamp it in my new interface . to do that I have copy and paste .ui an .h .cpp file . I see now that not exist QLabel that now is my custom widget GLwidg.
I must correct these:
1-qthread with opencv grab from camera. + v4l.cpp integrted in it for right converting of image. (opencv meke some logical operation on image matrix)
2-matrix2Qimage functon
3-Qimage send to glwidg that use paint event to refresh QImage and convertitin the right dimension (i these way you can use opengl too and you can send multiple image if you wont. ) and show image in gui [stop here]
/// not exist ///4-in gui qlabel show qimqge or multiple tranformation from opengl if you want. /
Any how . the error is still before the thread that creates the images begin to convey to glwidgt few frames . I have a button to activate or not the Qthread with opencv capture . The error occurs just start my application . reading the link you gave me the error appears to be related to a window that does not open . I put in /. / all the code that launches messages or popup windows . but XBC error remains .
Please can someone explain to me what does QXcb ??
ok I understand how not works . my app is quite large and not can control all in any situation .
fortunately today I needed to launch a command from my interface . I made a mistake and the machinery driven by the interface has returned an error to me properly . just that the pop-up window notifying the error is not seen .. . so I could verify that the notification window is broken somewhere . but to some resources it is not available (it could be a font, an icon, an associated variable . I do not know . )
mystery solved . almost . now I have to see what that is hidden to the system.
Check whether you have any path that might be relative in your code.
Strange these error . Finally I found these .
As I said the problem is a Qdialog . these dialog is only a Waiting charge dialog with a circular progress bar . first of insert my openCvWidget the code to start it was:
but now with «this» flag I Obtain QXcbConnection:XCB error 8 .
for solve the error now the code is:
in these way the dialog can exist when myapp is close and not found other solution to close these dialog when my app close . Why firt to add a new code I can use:
From what widget are you calling this code ?
from void in MainWindow .
void is a type, do you mean in a slot from MainWindow ?
I call it in c++ style some time from mainwindow slot sometime from qthread with connect signal slot but nevertimre directly every time calling it inside a mainwindows slot.
How did you connect the signal from that QThread ?
i have a slot in mainwindow that start qhread . inside that slot I have a list of:
Why are you forcing a direct connection ?
This means that the slot will be called in the context of the thread managed by QThread which is not the GUI thread thus you are doing GUI related stuff from another thread which is not allowed.
Источник
Qxcbconnection xcb error 8 badmatch
hello all :
just i builded the qt5.8 source code on arm board with unbuntu14.04 system , when i run the hello world app , blowing log like this :
QML debugging is enabled. Only use this in a safe environment.
QXcbConnection: XCB error: 8 (BadMatch), sequence: 191, resource id: 67, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 192, resource id: 6291460, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 193, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 194, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 195, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 197, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 198, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 199, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 202, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 203, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 204, resource id: 6291460, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 205, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 208, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 209, resource id: 6291460, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 213, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 214, resource id: 6291460, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 215, resource id: 6291460, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 216, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 217, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 218, resource id: 6291460, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 219, resource id: 6291460, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 220, resource id: 6291460, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 221, resource id: 6291460, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 222, resource id: 6291460, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 223, resource id: 6291460, major code: 8 (MapWindow), minor code: 0
Источник
Qxcbconnection xcb error 8 badmatch
Hi fellow Qt users,
I have a class that is derived from QDialog in my application to create a settings dialog. I’m using a QSplitter to show stuff that can be manipulated with settings in a QTreeWidget on the left and — depending on what element in the tree is activated, the actual options in widgets on the right side of the splitter. I’ve noticed, that every time I move my splitter, I get tons of this error code on my console:
Has anybody seen this before and knows how to get rid of it? It doesn’t seem to have any impact on the application’s functionality, everything runs smoothly. But I’d like to get rid of the problem regardless so the log files won’t be flooded with those messages.
Which version of Qt ? With which distribution ? Can you reproduce that with a minimal sample application ?
I’m using Qt 5.5.1 which came with my OpenSuse Leap 42.1 so it’s not the newest Qt5 version that’s available. Unfortunately, I cannot reproduce the problem with a minimal sample. However, I was able to identify what seems to be a connection between the error message and stylesheets.
I’m using a QSS file to style my application which I can set at runtime. If this isn’t set, the error message doesn’t occur. But as soon as I set the stylesheet.qss, it starts popping up. Here’s how I set the stylesheet:
And here’s the stylesheet file
I can’t see anything problematic in the stylesheet file and it’s getting parsed and applied just as I’d expect it to be.
Are you sure your ApplicationWindow font-family property is correct ?
@SGaist you’re right, that was indeed a character swap in there. But correcting it did not remove the error/warning message. It still comes up, every time I open the QDialog with the QSplitter.
PS: Sorry for the delayed response, I was out of office for a couple days
One thing to clear, does that happen on your development station ?
Yes, it does happen on my workstation where I’m doing the development (ThinkPad Laptop). I have also just executed it on a different machine at work and there the error does not come up. I’ve also noticed that none of my debug outputs are coming out there, so it might be connected to that. However, I can’t change anything on those machines since our IT is very restrictive with what we can do on these machines.
Are you also styling the QSplitter content ?
@SGaist the QSplitter has a QTreeWidget and a QWidget for the content which consists itself of a QLabel and a QStackedWidget (Headline and content). I do style the QTreeWidget and the items as well as the content widgets. But I don’t have any styling on the QSplitter itself.
Источник
This topic has been deleted. Only users with topic management privileges can see it.
Hello,
i have compiled my project on a machine running Debian Stretch and out of a sudden get many of these errors:
QXcbConnection: XCB error: 8 (BadMatch), sequence: 2409, resource id: 117440720, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 2429, resource id: 117440720, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 2432, resource id: 117440720, major code: 130 (Unknown), minor code: 3
What is this? (it doesn’t seem to cause any problems, but still it can’t be good to ignore it)
On Windows 7 as well as on another machine running Kubuntu they don’t appear.
Hi,
Are you running your OS on a physical machine or a virtual machine ?
Hi,
it’s a physical maschine
What desktop environment are you using ?
What window manager ?
Hi,
the desktop environment is KDE with kwin as window manager.
KDE version is 5:92
kwin version is 4:5.8.6-1
Are you using the distribution provided Qt ?
@SGaist yes its the distribution Qt version.
i’m not sure if it has something to do with this, but i noticed, that i get some compiler warning about VTK:
VTK version is VTK-8.1.0
warning: 'QVTKWidget::QVTKWidget(QWidget*, Qt::WindowFlags)' is deprecated [-Wdeprecated-declarations]
or maybe you can tell me what the error means because i have absolutely no idea where to search for
That’s not an error, it’s just a warning that you are using a method that is considered deprecated and you should consider updating your code.
Сегодня, наконец, дошли руки… За это время было несколько объявлений пакетов из среды KDE5.
Собираю логи и информацию о поведении с разных систем.
Система первая.
— Teacher 7.0.5 х64 сильно замусоренный, обновленный до p8, с установленными kde5-mini и kde5-small
Также установлен ladspa-swh-plugins (багу по нему закрыли, т.к. он не является необходимым для работы).
$ uname -a
Linux AltTeacher.localdomain 4.4.24-std-def-alt0.M80P.1 #1 SMP Mon Oct 10 00:20:59 UTC 2016 x86_64 GNU/Linux
$ apt-cache show kdenlive | grep -i version
Version: 16.08.1-alt1.M80P.1
При запуске в консоль не ругается.
При открытии окна добавления клипа в проект ругается в консоль:
We got some errors while running 'net usershare info'
При чем тут видеоплеер и шары? По указанному адресу лежит файл вот такого содержания:
"info_fn: file /var/lib/samba/usershares/iso is not a well formed usershare file.ninfo_fn: Error was Path not allowed.n"
[root@AltTeacher ~]# cat /var/lib/samba/usershares/iso
И что ему тут не нравится? Это, вообще, его дело, нормально ли шары настроены?
#VERSION 2
path=/home/dmytro/ISO
comment=
usershare_acl=S-1-1-0:R,S-1-22-1-500:F
guest_ok=n
sharename=ISO
Дальше по теме. При добавлении в дерево клипов видеофайла кроме информации о нем появляется вот это:
"Error reading audio thumbnail"
Тут, как я понимаю, 2 ошибки:
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
Первая ошибка
"Error reading audio thumbnail"
По сообщению можно предположить, что речь идет о тех самых звуковых дорожках, которые не отображаются. Неглубокое гугление выдает 2 бага-близнеца в KDE:
https://bugs.kde.org/show_bug.cgi?id=362925
https://bugs.kde.org/show_bug.cgi?id=362926
Баги, вроде, вылечены.
Отписался в нашу багзилу: https://bugzilla.altlinux.org/show_bug.cgi?id=32544
Вторая ошибка
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
Это, как я понимаю, про отсутствие звуковых оповещений.
На арче похожую проблему решают: https://bbs.archlinux.org/viewtopic.php?id=132307
Попробую разобраться.
pdubois
Registered Member
- Posts
- 10
- Karma
- 0
Error messages not explained
Thu Sep 13, 2018 10:44 pm
Hello,for some time now, kdenlive has been idling. The sound is hatched and I have a lot of difficulty to realize my video éditing: it bug!
I tried to open kdenlive in a console, here are the error messages I got:
- Code: Select all
kdenlive
No LADSPA plugins were found!Check your LADSPA_PATH environment variable.
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 5510, resource id: 73400610, major code: 153 (Unknown), minor code: 11
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16611, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16649, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16669, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16695, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16710, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16726, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16742, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16758, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 16774, resource id: 73400729, major code: 130 (Unknown), minor code: 3
[ac3 @ 0x7f98fa45b5c0] frame sync error
[producer avformat] /run/media/florian/Windows/Documents and Settings/cendr/Kdenlive/proxy/3f79fede519d0097bf7fc5c2857c239e.mpg
audio decoding error -1094995529
[ac3 @ 0x7f98fa45b5c0] frame sync error
[producer avformat] /run/media/florian/Windows/Documents and Settings/cendr/Kdenlive/proxy/3f79fede519d0097bf7fc5c2857c239e.mpg
audio decoding error -1094995529
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 42122, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 42160, resource id: 73400729, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 42170, resource id: 73400729, major code: 130 (Unknown), minor code: 3
What can I do to improve the situation?
View previous topic :: View next topic | |||||||||
Author | Message | ||||||||
---|---|---|---|---|---|---|---|---|---|
exeqtion n00b Joined: 05 Jan 2020 |
|
||||||||
Back to top |
|
||||||||
Banana Veteran Joined: 21 May 2004 |
|
||||||||
Back to top |
|
||||||||
exeqtion n00b Joined: 05 Jan 2020 |
|
||||||||
Back to top |
|
||||||||
Chiitoo Administrator Joined: 28 Feb 2010 |
|
||||||||
Back to top |
|
||||||||
exeqtion n00b Joined: 05 Jan 2020 |
|
||||||||
Back to top |
|
||||||||
Chiitoo Administrator Joined: 28 Feb 2010 |
|
||||||||
Back to top |
|
||||||||
exeqtion n00b Joined: 05 Jan 2020 |
|
||||||||
Back to top |
|
||||||||
Hu Moderator Joined: 06 Mar 2007 |
|
||||||||
Back to top |
|
||||||||
Chiitoo Administrator Joined: 28 Feb 2010 |
|
||||||||
Back to top |
|
||||||||
exeqtion n00b Joined: 05 Jan 2020 |
|
||||||||
Back to top |
|
||||||||
Chiitoo Administrator Joined: 28 Feb 2010 |
|
||||||||
Back to top |
|
||||||||
exeqtion n00b Joined: 05 Jan 2020 |
|
||||||||
Back to top |
|
||||||||
|
You cannot post new topics in this forum |
Hello,
When I open KMail, Nothing is shown in the email body but the «HTML message» black box.
On top of that, the CPU usage of Kmail gets high (constant ~25%).
Here is the logs just after I open Kmail:
(journalctl -r)
mar 10 18:35:06 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4164, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:06 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4161, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:06 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4148, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L akonadiserver[789]: org.kde.pim.akonadiserver.search: Search "kmail2-1509247245-SearchSession" done (without remote search)
mar 10 18:35:04 HP-L akonadiserver[789]: org.kde.pim.akonadiserver.search: Executing search "kmail2-1509247245-SearchSession"
mar 10 18:35:04 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f8880063cd0) identified as "MessageListTagCacheMonitor - 93863069692368"
mar 10 18:35:04 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f8880063cd0) )
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1620, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1604, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1588, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1572, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1533, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1515, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1511, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:03 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1494, resource id: 113246286, major code: 130 (Unknown), minor code: 3
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f8880117d30) identified as "FilterManagerTagMonitor - 93863070821664"
mar 10 18:35:03 HP-L kwin_x11[470]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21000, resource id: 16810710, major code: 14 (GetGeometry), minor code: 0
mar 10 18:35:03 HP-L kwin_x11[470]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 20999, resource id: 16810710, major code: 3 (GetWindowAttributes), minor code: 0
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f8880117d30) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f888023e190) identified as "TagActionManagerMonitor - 93863071073936"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f8880202040) identified as "MessageViewerMonitor - 93863066708640"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f8880202040) identified as "MessageViewerMonitor - 93863066708640"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f8880075670) identified as "MessageListTagMonitor - 93863067604144"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f888003e760) identified as "KMail Kernel ETM - 93863065948496"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f888005b0a0) identified as "SpecialCollectionsMonitor - 93863066253984"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f888023e190) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f8880202040) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber "" disconnected
mar 10 18:35:03 HP-L kmail[13215]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:35:03 HP-L kmail[13215]: Error loading text-to-speech plug-in "speechd"
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f8880202040) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f8880075670) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f888005b0a0) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f888003e760) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f888003e760) )
mar 10 18:35:03 HP-L akonadiserver[789]: org.kde.pim.akonadiserver: Subscriber "" disconnected
mar 10 18:35:03 HP-L systemd[408]: Started KMail - Logiciel de courriel.
mar 10 18:45:40 HP-L kmail[19170]: FolderCollectionMonitor::~FolderCollectionMonitor() MailCommon::FolderCollectionMonitor(0x5561895df760)
mar 10 18:44:39 HP-L kmail[19170]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:44:36 HP-L kmail[19170]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2345, resource id: 94371918, major code: 130 (Unknown), minor >
mar 10 18:44:36 HP-L kmail[19170]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2341, resource id: 94371918, major code: 130 (Unknown), minor >
mar 10 18:44:36 HP-L kmail[19170]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2317, resource id: 94371918, major code: 130 (Unknown), minor >
mar 10 18:44:35 HP-L kmail[19170]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:38:46 HP-L kmail[13215]: FolderCollectionMonitor::~FolderCollectionMonitor() MailCommon::FolderCollectionMonitor(0x555e32aebf00)
mar 10 18:35:06 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4164, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:06 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4161, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:06 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4148, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1620, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1604, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1588, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1572, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1533, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1515, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:04 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1511, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:03 HP-L kmail[13215]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1494, resource id: 113246286, major code: 130 (Unknown), minor>
mar 10 18:35:03 HP-L kmail[13215]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:35:03 HP-L kmail[13215]: Error loading text-to-speech plug-in "speechd"
mar 10 18:32:13 HP-L kmail[10498]: FolderCollectionMonitor::~FolderCollectionMonitor() MailCommon::FolderCollectionMonitor(0x561759c0f100)
mar 10 18:30:58 HP-L kmail[10498]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 6244, resource id: 100663374, major code: 130 (Unknown), minor>
mar 10 18:30:58 HP-L kmail[10498]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 6241, resource id: 100663374, major code: 130 (Unknown), minor>
mar 10 18:30:58 HP-L kmail[10498]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 6232, resource id: 100663374, major code: 130 (Unknown), minor>
mar 10 18:30:56 HP-L kmail[10498]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:30:53 HP-L kmail[10498]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:24:40 HP-L kmail[3445]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:18:42 HP-L kmail[772]: FolderCollectionMonitor::~FolderCollectionMonitor() MailCommon::FolderCollectionMonitor(0x564992eee200)
mar 10 18:17:49 HP-L kmail[772]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
mar 10 18:17:42 HP-L kmail[772]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2252, resource id: 52428878, major code: 130 (Unknown), minor co>
mar 10 18:17:42 HP-L kmail[772]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2249, resource id: 52428878, major code: 130 (Unknown), minor co>
mar 10 18:17:42 HP-L kmail[772]: qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2243, resource id: 52428878, major code: 130 (Unknown), minor co>
mar 10 18:17:40 HP-L kmail[772]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
System infos:
Operating System: Arch Linux
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.22-2-lts
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7.7 Gio of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
It seems to be related to akonadi.
Do you have any idea how to fix this ?
Last edited by Luh (2021-03-11 07:37:51)