NetBSD Problem Report #46144

From Ephaeton@gmx.net  Mon Mar  5 19:26:22 2012
Return-Path: <Ephaeton@gmx.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id A143563E1E1
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Mar 2012 19:26:22 +0000 (UTC)
Message-Id: <20120305192544.043E32C84@agamemnon.entropie.local>
Date: Mon,  5 Mar 2012 14:25:44 -0500 (EST)
From: Ephaeton@gmx.net
Reply-To: Ephaeton@gmx.net
To: gnats-bugs@gnats.NetBSD.org
Subject: Xorg's libpciaccess 0.11 breaks some NVidia cards' recognition
X-Send-Pr-Version: 3.95

>Number:         46144
>Category:       pkg
>Synopsis:       Xorg's libpciaccess 0.11 breaks some NVidia cards' recognition
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 05 19:30:00 +0000 2012
>Closed-Date:    Sun Sep 25 00:02:59 +0000 2016
>Last-Modified:  Sun Sep 25 00:02:59 +0000 2016
>Originator:     Martin S. Weber
>Release:        NetBSD 6.0_BETA
>Organization:

>Environment:


System: NetBSD uranos.nist.gov 6.0_BETA NetBSD 6.0_BETA (GENERIC) (Feb 23, homebaked)
Architecture: i386
Machine: i386
>Description:
	The nvidia video drivers haven't worked for me for the past ~3 years. It's about time
	I open a PR for it. The last nv driver that worked for my card was xf86-video-nv-2.1.14
	It's just getting annoying to be stuck in late 2008/early 2009 package wise because
	you cannot really upgrade anything without it trying to upgrate the nvidia driver! :)

	The card in question is a "vendor 0x10de product 0x042f (rev 0xa1)" (I'll have to
	look up the textual description...)

>How-To-Repeat:

>Fix:
n/a


>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Mon, 5 Mar 2012 19:40:11 +0000

 On Mon, Mar 05, 2012 at 07:30:00PM +0000, Ephaeton@gmx.net wrote:
  > 	It's just getting annoying to be stuck in late 2008/early 2009
  > package wise because you cannot really upgrade anything without it
  > trying to upgrate the nvidia driver! :)

 The workaround for this is to revert the pkgsrc dir for the driver
 package (and if necessary for the X server and other X server drivers)
 so you can recompile the old versions.

 The real problem is that we need KMS/GEM in the kernel. This remains
 problematic...

 -- 
 David A. Holland
 dholland@netbsd.org

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Mon, 5 Mar 2012 15:56:34 -0500

 On Mon, Mar 05, 2012 at 07:45:02PM +0000, David Holland wrote:
 > The following reply was made to PR pkg/46144; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/46144: current NV video driver fails: no devices detected
 > Date: Mon, 5 Mar 2012 19:40:11 +0000
 > 
 >  On Mon, Mar 05, 2012 at 07:30:00PM +0000, Ephaeton@gmx.net wrote:
 >   > 	It's just getting annoying to be stuck in late 2008/early 2009
 >   > package wise because you cannot really upgrade anything without it
 >   > trying to upgrate the nvidia driver! :)
 >  
 >  The workaround for this is to revert the pkgsrc dir for the driver
 >  package (and if necessary for the X server and other X server drivers)
 >  so you can recompile the old versions.

 And then the x server's doesn't satisfy this other library that depends
 on the x server's library so in the end you cannot build that other
 library and as such cannot update, say, glib, and thus no updated
 apps here and there and ...

 I went down this route for some time, but it stopped working somewhen
 along the way. I might try again (hell, I don't have X on this box
 right now and I need X on this box so I'll do whatever... (yes, I 
 have backups of all the ancient packages because I did run into this
 before for multiple times)).

 -Martin

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Mon, 5 Mar 2012 16:02:28 -0500

 On Mon, Mar 05, 2012 at 07:45:02PM +0000, David Holland wrote:
 > The following reply was made to PR pkg/46144; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/46144: current NV video driver fails: no devices detected
 > Date: Mon, 5 Mar 2012 19:40:11 +0000
 > 
 >  On Mon, Mar 05, 2012 at 07:30:00PM +0000, Ephaeton@gmx.net wrote:
 >   > 	It's just getting annoying to be stuck in late 2008/early 2009
 >   > package wise because you cannot really upgrade anything without it
 >   > trying to upgrate the nvidia driver! :)
 >  
 >  The workaround for this is to revert the pkgsrc dir for the driver
 >  package (and if necessary for the X server and other X server drivers)
 >  so you can recompile the old versions.

 Yeah, as I thought. Downgrading to 2.1.14 or 2.1.12 doesn't help...

 Looking at the dependencies of modular-xorg-server, I think to remember
 it was actually libpciaccess. Trying ...

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Mon, 5 Mar 2012 15:59:26 -0500

 On Mon, Mar 05, 2012 at 07:45:02PM +0000, David Holland wrote:
 > The following reply was made to PR pkg/46144; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/46144: current NV video driver fails: no devices detected
 > Date: Mon, 5 Mar 2012 19:40:11 +0000
 > 
 >  On Mon, Mar 05, 2012 at 07:30:00PM +0000, Ephaeton@gmx.net wrote:
 >   > 	It's just getting annoying to be stuck in late 2008/early 2009
 >   > package wise because you cannot really upgrade anything without it
 >   > trying to upgrate the nvidia driver! :)
 >  
 >  The workaround for this is to revert the pkgsrc dir for the driver
 >  package (and if necessary for the X server and other X server drivers)
 >  so you can recompile the old versions.

 I think the underlying problem really was one of libdrm / modular-xorg-server,
 damn I had this near debugged once. I'll have to dig through my mail archives.

 -Martin

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Mon, 5 Mar 2012 16:04:34 -0500

 On Mon, Mar 05, 2012 at 04:02:28PM -0500, Martin S. Weber wrote:
 > On Mon, Mar 05, 2012 at 07:45:02PM +0000, David Holland wrote:
 > > The following reply was made to PR pkg/46144; it has been noted by GNATS.
 > > 
 > > From: David Holland <dholland-pbugs@netbsd.org>
 > > To: gnats-bugs@NetBSD.org
 > > Cc: 
 > > Subject: Re: pkg/46144: current NV video driver fails: no devices detected
 > > Date: Mon, 5 Mar 2012 19:40:11 +0000
 > > 
 > >  On Mon, Mar 05, 2012 at 07:30:00PM +0000, Ephaeton@gmx.net wrote:
 > >   > 	It's just getting annoying to be stuck in late 2008/early 2009
 > >   > package wise because you cannot really upgrade anything without it
 > >   > trying to upgrate the nvidia driver! :)
 > >  
 > >  The workaround for this is to revert the pkgsrc dir for the driver
 > >  package (and if necessary for the X server and other X server drivers)
 > >  so you can recompile the old versions.
 > 
 > Yeah, as I thought. Downgrading to 2.1.14 or 2.1.12 doesn't help...
 > 
 > Looking at the dependencies of modular-xorg-server, I think to remember
 > it was actually libpciaccess. Trying ...

 Okay, that was it. Downgrading to 2.1.12 of xf86-video-nv and libpciaccess 0.10.8
 actually makes X work again. So the culprit is not xf86-video-nv, it is libpciaccess.

 -Martin

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Mon, 5 Mar 2012 16:06:42 -0500

 On Mon, Mar 05, 2012 at 04:04:34PM -0500, Martin S. Weber wrote:
 > On Mon, Mar 05, 2012 at 04:02:28PM -0500, Martin S. Weber wrote:
 > > On Mon, Mar 05, 2012 at 07:45:02PM +0000, David Holland wrote:
 > > > The following reply was made to PR pkg/46144; it has been noted by GNATS.
 > > > 
 > > > From: David Holland <dholland-pbugs@netbsd.org>
 > > > To: gnats-bugs@NetBSD.org
 > > > Cc: 
 > > > Subject: Re: pkg/46144: current NV video driver fails: no devices detected
 > > > Date: Mon, 5 Mar 2012 19:40:11 +0000
 > > > 
 > > >  On Mon, Mar 05, 2012 at 07:30:00PM +0000, Ephaeton@gmx.net wrote:
 > > >   > 	It's just getting annoying to be stuck in late 2008/early 2009
 > > >   > package wise because you cannot really upgrade anything without it
 > > >   > trying to upgrate the nvidia driver! :)
 > > >  
 > > >  The workaround for this is to revert the pkgsrc dir for the driver
 > > >  package (and if necessary for the X server and other X server drivers)
 > > >  so you can recompile the old versions.
 > > 
 > > Yeah, as I thought. Downgrading to 2.1.14 or 2.1.12 doesn't help...
 > > 
 > > Looking at the dependencies of modular-xorg-server, I think to remember
 > > it was actually libpciaccess. Trying ...
 > 
 > Okay, that was it. Downgrading to 2.1.12 of xf86-video-nv and libpciaccess 0.10.8
 > actually makes X work again. So the culprit is not xf86-video-nv, it is libpciaccess.

 To reinforce that point, libpciaccess 0.10.8 and xf86-video-nv 2.1.18 work, too.

 -Martin

