AAA!! I installed nVidia drivers on Red Hat 8 and it can't init display!
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
AAA!! I installed nVidia drivers on Red Hat 8 and it can't init display!
I installed the proper rpm packages according to NVchooser.sh and now I can only go as far as the text login! There were no errors during the install, and it lookedd like everything was going fine until it didn't load up the graphical login. Is there a way I can restore my old default drivers booting up from the installation CD or something? I am only able to boot into XP now.
From my best memory:
2.4.18-18 kernel version
GeForce 2 MX
Athlon 1500+
I downloaded the proper kernel RPM and the drivers ending with athlon.rpm as instructed by NVchooser, but it totally failed. For more information on the instructions I followed, go to this link please:
You said you can at least get to the text login? What happens when you type startx at the bash prompt? Do you get any errors? If so, please post them here.
I got gcc and XFree86 from the Red Hat CD-ROM. I chose to install the development tools, and it installed all the compilers and stuff. I checked the minimum requirements for the version, and it passes by far. Plus I've used them to compile all these other downloads from tar files so it totally works.
I'm going to try startx now, thanks for the advice!
Here's a little more detailed description ... I was pretty brief on my post. Everything starts up completely normal, passing all the driver loadings (you know, where it goes [ OK ]), and then it flashes the text login while it attempts to load the graphical, still normal, but then it happens. My screen just flicks, and goes back to the text login. It does this three times.
Then! I get a seriously glitched-up, text-based troubleshooter that tries to help you debug the display problems. A lot of what's on the screen is jarbled text. but I'm able to follow through, and it doesn't help.
I have a very strong feeling that I have to install the original RH display drivers and try another nVidia driver. But I'm going to try startx now ... I'll tell ya how it goes.
I started up as text login. Then I was trying to debug my system and ended up with this knowledge ...
The display config file is /usr/X11R6/lib/X11/XF86Config
vim is a program to edit files (thank you apropos)
I went into my config, and sure enough, there was an installation error. It was setup to run the driver "nv" instead of "nvidia". So I changed it, and walla, here I am again, posting another message in Linux.
But problems still exist: 3D accelleration still isn't supported! In the advanced display settings, "Enable 3D accelleration" is still shadowed. Does anybody know what's going on?
The logo means the nvidia drivers are working which means that you have hardware 3d, next you should download and run nv_check, make any changes that it recomends, then type "glxgears" in an xterm and make a note of the fps.
Oh no. I ran up2date and it installed a new kernel. Which is very cool, it's one of the things I wanted to do. And now there's two kernels installed, the old one and the new one. When I run the new one, the exact same problem happens, but when I run the old one, everything's fine. That's what I'm using right now - the old one. I ran NVchooser.sh again from the new kernel in text mode and it said to download a different kernel driver. So I thought, okay, no sweat, and I doenloaded it and installed it via the new kernel, but it still won't load. Is there a way I can remove the RPM packages I installed correctly and reinstall through the new kernel? I think that would fix my problem.
The entire point behind the .tar.gz version of the nvidia driver is that you can build the module against your currently installed/upgraded kernel, but, you must have the matching kernel source, if you build your own kernel then you have nothing to worry about when building the nvidia drivers, OTH, if you upgrade your kernel via RPM/uptodate/whatever-this-distro-uses-for-auto-updating then you have to look for a kernel-src/devel rpm that matches the binary kernel rpm that was just updated.
I've found that when you install the new kernel you will have to recompile the nvidia source tarball, I've upgraded my a kernel a few times and had to recompile the NVIDIA kernel and NVIDIA glx.
I go into wherever I've been compiling the source, delete the directory that was created by untarring the source files then I untar the NVIDIA source tarballs again and then make again, always making sure that when I do make the NVIDIA kernel I use
make SYSINCLUDE=/lib/modules/new kernel/build/include/linux
make install
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.