Re: Intel i915 GPU hung

From: Lundberg, Johannes <johannes_at_brilliantservice.co.jp>
Date: Tue, 2 Dec 2014 18:51:53 +0900
Waking up an old thread here but I thought I'd share what I've learned.

I think I found out what caused both tearing and crashing when I used
OpenGL.
Since I changed from using xcompmgr to compton with following options

compton --backend glx --vsync opengl-swc --paint-on-overlay
--glx-no-stencil -b

I have never had a crash or tearing. Have no idea why this is but I am just
happy I don't get hung GPU anymore.


--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.

On Fri, Sep 12, 2014 at 2:07 PM, Lundberg, Johannes <
johannes_at_brilliantservice.co.jp> wrote:

> Now with only "sna" enabled (which I think I read somewhere should be the
> default and that's why I didn't enable it before) I got GPU hung again.
>
> uname -a:
> FreeBSD bsd 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16
> 22:34:59 UTC 2014     root_at_snap.freebsd.org:/usr/
> obj/usr/src/sys/GENERIC  amd64
>
> dmesg, error_state, pciconf, pkginfo and Xorg.0.log can be downloaded here
>
> https://dl.dropboxusercontent.com/u/10335306/GPU_hung_logs.zip
>
>
>
> --
> Johannes Lundberg
> BRILLIANTSERVICE CO., LTD.
>
> On Fri, Sep 12, 2014 at 10:14 AM, Garrett Cooper <yaneurabeya_at_gmail.com>
> wrote:
>
>> On Thu, Sep 11, 2014 at 6:08 PM, Lundberg, Johannes
>> <johannes_at_brilliantservice.co.jp> wrote:
>> > First try with sna+swapbufferswait+tearfree gave me this after a while
>> >
>> > Xorg.log
>> >
>> > [  1901.000] (EE) intel(0): sna_mode_redisplay: page flipping failed,
>> > disabling CRTC:3 (pipe=0)
>> > [  1901.365] (EE) intel(0): sna_mode_redisplay: page flipping failed,
>> > disabling CRTC:5 (pipe=1)
>> > [  1901.441] (EE) intel(0): Detected a hung GPU, disabling acceleration.
>> > [  2841.578] (II) UnloadModule: "mouse"
>> > [  2841.578] (II) UnloadModule: "kbd"
>> > [  2841.579] (II) intel(0): switch to mode 1366x768_at_60.0 on pipe 0
>> using
>> > LVDS1, position (0, 0), rotation normal
>> > [  2841.632] (EE) intel(0): failed to set mode: Unknown error: -22
>> > [  2841.632] (II) intel(0): switch to mode 1280x720_at_60.3 on pipe 1
>> using
>> > VGA1, position (0, 0), rotation normal
>> > [  2841.683] (EE) intel(0): failed to set mode: Unknown error: -22
>>
>>     This looks off -- it's the Linux kernel error code for EINVAL
>> (FreeBSD error codes in the kernel being positive).
>> Cheers,
>> -Garrett
>>
>
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
Received on Tue Dec 02 2014 - 09:21:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC