NetBSD Problem Report #49908

From www@NetBSD.org  Fri May 15 22:32:09 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id ABB77A6604
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 15 May 2015 22:32:09 +0000 (UTC)
Message-Id: <20150515223208.6794EA65FE@mollari.NetBSD.org>
Date: Fri, 15 May 2015 22:32:08 +0000 (UTC)
From: christopher@sogub.com
Reply-To: christopher@sogub.com
To: gnats-bugs@NetBSD.org
Subject: xorg intel driver, X -configure, issue with driver?
X-Send-Pr-Version: www-1.0

>Number:         49908
>Category:       xsrc
>Synopsis:       xorg intel driver, X -configure, issue with driver?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 15 22:35:00 +0000 2015
>Closed-Date:    Sun Sep 24 20:17:24 +0000 2023
>Last-Modified:  Sun Sep 24 20:17:24 +0000 2023
>Originator:     Chris Humphries
>Release:        -current
>Organization:
>Environment:
NetBSD jetfire.sogub.com 7.99.16 NetBSD 7.99.16 (JETFIRE) #0: Thu May 14 22:24:53 EDT 2015  root@jetfire.sogub.com:/usr/obj/sys/arch/amd64/compile/JETFIRE amd64

X.Org X Server 1.10.3

root@jetfire:/usr/src/sys/arch/amd64/conf >> diff GENERIC JETFIRE
1310a1311,1322
>
> # ACPI devices
> apm*          at acpi?                # ACPI apm emulation
> acpiacad*     at acpi?                # ACPI AC Adapter
> acpibat*      at acpi?                # ACPI Battery
> acpibut*      at acpi?                # ACPI Button
> acpidalb*     at acpi?                # ACPI Direct Application Launch Button
> acpiec*       at acpi?                # ACPI Embedded Controller (late)
> acpiecdt*     at acpi?                # ACPI Embedded Controller (early)
> acpifan*      at acpi?                # ACPI Fan
> acpilid*      at acpi?                # ACPI Lid Switch
> acpipmtr*     at acpi?                # ACPI Power Meter (experimental)
root@jetfire:/usr/src/sys/arch/amd64/conf >>

ASUS Eee PC 1005PE-MU17-BK
>Description:
X -configure correctly identifies my video card but it doesn't seem to work with DRI and Accel enabled (default behavior). Also says "mtrr set failed: Device busy"

Logs (bit long to paste?):
- dmesg: http://sogub.com/nbsd-intel-x-issue-current/dmesg.txt
- xorg.conf.new (generated by X -configure): http://sogub.com/nbsd-intel-x-issue-current/xorg.conf.new
- xorg.conf.new diff from what changes were made to make X work: http://sogub.com/nbsd-intel-x-issue-current/working_vs_not_working-xorg_conf_new.diff
- xorg log: http://sogub.com/nbsd-intel-x-issue-current/xorg.log


>How-To-Repeat:
X -configure with the same driver/card/netbook? 
>Fix:
Set these options in x.org.new generated config, in the video card section:
Option     "DRI" "False" 
Option     "NoAccel" "True"

>Release-Note:

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: xsrc/49908: xorg intel driver, X -configure, issue with driver?
Date: Sat, 16 May 2015 18:43:08 +1000

 this should work, but have you tried without an xorg.conf at all?

 usually you don't need one these days, and even if you do, you only
 need the parts you need to change.  eg, one system of mine just has
 these 5 lines:

 ---
 Section "Device"
         Identifier  "Intel Graphics"
         Driver      "intel"
         Option      "AccelMethod"  "sna"
 EndSection
 ---

 which i can now delete since SNA is the default in -current.


 .mrg.

Responsible-Changed-From-To: xsrc-manager->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Sat, 16 May 2015 12:55:54 +0000
Responsible-Changed-Why:
mine


