[i810] ddc sync ranges get lost in mode validation

Bug #12248 reported by Gustavo Franco
60
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
Medium
Daniel Stone

Bug Description

Hi,

I'm sure that with xserver-xorg 6.8.1-1ubuntu9 it was working without
problems (I didn't downgraded everything to test again). With the
current configuration and xserver-xorg (hoary), it isn't displaying
1024x768 properly. It shows me 800x600 and when i try to switch to
1024x768 using ctrl + alt + - it show me everything (at 1024x768) using
aprox. a quarter of the screen.

There's only one video card and it's a IBM Netvista machine:

lspci output (video card only):
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE
Chipset Integrated Graphics Device (rev 01)

bits from Xorg.0.log (i'm attaching this file too):
[...]
(II) I810(0): BIOS now sees 8000 kB VideoRAM
[...]
(II) I810(0): Not using mode "1152x864" (no mode of this name)
(II) I810(0): Not using mode "1024x768" (no mode of this name)
(II) I810(0): Not using mode "832x624" (no mode of this name)
(II) I810(0): Not using mode "720x450" (no mode of this name)
(II) I810(0): Increasing the scanline pitch to allow tiling mode (800 -> 1024).
(--) I810(0): Virtual size is 800x600 (pitch 1024)
(**) I810(0): *Built-in mode "800x600"
(**) I810(0): *Built-in mode "640x480"
[...]

Let me known if you need more information.

Thanks in advance,
Gustavo Franco

Revision history for this message
Gustavo Franco (stratus) wrote :

Created an attachment (id=1148)
Xorg log output

Revision history for this message
Gustavo Franco (stratus) wrote :

Created an attachment (id=1149)
My x.org config. file

Revision history for this message
Gustavo Franco (stratus) wrote :

Created an attachment (id=1150)
ddcprobe output

Revision history for this message
Daniel Stone (daniels) wrote :

I think the problem here lies in the i830 VBE mode validation code, but it's a
pain to track down. Trying to grab an i845-based machine for a while.

Revision history for this message
Ollie Rutherfurd (orutherfurd) wrote :

I just did a dist-upgrade on hoary for the first time and now may be
experiencing this, too. When the machine first boots or gdm start, "this
resolution cannot be displayed" is displayed. If I switch to a tty (C+A+F2 - in
case my terminology is wrong), wait for a minute or two then A+F7, I get
graphics displayed -- but the resolution is much higher than it used to be. One
thing that may or may not be related is that I can't launch the "Screen
Resolution" app, here's the error message I get:

BadImplementation (server does not implement operation)'.
(Details: serial 79 error_code 17 request_code 157 minor_code 5)

This too, used to work.

I'll attach my Xorg.0.log and ddcprobe output, in case they're useful.

Revision history for this message
Ollie Rutherfurd (orutherfurd) wrote :

Created an attachment (id=1194)
Xorg.0.log (from orutherfurd at gmail dot com)

Revision history for this message
Ollie Rutherfurd (orutherfurd) wrote :

Created an attachment (id=1195)
ddcprobe output (for orutherfurd at gmail dot com)

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 12340 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 12333 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 12355 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

Can one of you guys please send your log from sudo Xorg :1 -ac -logverbose 999,
running 6.8.1-1ubuntu9?

Revision history for this message
Gustavo Franco (stratus) wrote :

(In reply to comment #11)
> Can one of you guys please send your log from sudo Xorg :1 -ac -logverbose 999,
> running 6.8.1-1ubuntu9?

Hi DanielS,

I can do it thursday (i'll be out of office until then) but i'm not sure how to get
*ubuntu9, is there anything like snapshot.debian.net for ubuntu? I can see only
*ubuntu11 and *ubuntu15 at archive.ubuntu.com.

Thanks,
Gustavo Franco

Revision history for this message
Daniel Stone (daniels) wrote :
Revision history for this message
Ollie Rutherfurd (orutherfurd) wrote :

Created an attachment (id=1283)
/var/log/Xorg.1.log from running "sudo Xorg :1 -ac -logverbose 999"
w/6.8.1-1ubuntu9

Hi,

Attached is /var/log/Xorg.1.log from running "sudo X0org :1 -ac logverbose 999"
w/6.8.1-1ubuntu9.

-Ollie

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 12616 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 12692 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 12762 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

Is this bug still in need of information?

Revision history for this message
Eamonn Sullivan (eamonn-sullivan) wrote :

Array CD 6 fixed this problem for me on i810/HP Vectra.

Revision history for this message
Daniel Stone (daniels) wrote :

Gustavo, have any later versions fixed this for you?

Revision history for this message
Gustavo Franco (stratus) wrote :

Daniel, hoary preview release live cd is working well for me,
on a non-ubuntu desktop with i810 video driver. I'll be able to test
on that machine where i saw the bug for the first time in monday.

Revision history for this message
Daniel Stone (daniels) wrote :

Huzzah! Also:
CVSROOT: /cvs/xorg
Module name: xc
Changes by: <email address hidden> 05/03/15 03:32:10

Log message:
  2005-03-15 Alan Hourihane <email address hidden>
        * programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c
        * programs/Xserver/hw/xfree86/drivers/i810/i830_modes.c
        Enforce DDC monitor ranges usage if we have them and reject bad
        modes. Use NoDDC option to override DDC timings. We currently
        only use DS_RANGES, but could use other DDC information, as does
        the common layer, to deduce the h/v ranges.

Modified files:
      ./:
        ChangeLog
      xc/programs/Xserver/hw/xfree86/drivers/i810/:
        i830_driver.c i830_modes.c

  Revision Changes Path
  1.812 +9 -1 xc/ChangeLog
  1.12 +102 -57 xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c
  1.4 +1 -1 xc/programs/Xserver/hw/xfree86/drivers/i810/i830_modes.c

Revision history for this message
Daniel Stone (daniels) wrote :

xorg (6.8.2-4) hoary; urgency=low

  * Fix additional security vulnerability in Xpm's bitmap_unit checking
    (closes: Ubuntu#7433, fdo#1920).
  * Remove mac-usb- prefix from d-i keyboard mappings before we run our
    detection routine (partially mitigates Ubuntu#7138).
  * Move mkfontscale from xbase-clients to xutils, as it does not depend on
    client-side X libraries, and mkfontdir from xutils was entirely reliant
    on mkfontscale (closes: Ubuntu#7391).
  * Add Swiss keymaps, thanks to Sylvain Pasche (closes: Ubuntu#7482).
  * Update i810 driver from HEAD, which now finally has support for validating
    modes against DDC ranges, and supports panels on pipe A (closes:
    Ubuntu#5864, Ubuntu#6973).

 -- Daniel Stone <email address hidden> Fri, 11 Mar 2005 12:53:55 +1100

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.