On 03/26/2012 04:55 PM, Jamey Sharp wrote: > 2012/3/26 Sérgio Basto <[email protected]>: >> in other day I saw /usr/bin/xvfb-run is in use on building >> miro-4.0.6-2.fc16 >> >> how we test X in a server without displays ? > > Use xf86-video-dummy with the Xorg DDX. > >> I use >> /usr/bin/Xvfb >> >> Xvfb :1 -fbdir /var/tmp/ >> export DISPLAY=:1 >> sdl-gnash --screenshot 0 --screenshot-file $IMG.tmp -r1 -t1 $SWF >> >> kind of a flash ripper . > > xf86-video-dummy doesn't have an equivalent to -fbdir, but it looks > like you aren't actually making use of the mmap'd framebuffer in > /var/tmp/. So this case should work just fine with xf86-video-dummy > today as well.
I haven't looked into screen scraping much, but I thought it wasn't supported by the dummy video driver. I'm glad to see it is. What does it take to get a screen capture out of the dummy driver? Is it something you would recommend we encapsulate inside of xorg-gtest? Thanks! _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
