运行xvfb-run返回缺少的扩展RANDR
running xvfb-run returns missing extension RANDR
运行程序时返回一个丢失的扩展RANDR
# xvfb-run ./a.out
Xlib: extension "RANDR" missing on display ":99".
这只是一个警告。如果你检查xvfb正在写入的文件,你会发现它确实在工作。我自己也经历过这个问题。
Xvfb不支持旋转或调整大小。除非您的应用程序实际上需要使用Xandr扩展,否则警告是无害的:
$ xvfb-run -a xdpyinfo | sed '/^$/q'; echo $?
name of display: :99
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11501000
X.Org version: 1.15.1
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 6
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: PointerRoot
number of extensions: 23
BIG-REQUESTS
DAMAGE
DOUBLE-BUFFER
DPMS
DRI3
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
Present
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
0
$ xvfb-run -a xrandr; echo $?
RandR extension missing
1
相关文章:
- 是否可以通过C++扩展强制多个python进程共享同一内存
- static_assert在宏中,但也可以扩展到可以用作函数参数的东西
- 如何将这个C++哈希表转换为动态扩展和收缩,而不是使用硬设置的最大值
- 扩展光电二极管探测器以支持多个传感器
- C++中的VLA,扩展名为std=C++11
- OpenGL 和 GLM 矩阵无法正确扩展,总是按比例缩小
- 基于范围的 for 循环:迭代使用一个元素扩展的向量
- C++返回 Numpy 数组的 Python 扩展模块
- 扩展可变参数模板中的变量名称
- 扩展C++生成的代码的模板参数类型名称
- 我想通过带有C++和Python的插件创建一个可扩展的应用程序
- VSCode IntelliSense无法识别SDL框架的SDL_image扩展库
- 将元组类型扩展为可变参数模板?
- 如何按文件扩展名引用文件夹中的文件
- HDF5Cpp 扩展复合数据集超板问题
- MSVC中的宏观扩展问题
- 嵌套参数包扩展失败
- C4204:使用的非标准扩展:非常量聚合初始值设定项
- [temp.variadic]中关于包扩展实例化的措辞
- 运行xvfb-run返回缺少的扩展RANDR