xvfb does not support randr

Bug #516123 reported by Robert Collins
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Wishlist
xorg-server (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Upstream bug created with patch; its essentially a one-liner.

Tags: patch
Revision history for this message
In , Robert Collins (lifeless) wrote :

Created an attachment (id=33007)
Enable basic randr support for xvfb

Revision history for this message
Robert Collins (lifeless) wrote :

Upstream bug created with patch; its essentially a one-liner.

Revision history for this message
Robert Collins (lifeless) wrote :
Revision history for this message
Robert Collins (lifeless) wrote :
Changed in xorg-server:
status: Unknown → Confirmed
tags: added: patch
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks robert, you mentioned you had also send these patches to the bugzilla upstream at fdo - can you indicate the bug number so we can track it upstream (and encourage upstream to take the patches)?

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 516123] Re: xvfb does not support randr

On Thu, 2010-02-04 at 18:58 +0000, Bryce Harrington wrote:
> Thanks robert, you mentioned you had also send these patches to the
> bugzilla upstream at fdo - can you indicate the bug number so we can
> track it upstream (and encourage upstream to take the patches)?

Already done - look at the bug page in lp :)

-Rob

Revision history for this message
Bryce Harrington (bryce) wrote :

Apparently I'm blind, nevermind

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.7.3.902-1ubuntu11

---------------
xorg-server (2:1.7.3.902-1ubuntu11) lucid; urgency=low

  * Add 196_xvfb-fbscreeninit-handling.patch and 197_xvfb-randr.patch:
    Adds xrandr support to xvfb. Thanks lifeless!
    (LP: #516123)
 -- Bryce Harrington <email address hidden> Thu, 04 Feb 2010 10:56:12 -0800

Changed in xorg-server (Ubuntu):
status: New → Fix Released
Changed in xorg-server:
importance: Unknown → Medium
Changed in xorg-server:
importance: Medium → Unknown
Changed in xorg-server:
importance: Unknown → Medium
Revision history for this message
Mugendai (mugendai) wrote :

This issue seems to have come back in Natty.

I see a slightly different error message than I have seen most people report(in regards to previous versions)

"RandR extension missing"

Trying to get this working in regards to a Minecraft map generator, which has a decent wiki page.
Wiki page shows it worked on Maverick and Lucid, and then stopped working in Natty.

So far as I saw, the upstream bug was never fixed. Perhaps a merge to upstream reverted this?

Please let me know if there is something I can do to provide more useful details, but the basic thing I am doing here is:

xvfb-run -a xrandr

and simply receive the before mentioned error message.

Revision history for this message
In , Jeremy Sequoia (jeremyhu) wrote :

Please send your patch to the xorg-devel mailing list for review.

Revision history for this message
In , Jeremy Sequoia (jeremyhu) wrote :

*** Bug 19510 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Mike Frysinger (vapier) wrote :

Created attachment 72880
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

Changed in xorg-server:
importance: Medium → Wishlist
Revision history for this message
In , Bugzilla-x (bugzilla-x) wrote :

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.

Revision history for this message
In , Peter Wu (lekensteyn) wrote :

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/

Revision history for this message
In , Mike Frysinger (vapier) wrote :

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.

Revision history for this message
In , Ajax-a (ajax-a) wrote :

commit 3d68d1f26709ecb5ce22a9baa0d3d8162574ed6a
Author: Siim Põder <email address hidden>
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 <email address hidden>
    Signed-off-by: Lambros Lambrou <email address hidden>
    Signed-off-by: Mike Frysinger <email address hidden>
    Signed-off-by: Michal Srb <email address hidden>
    Signed-off-by: Siim Põder <email address hidden>

Changed in xorg-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.