Summary: | [RADEON:KMS:R600G] es2gears freeze | ||
---|---|---|---|
Product: | Mesa | Reporter: | Siganderson <dj_def> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | dj_def |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
possible fix
dmesg trace from radeon 5750 running es2gears |
Description
Siganderson
2011-01-23 06:21:26 UTC
If this is a regression can you bisect? (In reply to comment #1) > If this is a regression can you bisect? As it happens with gallium and not with classic mesa i discovered in IRC that this is the same bug as https://bugs.freedesktop.org/show_bug.cgi?id=33139 I really don't know if this is a regression because I always had this issue since I tried kernels >= 2.6.37 (In reply to comment #2) > (In reply to comment #1) > > If this is a regression can you bisect? > > As it happens with gallium and not with classic mesa i discovered in IRC that > this is the same bug as https://bugs.freedesktop.org/show_bug.cgi?id=33139 > > I really don't know if this is a regression because I always had this issue > since I tried kernels >= 2.6.37 You said in the description that you didn't have the issue with 2.6.35. So to clarify: 2.6.35: r600c works? r600g works? 2.6.37: r600c works? r600g doesn't work? If changing the kernel to 2.6.35 fixes r600g, can you bisect the kernel to see what change broke r600g for you? 2.6.35: r600c "works" (supertuxkart works, nexuiz doesn't start If I well remember... I will retest it after the kernels) r600g works 2.6.37: r600c works r600g doesn't work I'm going to test 2.6.36 and eventually the .36.x versions. (In reply to comment #4) > 2.6.35: > r600c "works" (supertuxkart works, nexuiz doesn't start If I well remember... I > will retest it after the kernels) > r600g works > > 2.6.37: > r600c works > r600g doesn't work > > I'm going to test 2.6.36 and eventually the .36.x versions. If 2.6.36 works, then use git to bisect between 2.6.36 and 2.6.37. If 2.6.36 doesn't work, then use git to bisect between 2.6.35 and 2.6.36. 2.6.36.3 works (I'm testing only gallium driver as it seems that it's the buggy one) 2.6.37-rc5 doesn't work... I'm going to test 2.6.37-rc1. 2.6.37-rc1 does not work while 2.6.36.3 does I can confirm this issue (or at least something that is *very* similar) with a 5750 card using r600g and kernel >= 2.6.37-x. Things work fine with 2.6.36.3. FWIW, I am using 64-bit builds. etracer: Computer freezes when selecting a stage. supertaxkart: Computer freezes when selecting single player game from the menu. es2gears (from mesa-demos): Sometimes it works, sometimes 1-2 gears are missing or have corrupted geometry, sometimes it freezes the computer. I don't get any interesting output in dmesg or any other standard log. Please try and bisect between 2.6.36 and 2.6.37 and see if you can track down the problematic commit. I started now to bisect 2.6.36/2.6.37-rc1, I need some hour because on my system every compilation takes about 50 minutes. Created attachment 42614 [details] [review] possible fix Does this drm patch help? These are the results: ec46475f3e3163dd80bfee086fa71b36455ecc0b is the first bad commit commit ec46475f3e3163dd80bfee086fa71b36455ecc0b Author: Heikki Krogerus <ext-heikki.krogerus@nokia.com> Date: Thu Aug 19 15:09:36 2010 +0300 power_supply: Add isp1704 charger detection driver NXP ISP1704 is Battery Charging Specification 1.0 compliant USB transceiver. This adds a power supply driver for ISP1704 and ISP1707 USB transceivers. Signed-off-by: Heikki Krogerus <ext-heikki.krogerus@nokia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com> :040000 040000 7b10b20275d71a6ba2062426bc1f0a63693a4e5e db3ba3e86de1e90a947de26f5e040468886c7e85 M drivers I'm going to test the patch. yes, the patch sloves the problem! yes, the patch solves the problem! Created attachment 42670 [details]
dmesg trace from radeon 5750 running es2gears
The latest kernel from mainline (which includes the proposed fix) only partially solves the issue in my case. Specifically, the two games I tried (etracer and supertuxkart) now work without problem, however issues remain when running es2gears from mesa-demos. When running es2gears it usually runs fine, sometimes there is flickering in the GL window but more importantly: sometimes the monitor turns off and on again continuously (every couple of seconds). The good news is that this time I have an interesing dmesg trace (attached). (In reply to comment #16) > When running es2gears it usually runs fine, sometimes there is flickering in > the GL window but more importantly: sometimes the monitor turns off and on > again continuously (every couple of seconds). > > The good news is that this time I have an interesing dmesg trace (attached). This is a result of the GPU being reset due to a detected lockup. If you can still reproduce this, please attach the output of EGL_LOG_LEVEL=debug es2gears and maybe the output of es2_info. Closing reopen if it's still an issue with r600g from mesa 8.0 or newer |
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.