From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Thu, 8 Mar 2012 11:35:37 -0500

 >  > > Looking at the dependencies of modular-xorg-server, I think to remember
 >  > > it was actually libpciaccess. Trying ...
 >  > 
 >  > Okay, that was it. Downgrading to 2.1.12 of xf86-video-nv and libpciaccess 0.10.8
 >  > actually makes X work again. So the culprit is not xf86-video-nv, it is libpciaccess.
 >  
 >  To reinforce that point, libpciaccess 0.10.8 and xf86-video-nv 2.1.18 work, too.

 Can someone please update the synopsis of this PR to say 
 "Xorg's libpciaccess 0.11 breaks some NVidia cards' recognition" or something the like?

 TIA,
 -Martin

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/46144: current NV video driver fails: no devices detected
Date: Thu, 8 Mar 2012 17:49:39 +0100

 On Thu, Mar 08, 2012 at 04:40:04PM +0000, Martin S. Weber wrote:
 >  Can someone please update the synopsis of this PR to say 
 >  "Xorg's libpciaccess 0.11 breaks some NVidia cards' recognition" or something the like?

 Done.

From: "Martin Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46144: Xorg's libpciaccess 0.11 breaks some NVidia cards'
 recognition
Date: Thu, 31 Jan 2013 23:10:19 +0100

 Alright, this is EOL sort of. with the latest pkgsrc release, I don't succeed in downgrading libpciaccess and dependent packages far enough so that it'll work but not far enough as to still be able to satisfy (real) dependencies (i.e., "won't work without", in contrast to dependencies that are formulated in a pkgsrc Makefile which most of the time are "this should go with that version")

 As I'm bugged by the sys admin to update this box "now" (well, more like "NOW!"), this NetBSD installation just went kaput. You can take me off the list of people associated with this PR. I won't be able to do any more testing and/or info gathering than I already have. 

 The problem remains, of course.

State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sun, 25 Sep 2016 00:02:59 +0000
State-Changed-Why:
submitter's machine apparently died and no one else has seen this problem that
i can tell.  'nv' works on a bunch of older cards for me.


>Unformatted:
 	pkgsrc-2011Q4

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.