You are not logged in.

#1 2013-04-20 00:47:19

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Installing legacy nvidia driver + never used AUR before

I already posted in the hello thread, but for context I have installed arch on an old computer with a nvidia geforce2 mx/mx 400 card (rev b2).
I looked up the driver for this card, and the NVIDIA wiki page suggested nvidia-96xx 96.43.23-5, but this requires nvidia-96xx-utils, which in turn requires downgrading the xorg server. 
I would prefer not to do that, and there is a driver that claims to not need nvidia-96xx-utils called nvidia-96xx-all 96.43.23-11. 
My main problem is that since I am new to (but willing to learn) using the terminal, I am having trouble following the instructions in the wiki on installing a package from the AUR.
When I tried to build the extracted tar, I got a PKGBUILD does not exist error.
This might have something to do with how I downloaded the tar.gz to var/cache/pacman (can't remember for sure), then I moved it to my /home partition.  When I ls /home, I get:
    [username]    lost+found    nvidia-96xx-all.tar.gz
Thanks in advance.

Last edited by :hovercraft (2013-04-20 00:50:13)

Offline

#2 2013-04-20 01:33:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: Installing legacy nvidia driver + never used AUR before

Yep.  I have seen this problem before.

I'll bet 2 credits that, on the AUR project page, you downloaded the file pointed to by the link under the wide horizontal bar marked 'Sources'.  If so, you downloaded the source files from upstream. 

That is not what you want.  What you want is in the small  box at the upper right hand corner of the page that has a link called: "Download Tarbell".  That is the link you want.  It contains the PKGBUILD.  When you run makepkg, it will, among other things, grab the upstream sources that I think you have already downloaded.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#3 2013-04-20 01:44:09

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,717

Re: Installing legacy nvidia driver + never used AUR before

ewaller wrote:

Yep.  I have seen this problem before.

I'll bet 2 credits that, on the AUR project page, you downloaded the file pointed to by the link under the wide horizontal bar marked 'Sources'.  If so, you downloaded the source files from upstream.

I'll take that bet, the tarball name given is correct. Sounds to me like it just hasn't been extracted.

:hovercraft, please read the AUR Wiki page, it explains everything. https://wiki.archlinux.org/index.php/AUR

Specifically step 2 under Installing Packages.

Last edited by Scimmia (2013-04-20 01:47:12)

Offline

#4 2013-04-20 03:54:45

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

@Scimmia: you won that bet.  I did first click on view PKGBUILD,(using a separate computer of course) but that just displayed the text of the package, so I used the download link instead.

Also, I should have read further down the AUR wiki page the first time; I didn't move the tar to the ~/builds first.  I haven't created a /builds directory yet; can I just do something like makedir ~/nvidia ? 

I will probably need to add base-devel first; I almost did when I tried getting yaohrt, but I canceled when I read that yaohrt is out of date. Now I know base-devel is used for more than that.(makes sense, need make package)

It's late here, will try this tomorrow, and thanks everybody!

Offline

#5 2013-04-20 04:17:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: Installing legacy nvidia driver + never used AUR before

Dang sad  Down two more credits.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#6 2013-04-20 11:10:22

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 3,709

Re: Installing legacy nvidia driver + never used AUR before

You can pretty much just forget about this, nvidia no longer activly maintain the 96xx driver, and it does not support xorg-server 1.14. You will have to downgrade xorg if you want to use this driver. You can use the [xorg113] repo listed on the catalyst page on the wiki to do this.


Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2013-04-20 13:35:28

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

I installed base-devel, created a ~/nvidia build folder, and nearly built the package correctly, but I got an error:

==>  4 of 5 - Building module for 3.8.7-1-ARCH. . .
[description of what to do for linux 2.4 or 2.6 kernels]

you may need to specify [the kernels's] location with the SYSSRC environment variable or the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1 
==> ERROR: A failure occured in package().
     Aborting...

I looked this up and found someone with the same problem, but with an older arch kernel: Installing nVidida GeForce2 MX 400

Is my problem that this driver doesn't work on 3.8 kernel, or do I need to tell it where the kernel source is?

Alternatively, maybe I should delete the /nvidia-96xx-all folder and try the nvidia-96xx and nvidia-96xx-utils; or I could try a nouveau driver, but my goal for now is to get the nvidia driver to work.

Last edited by :hovercraft (2013-04-20 23:15:48)

Offline

#8 2013-04-21 01:07:10

grnkp
Member
Registered: 2013-04-21
Posts: 2

Re: Installing legacy nvidia driver + never used AUR before

I attempted an install with the legacy nvidia 96xx about a month ago. I installed the legacy xorg-server1.12 and a handful of other legacy packages. This was with the current kernel. I went the easy way and used packer.
I wasn't able to start Xorg, however the errors were simply being unable to find any screens. But by that point I had run out of patience and gave up tongue

Offline

#9 2013-04-21 03:19:19

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

I tried running the NVIDIA-Linux-x86-96.43.23-pkg0.run file that make created before it had the kernel version error, and I actually got to the nvidia installer liscense smile
The installer told me that there was a Nouveau driver already, and created

/etc/modprobe.d/nvidia-installer-disable-nouveau.conf

to disable it. 
I think I tried to start xorg after I installed it after the arch install, so that might have loaded some generic nouveau driver. 

The installation would have worked, but I got another message about kernel versions:

The kernel header file ' /usr/src/linux-3.8.7-1-ARCH/include/linux/kernel.h' does not exist.  
The most likely reason for this is that the kernel source path ' /usr/src/linux-3.8.7-1-ARCH' is incorrect.  
Please make sure you have installed the kernel source files for your kernel and that they are properly configured; 
if you know the correct kernel source files are installed, you may specify the kernel source path with the  ' --kernel-source-path' command line option.

The link I mentioned in the last post looks useful; I think I have to either download the arch source and put it in /usr/src/ or create a symlink(?) to the linux-3.8.7-1-ARCH file I already have(is that the kernel?), and then I may have to "specify the kernel source path" somehow. 

@grnkp:  I read about Yaourt, and subsequently packer, a few days ago, but at the time aur helpers seemed like more trouble to set up than installing an AUR package by hand.  If I get this arch build set up right, I might try packer.  As you can tell by the topic, this computer was so old it was not being used for anything, and I'm just using it as an experiment, so if something goes horribly wrong I'll either wipe it again or work on something else. 

I'll try specifying the kernel to the installer; and if that doesn't work I'll look into downloading the arch kernel source.

Last edited by :hovercraft (2013-04-21 03:19:51)

Offline

#10 2013-04-21 17:34:25

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

I installed the linux-headers and successfully built and installed the nvidia-96xx-all driver!!! big_smile

when I startx, I get :

Fatal server error:
[  2956.844] no screens found

and some stuff earlier about failing to load the "glx" module, and it tried to load the nouveau, nvidia, nv, and vesa modules. 

I might try downgrading xorg.

Offline

#11 2013-04-21 22:40:36

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

I uninstalled xorg-server (current version), and I installed xorg-server1.12, then installed common and devel dependencies, and then installed xf86-input-evdev1 dependency.
However, when I try startx, bash says startx is an unknown command.

When I originally installed Arch, I installed the x packages recomended on the beginner's install guide, xorg-server xorg-server-utils xorg-xinit .
Since I've downgraded xorg-server, do I need to uninstall xorg-server-utils and xorg-xinit and install the 1.12 versions?
Have I installed enough of the xorg-server1.12 dependencies(pacman only asked for common, devel, and xf86-input-evdev1)?

Or should I completely uninstall anything xorg related (any version) and start over with xorg 1.12?

Meta Question: Is the legacy nvidia driver much better than the default vesa driver?

thanks to anyone following:)

Offline

#12 2013-04-21 22:44:04

WorMzy
Forum Moderator
From: England
Registered: 2010-06-16
Posts: 4,878

Re: Installing legacy nvidia driver + never used AUR before

:hovercraft wrote:

However, when I try startx, bash says startx is an unknown command.

What's your xorg-xinit have in it?

pacman -Ql xorg-xinit

Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#13 2013-04-21 23:47:53

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

Interestingly, sudo pacman -Ql xorg-xinit and sudo find -name xorg-xinit couldn't find anything....

Last edited by :hovercraft (2013-04-21 23:48:42)

Offline

#14 2013-04-22 01:27:02

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

I installed xorg-xinit and ran startx again, and it failed.
I looked at /var/log/Xorg.0.log, and it failed either because it couldn't find the nvidia driver or it couldn't "find any screens".

It seems that the nvidia driver is not working, since nvidia-xconfig doesn't do anything.

I'm thinking that I should uninstall the nvidia-96xx-[bold]all[/bold] driver and use the official nvidia-96xx and nvidia-96xx-utils.  There was a change on the NVIDIA wiki page, and there is now a [city] repo, so I will try that if there is a way to safely uninstall the nvidia-96xx-all driver.

Last edited by :hovercraft (2013-04-22 01:33:20)

Offline

#15 2013-04-24 00:58:59

:hovercraft
Member
Registered: 2013-04-20
Posts: 17

Re: Installing legacy nvidia driver + never used AUR before

I got the [city] repo working and reinstalled the nvidia-96xx and nvidia-96xx-utils.  It seems to have worked because nvidia-xconfig worked.
But when I startx, it fails and I get this in the Xorg.0.log:

[47.901] (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
[47.901] (EE) NVIDIA(0): ***Aborting ***
[47.902] (EE) Screen(s) found, but none have a usable configuration. 

Everything before this seems to imply the driver would work, such as "Support for GLX with the Damage and Composite X ex$ enabled", but
earlier in the file it tried to

LoadModule: "dri"
(later...)
LoadModule: "dri2"

and I remember in the NVIDIA wiki article it said to comment out

Load   "dri"

in any configs for xorg.  I tried to do that but I couldn't find any applicable configs in the xorg.conf.d
(maybe I have stuff left over from the original new xorg I installed first)
I might try uninstalling xorg and nvidia, then reinstalling from [city] since nvidia installed nicely from them.

Offline

Board footer

Powered by FluxBB