Summary: | [SNB] etracer gets segfault on SandyBridge | ||
---|---|---|---|
Product: | Mesa | Reporter: | Paulo Zanoni <przanoni> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | haihao.xiang, nanhai.zou, przanoni, zhenyu.z.wang |
Version: | 7.10 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Paulo Zanoni
2011-01-24 11:47:08 UTC
Oh, I forgot: kernel 2.6.37-server-1.1mnb i686 (In reply to comment #0) > > In our case, "irb" is null, so we assign NULL to "region". On the next line, we > try to access region->buffer, which doesn't make sense. We really shouldn't > assign NULL to region and then access region->buffer... > Sorry... What I wrote is just wrong =) "irb" is valid. "irb->region" is null. (In reply to comment #0) > > Then I tried to test... After playing for a while (without crashing, the game > going fine), I stopped etracer and went to the desktop. It was in a very > inconsistent state: the screen was not refreshing correctly, I could still see > parts of the game in my desktop, maximizing/minimizing applications had a weird > behavior/flickr... When redrawing parts of the screen, sometimes X draw not the > top window, but the content of the window below it. I'm using kwin. > > Then, even without being able to use konsole correctly (I was not seeing what I > was typing), I launched etracer again. The screen was really flashing, many > times per second. Really annoying to watch. Disabling kwin's desktop effects (which I think turns compositing off) seems to fix the above problem for me. Btw, I also tested mesa 7.9.1 and it was even worse... Some parts of etracer (like the game logo) were half transparent, and right after you clicked on the button to "play" a selected level, the game segfaulted. 2-3 seconds after the game segfaults, X segfaults too. This was reprodutible 100% of the time. Talking about 7.10 again, if I also tested "armagetron" (with desktop effects *disabled* and also with the 2 patches that prevent segfaults). If you just launch the game, then select "exit game" on the first menu, you will get a black screen instead of your desktop. Dmesg shows: "composite sync not supported". This one is easy to reproduce =) (In reply to comment #3) > Talking about 7.10 again, if I also tested "armagetron" (with desktop effects > *disabled* and also with the 2 patches that prevent segfaults). If you just > launch the game, then select "exit game" on the first menu, you will get a > black screen instead of your desktop. Dmesg shows: "composite sync not > supported". This one is easy to reproduce =) I just tested mesa git master from today + kernel 2.6.38-rc2+. The armagetron problem still happens. Do you want me to open a separate bug report for it? I also get segfaults with new mesa/kernel (usually when closing etracer). (In reply to comment #4) > (In reply to comment #3) > > Talking about 7.10 again, if I also tested "armagetron" (with desktop effects > > *disabled* and also with the 2 patches that prevent segfaults). If you just > > launch the game, then select "exit game" on the first menu, you will get a > > black screen instead of your desktop. Dmesg shows: "composite sync not > > supported". This one is easy to reproduce =) > I just tested mesa git master from today + kernel 2.6.38-rc2+. > The armagetron problem still happens. Do you want me to open a separate bug > report for it? Yes, please. > I also get segfaults with new mesa/kernel (usually when closing etracer). It's good you could test the latest code. Let's focus on this. btw, do you happen to know what's the difference among extremetuxracer v.s. tuxracer v.s. ppracer? I think we've run ppracer on Sandybridge and am going to run tuxracer. (In reply to comment #5) > > It's good you could test the latest code. Let's focus on this. I've just tested today's kernel downloaded from kernel.org and today's mesa/mesa git: Linux mandriva 2.6.38-rc5 #1 SMP Wed Feb 16 10:00:36 BRST 2011 i686 i686 i386 GNU/Linux I tested and everything looks the same =( If you need me do to any debugging (breakpoints, backtraces, printf variables, patches), even on kernel code, please ask. I can allocate at lot of time for this task if needed. Any tips would be welcome =) > > btw, do you happen to know what's the difference among extremetuxracer v.s. > tuxracer v.s. ppracer? I think we've run ppracer on Sandybridge and am going to > run tuxracer. I think they're all forks of each other. I found that one of the easiest ways to reproduce this bug is by _closing_ etracer (start etracer in fullscreen mode with the native resolution, play one track, close etracer. if it doesn't crash X, repeat). I do this under KDE with desktop effects enabled. This is the etracer I'm using: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/extremetuxracer/current/ The SPECS directory contains the RPM spec files (iow: instructions to build the package), and the SOURCES directory contains the sources used. (In reply to comment #5) > > The armagetron problem still happens. Do you want me to open a separate bug > > report for it? > > Yes, please. > Bug #34345 The root cause is the GPU hang. What's missing here is the sanity check on a potentially NULL buffer and falling back to swrast appropriately. |
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.