From owner-freebsd-x11@FreeBSD.ORG Tue Dec 2 09:59:13 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82D6B8C6 for ; Tue, 2 Dec 2014 09:59:13 +0000 (UTC) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48604FB4 for ; Tue, 2 Dec 2014 09:59:12 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id y20so11298232ier.32 for ; Tue, 02 Dec 2014 01:59:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=T+NED5d5WlImvP23BWQjvjVJJMs03ViSP+iPQOMXiDM=; b=BsVqb6Jgb6MeJixjAbsXXdhTE1rE8ETD4iLKjnJmOFxtBnir8yy3SU/ppIRtyXrCJP Qn/2W+yWkyVP7HFV+baV8jkjKhgJnHRTaMdlltAViBjDfeSn9UNZI5UpxRrAVk8HAiq1 GARkOmYTsufCsAIWZB9uz133OrY+osMCZX0ppdrzD2gwlQztV6nzrYd8PLYzzLMe6+De gonWPlCpNa2YJ/XSArnV88HOQo6BIcdxRxZVG7nrJtLp2BDYQVlmU1vmZJVvP59mv3Mm yalcc+pEtaQpzdCf9lsO5F+6lxphwg3cywv0Lj9SgVKMBOR644ZBNUpuhVfmfkDBNZA9 o+2w== X-Gm-Message-State: ALoCoQmi0gn5fnJqP44gTck2F7IW3lJPbuQwpRDY04Y1BUD5XU39ESOVTx5ZXXzZaae+rszoLtxAj5xocX1ecHwLASbmEofUJ+YcMGI+D8YnAHo+2A+fFF3G5k+6TCpSL7j6IPxXJhif X-Received: by 10.42.207.76 with SMTP id fx12mr1757056icb.17.1417513929133; Tue, 02 Dec 2014 01:52:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.43.152.131 with HTTP; Tue, 2 Dec 2014 01:51:53 -0800 (PST) In-Reply-To: References: From: "Lundberg, Johannes" Date: Tue, 2 Dec 2014 18:51:53 +0900 Message-ID: Subject: Re: Intel i915 GPU hung To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD CURRENT , "freebsd-x11@freebsd.org" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 09:59:13 -0000 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@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@snap.freebsd.org:/usr/ > obj/usr/src/sys/GENERIC amd64 > > dmesg, error_state, pciconf, pkginfo and Xorg.0.log can be downloaded her= e > > 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 > wrote: > >> On Thu, Sep 11, 2014 at 6:08 PM, Lundberg, Johannes >> 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=3D0) >> > [ 1901.365] (EE) intel(0): sna_mode_redisplay: page flipping failed, >> > disabling CRTC:5 (pipe=3D1) >> > [ 1901.441] (EE) intel(0): Detected a hung GPU, disabling acceleratio= n. >> > [ 2841.578] (II) UnloadModule: "mouse" >> > [ 2841.578] (II) UnloadModule: "kbd" >> > [ 2841.579] (II) intel(0): switch to mode 1366x768@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@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 >> > > --=20 =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- =E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=EF= =BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB=E3=81= =AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3=81=97= =E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7=98=E5= =8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA=E3=82= =8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3=81=BE= =E3=81=99=E3=80=82 =E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4=96=E3= =81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F=E5=A0= =B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE= =E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81=AE=E3= =83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80=E5=88= =87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81 =E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81=AE=E4= =BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF=E8=A8= =98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3=81=84= =E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82=8C=E3= =81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3=E3=81= =97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82 --- 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.