Screen with 4:3 ratio incorrectly detected as having 16:9 ratio

Bug #641525 reported by Bruno Girin
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: xorg

Following an update a few days ago, my laptop's screen is detected as having a 16:9 ratio rather than a 4:3 ratio and the display is set to 1360x768 pixels rather than 1024x768. As a result, the GDM login box is shifted to the right and, once logged in, the screen extends to the right making some elements of the desktop displayed outside the physical screen area. This can be corrected on a per-user basis by setting the resolution manually in System → Preferences → Monitors but doesn't correct the login screen. See the attached photograph for an illustration.

Steps to reproduce:
1. Boot Ubuntu 10.10 on a computer with a screen that has a physical 4:3 ratio (1024x768 in my case).
2. The boot screen is displayed with a 4:3 ratio
3. The login screen appears and is displayed with a resolution of 1360x768 pixels (16:9 ratio, login box shifted to the right)
4. Log-in
5. The desktop is displayed with a resolution of 1360x768 pixels resulting in 336 pixels (1360-1024) worth of screen real estate displayed outside the screen boundary to the right

Expected behaviour:
In steps 3 and 5, the login screen and the desktop should be displayed with resolution that has a 4:3 ratio, as per the physical ratio of the screen.

Workaround:
Once logged in, go to System → Preferences → Monitors and select a resolution that fits the physical screen. However, this needs to be done for every user on the system.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.32-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
DRM.card0.DVI.D.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1024x768 800x600 848x480 720x480 640x480
 edid-base64:
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Fri Sep 17 19:01:11 2010
DkmsStatus:
 virtualbox-ose, 3.2.8, 2.6.35-22-generic, i686: installed
 virtualbox-ose, 3.2.8, 2.6.35-21-generic, i686: installed
 virtualbox-ose, 3.2.8, 2.6.35-20-generic, i686: installed
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
Lsusb:
 Bus 004 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: IBM 2373F2G
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=c86343a6-8c93-482f-8875-d61d789d323e ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: xorg
dmi.bios.date: 06/18/2007
dmi.bios.vendor: IBM
dmi.bios.version: 1RETDRWW (3.23 )
dmi.board.name: 2373F2G
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1RETDRWW(3.23):bd06/18/2007:svnIBM:pn2373F2G:pvrThinkPadT42:rvnIBM:rn2373F2G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2373F2G
dmi.product.version: ThinkPad T42
dmi.sys.vendor: IBM
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-22-generic

Revision history for this message
Bruno Girin (brunogirin) wrote :
Revision history for this message
Bruno Girin (brunogirin) wrote :

Photograph of login screen demonstrating the bug.

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Alvaro Pintos Pena (alvarop) wrote :

I have a nvidia card with nouveau driver and I have this problem too

Revision history for this message
sh4wn (sh4wn) wrote :

The same for me with nvidia proprietary driver, with the only difference that everything is shifted to the left.

Revision history for this message
Sebastian Łuczak (sebastian-m-luczak) wrote :

Same bug here. IBM T40 with ATI RADEON MOBILITY 7500 using radeon driver. Screen looks garbled and unusable in GDM, workaround with manual setting of resolution to 1024x768 in Gnome solves the problem for user (not for global GDM settings). Disabling modesetting with "options radeon modeset=1" in /etc/modprobe.d/radeon-kms.conf solves the problem, but performance drops to unusable level. Changes to xorg.conf forcing modelines doesn't solve problem, Ubuntu still recognizes screen as 16:9.

Revision history for this message
Alvaro Pintos Pena (alvarop) wrote :
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
Illogic_Gate (illogicgate) wrote :

Alvaro, your solution does solve the symptoms (thanks!!), but a peek at my xrandr output leads me to believe that the underlying problem may not be gone.

$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768 60.0*+ 60.0
   1360x768 59.8
   800x600 60.3 59.9
   848x480 59.7
   720x480 59.7
   640x480 59.9 59.4
S-video disconnected (normal left inverted right x axis y axis)

It's still detecting my 1024x768 laptop display as 1360x768 CAPABLE which is quite incorrect. I'm using a T42 Thinkpad with the M7 (Radeon Mobility 7500)

Thanks for your solution and any additional consideration to this issue!

Revision history for this message
Tormod Volden (tormodvolden) wrote :

This is related to bug 640807, which explains why it showed up a few days ago. Also, the DRM.card0.LVDS.1 modes list in the apport-collected summary does not list the faulty 1360x768 mode, but it shows up in the xrandr output. I suspected g-s-d for this in another report, but since the mode can be seen listed in Xorg.0.log in early initialization this must be an xorg bug.

g-s-d will be fixed so it does not overrule the X server mode selection, so the reported problem will go away. However the bug in xorg which generates the faulty mode should also be fixed to avoid other problems.

Revision history for this message
bugbot (bugbot) wrote :

Hey Bruno,

Thanks for testing maverick during its development period. Unfortunately it looks like this bug report didn't get attention during the maverick development period. But I see there's not been more comments on the bug since the release, which makes me wonder if this is still an issue for you?

If you've not seen this issue since maverick's release yourself, it may have been solved by kernel or X or other updates that occurred late in the release; if so, would you mind please closing the bug for us? Go to the URL mentioned in this bug report, click the yellow icon(s) in the status column and set to 'Fix Released'.

If you no longer have the hardware needed to reproduce the problem, or otherwise feel the bug no longer needs tracked in Launchpad, you can set the status to 'Invalid'.

If you are the original reporter and still have this issue, just reply to this email saying so. (Or set the bug status to Confirmed.) If you are able to re-test this against 11.04 Natty Narwhal (our current development focus) and find the issue still affects Natty, please also run 'apport-collect <bug-number>' while running natty, which will add fresh logs and debug data, and flag it for the Ubuntu-X development team to look at.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
bugbot (bugbot) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Tormod Volden (tormodvolden) wrote :

MrMacman2u, can you please file a new bug for the issue in comment 7?

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.