This is reported in Ubuntu at https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/119967 This bug occured during testing Feisty update (i386 and x86_64 Desktop) on Santa Rosa platform with the following specs: Santa Rosa CRB Crestline(B0) ICH8M(B0) Merom(B1) 2.0GHz EM64T 4M 667MHz 2048M DDR2 667 80G Sata Steps: 1. change the xorg.conf to support DualDisplay 2. Connect CRT and TV 3. restart X. 4. Error with: "(EE) intel(1): Internal Error: maxCacheLines < 0 in i830_allocate_2d_memory()"
Backtrace: root@santa-rosa2:/etc/X11# gdb Xorg GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r Starting program: /usr/bin/Xorg [Thread debugging using libthread_db enabled] [New Thread 47971470273280 (LWP 6198)] X Window System Version 7.2.0 Release Date: 22 January 2007 X Protocol Version 11, Revision 0, Release 7.2 Build Operating System: Linux Ubuntu Current Operating System: Linux santa-rosa2 2.6.20-16-generic #2 SMP Wed May 23 00:30:47 UTC 2007 x86_64 Build Date: 04 April 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 23 02:58:59 2052 (==) Using config file: "/etc/X11/xorg.conf" [tcsetpgrp failed in terminal_inferior: Operation not permitted] (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found (EE) intel(1): Internal Error: maxCacheLines < 0 in i830_allocate_2d_memory() Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47971470273280 (LWP 6198)] i830_allocate_aperture (pScrn=<value optimized out>, name=0x2ba13bcfd9fa "secondary front buffer", size=3276800, alignment=65536, flags=0) at ../../src/i830_memory.c:346 346 ../../src/i830_memory.c: No such file or directory. in ../../src/i830_memory.c (gdb) backtrace full #0 i830_allocate_aperture (pScrn=<value optimized out>, name=0x2ba13bcfd9fa "secondary front buffer", size=3276800, alignment=65536, flags=0) at ../../src/i830_memory.c:346 mem = (i830_memory *) 0x847870 scan = (i830_memory *) 0x817fd0 #1 0x00002ba13bcd92be in i830_allocate_memory (pScrn=0x0, name=0x320000 <Address 0x320000 out of bounds>, size=8673062, alignment=0, flags=0) at ../../src/i830_memory.c:433 mem = <value optimized out> #2 0x00002ba13bcda1c2 in i830_allocate_framebuffer (pScrn=0x7e3cb0, pI830=0x817fd0, FbMemBox=<value optimized out>, secondary=1, flags=0) at ../../src/i830_memory.c:829 pitch = 2560 cacheLines = <value optimized out> maxCacheLines = <value optimized out> size = 3276800 fb_height = <value optimized out> name = 0x2ba13bcfd9fa "secondary front buffer" front_buffer = (i830_memory *) 0x0 #3 0x00002ba13bcda460 in i830_allocate_2d_memory (pScrn=0x7e3480) at ../../src/i830_memory.c:1000 pI830 = (I830Ptr) 0x7e58d0 #4 0x00002ba13bcd6abf in I830ScreenInit (scrnIndex=0, pScreen=0x846930, argc=<value optimized out>, argv=<value optimized out>) at ../../src/i830_driver.c:2332 savedDisplayWidth = 1280 pScrn = (ScrnInfoPtr) 0x7e3480 hwp = <value optimized out> pI830 = (I830Ptr) 0x7e58d0 visual = <value optimized out> pI8301 = (I830Ptr) 0x0 sys_mem = <value optimized out> i = 0 savedMMSize = 32768 pitches = {1024, 2048, 4096, 8192, 0} #5 0x0000000000436652 in AddScreen (pfnInit=0x2ba13bcd6650 <I830ScreenInit>, argc=1, argv=0x7fff71ebe898) at ../../dix/main.c:805 i = 0 scanlinepad = <value optimized out> format = 0 depth = <value optimized out> bitsPerPixel = <value optimized out> k = <value optimized out> pScreen = (ScreenPtr) 0x320000 #6 0x0000000000465098 in InitOutput (pScreenInfo=0x7befa0, argc=1, argv=0x7fff71ebe898) at ../../../../hw/xfree86/common/xf86Init.c:924 i = <value optimized out> j = <value optimized out> ---Type <return> to continue, or q <return> to quit--- k = <value optimized out> scr_index = 8675952 modulelist = <value optimized out> optionlist = (pointer *) 0x7dc300 layout = <value optimized out> screenpix24 = <value optimized out> pix24 = Pix24Use32 pix24From = X_DEFAULT autoconfig = <value optimized out> generation = 1 #7 0x0000000000436e55 in main (argc=1, argv=0x7fff71ebe898, envp=0x7fff71ebe8a8) at ../../dix/main.c:370 i = 0 error = 0 xauthfile = <value optimized out> alwaysCheckForInput = {0, 1}
I can't reproduce this bug. Bryce, can you try with the upstream driver? Is there any specific setting in your xorg.conf?
What do you mean "Configure for dual display"? Can you post your xorg.conf and full X log after the failure? Dual display works for me on my crestline machine...
Created attachment 10986 [details] xorg.conf User's xorg.conf attached. Also attempted with Card1's BusID set to PCI:0:2:1 with same results.
Created attachment 10987 [details] Xorg.0.log Xorg.0.log from after experiencing the bug while using the given xorg.conf. Includes Backtrace.
*** This bug has been marked as a duplicate of bug 10299 ***
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.