Bug 15512

Summary: [945GM] Incomplete DPI quirk causing large fonts
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: pliniusminor
Version: 7.3 (2007.09)Keywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
URL: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/204065
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
list of the hardware (output of lshw in the terminal))
none
Xorg.0.log none

Description Bryce Harrington 2008-04-14 19:28:49 UTC
I'm forwarding this bug from a Ubuntu reporter.

Bug: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/204065

The user is seeing font dpi's that are too large.  The monitor is being detected as one requiring a quirk for horizontal size in cm's, and is indicating that it has set the DPI to (96, 96), which *should* be fine.  However, it later reports that it's using a 289 x 21 physical screen size, so I wonder if it needs an additional quirk?

Xorg.0.log:  http://launchpadlibrarian.net/12888925/Xorg.0.log

[Original report]
"Using Kubuntu Hardy Alpha 6, KDE4 edition. (same thing can be duplicated with the Ubuntu Hardy Alpha 6), on a Compaq V5204NR laptop. This machine has Intel 945GM graphics.

Attempting to boot in safe graphics mode boots into text mode only. Attempting to run "startx" does not work, complaining that there are not usable screens for the display. Booting regularly does boot into X, however, the text is WAY oversized to the point that I cannot use any menu whatsoever. The numbers in the pager in the taskbar are at least 10 times too large, they do not show fully in the pager. The tips box that starts up is so large that it fills the entire screen, with only a few letters visible, as they are also too large.

The only way i was able to get a usable screen was to boot into regular mode then drop to a virtual terminal. I mounted the laptop hard drive to a temporary folder, then copied my existing xorg.conf to the right directory of the live cd. I then pressed ctrl+alt+F7 to go back into X, and restarted the xorg server. I was then able to perform an install of the OS, followed by an install of 915resolution.

While i know that 915resolution is needed for widescreen, older versions (pre 7.10) would at least give me a proper 1024x768 with readable text.

I consider this a show stopper, in that many laptops use the Intel graphics chipset. I cant be the only one with this issue. If i load a disk and i cant read ANYTHING on the screen, or even see the menus to attempt to troubleshoot, I am very unlikely to use the product. I dare say many would not think to keep a copy of a good xorg.conf file laying around... Seems that something just isnt right in the autodetection and setup of xorg.

thanks for your time,
-myk"
Comment 1 Pjotr 2008-04-15 03:06:17 UTC
Created attachment 15924 [details]
list of the hardware (output of lshw in the terminal))
Comment 2 Pjotr 2008-04-15 03:07:41 UTC
Hi,

I was referred here by Bryce Harrington, from Launchpad.

There is a bug in the "intel" driver, only when running on a machine with the 
Intel 945 chip (Intel(r) 82945GM Chipset Family Graphics Chip).

I could only install Ubuntu 8.04 Hardy Heron Beta with the Alternate CD because of this bug. When I booted the laptop after the installation, a seemingly normal login screen appeared. However: when I typed in my login name, the letters were absurdly huge and didn't fit in the login screen input field. After filling out my password and pressing Enter, X wouldn't show: the screen became black and stayed black.

I applied this workaround: a switch to the "i810" driver, which doesn't have this problem. So I had to reboot into recovery mode and run "apt-get remove xserver-xorg-video-intel"
This way I uninstalled the "intel" driver, leaving only the "i810". Then I rebooted the laptop. Now Ubuntu 8.04 boots correctly into X.

This happens only with the Intel 945 chip. On another laptop with the Intel 915, there was no problem at all. Also there is no problem on a desktop computer with the Intel 946.

I have attached the output of lshw.

I hope you can fix this bad bug in the "intel" driver, before Ubuntu 8.04 ships in its final version. It's almost impossible now, to run Ubuntu 8.04 on a laptop with the Intel 945. I should add, that I encountered the same problem in PC-BSD 1.4.1, so it's not a distro-specific problem.

Greetz, Pjotr.
Comment 3 Julien Cristau 2008-04-15 03:32:26 UTC
On Mon, Apr 14, 2008 at 19:28:50 -0700, bugzilla-daemon@freedesktop.org wrote:

> Xorg.0.log:  http://launchpadlibrarian.net/12888925/Xorg.0.log

(II) Module i810: vendor="X.Org Foundation"
        compiled for 1.4.0, module version = 1.7.4

This is the old i810 driver.

Cheers,
Julien
Comment 4 Gordon Jin 2008-04-15 20:15:18 UTC
Please double check the driver version.
Comment 5 Bryce Harrington 2008-04-16 10:02:01 UTC
Here is the Xorg.0.log from the -intel driver:
http://launchpadlibrarian.net/12888919/Xorg.0.log.old
Comment 6 Julien Cristau 2008-04-16 10:42:45 UTC
status = RESOLVED
resolution = FIXED

> --- Comment #5 from Bryce Harrington <bryce@bryceharrington.org>  2008-04-16 10:02:01 PST ---
> Here is the Xorg.0.log from the -intel driver:
> http://launchpadlibrarian.net/12888919/Xorg.0.log.old
> 
(II) intel(0): EDID vendor "LPL", prod id 10752

fixed in xserver a while ago, commit c747030a49dd289e873e2b686cd129d840e55468
(LPL prod id 0x2a00 added to quirk_detailed_use_maximum_size)

Cheers,
Julien
Comment 7 Julien Cristau 2008-04-16 10:50:51 UTC
marking as fixed for real now, hopefully.
Comment 8 Pjotr 2008-04-19 05:28:49 UTC
The poblem is still there, in the "intel" driver that is in the Release Candidate of Ubuntu 8.04, that was released yesterday (April 18th).

I have attached Xorg.0.log from the LiveCD-session.

Greetz, Pjotr.
Comment 9 Pjotr 2008-04-19 05:30:07 UTC
Created attachment 16040 [details]
Xorg.0.log
Comment 10 Pjotr 2008-04-19 05:31:38 UTC
Comment on attachment 16040 [details]
Xorg.0.log

error in Intel driver for Intel 945 chipset
Comment 11 Julien Cristau 2008-04-19 05:42:35 UTC
> --- Comment #8 from Pjotr <pliniusminor@gmail.com>  2008-04-19 05:28:49 PST ---
> The poblem is still there, in the "intel" driver that is in the Release
> Candidate of Ubuntu 8.04, that was released yesterday (April 18th).
> 
You need to take that up with ubuntu then, not here.

Cheers,
Julien
Comment 12 Bryce Harrington 2008-04-22 13:58:30 UTC
(In reply to comment #11)
> > --- Comment #8 from Pjotr <pliniusminor@gmail.com>  2008-04-19 05:28:49 PST ---
> > The poblem is still there, in the "intel" driver that is in the Release
> > Candidate of Ubuntu 8.04, that was released yesterday (April 18th).
> > 
> You need to take that up with ubuntu then, not here.
> 
> Cheers,
> Julien
> 

The fix has been applied to Ubuntu's xserver git tree but is not yet released, since we are currently in pre-release freeze.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.