No more display when graphic drivers installed
Hi, I'm quite new to Linux, and have a major problem : If I install the Drivers for my graphic card (Ge Force FX 5700LE), and let the x.conf file be modified by the installer, my display goes black, and even after reboot, the moment the dm service starts, I get nothing. If I leave the drivers selected automatically at the installation, I get display, but the maximal resolution I can use is 1280x1024, whilst my screen is made for 1600x1200 (I select the right screen at the installation). If I put the resolution the Dell 2001FP (connected via DVI) is made for, I get an image exceeding the sreen, and that scrolls when I touch the border. I also don't have any 3D, thus not 1 game works (even with cedega).
To save my installation, i'd need the path to access the x.conf file please... Thanks in advance |
The path to the graphics configuration files is:
/etc/X11/xorg.conf |
Thanks kilgoretrout, I managed to get my display back up again, with no openGL direct rendering, and no 3D acceleration (source : cedega), as it was before, running the generic drivers that came with mandriva 2006. I found out that if I do modprobe nvidia, I get this :
FATAL : error inserting nvidia (/lib/modules/2.6.12-12mdk/kernel/drivers/video/nvidia.ko) : Invalid module format. If I understand this right, the nvidia kernel module cannot be loaded, and that'd explain why I don't get any display. Could anyone help me by telling me how to make the kernel module right? |
That error message is almost always an indication that the kernel source you installed doesn't match the the kernel you are running. The kernel will refuse to load a module compiled against some other kernel source. Open a console and run:
$ rpm -qa | grep kernel and post the output here. The above will list all the rpms installed with the word "kernel" in the package name. Unless you are familiar with the naming conventions, getting the right kernel source installed can be tricky. |
Ok, I entered the command in the konsole and the output is :
-kernel-source-2.6-2.6.12-12mdk -kernel-2.6.12-2mdk I also did some research in my file system, and found out that the nvidia nvidia file modprobe was trying to load had a different extension than the modules around (I suppose they're modules) : it ended only with *.ko, whilst the others ended with *.ko.gz. I tried renaming the file and then runnning modprobe, it was still looking for the nvidia.ko file, which didn't exist, since it had been renamed to nvidia.ko.gz. May this be the source of the problem? |
Hi serafean, if modprobe nvidia fails, this means that in fact you dind't build the kernel module. The most likely problem is that you have a mismatch on the current kernel you are running and the kernel sources you have installed.
Quote:
Code:
uname -r Once you have this corrected, try to build again the kernel module nvidia. |
Thanks for the advice, I did as you said and got this
Quote:
And how can I build the kernel module? |
Hi serafean, you can find many tutorials on the web on how to install Nvidia drivers, in short you have to follow these steps:
1. Download the latest nvidia driver 1.0-8178 http://www.nvidia.com/object/unix.html 2. Open a console and change to root Code:
su Code:
init 3 Code:
sh NVIDIA-Linux-x86-1.0-8178-pckg1.run 6. If the installations finished without other warning you have available the nvidia kernel module, in order to use it you have to load it, type: Code:
modprobe nvidia 7. Finally, edit the file /etc/X11/xorg.conf, you can use the command: Code:
xorgconfig 8. Type: Code:
startx Code:
glxinfo |
Thanks, now I have an nvidia module that works by the prompt, but still no 3D. If I enter glxinfo, I get this :
Code:
Xlib : connection to "0.O" refused by server |
I got the idea that rebooting might help, but instead, I now get :
Code:
name of display: :0.0 |
Hi serafean, it seems that you don't have the module loaded yet, or you have some problem with the installation.
Did you follow all the steps while installing?, Did you notice something wrong? What happened when you type "modprobe nvidia"? Use the command lsmod to list all the modules loaded in your system, login in a console as root and type: Code:
# lsmod | grep nvidia If you have installed successfully the module, you have to add a line in the file /etc/modules, with the module name: Code:
nvidia Finally, when you reboot your system, you should see a banner with the logo of Nvidia. Another sign that you have the driver installed. |
I think your nvidia module is probably loaded. This is the key:
Quote:
Load "glx" # 3D layer If it exists, sometimes you have to give the full path to libglx.so instead of just "glx". You can find that by running: $ slocate libglx.so /usr/X11R6/lib/modules/extensions/libglx.so /usr/X11R6/lib/modules/extensions/libglx.so.1.0.7676 Try inserting whatever path to libglx.so is revealed by your search in quotes in the above xorg.conf line. If that doesn't work, post back. The results of your rpm query and uname don't appear to match to me, i.e. the rpm -qa command shows a mismatched kernel and kernel source while the uname command indicates a match. I still think there might be a kernel source mismatch problem. |
Victorh, I haven't noticed anything wrong during the installation, but when I modprobe nvidia, I get this :
Code:
# modprobe nvidia Code:
# lsmod|grep nvidia kilgoretrout, I added the complete path to libglx.so, but it has done absolutely nothing. Seeing your scepticism about my kernels, I'd like to ask if there iss any way of proving that mismatch, apart from the commands I've already tried. |
All times are GMT -5. The time now is 03:07 AM. |