[cairo] Using cairo-xlib to get screenshots
chris at chris-wilson.co.uk
Fri Oct 11 08:51:56 PDT 2013
On Fri, Oct 11, 2013 at 05:10:12PM +0200, Oliver wrote:
> Hello again!
> Turns out that the code works well on other machines. I'd really
> appreciate any help that could let me pinpoint the problem. I did get a
> list of things to check from psychon in #cairo at freenode, but none of them
> seem to indicate a problem. I have ensured:
> - Using xsetroot to have different background colors for my x root
> window, the black pixels are not due to a black root window with no
> children rendered.
> - I can take screenshots using `import -window root asdf.png`
> - xwininfo -root and xwininfo on visible windows show that they have the
> same depth and visual properties.
Mind attaching your Xorg.0.log? At this point (using the same app and
libcairo on different machines) it is worth investigating a driver bug.
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo