Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So back again with lovely linux fun, this time in distro a la Gentoo.
(Gentoo owns btw... thought I'd let you all know...)
I tried to install the new nvidia driver from nvidia's website, whatever the nvidia driver is for non-norad cpu's NVIDIA-blahblah.sh
Install goes fine. Configure my XF86Config file to use my nvidia driver and (insert favorite power down sound here) X craps out on me telling me that I'm useless and that white boys can't jump.
The error it has is something about not being able to parse the config file... now, I throw the little letters in my Device "Geforce" section to "nv" instead of the almighty-wanted "nvidia" and X works. Figure that one out eh?
Enclosed is a copy of my XF86Config as I would imagine it should run normally...
(albeit I stole it from my RH9 /etc/X11 dir .. hehhe ;P)
# XFree86 4 configuration created by redhat-config-xfree86
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
You've got to setup a .xinitrc to launch your prefered window manager from startx. And look at /etc/modules.d/nvidia to see if there is a problem in the syntax in there to modprobe your nvidia driver. How did you go about installing it, emerge or grab the actual driver from Nvidia's website?
initially, i did the ermerge -k nevidia kernel, dunno if thats what i was suppsoed to do for it, and then i alsa grabbed the driver and installed it through the sh thing....
I don't have much luck with emerging nvidia-kernel and nvidia-glx, so instead I just grab the drivers from nvidia.com and install via the sh 'thing'
Afterwards, you should ensure that /etc/modules.d/nvidia looks correct for the module name, and that you can indeed modprobe the nvidia module. Then, startx.
Be sure you have properly killed gdm, and that you are in runlevel 3 (don't panic this time, when you telinit, you may have to log back in):
telinit 3
My autoload thing loads an nvidia module, but when I do the emerge nvidia-kernel option, it says that the module changes from NVdriver to nvidia.o
So i tried using that in my xf86config-same problem, then i looked in the nvidia module.d thing and it doesnt even look at a module, just specifies a char and alias ....
Don't do the 'emerge nvidia-kernel' thing, instead use the driver from www.nvidia.com Then, make sure your /etc/modules.d/nvidia looks like:
Code:
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!!
#
# To enable Side Band Adressing: NVreg_EnableAGPSBA=1
#
# To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.