Bug 214539 - Under Xen paravirt framebuffer, gnome-display-properties shows bogus refresh rate
Summary: Under Xen paravirt framebuffer, gnome-display-properties shows bogus refresh ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-08 02:35 UTC by Daniel Berrangé
Modified: 2008-02-26 23:40 UTC (History)
3 users (show)

Fixed In Version: F7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-26 23:40:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of guest console (203.39 KB, image/png)
2006-11-08 02:38 UTC, Daniel Berrangé
no flags Details
xdpyinfo -ext XFree86-VidModeExtension (3.68 KB, text/plain)
2006-11-08 16:08 UTC, Daniel Berrangé
no flags Details

Description Daniel Berrangé 2006-11-08 02:35:46 UTC
Description of problem:
When the GNOME app for adjusting display resolution is used within a Xen
paravirtualized  guest, the refresh rate is reported as -7203 HZ which is rather
odd!

Version-Release number of selected component (if applicable):
control-center-2.17.1-1.fc7

How reproducible:
Always

Steps to Reproduce:
1. Created a Xen paravirtualized guest running FC6
2. Open virt-manager
3. Connect to the guest console
4. Login to X in the guest
5. Run System -> preferences -> resolution menu
   
Actual results:
Refresh rate is -7203 HZ

Expected results:
Refresh rate is 0 HZ ? or disabled altogether ?

Additional info:
Since this is a virtual framebuffer with no real display attached, the whole
question of refresh rate is rather irrelevant. So if there is a sensible way to
detect this, I think it'd make sense to either disable the refresh rate widget,
or fix it at zero.

Comment 1 Daniel Berrangé 2006-11-08 02:38:00 UTC
Created attachment 140620 [details]
Screenshot of guest console

Comment 2 Daniel Berrangé 2006-11-08 02:39:39 UTC
It looks like xrandr  also reports the wrong refresh rate (see screenshot), so
quite possibly this bug component needs to be changed to belong to Xorg  instead.


Comment 3 Ray Strode [halfline] 2006-11-08 15:45:22 UTC
Yea, looks like it.  Reassigning...

Comment 4 Daniel Berrangé 2006-11-08 16:08:45 UTC
Created attachment 140660 [details]
xdpyinfo -ext XFree86-VidModeExtension

Comment 5 Adam Jackson 2006-11-08 16:12:35 UTC
XFree86-VidModeExtension version 2.2 opcode: 134, base error: 130
  Monitor Information:
    Vendor: , Model: 
    Num hsync: 0, Num vsync: 0

Tee hee.  Pretty sure that's not going to work well.

Comment 6 Adam Jackson 2007-05-26 18:43:28 UTC
Dan, can you retest this now?  In particular with Xorg 1.3.0.0-5 or later.  The
magic number fix we put in for making X start up properly in F7 xen should at
least make this fail in a new way.

Comment 7 Daniel Berrangé 2007-05-27 17:06:06 UTC
It now reports a refresh rate of 0HZ, which sounds reasonable to me, given that
there isn't really any real refresh rate for the Xen paravirt framebuffer.


Comment 8 Chris Lalancette 2008-02-26 23:40:12 UTC
Looks like this was resolved....closing out as CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.