"Display Properties" sets virtual resolution too low

Bug #433856 reported by Tim Kosse
76
This bug affects 13 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Invalid
Undecided
Unassigned
screen-resolution-extra (Ubuntu)
Invalid
Medium
Alberto Milone

Bug Description

Binary package hint: gnome-control-center

I am unable to configure my monitors using System -> Preferences -> Display using a fresh installation of Ubuntu 9.10 Alpha 6.

My graphics card is a Radeon HD 4850 and two monitors are attached to the system:
- BenQ G2400WD, native resolution of 1920x1200, attached over HDMI
- Samsung SyncMaster 930BF, native resolution 1280x1024, attached over DVI

On first startup, both displays came up in mirror mode, showing the same with a resolution of 1280x1024.

Disabling mirror mode and setting higher resolution on the BenQ prompts to set the virtual resolution. After accepting it asks to logout and back in again.

After logging out and back in however, nothing has changed, mirror mode is still enabled with both displays running at 1280x1024.

ProblemType: Bug
Architecture: amd64
Date: Mon Sep 21 10:02:54 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-display-properties
Package: gnome-control-center 1:2.27.91-0ubuntu3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
SourcePackage: gnome-control-center
Uname: Linux 2.6.31-10-generic x86_64

Revision history for this message
Tim Kosse (tim-kosse) wrote :
Revision history for this message
Tim Kosse (tim-kosse) wrote :
Revision history for this message
Tim Kosse (tim-kosse) wrote :
Revision history for this message
Tim Kosse (tim-kosse) wrote :

I forgot to mention: This used to work just fine on Ubuntu 9.04

Revision history for this message
Tim Kosse (tim-kosse) wrote :

A workaround is to manually create a fresh xorg.conf using "X -configure" and to edit it to use the desired virtual size.

Revision history for this message
cement_head (andorjkiss) wrote :

Yep, this is a duplicate of 433856.

Revision history for this message
Akael (alain-banyuls) wrote :

same in 9.10 beta1 and asus laptop.

gnome-display settings, run in terminal, stop with message :

": org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit.AuthenticationAgent was not provided by any .service files"

Revision history for this message
kmg (icecreamsunshine) wrote :

I'm getting the same as Akael. If I try to turn off mirror it asks if it can change virt res setting, and I say yes. At this point it locks up with "The name org.freedesktop.PolicyKit.AuthenticationAgent was not provided by any .service files," which appears to be a DBus error. Running as root fixes this problem ! But ! Still no visible affect after logging back in, monitors still mirrored. I'm on a Lenovo Thinkpad T60 hooking up to a fairly standard external monitor.

tags: added: i386
summary: - Unable to configure multiple monitors
+ "Display Properties" sets virtual resolution too low
Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Changed in screen-resolution-extra (Ubuntu):
status: New → Confirmed
Revision history for this message
Shane O'Connell (shaneoc) wrote :

This bug and all of the duplicates show "Display Properties" setting the virtual resolution to 2048x2048.

In bug #425760, Jani Monoses suggested a possible solution, by changing

   if int(self.resolution[0]) < int(self.optimal_virtual_resolution[0]) or \
           int(self.resolution[1]) < int(self.optimal_virtual_resolution[1]):
            self.resolution = self.optimal_virtual_resolution

to

   if int(self.resolution[0]) < int(self.optimal_virtual_resolution[0]) and \
           int(self.resolution[1]) < int(self.optimal_virtual_resolution[1]):
            self.resolution = self.optimal_virtual_resolution

changing "or" to "and" in the file /usr/share/screen-resolution-extra/policyui.py. This also fixes this bug for me as well.

Revision history for this message
Alberto Milone (albertomilone) wrote :

What Jani suggested is correct. I'll upload a fix soon.

