X窗口系统错误BadMatch(无效的参数属性)

问题描述 投票:0回答:1

[使用Mesa软件驱动程序在Linux中运行有效的OpenGL程序

GLX_FBCONFIG_ID=17a
GLX_BUFFER_SIZE=32
GLX_DEPTH_SIZE=32
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: softpipe
OpenGL version string: 3.3 (Core Profile) Mesa 19.2.8

我收到错误

The program 'a' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 3847 error_code 8 request_code 73 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

此错误是什么意思,如何解密错误代码?

如果我使用xvfb-run运行程序,如何将--sync参数传递给它?

linux opengl render x11 mesa
1个回答
0
投票

我对wxWidget / openGL程序有同样的问题。这是在我使用libgtk-3-0升级到Ubuntu 20.04时开始的。在Ubuntu 19.10和libgtk2.0-0(以及其他lib差异)下加载的程序的旧版本仍然可以在Ubuntu 20.04下运行。

© www.soinside.com 2019 - 2024. All rights reserved.