Subject: xsrc/32939: Bug in xsrc - i830_driver.c
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lguillaume@berklee.edu>
List: netbsd-bugs
Date: 02/27/2006 03:35:00
	Note: There was a bad value `' for the field `Priority'.
	It was set to the default value of `medium'.

	Note: There was a bad value `' for the field `Severity'.
	It was set to the default value of `serious'.

>Number:         32939
>Category:       xsrc
>Synopsis:       Intel i830 Driver problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 27 03:35:00 +0000 2006
>Originator:     Louis Guillaume
>Release:        NetBSD 3.0_STABLE
>Organization:
>Environment:
System: NetBSD shodo.berklee.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC.MPACPI) #0: Thu Feb 23 16:44:58 EST 2006 louis@shodo.berklee.net:/usr/obj/sys/arch/i386/compile/GENERIC.MPACPI i386
Architecture: i386
Machine: i386
>Description:
On machines with Intel i830 Video Hardware, for example...

vga0 at pci0 dev 2 function 0: Intel 82915G/GL Integrated Graphics Device (rev. 0x04)

... X will only work with one mode: 640x480.
Please see this mailing list thread for more information:

http://www.mail-archive.com/xfree86@xfree86.org/msg18411.html

>How-To-Repeat:
Try to start X (installed from sets in the base distribution of NetBSD 3.0) on a machine with i830 hardware. Notice that there is only one mode: 640x480.

>Fix:
From David Dawes, also in thread referenced above...

--- i830_driver.c.orig	3 Mar 2005 18:06:26 -0000	1.64
+++ i830_driver.c	18 Mar 2005 03:12:37 -0000
@@ -2667,6 +2667,9 @@
                                  pI830->pipeDisplaySize[n].y2,
                                  60);
 
+   } else {
+        xf86SetMonitorParameters(pScrn, pScrn->monitor, 0, 0, 0);
+        xf86AddEDIDModes(pScrn, pScrn->monitor, 0);
    }
 
    /* By now, we should have had some monitor settings, but if not, we


... context is xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c