Linux Nvidia Display Driver Install...

Page 4 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

drag

Elite Member
Jul 4, 2002
8,708
0
0
(II) NVIDIA(0): Assigned Display Device: DFP-1
(WW) NVIDIA(0): No valid modes for "1280x1024@60"; removing.
(WW) NVIDIA(0): No valid modes for "1152x768@54"; removing.
(WW) NVIDIA(0): No valid modes for "800x600@60"; removing.
(WW) NVIDIA(0): No valid modes for "1280x854"; removing.
(WW) NVIDIA(0): No valid modes for "800x600@56"; removing.
(WW) NVIDIA(0): No valid modes for "640x480@60"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "1024x768@60"
(**) NVIDIA(0): Virtual screen size configured to be 1280 x 854


See in this configuration:
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
depth 24
virtual 1280 854
modes "1024x768@60" "1152x768@54" "800x600@60" "1280x854" "800x600@56" "640x480@60"
EndSubSection
EndSection

When in there the "@60" specifies at what refresh rate you want that paticular resolution to be at.

You want to get rid of those frequency indicators, I have no idea why somebody would want that. Let X calculate out the frequencies and it'll just give you the highest refresh your monitor can support, which being a LCD is 60.

Section "Monitor"
identifier "Generic Monitor"
modelname "Custom 1"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1152x768@54" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
modeline "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
gamma 1.0
EndSection

Those things suck. It's the old fasion way of indicating monitors. When you specify the vertical sync and horizontal refresh rate X will just calculate automaticly all that modeline crap and pick the fastest refresh rates.. which is what you want.



I think what is happenning is that with the frequency specified and with the horizontal and vertical sync set then X has no choice but to try to match up.. when it can't find any matches then it just fails.


I found this page:
http://support.dell.com/support/edocs/monitors/r83546/EN/about.htm

So it looks like the modelines that were selected for your monitor were simply incorrect, except for one which was the 1024x768 one.


Section "Monitor"
identifier "Generic Monitor"
modelname "Custom 1"
HorizSync 30-81
VertRefresh 56-76
EndSection

That should be correct for your monitor. If you get wavy lines or something try limiting the vertrefresh to 60 or maybe 61 or so. LCD's naturally operate at 60mhz.

And get rid of the @60 (and the stupid virtual desktop size) stuff as follows.
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
depth 24
modes "1280x854" "1024x768" "1152x768" "800x600" "640x480"
EndSubSection
EndSection




IF that doesn't work.. Then I don't know.

Modelines is something I never figured out how to work and I never had to before except when I first started using Linux and it realy realy realy sucked. I don't know why people do it nowadays other then them wanting to control the


And if you want to give up editing it then maybe try the nvidia settings program.
sudo apt-get install nvidia-settings
if you haven't already.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Oh, and the Gnome stuff may fight you a bit. If it starts up fine but only at 1024x768 then go in and select the higher resolution from the gnome stuff.

 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
So do you think the drivers are actually installed, it just isn't recognizing them or something because changing the resolution with generic drivers will only change the resolution, not give me hardware acceleration or anything.

Btw, thank you so much for the help, i really really appreciate it.

-Kevin
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
So do you think the drivers are actually installed,

That's easy to find out:

(II) NVIDIA X Driver 1.0-8762 Mon May 15 14:01:11 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 05:00:0
(--) Chipset NVIDIA GPU found

So the X portion is there and I don't think that would work without the kernel portion so the drivers should all be there. If you want to verify the kernel portion you can run 'lsmod | grep nvidia' and if so the kernel portion is there and loaded already. If it's not you can run 'modprobe -l | grep nvidia' and see if nvidia.ko is in the list, if so the module is on disk but just not loaded.
 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
Alright I modified the xorg.conf and will reboot momentarily.

As for the 'lsmod|grep' and stuff, yeah the driver is installed. And it looks to me like it is enabled. I just, and perhaps you guys have already said this" dont understand why it isn't enabling the other resolutions, enabling OGL acceleration, giving me the NV Control panel, and what not. For instance, I dont understand why my xorg.conf wasn't updated by the drivers with my video card information and all that. Could these drivers be too old for the 7900GT?

-Kevin
 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
Alright it worked. I have those better resolutions and stuff. And i guess the driver is initialized, but can someone tell me why I had to do all this. Why didn't the driver initialize correctly and modify the xorg.conf? Also how do i get some of the Nvidia settings controls and stuff on the computer?

-Kevin
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Drivers don't modify xorg.conf, they don't do anything but drive they hardware like they should. The package from Ubuntu/Debian might try to and I know the nVidia script tries, but I don't trust them to do it properly anyway.

There should be a nvidia-settings command, if not install the nvidia-settings package.
 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