From: Christopher Humphries <christopher@sogub.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: re: xsrc/49908: xorg intel driver, X -configure, issue with driver?
Date: Sun, 17 May 2015 10:19:39 -0400

 --089e0158c02692e36e051647c49e
 Content-Type: text/plain; charset=UTF-8

 Same issue without xorg.conf, unfortunately.
 On May 16, 2015 4:45 AM, "matthew green" <mrg@eterna.com.au> wrote:

 > The following reply was made to PR xsrc/49908; it has been noted by GNATS.
 >
 > From: matthew green <mrg@eterna.com.au>
 > To: gnats-bugs@NetBSD.org
 > Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
 >     netbsd-bugs@netbsd.org
 > Subject: re: xsrc/49908: xorg intel driver, X -configure, issue with
 > driver?
 > Date: Sat, 16 May 2015 18:43:08 +1000
 >
 >  this should work, but have you tried without an xorg.conf at all?
 >
 >  usually you don't need one these days, and even if you do, you only
 >  need the parts you need to change.  eg, one system of mine just has
 >  these 5 lines:
 >
 >  ---
 >  Section "Device"
 >          Identifier  "Intel Graphics"
 >          Driver      "intel"
 >          Option      "AccelMethod"  "sna"
 >  EndSection
 >  ---
 >
 >  which i can now delete since SNA is the default in -current.
 >
 >
 >  .mrg.
 >
 >

 --089e0158c02692e36e051647c49e
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 <p dir=3D"ltr">Same issue without xorg.conf, unfortunately.</p>
 <div class=3D"gmail_quote">On May 16, 2015 4:45 AM, &quot;matthew green&quo=
 t; &lt;<a href=3D"mailto:mrg@eterna.com.au">mrg@eterna.com.au</a>&gt; wrote=
 :<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin=
 :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The following repl=
 y was made to PR xsrc/49908; it has been noted by GNATS.<br>
 <br>
 From: matthew green &lt;<a href=3D"mailto:mrg@eterna.com.au">mrg@eterna.com=
 .au</a>&gt;<br>
 To: gnats-bugs@NetBSD.org<br>
 Cc: <a href=3D"mailto:xsrc-manager@netbsd.org">xsrc-manager@netbsd.org</a>,=
  <a href=3D"mailto:gnats-admin@netbsd.org">gnats-admin@netbsd.org</a>,<br>
 =C2=A0 =C2=A0 <a href=3D"mailto:netbsd-bugs@netbsd.org">netbsd-bugs@netbsd.=
 org</a><br>
 Subject: re: xsrc/49908: xorg intel driver, X -configure, issue with driver=
 ?<br>
 Date: Sat, 16 May 2015 18:43:08 +1000<br>
 <br>
 =C2=A0this should work, but have you tried without an xorg.conf at all?<br>
 <br>
 =C2=A0usually you don&#39;t need one these days, and even if you do, you on=
 ly<br>
 =C2=A0need the parts you need to change.=C2=A0 eg, one system of mine just =
 has<br>
 =C2=A0these 5 lines:<br>
 <br>
 =C2=A0---<br>
 =C2=A0Section &quot;Device&quot;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Identifier=C2=A0 &quot;Intel Graphics&quo=
 t;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Driver=C2=A0 =C2=A0 =C2=A0 &quot;intel&qu=
 ot;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Option=C2=A0 =C2=A0 =C2=A0 &quot;AccelMet=
 hod&quot;=C2=A0 &quot;sna&quot;<br>
 =C2=A0EndSection<br>
 =C2=A0---<br>
 <br>
 =C2=A0which i can now delete since SNA is the default in -current.<br>
 <br>
 <br>
 =C2=A0.mrg.<br>
 <br>
 </blockquote></div>

 --089e0158c02692e36e051647c49e--

From: Taylor R Campbell <riastradh@NetBSD.org>
To: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org, gnats-admin@NetBSD.org
Cc: 
Subject: Re: xsrc/49908: xorg intel driver, X -configure, issue with driver?
Date: Tue, 13 Oct 2015 00:24:44 +0000

 > agp0: BAR size 100000 mismatches detected GTT size 40000; trusting BAR

 This line looks suspicious.  Can you please send the output of the
 following command?

 # pcictl pci0 dump -b 0 -d 2 -f 0

State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sun, 20 Aug 2023 06:47:05 +0000
State-Changed-Why:
Is this still reproducible?
pcictl output still requested too as before.


From: christopher@sogub.com
To: "gnats-bugs@gnats.netbsd.org" <gnats-bugs@gnats.netbsd.org>
Cc: 
Subject: Re: xsrc/49908
Date: Wed, 20 Sep 2023 07:08:23 +0000

 I have no idea if this is still reproducible. It is from 2015 and I=20
 don't even have that ASUS Eee PC 1005PE-MU17-BK device any longer.


State-Changed-From-To: feedback->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sun, 24 Sep 2023 20:17:24 +0000
State-Changed-Why:
submitter no longer has hardware to try
(sorry we took so long to get to this)


>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-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.