DebianThis forum is for the discussion of Debian Linux.
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.
yes, thats it cheers. On the same topic, the reason i wanted to edit this file is that for some reason if i click on the option to set my screen resolution i cant select anything higher than 1024*768, i've tried editing the section in the X11 config file mentioned above but there are still no extra options... here is what that part looks like now
What make of video card do you have? At the moment, you are using the onboard basic generic drivers. If you have an Nvidia, Ati or Intel card, you should go to the site and download the full drivers. This should fix your resolution problem.
You monitor vertical and horizontal sync frequencies are also important.
If they are not high enough, you won't have higher resolutions. In any case ... try this code as root
I tried to update to nvidia gfx drivers but i keep getting wierd errors. Initially if i just do
Code:
sh NVIDIA-name-of-driver
I get some erros about not having a kernel interface, it offers to download one but then says it cant find a compatible one. Then it says it cant create one eithre as it cant find my kernel tree or some such. It recommend i specify where my kernel source was so i did like so
Code:
sh Nvidia-name-of-driver --kernel-source-path /usr/src/kernel-source-2.4.27.tar.bz2
but it gave the exact same errors as above and then at the end said something about the path i had given not existing.
The nvidia drivers need an unpacked linux-kernel, not a tar file.
It needs to read from header files that detail what options your kernel support and how to call them. If you're using a precompiled kernel you can install the package kernel-headers-XXX where XXX has the same name and number as the kernel you are running.
The kernel headers will be unpacked in /usr/src/kernel-headers-XXX and you can point the nvidia-installer to that directory.
There are also debian packaged of the nvida-drivers and preferably you should use those.
And as for higher resolutions not being available, a common cause for that is that the horizontal sync and vertical refresh values for the monitor are set too low. Look in your monitor's manual to find out what the ranges are supposed to be for your monitor.
Then when i run the installer it seems to ignore the symlink completly and tells me /lib/modules/2.4.27-2-686/build is not a valid path or something similar.
I then tried to specify where the headers were again using
Code:
sh Nvidia etc... --kernel-source-path /usr/src/kernel-headers-etc
And it tried to tell me that /include/linux/kernel.h doesnt exist at that location, but guess what... it does.
Code:
nnp@debian:~$ ls /usr/src/kernel-headers-2.4.27-2-686/include/linux/ | grep kernel.h
devfs_fs_kernel.h
kernel.h
nnp@debian:~$
EDIT: Off topic but anyways, say i had misplaced my monitors manual is there any reliable way to find out its horizontal sync and vertical refresh values? Its a dell 19inch flat screen, i could get the model number i'd imagine but how helpful are dell?
Hm. Peculiar issue. I cannot say that I have encountered that one before. Have you tried with the other installation method, the one involving installing it through apt-get and building the kernel module with make-kpkg? It is a bit more involved due to the many small steps, but it is worth trying out too.
And regarding the monitor frequencies, a search on google for horizontal sync vertical refresh monitor brandmonitor model
or some variation thereof should give some reasonable results. Or try to find the specs online on the manufacturer's website.
I ran into a problem with the 2.6.8 kernel when trying to install the nVidia drivers.. 2.6.8 was incompatible with the GCC version on my machine..(don't ask me how.. but it was) once I Installed the 2.6.12 kernel I had no trouble compiling and installing the nVidia drivers. Wierd I know but that's what happened. it is a peculiarity to that kernel version in Debian i believe.
as for the monitor specs.. if you pull up the On Screen Menu on the monitor you know where you adjust horizontal & vertiocal size, contrast, brightness etc.. does it list the frequency ranges of the monitor ? I have several monitors that do. Just athought.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.