Changed in screen-resolution-extra (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Alberto Milone (albertomilone)
status: Confirmed → In Progress
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screen-resolution-extra - 0.11

---------------
screen-resolution-extra (0.11) karmic; urgency=low

  * Set the virtual resolution to 2048x2048 only if a smaller framebuffer
    size was requested (LP: #433856).

 -- Alberto Milone <email address hidden> Wed, 14 Oct 2009 14:13:27 +0200

Changed in screen-resolution-extra (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Tim Kosse (tim-kosse) wrote :

Thank you Alberto, works perfectly now.

Revision history for this message
foggydude (rogier-stekje) wrote :

For me it doesnt work yet: when i press YES after promted to have my virtual resolution adjusted, display preferences hangs and nothing happens to my screens.

os: ubuntu karmic unr
pc: 12" asus one/packard bell dot M
intel gma 500 (poulsbo driver backported from jaunty)

Revision history for this message
vukasin0 (vukasin-n) wrote :

Hi,

Like for "foggydude" it doesn't work for me at all in 9.10.

In 9.04 I was able to change to 3 modes (mirroring displays, only laptop dispaly, only external monitor ) using display switch function key on my "IBM T60" Laptop but here I'm always in mirroring mode.

I use Benq FP222Wa external monitor with same resolution as my laptop display 1650x1080.

"gnome-display-properties" not working - after uncheck "mirroring" and "apply" it say to logout. After login again, nothing changed - still in mirroring mode.

Version of "screen-resolution-extra" is 0.11:

vukasin@vukasin-t60:~$ dpkg -l | grep screen-resolution-extra
ii screen-resolution-extra 0.11 Extension for the GNOME screen resolution ap

Revision history for this message
thinkpad (fellowsgarden) wrote :

Like for "vukasin0", dito for me.

IBM Thinkpad R50, with ATI Mobility Radeon 7500.

Plus: when logging back in I get the following error text across the panel:

[quote]
java (error) console microsoft print 2 how to hide panel
[unquote]

What has this to do with a) Java and b) Microsoft ?

For the moment: does it make sense to fiddle around with xorg.conf & xrandr (in Karmic) ?

tp.

Changed in screen-resolution-extra (Ubuntu):
status: Fix Released → Invalid
Revision history for this message
thinkpad (fellowsgarden) wrote :

Sorry for not realizing immediately:

The "error" text

[quote]
java (error) console microsoft print 2 how to hide panel
[unquote]

originates from various files on my desktop. Guess this only indicates further a whacky display configuration...

tp.

Revision history for this message
thinkpad (fellowsgarden) wrote :

Sorry for multiple posting (no way of editing ?):

New observation:

Now that I told "Display Preferences" that my external monitor is to the right side of my laptop it has worked (though physically it still is to its left). BUT - the display is still a bit whacky and fickle, that is to say, the panels (both top and below Firefox, whatever their proper name), are mostly stripy orange with the occasional icon / button visible when I hover over it.

So basically this "works", but obviously far from perfectly.

Any suggestions?

Thanks!!

tp.

Revision history for this message
thinkpad (fellowsgarden) wrote :

Update:

Shut down the computer, cold re-boot: same orange streaky lines on panels.

Turned off visual effects completely (system > preferences > appearance): no more orange streak.

So I'm somewhat happy (though I would like to (have kept) keep some visual effects... :-/ )

tp.

Revision history for this message
cement_head (andorjkiss) wrote :

Try the updated ATI drivers for effects: https://launchpad.net/~xorg-edgers/+archive/drivers-only

Or, if you can install the FGLRX drivers.

- CH

Revision history for this message
thinkpad (fellowsgarden) wrote :

Thanks cement_head.

As I am an "absolute beginner" I would greatly appreciate a few more guiding words:

on
https://launchpad.net/~xorg-edgers/+archive/drivers-only
which links should I open? or should I use the "synaptic package manager" (or other) instead to navigate to those drivers?

Similarly, how do I find the FGLRX drivers you mention (which links to open, which buttons to press) ?

Finally, how easily can this get "messy" and irreversible ? - Do I just need to remember which drivers I installed and can then simply uninstall them if I don't see the desired effect ?

Many (beginners') thanks !

;-)

tp.

Revision history for this message
cement_head (andorjkiss) wrote :

Hi Thinkpad,

  As this is not the forum, I have posted a guide here: http://ubuntuforums.org/showthread.php?t=1372224

  Please respond to the forum posting if you have any problems.

- CH

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.