vincent Posted April 8, 2005 Share Posted April 8, 2005 i downloaded the nvidia drivers to my desktop and when i run the command "sh NVIDIA-Linux-x86-1.0-7174-pkg1.run it says "no such file or directory" what do i do :huh: Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 sh ./NV [tab] Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 can u post the exact command i need to type so i can just paste it into the terminal please? the drivers are on the desktop Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 Once you change to the directory where the file was loaded, type in sh ./NV then hit the TAB key (then ENTER). Also, isn't there a way to apt-get the nvidia kernel module in Ubuntu? Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 when i do that command "sh ./NV" and i hit the"tab" key it doesnt do anything i get a system beep so i hit "enter" and it gives me the same error "no such file or directory" Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 Where exactly did you download the file to? What directory? Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 there on the desktop Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 Where does Gnome (Ubuntu) put their 'desktop' directory? :unsure: Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 :unsure: Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 ok. /home/vincent/Desktop it is. :) Now, what you will need to do is run the script with X shut down. No GUI. Is it already marked as executable? (in the permissions tab in your screenshot, or you can do it from the commandline) Then, press CTRL + ALT + F2. You will get a command prompt login. Login, then execute sudo init 3 to kill off X. Then cd /home/vincent/Desktop Then ./NV then hit TAB. It will auto-complete the filename. Hit ENTER, then when the stuff is done, edit your /etc/X11/xorg.conf to use "nvidia" instead of "nv" (will need to sudo this as well, as that is a file users don't have write access to) Save your xorg.conf sudo init 5 If you see an annoying nVidia logo as X comes up, then you did it right. Link to comment Share on other sites More sharing options...
Fotix Posted April 8, 2005 Share Posted April 8, 2005 You could just install the .deb files in their repositories. nvidia-glx nvidia-kernel-common I have the latest driver this way (7174). I use to use Nvidia's installer but about everytime you update your Linux kernel you'll end up having to reinstall the driver. At least I did, anyway. Then edit /etc/modules and add nvidia to the end of the file Then edit /etc/X11/xorg.conf and comment out (add a # in front of it) dri under the Module section. Change "nv" to "nvidia" in the Device section. Under that you can add other options (check the readme on the NVIDIA website for more details): Option "NoLogo" "true" Option "RenderAccel" "true" Link to comment Share on other sites More sharing options...
chavo Posted April 8, 2005 Share Posted April 8, 2005 ripgut, you should really be using apt-get to update your nvidia drivers. You'll have to enable the restricted, and universe repositories, but 7174 is out for hoary right now. Also -> #1. The file is in your Desktop dir, which is ~/Desktop. #2. You can't run the upgrade while running x. You have to killall gdm and do it from the prompt. #3. You probably don't have the kernel source installed, which is needed to compile the driver. #4. You also will need to install a compiler, as Ubuntu doesn't install gcc, by default. So my point is, just enable the repositories and fire up synaptic. I haven't been able to successfully build an nvidia kernel module on this kubuntu box yet. Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 (edited) ok. /home/vincent/Desktop it is. :)Now, what you will need to do is run the script with X shut down. No GUI. Is it already marked as executable? (in the permissions tab in your screenshot, or you can do it from the commandline) Then, press CTRL + ALT + F2. You will get a command prompt login. Login, then execute sudo init 3 to kill off X. Then cd /home/vincent/Desktop Then ./NV then hit TAB. It will auto-complete the filename. Hit ENTER, then when the stuff is done, edit your /etc/X11/xorg.conf to use "nvidia" instead of "nv" (will need to sudo this as well, as that is a file users don't have write access to) Save your xorg.conf sudo init 5 If you see an annoying nVidia logo as X comes up, then you did it right. 585743448[/snapback] sudo init 3 is NOT killing "X" when i do the "./NV" [tab] and hit ENTER it says that i need to disable X WTF :angry: Edited April 8, 2005 by ripgut Link to comment Share on other sites More sharing options...
Seth Posted April 8, 2005 Share Posted April 8, 2005 It's sudo init 3, not in it. And don't do it that way! Apt-get install like the people have been saying. Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 It's sudo init 3, not in it. And don't do it that way! Apt-get install like the people have been saying. 585743780[/snapback] uhm did Apt-get and that was a typo on my part i AM typing "init" not "in it" Link to comment Share on other sites More sharing options...
MidnightDevil Posted April 8, 2005 Share Posted April 8, 2005 This is what I need to do in my box. sudo apt-get install nvidia-glx sudo nvidia-glx-config enable that's about it. Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 This is what I need to do in my box.sudo apt-get install nvidia-glx sudo nvidia-glx-config enable that's about it. 585744119[/snapback] did so and got an Nvidia screen for a few seconds, then it went back to the desktop. so are the drivers installed? :blush: Link to comment Share on other sites More sharing options...
CaKeY Posted April 8, 2005 Share Posted April 8, 2005 Yep yep. :) Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 Yep yep. :) 585744417[/snapback] ok, another question, in windows i had my res @ 1552x864 w/ a refresh rate of 75hz i dont have that now. When i go to system>preferences>Screen resolution. is there anyway i can have it @ that setting? Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 ok, another question, in windows i had my res @ 1552x864 w/ a refresh rate of 75hzi dont have that now. When i go to system>preferences>Screen resolution. is there anyway i can have it @ that setting? 585744972[/snapback] You can customize your /etc/X11/xorg.conf file to ensure that your desired resolution is listed. If you aren't familiar with the insides of this file, post it here and we can help point out where you need to make the changes. Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 You can customize your /etc/X11/xorg.conf file to ensure that your desired resolution is listed.If you aren't familiar with the insides of this file, post it here and we can help point out where you need to make the changes. 585744982[/snapback] Will do so when i get home from work today. Thank you so much guys so far the headaches are much appreciated IM JUST HAPPY I GOT THE DRIVERS INSTALLED :bounce: oh and btw i meant to type 1152x864 not 1552 ;) I was up till 3:30am PST and here at work now @ 8am, i wasn't happy going to bed until i had those drivers installed expect this thread to grow a bit more. :blush: Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 8, 2005 Veteran Share Posted April 8, 2005 (edited) Will do so when i get home from work today. Thank you so much guys so far the headaches are much appreciated IM JUST HAPPY I GOT THE DRIVERS INSTALLED :bounce: oh and btw i meant to type 1152x864 not 1552 ;) I was up till 3:30am PST and here at work now @ 8am, i wasn't happy going to bed until i had those drivers installed expect this thread to grow a bit more. :blush: 585745088[/snapback] /me looks at your "Astronomy Fan" member title and remebers to ask: Now that you have your 3D hardware acceleration enabled, did you try to apt-get install celestia yet? :D EDIT: Link to homesite, if you aren't sure what Celestia looks like: http://shatters.net/celestia/ Link to comment Share on other sites More sharing options...
vincent Posted April 8, 2005 Author Share Posted April 8, 2005 no, didn't know i could do that, but thanks :fun: /me looks for even more fun time ahead now!! Link to comment Share on other sites More sharing options...
vincent Posted April 9, 2005 Author Share Posted April 9, 2005 (edited) You can customize your /etc/X11/xorg.conf file to ensure that your desired resolution is listed.If you aren't familiar with the insides of this file, post it here and we can help point out where you need to make the changes. 585744982[/snapback] # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands: # # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom # sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum' # sudo dpkg-reconfigure xserver-xorg Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" # paths to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" EndSection Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]" Driver "nvidia" BusID "PCI:1:0:0" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 30-65 VertRefresh 50-75 EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "DRI" Mode 0666 EndSection Edited April 9, 2005 by ripgut Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 9, 2005 Veteran Share Posted April 9, 2005 :blink: Ow! My eyes!!! Could you maybe remove the screenshot and replace it with nice, eye- and bandwidth-friendly text? :yes: Link to comment Share on other sites More sharing options...
Recommended Posts