Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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 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:
Originally Posted by serafean
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
From your last post you have the kernel sources of 2.6.12-12mdk. Now you have to know your current kernel, type
Code:
uname -r
if you are running a different kernel, then install the correct kernel source that matches your kernel.
Once you have this corrected, try to build again the kernel module nvidia.
4. Go to the directory where you saved the nvidia driver and type:
Code:
sh NVIDIA-Linux-x86-1.0-8178-pckg1.run
5. Follow the instructions, you have to accept the license agreement, the installer will try to download the driver, most of the times will fail, don't panic just continue. At this moment it will build the kernel module. If it ends with a warning that couldn't build the module, you can post the content of the file /var/log/nvidia-installer.log
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
if you end in a prompt when you hit enter, it means that the module was loaded.
7. Finally, edit the file /etc/X11/xorg.conf, you can use the command:
Code:
xorgconfig
You have to select the driver "nvidia" when asked, you can also choose the resolution you want. Check carefully the specs of your monitor.
8. Type:
Code:
startx
9. If you want to know if you have 3D acceleration enabled, type in a console:
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
Xlib : no protocol specified
Error : Unable to open display(null)
And I still can't give my screen the right resolution (1600*1200) else I have a scrolling desktop... Is this still related to the graphic drivers or is it another problem?
I got the idea that rebooting might help, but instead, I now get :
Code:
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
to be sincere, I must say I don't understand any of it, and will be very thankful for any translation into a normal language, possibly a solution to the problem.
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.
This had dissapeared for some time, but it's back again. Here's what lsmode does :
Code:
# lsmod|grep nvidia
#
I also added "nvidia" to the modules file, and it's done nothing except mess up the computer so that it used 100% of the CPU non-stop, and still looking for something on the disk.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.