From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Jelten Subject: Re: [BUG] i915 RC6 lockup Date: Fri, 19 Oct 2012 09:59:02 +0200 Message-ID: <50810846.6070807@in.tum.de> References: <507D5EDE.3020009@in.tum.de> <20121016193042.00005c0f@unknown> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1027760285==" Return-path: Received: from mail-out1.informatik.tu-muenchen.de (mail-out1.informatik.tu-muenchen.de [131.159.0.8]) by gabe.freedesktop.org (Postfix) with ESMTP id 754619ECCE for ; Fri, 19 Oct 2012 00:59:07 -0700 (PDT) In-Reply-To: <20121016193042.00005c0f@unknown> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1027760285== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0FAF3C04FE82921EDF6F5B7B" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0FAF3C04FE82921EDF6F5B7B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/17/2012 04:30 AM, Ben Widawsky wrote: > On Tue, 16 Oct 2012 15:19:26 +0200 > Jonas Jelten wrote: >=20 >> Hi list! >> >> I think i've got a problem with the intel driver: >> >> Sometimes, I think especially after running graphics intense >> applications, RC6 is disabled completely and heats up my Thinkpad >> X220t to 90 degree celsius, while idling. >> >> At first I thought that this is a CPU frequency scaling issue, as the >> cpufreq_powersave claims to be running at 800 MHz, but i7z >> (http://code.google.com/p/i7z/) shows all multipliers to be 25 -> 2.5 >> GHz CPU clock. >> >> Powertop 2.1 reveals that the GPU is 100% active, 0% RC6, 0% RC6p and >> 0% RC6pp, and the CPU is 99,9% in C7-deep-sleep, at maximum frequency.= >> /sys/kernel/debug/dri/0/i915_ring_freq_table also pointed the issue to= >> being caused by the GPU. >=20 > Do you mean the GPU is 0% active? If you really mean 100% then the > results are expected, though I'm not sure how powertop attempts to > calculate the GPU activity. I'm guessing it's just 100 - rc6 > state percentage, which when rc6 works is probably pretty close to > reasonable. >=20 >> >> intel_gpu_top shows a total idle. >=20 > This indicates the above assumption is true. >=20 >> >> I'm on ArchLinux, Kernel 3.6.2, xf86-video-intel-git >> b42d81b63f5b6a571faffaadd42c74adce40128a, this is 2.20.10. >> Problem first occured with Kernel 3.6.0. >> Core i5-2520M HD 3000 >=20 > Obviously a bisect of the exact failing commit would be fantastic. >=20 >> >>> cat /proc/cmdline >>> cryptdevice=3D/dev/sda2:cryptroot root=3D/dev/mapper/cryptroot ro vga= =3D791 >>> i915.i915_enable_rc6=3D7 i915.modeset=3D1 i915.lvds_downclock=3D1 >>> i915.semaphores=3D1 drm.vblankoffdelay=3D1 init=3D/bin/systemd >>> initrd=3D../initramfs-linux.img BOOT_IMAGE=3D../vmlinuz-linux >=20 > First and most obvious, do not set rc6=3D7. If you do, do not file > bug reports with those results. RC6++ is known to be extremely broken, > and why we let users so easily hurt themselves is probably something we= > need to remedy. On HD3000, even rc6+ is highly recommended against. >=20 >> >> Sometimes it can be fixed by going to pm-suspend and waking up. A >> reboot always fixes it, until it randomly locks up the GPU again. >> >> Please help me how i can do further investigation to catch the bug. >=20 > If you can reproduce it with rc6=3D1, then it echoes some other bugs > we're trying to track down. Figuring out the most minimal test case to > make it occur would be helpful. Also you can search the mailing list > for RPS related patches which seem to be related. Trying some of those > and reporting your results would be helpful. >=20 > Double check your dmesg for any GPU hangs which may have occurred befor= e > the laptop becomes a space heater. >=20 >=20 >> >> As this makes my Laptop consume ~40W, it would be really nice if this >> gets fixed. >> >> >> Cheers, >> >> Jonas >> >> >=20 others are also suffering: https://bugs.archlinux.org/task/32025 --------------enig0FAF3C04FE82921EDF6F5B7B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQgQhIAAoJEOD1vQ36IpKvZIEP/1wLcw6VYyveKNOmbhiLsNWD 37aRVs+O5XKkopHC5uLQUuqFnSnoeZ9wtJ1KKoL3ckun7lwZURmibFYzg510lzHm IcHnx7qLiqPsAzDMDT4oCQAWBjXe9Wxs6btNYBZbg80Ml9/92WB3BkIou0c5LNuD CxhjyFHHoRkacdXua8cvYhtd26/gSxGqNzkEoQLSrNcgSEbS0So0BsXip///MRLJ Pb1D6M8/DB47h6chRAgIo6T7yqqo0xn0QS5pEzXC/5Q+wnPWu4QlKC8n8iXE9d1r EDXMaGLNc0ykh5tOV4TaBm6MSwg4IaLpjCTRMpOvkNWvWa21epNJxFmDqfIebU6Z dxJUQl9/1YpM/ZGc4+dEzOkuPbu8O8AyCEYNdeFTEo/DMXBwBTfocv8JnbMxunAS Xj4MUqC8k2syqVIUFqgwBstX0gzMeIVXigiuZn6IVq8HXOTMY1yG6XOb77cELWAw iUtHbbM3yINGCf00e8gneb16z32PdZKTqg25aLxJMJt1EcnpCP2vtRfPrKnt+qnI w77Mxsl1b0DW9Q39ajNYTF4pU8WQBCR4YA+9Yf3x0MtT2RU79XBDSt7UIW0ntfix 2KIyfWgWzgJreZnPsQIHj80XC+dyKr2RzDIgLh1VujWLLSwIJ9KhLPdr4PBZg1EA qrSleM8LgsGXuoTC9kug =KO/u -----END PGP SIGNATURE----- --------------enig0FAF3C04FE82921EDF6F5B7B-- --===============1027760285== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1027760285==--