Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66693 - xorg-x11 or the I810 driver locks up when using a DefaultDepth of anything greater than 15bit
Summary: xorg-x11 or the I810 driver locks up when using a DefaultDepth of anything gr...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 14:52 UTC by James T. Richardson, Jr.
Modified: 2006-03-26 12:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Log file when this happens (Xorg.0.log,55.76 KB, text/plain)
2004-10-07 14:53 UTC, James T. Richardson, Jr.
Details
my xorg.conf file (xorg.conf,2.74 KB, text/plain)
2004-10-07 14:53 UTC, James T. Richardson, Jr.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James T. Richardson, Jr. 2004-10-07 14:52:18 UTC
Machine is a Dell Optiplex GX260, with an 845G video adapter. With xorg-x11 6.8.0 and up (i was using 6.7.0-r1 with no probs) I can not use a color depth of anything greater than 15. Anything higher, xorg seems to "freeze" and I get a white square where the mouse pointer is and I must do a hard reboot. It doesn't seem to be affected by screen resolution, as I can do 1600x1200x15bit just fine, but can not do 640x480x16 or anything higher.

X does seem to "start" and I get a mouse pointer and can move it around, but before it shows my gnome splash screen it locks up. It does it for all users, regardless of desktop environment.

Reproducible: Always
Steps to Reproduce:
1. Set DefaultDepth to 16 in /etc/X11/xorg.conf
2. run startx

Actual Results:  
Locks up with a white square where the mouse pointer is.

Expected Results:  
Start xorg-x11 :P
Comment 1 James T. Richardson, Jr. 2004-10-07 14:53:01 UTC
Created attachment 41324 [details]
Log file when this happens
Comment 2 James T. Richardson, Jr. 2004-10-07 14:53:29 UTC
Created attachment 41325 [details]
my xorg.conf file
Comment 3 James T. Richardson, Jr. 2004-10-07 15:06:40 UTC
I also found this in my syslog..
-------------------------------------------------------------------------

Oct  7 16:34:09 james mtrr: base(0xf0020000) is not aligned on a size(0xf0000) boundary
Oct  7 16:34:09 james [drm:i830_dma_initialize] *ERROR* can not find dma buffer map!
Oct  7 16:34:09 james [drm:i830_irq_emit] *ERROR* i830_irq_emit called without lock held
Oct  7 16:34:09 james mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x80000
Oct  7 16:34:11 james Unable to handle kernel paging request at virtual address f000e2d3
Oct  7 16:34:11 james printing eip:
Oct  7 16:34:11 james c02607c3
Oct  7 16:34:11 james *pde = 00000000
Oct  7 16:34:11 james Oops: 0000 [#1]
Oct  7 16:34:11 james PREEMPT
Oct  7 16:34:11 james Modules linked in: snd_pcm_oss snd_mixer_oss usbcore tun snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd e1000 st
Oct  7 16:34:11 james CPU:    0
Oct  7 16:34:11 james EIP:    0060:[<c02607c3>]    Not tainted
Oct  7 16:34:11 james EFLAGS: 00213282   (2.6.8-gentoo-r7.tkf.testing)
Oct  7 16:34:11 james EIP is at i830_kernel_lost_context+0x1a/0x76
Oct  7 16:34:11 james eax: f000e2c3   ebx: 00000010   ecx: c044c134   edx: df900230
Oct  7 16:34:11 james esi: 00000000   edi: d7d60000   ebp: 00000000   esp: d7d61ed0
Oct  7 16:34:11 james ds: 007b   es: 007b   ss: 0068
Oct  7 16:34:11 james Process X (pid: 7787, threadinfo=d7d60000 task=df900230)
Oct  7 16:34:11 james Stack: 00000000 c044bac0 c026284b c044bac0 00203296 d7d60000 d7d60000 c044bac0
Oct  7 16:34:11 james c025cbf3 c044bac0 c044c12c c044c134 df3c71a0 d7d07c9c df900230 00000000
Oct  7 16:34:11 james 00000001 0000000a 00000000 df900230 c011a355 00000000 00000000 df3c72c8
Oct  7 16:34:11 james Call Trace:
Oct  7 16:34:11 james [<c026284b>] i830_dma_quiescent+0x17/0xa6
Oct  7 16:34:11 james [<c025cbf3>] i830_lock+0x241/0x2a5
Oct  7 16:34:11 james [<c011a355>] default_wake_function+0x0/0x12
Oct  7 16:34:11 james [<c011a355>] default_wake_function+0x0/0x12
Oct  7 16:34:11 james [<c025c97c>] i830_ioctl+0x114/0x14a
Oct  7 16:34:11 james [<c01fc230>] copy_to_user+0x3e/0x4e
Oct  7 16:34:11 james [<c0165e45>] sys_ioctl+0x148/0x283
Oct  7 16:34:11 james [<c0105fad>] sysenter_past_esp+0x52/0x71
Oct  7 16:34:11 james Code: 8b 40 10 8b 88 34 20 00 00 81 e1 fc ff 1f 00 89 4b 14 8b 46
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-15 09:31:34 UTC
Is http://freedesktop.org/bugzilla/show_bug.cgi?id=1817 your bug?
Comment 5 James T. Richardson, Jr. 2004-11-15 09:48:57 UTC
I dont think so, I dont get snow, I get a white "box" where the cursor is. The freedesktop.org bug report isn't in-depth enough for me to tell. The vga adapter isn't the same either, if that's where the bug is, although I can't remember now which driver the f.d.o bug reporter was using.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-15 10:02:21 UTC
Could you quickly search bugs.freedesktop.org for i810, i830 or i845 in summary and see whether any of those are yours?

Also, by the mtrr overlap I'd guess you're using some sort of framebuffer console. Try turning that off and see whether it works around things.

Oct  7 16:34:09 james mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x80000
(WW) I810(0): Failed to set up write-combining range (0xf0000000,0x8000000)

If that doesn't help, please file a new bug at bugs.freedesktop.org and post the URL here.
Comment 7 Peter Logan 2004-11-28 18:31:07 UTC
I've had the same problems on a Dell Inspiron 1100 with i845G, little white square and all.

Work-around:
update to gentoo-dev-sources 2.6.9-r6
configure with CONFIG_DRM_I915 instead of CONFIG_DRM_I830

Seems to solve problem.
Comment 8 Josef Gosch 2005-09-26 17:31:35 UTC
Got the same  with i810. turned off dri and glx in xorg.conf and it worked. sad
but true.
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2005-09-27 20:29:04 UTC
Josef, what kernel driver are you using, and what X version?
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2005-11-27 13:18:29 UTC
Have any of you had this fixed in recent updates?
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-03-26 12:24:49 UTC
Let me know if the latest versions of X (including modular) fix this problem.  There is an even newer i810 driver available, but it won't work without some other newer components.