Created attachment 33006 [details] [review] Exit more simply if fbScreenInit fails We were investigating why tests running against Xvfb claimed RANDR wasn't present, and indeed, it wasn't :). The two patches attached here respectively tweak the handling of fbScreenInit failures to make it cleaner, and then init RandR for Xvfb.
Created attachment 33007 [details] [review] Enable basic randr support for xvfb
Please send your patch to the xorg-devel mailing list for review.
*** Bug 19510 has been marked as a duplicate of this bug. ***
Created attachment 72880 [details] [review] randr support for xorg-server-1.13.1.901 i'm using this now with 1.13.1.901 and it works nicely :) patch by Lambros Lambrou @ Google
The patch at: http://patchwork.freedesktop.org/patch/13852/ still applies, but hasn't been reviewed since it was posted to the mailing-list a year ago. This patch would be useful to start using Xvfb in gnome-settings-daemon's test suite.
In June 2015 there was another attempt to get this patch merged[0], it seems that people are now recommending/leaning towards replacing xf86-video-dummy[1] by Xvfb[2][3]. The patch looks trivial enough to get merged, but maybe it never will due to Xvfb deprecation (=WONTFIX)? [0]: http://patchwork.freedesktop.org/patch/51428/ [1]: http://cgit.freedesktop.org/xorg/driver/xf86-video-dummy/ [2]: http://xpra.org/trac/wiki/Xdummy [3]: http://www.x.org/wiki/Releases/7.8/
yes, it seems silly that it hasn't been merged yet considering its simplicity. if people want to deprecate things in the long run, that's fine, but i don't think that should hold up this patch.
commit 3d68d1f26709ecb5ce22a9baa0d3d8162574ed6a Author: Siim Põder <siim@p6drad-teel.net> Date: Mon Jun 8 22:14:12 2015 +0000 vfb: add randr support (v2) The motivation for getting this is chrome remote desktop that runs under Xvfb and wants to use RANDR to adjust screen size according to the remote desktop client screen size. Apparently there are other use cases as well, the bug mentions gnome-settings-daemon testing. [ajax: massaged commit message] Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26391 Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Lambros Lambrou <lambroslambrou@google.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michal Srb <msrb@suse.com> Signed-off-by: Siim Põder <siim@p6drad-teel.net>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.