[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #25 from Michel Dänzer 2009-05-23 04:00:05 PST --- (In reply to comment #24) > I did not get another X server crash with direct rendering + your patch, in > fact I did not even get a client app crash. Hmm, so maybe there's also

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #24 from Stefan Dösinger 2009-05-22 16:35:43 PST --- To clarify: I forgot to set LD_LIBRARY_PATH in that specific shell instance where I recorded the backtraces, the other times I am pretty sure I set this. I did not get another

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #23 from Stefan Dösinger 2009-05-22 14:46:42 PST --- No, I am not using indirect rendering intentionally. I just noticed that I forgot to set LD_LIBRARY_PATH, so I was using fglrx's libGL. Doh! Anyway, my debugging suggests that

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #22 from Michel Dänzer 2009-05-22 14:25:14 PST --- Looks like the patch fixed the xserver crash, now the Mesa code needs to be fixed. Not sure if we should keep tracking that here or in a separate report. BTW, are you intentiona

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #21 from Stefan Dösinger 2009-05-22 14:14:56 PST --- Created an attachment (id=26131) --> (http://bugs.freedesktop.org/attachment.cgi?id=26131) Another backtrace -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #20 from Stefan Dösinger 2009-05-22 14:14:23 PST --- Created an attachment (id=26130) --> (http://bugs.freedesktop.org/attachment.cgi?id=26130) Different crash With this patch applied I get different crashes at two different pl

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #19 from Michel Dänzer 2009-05-22 13:07:23 PST --- Created an attachment (id=26128) --> (http://bugs.freedesktop.org/attachment.cgi?id=26128) Don't crash if pPriv is NULL Okay, so it looks like the client side calls DRI2GetBuff

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #18 from Stefan Dösinger 2009-05-22 08:07:41 PST --- Ok, got the crash again. Similar user-visible symptoms, slightly different backtrace(I guess the code changed): Program received signal SIGSEGV, Segmentation fault. [Switching

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #17 from Stefan Dösinger 2009-05-22 07:52:26 PST --- Ok, I switched to the X server master branch(and dri2proto master), and so far no crashes. If they show up again I'll attach the requested info. So far I only updated my r500

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #16 from Michel Dänzer 2009-05-22 05:45:05 PST --- (In reply to comment #11) > Hmm. When I run the X server in gdb it never crashes. Even more things work. > The clear color issue(21569) is gone too. Is it loading the driver you

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #15 from Stefan Dösinger 2009-05-22 05:14:45 PST --- This one is from the r250: It does not look that nice because the X server and libdri2 are distro-provided, but the crash seesm to be the same: Program received signal SIGSEGV

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #14 from Stefan Dösinger 2009-05-22 05:10:10 PST --- Ok, now I have something useable: Here's a gdb backtrace from the r500 card: Program received signal SIGSEGV, Segmentation fault. DRI2GetBuffers (pDraw=0x9434fa0, width=0xbffe

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #13 from Stefan Dösinger 2009-05-22 04:50:19 PST --- Ok, I got the crash again out of the blue, without changing anything. I just let the X server sit for a while and ran a SDK sample again and it crashed. The backtrace in the lo

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #12 from Stefan Dösinger 2009-05-22 04:33:36 PST --- I'm sorry, this issue just seems to have dissolved entirely. I still suspect that there's some uninitialized variable or buffer overrun or something like that. If it returns I'

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #11 from Stefan Dösinger 2009-05-22 04:21:18 PST --- Hmm. When I run the X server in gdb it never crashes. Even more things work. The clear color issue(21569) is gone too. I get a broken pipe signal every now and then, but that

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #10 from Michel Dänzer 2009-05-22 03:33:27 PST --- Can you get a backtrace of the X server crash? Preferably with gdb, but even just a log file with a backtrace might be a start. -- Configure bugmail: http://bugs.freedesktop.o

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #9 from Stefan Dösinger 2009-05-22 03:12:31 PST --- This is a compiler invocation for one of the source files with the default compile flags: gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../incl

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #8 from Stefan Dösinger 2009-05-22 03:10:30 PST --- The problem persists after a kernel and DDX update. I had to disable AGP in the kernel module to make the X server start though.(bug #21851) I'll get you the compile flags in a

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-22 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #7 from Michel Dänzer 2009-05-22 02:25:22 PST --- (In reply to comment #5) > Yup, recompiled with standard CFLAGs and the crash is back(ie, just run > configure without specifying any CFLAGs) What are the compiler flags it ends

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #6 from Stefan Dösinger 2009-05-21 05:58:48 PST --- I tried to retest this with jglisse's DDX and kernel, but bug #21851 crossed my way. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #5 from Stefan Dösinger 2009-05-20 16:07:18 PST --- Yup, recompiled with standard CFLAGs and the crash is back(ie, just run configure without specifying any CFLAGs) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.c

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #4 from Stefan Dösinger 2009-05-20 15:42:04 PST --- Another update - I recompiled Mesa with -O0 -g and the crash seemed to go away. I will see if the default compile flags bring the crash back. If it does I guess there's some un

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #3 from Stefan Dösinger 2009-05-20 15:31:30 PST --- I talked to Maciej Cencora on IRC, and he suggested that this is not a dupe of 21582 because I am not using Compiz. Wine uses AIGLX in some cases of Child Window OpenGL renderi

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #2 from Stefan Dösinger 2009-05-20 15:13:06 PST --- Could this be a duplicate of the radeonRefillCurrentDmaRegion bug? (Or wherever that crash occurred?) I cannot find the bug to check the details, but I remember it from reading

[Bug 21842] radeon-rewrite: DirectX 8 SDK samples crash the X server with KMS enabled

2009-05-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21842 --- Comment #1 from Stefan Dösinger 2009-05-20 15:09:54 PST --- Git revisions used: Mesa: a13e96359baaa0331561f86ef6487feba6540464 DDX: 48156758ec2c406c28b52b3cd65e77f29d98f79b(Arlied's KMS ddx) DRM: 1edb70f1b909d06f1c0ee7c9c794aec99454e488