example code for Xorg/X11 record extension fails

夙愿已清 提交于 2019-12-24 11:44:03

问题


I'm compiling a basic example (as much as using bare X could be simple...) using the X11's RECORD extension on the latest version of Ubuntu, and I'm getting the following error:

RECORD extension for local server is version is 1.13
X Error of failed request:  XRecordBadContext
  Major opcode of failed request:  135 (RECORD)
  Minor opcode of failed request:  5 (XRecordEnableContext)
  Context in failed request:  0x17
  Serial number of failed request:  10
  Current serial number in output stream:  10

Any hints about what's wrong?


回答1:


I believe that the XRECORD extension is broken in current servers (see https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/315456, although I hit problems with cnee long after the date the fix was supposed to be available). You might want to try installing an older Linux distribution in a virtual machine and giving the sample code a try there.



来源:https://stackoverflow.com/questions/3008974/example-code-for-xorg-x11-record-extension-fails

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!