NetBSD Problem Report #55023

From www@netbsd.org  Wed Feb 26 15:48:59 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2C0CD1A9213
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Feb 2020 15:48:59 +0000 (UTC)
Message-Id: <20200226154857.EF4EC1A9217@mollari.NetBSD.org>
Date: Wed, 26 Feb 2020 15:48:57 +0000 (UTC)
From: rcbixler@nyx.net
Reply-To: rcbixler@nyx.net
To: gnats-bugs@NetBSD.org
Subject: pixelation under X
X-Send-Pr-Version: www-1.0

>Number:         55023
>Category:       port-amd64
>Synopsis:       pixelation under X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 26 15:50:00 +0000 2020
>Closed-Date:    
>Last-Modified:  Wed Feb 26 18:51:27 +0000 2020
>Originator:     Roy Bixler
>Release:        NetBSD 9
>Organization:
>Environment:
NetBSD localhost 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: Tue Feb 25 18:40:44 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Using a browser under X, I sometimes see pixelation or distortion when scrolling.  I sometimes also see this when entering text into the URL bar.  If I wait long enough, it goes away.  I first saw this problem under NetBSD-9 and still see it under the current stable version.  The problem did not occur under NetBSD-8 or 8.1.  The hardware is a Lenovo Thinkpad X1 Carbon.

When booting, I see a couple of errors:

[     8.683492] kern info: [drm] Memory usable by graphics device = 2048M
[     8.683492] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     8.683492] kern info: [drm] Driver supports precise vblank timestamp query.
[     8.683492] kern info: [drm] failed to find VBIOS tables
[     8.683492] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
[     8.783570] kern info: [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
[     8.903664] kern info: [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
[     8.963710] intelfb0 at i915drmkms0
[     8.963710] intelfb0: framebuffer at 0xffffc48063d2a000, size 1600x900, depth 32, stride 6400
[     9.223915] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:230)cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A
[     9.223915] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:381)intel_pch_fifo_underrun_irq_handler] *ERROR* PCH transcoder A FIFO underrun

>How-To-Repeat:
Start X, then start up a browser such as "netsurf".  Observe pixelation either in the URL bar or when scrolling down.  The problem happens often, but not always.

>Fix:
Revert to NetBSD-8 or 8.1

>Release-Note:

>Audit-Trail:
From: Roy Bixler <rcbixler@nyx.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/55023: pixelation under X
Date: Wed, 26 Feb 2020 09:33:33 -0700

 While seeing the problem in X, I saw this further message in "dmesg"
 output:

 [  4315.304899] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_sprite.c:205)intel_pipe_update_end] *ERROR* Atomic update failure on pipe A (start=243546 end=243547) time 1008 us, min 894, max 899, scanline start 889, end 10

 -- 
 Roy Bixler <rcbixler@nyx.net>
 "The fundamental principle of science, the definition almost, is this: the
 sole test of the validity of any idea is experiment."
 -- Richard P. Feynman

State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Wed, 26 Feb 2020 16:57:46 +0000
State-Changed-Why:
More information requested


From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/55023: pixelation under X
Date: Wed, 26 Feb 2020 17:57:09 +0100

 Hello Roy,

 rcbixler@nyx.net writes:
 > [...]
 > >Description:
 > Using a browser under X, I sometimes see pixelation or distortion when scrolling.  I sometimes also see this when entering text into the URL bar.  If I wait long enough, it goes away.  I first saw this problem under NetBSD-9 and still see it under the current stable version.  The problem did not occur under NetBSD-8 or 8.1.  The hardware is a Lenovo Thinkpad X1 Carbon.
 >
 > When booting, I see a couple of errors:
 >
 > [     8.683492] kern info: [drm] Memory usable by graphics device = 2048M
 > [     8.683492] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 > [     8.683492] kern info: [drm] Driver supports precise vblank timestamp query.
 > [     8.683492] kern info: [drm] failed to find VBIOS tables
 > [     8.683492] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
 > [     8.783570] kern info: [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
 > [     8.903664] kern info: [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
 > [     8.963710] intelfb0 at i915drmkms0
 > [     8.963710] intelfb0: framebuffer at 0xffffc48063d2a000, size 1600x900, depth 32, stride 6400
 > [     9.223915] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:230)cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A
 > [     9.223915] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:381)intel_pch_fifo_underrun_irq_handler] *ERROR* PCH transcoder A FIFO underrun
 > [...]

 Can you please share the exact model of the video card and/or the
 /var/log/Xorg.0.log?

 (Here - on NetBSD/amd64 -current - I have with an Intel(R) HD Graphics
 4400 and an Intel(R) HD Graphics 4600 I use the `SNA' "AccelMethod" in
 /etc/X11/xorg.conf and `INTEL_DRIVER_DATE= 2014' in mk.conf.  With the
 no INTEL_DRIVER_DATE (latest intel driver) if I use the SNA
 acceleration I see what you have described above while `UXA'
 "AccelMethod" seems to work well.)

From: Roy Bixler <rcbixler@nyx.net>
To: gnats-bugs@netbsd.org
Cc: port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,
        netbsd-bugs@netbsd.org
Subject: Re: port-amd64/55023: pixelation under X
Date: Wed, 26 Feb 2020 10:37:51 -0700

 On Wed, Feb 26, 2020 at 05:00:01PM +0000, Leonardo Taccari wrote:
 >  Can you please share the exact model of the video card and/or the
 >  /var/log/Xorg.0.log?

 I think here is the relevant section from Xorg.0.log:

 [    40.172] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000

 >  (Here - on NetBSD/amd64 -current - I have with an Intel(R) HD Graphics
 >  4400 and an Intel(R) HD Graphics 4600 I use the `SNA' "AccelMethod" in
 >  /etc/X11/xorg.conf and `INTEL_DRIVER_DATE= 2014' in mk.conf.  With the
 >  no INTEL_DRIVER_DATE (latest intel driver) if I use the SNA
 >  acceleration I see what you have described above while `UXA'
 >  "AccelMethod" seems to work well.)

 I autogenerated an xorg.conf file and set the AccelMethod to UXA.  So
 far, so good.

 -- 
 Roy Bixler <rcbixler@nyx.net>
 "The fundamental principle of science, the definition almost, is this: the
 sole test of the validity of any idea is experiment."
 -- Richard P. Feynman

State-Changed-From-To: feedback->open
State-Changed-By: leot@NetBSD.org
State-Changed-When: Wed, 26 Feb 2020 18:51:27 +0000
State-Changed-Why:
Feedback provided.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.