[使用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参数传递给它?
我对wxWidget / openGL程序有同样的问题。这是在我使用libgtk-3-0升级到Ubuntu 20.04时开始的。在Ubuntu 19.10和libgtk2.0-0(以及其他lib差异)下加载的程序的旧版本仍然可以在Ubuntu 20.04下运行。