gnome-control-center display doesn't detect VirtualBox display resolutions

Bug #953687 reported by David Lawson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

The displays panel of g-c-c fails to properly detect the display resolutions of VirtualBox virtual displays. I can manually add a mode for the proper resolution, refresh, etc. and select that, but the display panel offers a set of what appear to be completely resolutions. It seems to know there's more than 1024x768 there, but is having trouble getting a handle on what. I'm sure there's all kinds of fascinating debug output that would make this easier to diagnose, let me know what you need.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-center 1:3.3.91-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Mon Mar 12 23:50:13 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to precise on 2012-03-12 (0 days ago)
usr_lib_gnome-control-center:
 activity-log-manager-control-center 0.9.3-0ubuntu1
 deja-dup 21.90-0ubuntu1
 gnome-bluetooth 3.2.2-0ubuntu3
 indicator-datetime 0.3.91-0ubuntu1

Revision history for this message
David Lawson (deej) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you run "xrandr" and copy the log there?

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
David Lawson (deej) wrote :

dlawson@ubox:~$ xrandr
Screen 0: minimum 64 x 64, current 3600 x 1080, maximum 32000 x 32000
VBOX0 connected 1920x1080+0+0 0mm x 0mm
   1680x1050 60.0 +
   1440x1050 60.0
   1280x960 60.0
   1024x768 60.0
   800x600 60.0
   640x480 60.0
   1920x1080_60.00 60.0*
VBOX1 connected 1680x1050+1920+30 0mm x 0mm
   1680x1050 60.0 +
   1440x1050 60.0
   1280x960 60.0
   1024x768 60.0
   800x600 60.0
   640x480 60.0
   1680x1050_60.00 60.0*

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's in the same virtualbox that the one where the control center doesn't work? it's weird, the panel is basically using xrandr...

Revision history for this message
David Lawson (deej) wrote :

Yeah, I've added the 1920x1080 and 1680x1050 modes by hand.

David Lawson (deej)
Changed in gnome-control-center (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

what do you mean "Yeah, I've added the 1920x1080 and 1680x1050 modes by hand"? how did you do that?

Changed in gnome-control-center (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
David Lawson (deej) wrote :

I run a script when I log in that adds the resolution, then select it via the display manager. There's an equivalent to add the 1680x1050 resolution for the other display, though that one seems to stick around at least until the next kernel update once its added.

#!/bin/bash
xrandr --newmode "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr --addmode VBOX0 "1920x1080_60.00"

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Triaged
status: Triaged → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

well that seems an xorg issue then, those don't get exposed over the libxrandr C api...

affects: gnome-control-center (Ubuntu) → libxrandr (Ubuntu)
Revision history for this message
Robert Hooker (sarvatt) wrote :

Virtualbox uses its own video driver in the guest additions that are responsible for exposing other resolutions, it could just be vesa is being used here because guest additions aren't installed (only vesa modes are being exposed) but that would be working as intended if so. This is a problem in virtualbox so reassigning there

affects: libxrandr (Ubuntu) → virtualbox (Ubuntu)
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.