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-22.214.171.1241
i'm using this now with 126.96.36.1991 and it works nicely :)
patch by Lambros Lambrou @ Google
The patch at:
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, it seems that people are now recommending/leaning towards replacing xf86-video-dummy by Xvfb.
The patch looks trivial enough to get merged, but maybe it never will due to Xvfb deprecation (=WONTFIX)?
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.
Author: Siim Põder <firstname.lastname@example.org>
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]
Reviewed-by: Adam Jackson <email@example.com>
Signed-off-by: Lambros Lambrou <firstname.lastname@example.org>
Signed-off-by: Mike Frysinger <email@example.com>
Signed-off-by: Michal Srb <firstname.lastname@example.org>
Signed-off-by: Siim Põder <email@example.com>