example code for Xorg/X11 record extension fails
Asked Answered
H

1

1

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?

Howie answered 9/6, 2010 at 19:1 Comment(0)
M
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.

Mongeau answered 1/7, 2010 at 15:5 Comment(1)
It worked with a slightly modified code though, and the bug is now marked as fixed.Howie

© 2022 - 2024 — McMap. All rights reserved.