NetBSD Problem Report #56727

From www@netbsd.org  Mon Feb 21 16:49:09 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 2F89B1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 21 Feb 2022 16:49:09 +0000 (UTC)
Message-Id: <20220221164907.CAA401A923C@mollari.NetBSD.org>
Date: Mon, 21 Feb 2022 16:49:07 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: i915drmkms in current causes audio playback distortion
X-Send-Pr-Version: www-1.0

>Number:         56727
>Category:       kern
>Synopsis:       i915drmkms in current causes audio playback distortion
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          needs-pullups
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 21 16:50:00 +0000 2022
>Closed-Date:    
>Last-Modified:  Thu Apr 04 21:05:01 +0000 2024
>Originator:     nia
>Release:        current
>Organization:
The NetBSD Foundation
>Environment:
NetBSD amnesia 9.99.93 NetBSD 9.99.93 (GENERIC) #0: Wed Feb 16 20:31:43 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Under load, the playing audio stream becomes strongly distorted
(the specific distorted frequencies seem to be varied), seemingly
after light system load spikes (although it is easy to trigger
with casual web browsing and youtube). Disabling the i915drmkms
driver eliminates the problem and makes doing audio work possible
again.
>How-To-Repeat:

>Fix:
userconf disable i915drmkms

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->needs-pullups
State-Changed-By: nia@NetBSD.org
State-Changed-When: Mon, 02 May 2022 17:09:52 +0000
State-Changed-Why:
hdaudio bug, fixed by jmcneill


From: Taylor R Campbell <riastradh@NetBSD.org>
To: nia@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/56727: i915drmkms in current causes audio playback distortion
Date: Wed, 2 Aug 2023 14:42:57 +0000

 What was the fix?  Was it pulled up to 8 or 9 or does it still need
 pullup?

From: Taylor R Campbell <riastradh@NetBSD.org>
To: Nia Alarie <nia@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/56727: i915drmkms in current causes audio playback distortion
Date: Thu, 4 Apr 2024 21:00:01 +0000

 Was it this change that fixed PR 56727 and needs pullup, or something
 else?

 https://mail-index.netbsd.org/source-changes/2022/03/21/msg137614.html


 Module Name:    src
 Committed By:   jmcneill
 Date:           Mon Mar 21 09:12:10 UTC 2022

 Modified Files:
         src/sys/dev/hdaudio: hdaudioreg.h
         src/sys/dev/pci: hdaudio_pci.c hdaudio_pci.h

 Log Message:
 hdaudio: pci: PCIe config space fixes and Intel PCH snoop support

 The HD audio specification does not cover PCI config space, and this
 driver was unconditionally writing to a vendor specific register. Reduce
 scope of config space accesses based on PCI IDs.

 With this cleaned up, add support for Intel PCH devices which require
 some additional vendor specific configuration to bypass no snoop mode.


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 src/sys/dev/hdaudio/hdaudioreg.h
 cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/hdaudio_pci.c
 cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/hdaudio_pci.h

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.