Originally posted by: Nothinman
Drivers don't modify xorg.conf, they don't do anything but drive they hardware like they should. The package from Ubuntu/Debian might try to and I know the nVidia script tries, but I don't trust them to do it properly anyway.

There should be a nvidia-settings command, if not install the nvidia-settings package.

Ok so everything is working 100% now?

Also, when i try to do the apt-get install nvidia-settings it wants to remove nvidia-glx...should i agree to that or not?

Thanks for all the help guys,
-Kevin
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: Gamingphreek
Originally posted by: Nothinman
Drivers don't modify xorg.conf, they don't do anything but drive they hardware like they should. The package from Ubuntu/Debian might try to and I know the nVidia script tries, but I don't trust them to do it properly anyway.

There should be a nvidia-settings command, if not install the nvidia-settings package.

Ok so everything is working 100% now?

Also, when i try to do the apt-get install nvidia-settings it wants to remove nvidia-glx...should i agree to that or not?

Nope. Nvidia-glx is more important. Don't know why they conflict. (not a ubuntu user)



Thanks for all the help guys,
-Kevin

Sure. Your welcome.

Editing the xorg.conf file is a hassle sometimes. This sort of thing still goes on because X.org developers can't make real drivers for these cards becuase of Nvidia/ATI's attitude towards open source (for a veriaty of reasons) and that X is still more then a bit old fasioned.

Most of the time all you have to do is edit in the right hor/vertsync values and your set. But as you can tell it's something that a new user can be easily confused about since it's all new to them.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Ok so everything is working 100% now?

You tell us =)

Also, when i try to do the apt-get install nvidia-settings it wants to remove nvidia-glx...should i agree to that or not?

If you do that X will break again, or at least 3D I'm not sure if 2D will work. And it shouldn't do that because nvidia-glx is only a recommandation and nvidia-glx doesn't depend on or conflict with any version of nvidia-settings.

Post the full output of 'apt-get install nvidia-settings' and 'aptitude install nvidia-settings'.
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
nvidia-settings does conflict with nvidia-glx package despite nvidia-settings's recommendation of nvidia-glx (that's just the way it is with Ubuntu). I don't know why, but I believe nvidia-settings substitutes for it and that's the only package you need. If that's the case:

Go in Synaptic, double click nvidia-settings, let it do what it wants, and click apply. Then restart gdm:

<Ctrl+Alt+F2> (virtual terminal)
sudo /etc/init.d/gdm restart

And you should be back at your desktop with 3D acceleration. The xorg.conf file should remain intact throughout these installations. If you have problems, just stop gdm, install nvidia-glx again (with apt-get), and start gdm.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
nvidia-settings does conflict with nvidia-glx package despite nvidia-settings's recommendation of nvidia-glx (that's just the way it is with Ubuntu). I don't know why, but I believe nvidia-settings substitutes for it and that's the only package you need. If that's the case:

Not according to packages.ubuntu.com.

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Well that makes no sense since I know that it works fine, I use it on my laptop occasionally.
 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
I have 1280x1024 and everything

What I meant by work, do I have full 3D acceleration full driver support and what not. I would think that I do with everything we have looked at so far.

I think a lot of these problems are to be attributed to the 64bit version of Ubuntu. Because I also can't get Wine because there is only a 32bit version. Ah well, do you know if I can install Windows XP on the D:? If so I can just install it on the D: and if I have a need to play any game I can just boot into Windows. Also since Linux can format that partition as FAT32, I can install Windows and just convert it to NTFS later so my disc should work.

I do however absolutely love the Kubuntu interface. Everything looks so clean and streamlined. Im going to install some packages now and try to learn some stuff .

-Kevin
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
What I meant by work, do I have full 3D acceleration full driver support and what not. I would think that I do with everything we have looked at so far.

Do the 3D screensavers run at reasonable rates? If not that would be a good indication that you don't have any accelleration. Also if you run 'glxinfo | grep direct' it should say Yes if you have 3D accel enabled.
 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
Well it says I do so it looks like a success thanks to all of you guys help.

Im actually looking for the package that makes the desktop 3D or something like that. Do you know what I am talking about?

-Kevin
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
XGL or AIGLX? I wouldn't bother with those just yet, they're still pretty beta AFAIK.
 

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
Originally posted by: Nothinman
XGL or AIGLX? I wouldn't bother with those just yet, they're still pretty beta AFAIK.

Yeah i just found out just how beta XGL is lol. It hosed my X server so I had to modify the xorg.conf manually and then reinstall the Nvidia-glx drivers.

I just did all that without help . Im learning !!

But one quick question, when I have to go to the console and type startx it defaults to the gnome interface. How do i tell it to load the KDE interface or how do i get it to load KDE when I type "startx"

-Kevin
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |