Bugzilla – Bug 12391
[855GM] Seg fault rotating display while movie playing
Last modified: 2008-03-06 18:14:13 UTC
While running the Debian-packaged version 2:2.1.0-1 of the intel driver, I got a server seg fault while rotating my display while playing a movie. I'll copy-paste the information from that bug report below. I've also seen this crash quite recently, in a version I pulled down from git on 2007-08-31 (git revision 7fd9a98178cdebda4213796fdc452a8a265a1197).
Information from the Debian bug follows:
I got a lockup while twiddling xrandr between "right" and "normal"
rotations to investigate corruption playing movies when rotated. The X
server dumped debugging information to the log and exited, and my
monitor and keyboard became unusable (with the monitor in DPMS mode),
but I could still ssh into the system and operate it from there as
I'm attaching the log file and my configuration. I've also filed a
separate bug about the corruption playing movies. If you need anything
else, let me know.
Created attachment 11504 [details]
Xorg.0.log from driver version 2.1.0-1
Created attachment 11505 [details]
Configuration for driver version 2.1.0-1
I can not reproduce this bug when use 2D driver tip and xserver tip.
I do not use any OSD, I retest by running a nude Xorg. So current 2D driver and xserver have no this bug.
I use mplayer to play mpeg2 video on 915GM, then rotate screen to left, right, inverted, everything is OK except that I can not see the video because bug #12243.
I saw that your xorg.conf's Device section has the option:
Option "VBERestore" "true"
I do not find the "VBERestore" option in xorg.conf manual and intel manual. I think if this option is out-of-date. Anyway, when I also add this option in my xorg.conf, the screen flashed, but X and mplayer were running.
I noticed that your xorg.conf has lines in Monitor section:
DisplaySize 357 286
Now xserver will automatically inspect the monitor's capbility and may confused by these data, so you can remove these lines.
One thing I should have mentioned is that this is an intermittent problem; it's not 100% reproducible, but it's not rare either (I would estimate that I've seen it one time in three that I've tried rotating the display while a movie is playing).
Also, my hardware is an 855GME; certainly it's possible that there is a bug in the 2d driver when running on an 855GME that does not show up when running on a 915GM, no?
Would you like me to resync my git source and try again, and/or to run under gdb and get a stack trace for the crash?
Can not reproduce this bug on 915GM. So the bug should be 855GM specified.
I tried this on 855gm.first I rotated to right ,the display had a little unormal at the display screen bottem,then I rotated left ,the machine crashed.
We can reproduce this on 855GM with 2.2 driver, while it's ok on 915GM.
Can we get a backtrace?
#0 0xffffe410 in ?? ()
#1 0xbff6f9cc in ?? ()
#2 0x00000006 in ?? ()
#3 0x00000d4d in ?? ()
#4 0x00678159 in raise () from /lib/libc.so.6
#5 0x006796e3 in abort () from /lib/libc.so.6
#6 0x081b8561 in FatalError (f=0x0) at log.c:554
#7 0xb7ddc367 in I830WaitLpRing (pScrn=0x8213470, n=131064,
timeout_millis=2000) at i830_accel.c:150
#8 0xb7ddc4c2 in I830Sync (pScrn=0x8213470) at i830_accel.c:201
#9 0xb7deefe5 in I830StopVideo (pScrn=0x8213470, data=0x8259794, shutdown=1)
#10 0x080de5cd in xf86XVLeaveVT (index=0, flags=0) at xf86xv.c:1262
#11 0xb7e79a2f in glxDRILeaveVT (index=0, flags=0) at glxdri.c:993
#12 0x080a1c16 in AbortDDX () at xf86Init.c:1102
#13 0x081b8258 in AbortServer () at log.c:406
#14 0x081b8554 in FatalError (f=0x0) at log.c:552
#15 0xb7ddc367 in I830WaitLpRing (pScrn=0x8213470, n=131064,
timeout_millis=2000) at i830_accel.c:150
#16 0xb7ddc4c2 in I830Sync (pScrn=0x8213470) at i830_accel.c:201
#17 0xb7de7337 in i830WaitSync (pScrn=0x8213470) at i830_driver.c:3430
#18 0xb7deeae0 in i830_overlay_off (pScrn=0x8213470) at i830_video.c:497
#19 0xb7def062 in I830StopVideo (pScrn=0x8213470, data=0x8259794, shutdown=1)
#20 0x080df043 in xf86XVStopVideo (client=0x0, pPort=0x0, pDraw=0xd4d)
#21 0xb7e9d22c in XvDestroyWindow (pWin=0x8270748) at xvmain.c:433
#22 0x080ddfe0 in xf86XVDestroyWindow (pWin=0x8270748) at xf86xv.c:1043
#23 0xb7fe02a8 in DbeDestroyWindow (pWin=0x8270748) at dbe.c:1720
#24 0x080fe9f5 in compDestroyWindow (pWin=0x8270748) at compwindow.c:630
#25 0x08071281 in FreeWindowResources (pWin=0x8270748) at window.c:881
#26 0x080753e8 in DeleteWindow (value=0x8270748, wid=4194305) at window.c:961
#27 0x0806fca8 in FreeResource (id=4194305, skipDeleteFuncType=0)
#28 0x080805b1 in ProcDestroyWindow (client=0x8404768) at dispatch.c:649
#29 0x0814833d in XaceCatchDispatchProc (client=0x8404768) at xace.c:281
#30 0x08087597 in Dispatch () at dispatch.c:502
#31 0x0806e2d0 in main (argc=2, argv=0xbff70474, envp=0x0) at main.c:452
No matter of EXA or XAA, the bug exists.
I just got more misbehavior in driver 2.2.0-1 from Debian -- I was playing a movie and attempted to move the window that it was playing in, and my screen suddenly went blank. X is still running, nothing special is in the log, and I can't switch back to the text consoles.
If you think that problem would go better in a separate bug, let me know and I'll open one.
Andrew, is the new issue just the one you filed at bug#13316?
No, the incorrect positioning and display when playing movies has been a problem for a while (I filed it into Debian's BTS in July, and just now got around to putting it in xorg bugzilla). The black screen while attempting to move the movie window is one I haven't seen before, but I haven't been playing movies very much using the new driver, since they don't work :-).
Andrew, I'd suggest you to open a new bug for the new issue in comment#10. We want track only one issue in one bug report.
Okay, I've put the information in a separate bug (#13369). Thanks.
I've not been able to reproduce this bug in driver version 184.108.40.206-2 from Debian sid. I believe it's been fixed in that version.
Nian, please close this after your verification.
Fixed in current master.