From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J9tWo-0000v7-NB for garchives@archives.gentoo.org; Wed, 02 Jan 2008 02:40:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id m022cOaC026703; Wed, 2 Jan 2008 02:38:24 GMT Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id m022cM5H026697 for ; Wed, 2 Jan 2008 02:38:23 GMT Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id XvwE1Y0030vp7WL0A0QK00; Wed, 02 Jan 2008 02:38:21 +0000 Received: from iwillxp333 ([71.226.99.102]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id Y2eG1Y00A2CYsn38R00000; Wed, 02 Jan 2008 02:38:17 +0000 X-Authority-Analysis: v=1.0 c=1 a=vZViSoIb7yAA:10 a=7mOBRU54AAAA:8 a=c19Cxo7CAAAA:8 a=6MlLgeinAAAA:8 a=vWVlGKbthz8DIbO4VAgA:9 a=xI1MlVNW7VjcVWMvN8AA:7 a=OQXQSKEcIAPXuguriZRF21xiznAA:4 a=5itDY_N7cCMA:10 a=WeOa-AV5lc8A:10 a=plE8mkVoi54A:10 Message-ID: <001301c84ce8$5b16be80$0200a8c0@iwillxp333> From: "Drake Donahue" To: References: <1198268183.5803.20.camel@ShadowAerie> <200712311421.44134.yuval@avramzon.net> <20071231151826.GB24541@nibiru.local> <200801011941.43120.volker.armin.hemmann@tu-clausthal.de> <20080102001825.GA10314@nibiru.local> Subject: Re: [gentoo-amd64] Re: NVIDIA 100.14.19 + xorg-server 1.4.0.90 + xorg-x11 7.3 = blackscreen after every restart Date: Tue, 1 Jan 2008 21:37:00 -0500 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Archives-Salt: cb34884c-a2c8-42ca-8104-0ee1d2c79b3d X-Archives-Hash: af35496d7edc9aaaa073dee984e609cd ----- Original Message ----- From: "Enrico Weigelt" To: Sent: Tuesday, January 01, 2008 7:18 PM Subject: Re: [gentoo-amd64] Re: NVIDIA 100.14.19 + xorg-server 1.4.0.90 + xorg-x11 7.3 = blackscreen after every restart >* Hemmann, Volker Armin wrote: > >> > For this year I've already wasted too much resources on that. >> > Maybe I'll have a try in a few month. 3D stuff isnt't that >> > important for me - for 2D stuff the free driver works very fine. >> > >> >> yeah, just copying an ebuild and replacing nv with nvidia in xorg.conf >> costs >> so much time and is so hard to do. Whining on the other hand does not >> take >> any time at all. > > It's more than that. Rebuilding the kernel, loosing fb and ovz, etc. > I prefer spending that amount of time on disassambling the binary > module ... ;-o > >> > BTW: the ebuild conflicts between kernel and nvidia-drivers are >> > also annoying. The kernel parts should be handled differently. >> >> what are you talking about? conflicts? kernel parts? which kernel parts >> handled by what and why? > > The problem comes from NV's (broken) package. Their "sanity" > checks seem to go against the *running* kernel, instead the one > to build for. So, in my case, it denies compiling, as the > currently running kernel has rivafb (but the target kernel won't). Package is not broken. It is designed to install and activate kernel modules (while running) and to modify the kernel module boot load list so of course it "goes against" the running kernel. (which must be the same as the kernel pointed at by /usr/src/linux. > You should read http://www.gentoo.org/doc/en/nvidia-guide.xml and http://gentoo-wiki.com/HOWTO_nVidia_Drivers carefully. You need to rebuild your kernel to eliminate the rivafb (rivafb obsolete on all gpu newer than riva128). And eliminate nvidiafb if you did that also. These two modules are documented as preventing proper function of nvidia-drivers. VESA VGA graphics support is the choice you should have for FB support. Quoting: " Kernel Configuration As mentioned above, the nVidia kernel driver installs and runs against your current kernel. It builds as a module, so it makes sense that your kernel must support the loading of kernel modules. If you used genkernel all to configure the kernel for you, then you're all set. If not, double check your kernel configuration so that this support is enabled: Code Listing 3.1: Enabling the Loading of Kernel Modules Loadable module support ---> [*] Enable loadable module support You also need to enable Memory Type Range Register in your kernel: Code Listing 3.2: Enabling MTRR Processor and Features ---> [*] MTRR (Memory Type Range Register) support Also, if you have an AGP graphics card, you can optionally enable agpgart support to your kernel, either compiled in or as a module. If you do not use the in-kernel agpgart, then the drivers will use their own agpgart implementation, called NvAGP. On certain systems, this performs better than the in-kernel agpgart, and on others, it performs worse. You will need to evaluate this on your own system to get the best performance. If you are unsure what to do, use the in-kernel agpgart: Code Listing 3.3: Enabling agpgart Device Drivers ---> Character devices ---> <*> /dev/agpgart (AGP Support) Note: On amd64, the IOMMU controls the agpgart setting. Arch-specific notes Important: For x86 and AMD64 processors, the in-kernel driver conflicts with the binary driver provided by nVidia. If you will be compiling your kernel for these CPUs, you must completely remove support for the in-kernel driver as shown: Code Listing 3.4: Remove the in-kernel driver Device Drivers ---> Graphics Support ---> < > nVidia Framebuffer Support < > nVidia Riva support A good framebuffer alternative is VESA: Code Listing 3.5: Enable VESA support Device Drivers ---> Graphics Support ---> <*> VESA VGA graphics support " > > cu > -- > --------------------------------------------------------------------- > Enrico Weigelt == metux IT service - http://www.metux.de/ > --------------------------------------------------------------------- > Please visit the OpenSource QM Taskforce: > http://wiki.metux.de/public/OpenSource_QM_Taskforce > Patches / Fixes for a lot dozens of packages in dozens of versions: > http://patches.metux.de/ > --------------------------------------------------------------------- > -- > gentoo-amd64@gentoo.org mailing list > -- gentoo-amd64@gentoo.org mailing list