Need help with Nvidia drivers please

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Need help with Nvidia drivers please

Postby daveOS on Sun Aug 24, 2008 4:37 am

After running EnvyNG, which successfully updated my Nvidia drivers for my 8800GT, I attempted to play Team Fortress 2.

The graphics were choppy and unplayable.

I then checked Hardware Drivers, where it displayed that I was not using proprietary drivers for my Nvidia card. I am certain I had selected this upon my initial
Mint installation, and figured perhaps it had been deselected since my EnvyNG update.

I selected the check box to allow the propriety driver to operate, then reset the system.

After an abnormally long boot up, I encountered a display error, forcing my system to drop down to 800x600 resolution. After resetting the system with no improvement, I eventually fixed this problem by re-running EnvyNG.

I now have returned to my native 1280 x 1024 resolution, however my initial problem of not being able to play TF2 (or even bejeweled in high graphics mode) remains.

I have seen people succesfully playing these games.. what am I doing wrong ?

Thankyou for your time :)

Oh yes, and now every time I reboot the system, the login screen is in an incorrect resolution. Its only after I login that it readjusts itself.
User avatar
daveOS
Level 1
Level 1
 
Posts: 8
Joined: Sat Aug 23, 2008 12:41 am
Location: Port Kennedy WA, Australia

Linux Mint is funded by ads and donations.
 

Re: Need help with Nvidia drivers please

Postby Husse on Sun Aug 24, 2008 4:39 pm

You have to find out if your card really is using the proprietary driver
Code: Select all
lsmod | grep nvidia

You should get two hits (probably)
One with nvidia alone and one or two depending on nvidia - nvidia is shown to the right
If you don't fine nvidia here time to check your xorg.conf
Code: Select all
gksu gedit /etc/X11/xorg.conf

You're ready to edit
With one monitor there should be just one Section Device looking like this
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

There might be some options - leave them as is
The only other options for Driver are "nv" or "vesa" - if so take a note of which it is and change to nvidia
If you did not find nvidia in lsmod but find it here time to call for more help
(lsmod lists all loaded kernel modules - roughly the same as drivers)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Need help with Nvidia drivers please

Postby daveOS on Mon Aug 25, 2008 12:55 am

Thank you for your help Husse, as a Linux newby it's very helpful to have such concise explanations :)

lsmod | grep nvidia resulted in:

nvidia 7106084 34
agpgart 34760 1 nvidia
i2c_core 24832 2 nvidia,i2c_nforce2

gksu gedit /etc/X11/xorg.conf resulted in:

Section "Device"
Identifier "Configured Video Device"
Boardname "vesa"
Busid "PCI:3:0:0"
Driver "nvidia"
Screen 0
EndSection

By all logical appearance, everything is working fine. I'm confused...

This is only a small problem, games certainly aren't a critical operational requirement.. it would just be the icing on the very lovely cake that is Mint :D
User avatar
daveOS
Level 1
Level 1
 
Posts: 8
Joined: Sat Aug 23, 2008 12:41 am
Location: Port Kennedy WA, Australia

Re: Need help with Nvidia drivers please

Postby Husse on Mon Aug 25, 2008 5:30 am

Something obviously has been wrong
Delete the line
Boardname "vesa"
It indicates that at some time X has not been able to identify your card. It used to explicitly state the model, but now (with Elyssa) it just says Identifier "Configured Video Device" (before it should have said something like gforce 8800)
I guess you have a nforce motherboard - am I right?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Need help with Nvidia drivers please

Postby daveOS on Mon Aug 25, 2008 6:43 am

I deleted the line
Boardname "vesa" and rebooted, the same problems rename.

I also re-ran EnvyNG, no change.

In summary at the moment:

When I boot up, every screen appears normal, until I get to the login screen. This screen is ultra low resolution (I cant even see what Im typing for username/password)

Once I login, everything returns to normal and I can enjoy Mint, except I cant play games due to ultra low quality performance.

In "Hardware Drivers" my driver is listed as "Not In Use".

I never used to encounter the login graphics resolution error; that only happened after playing with the Nvidia drivers.

Finally, here is what my xorg.conf currently looks like..

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
SubSection "Display"
Depth 24
Virtual 1792 1344
Modes "800x600@72" "800x600@75" "800x600@56" "800x600@60" "640x480@75" "832x624@75" "640x480@72" "1024x768@75" "640x480@60" "1024x768@70" "1024x768@60" "1152x864@75" "1280x1024@75" "1280x960@60" "1280x1024@60" "1280x960@75" "1400x1050@60" "1400x1050@75" "1600x1200@65" "1600x1200@60" "1792x1344@60"
EndSubSection
Option "AddARGBGLXVisuals" "True"
Defaultdepth 24
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Emulate3Buttons" "true"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
EndSection

Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
Gamma 1.0
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection


Thanks again for your help. In this case should I just cut my losses and reinstall Mint ? I will not solve my games problem, but at least the Login error will be fixed ? :?:
User avatar
daveOS
Level 1
Level 1
 
Posts: 8
Joined: Sat Aug 23, 2008 12:41 am
Location: Port Kennedy WA, Australia

Re: Need help with Nvidia drivers please

Postby Husse on Mon Aug 25, 2008 10:23 am

Before you reinstall one last try
Copy xorg.conf
Code: Select all
sudo cp /etc/X11/xorg.conf  /etc/X11/xorg.conf-bak

Remove the modes and modelines
Add
Code: Select all
Option      "DynamicTwinView"   "False"

to Section "Device" (last in the section)
Change your vertical refresh to 60 or 75 if your LCD monitor handles 75
Oddly nvidia cards don't get more than some 50 Hz without that
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Need help with Nvidia drivers please

Postby daveOS on Tue Aug 26, 2008 7:46 am

Thanks for your suggestions, Husse.

I had mixed results changing xorg.conf.

Adding Option "DynamicTwinView" "False" and removing the modelines resulted in my login screen being slightly better. The resolution is still incorrect,
however now I can see the login / password box (although it is located at the very bottom right of the screen.) Otherwise there was no change in normal performance.

Removing "modes" resulted in my system reverting to low resolutions. Thankfully replacing xorg.conf with xorg.conf-bak immediately fixed this problem.

So all up, a slight improvement.
User avatar
daveOS
Level 1
Level 1
 
Posts: 8
Joined: Sat Aug 23, 2008 12:41 am
Location: Port Kennedy WA, Australia

Re: Need help with Nvidia drivers please

Postby Husse on Wed Aug 27, 2008 5:55 am

Apart from adding the twin view option in the xorg.conf with modelines I'm out of suggestions
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Need help with Nvidia drivers please

Postby daveOS on Thu Aug 28, 2008 2:41 am

I now see why I'm having so many problems.

Xserver identifies my monitor as CRT, not LCD.

I ran sudo dpkg-reconfigure -phigh xserver-xorg , which fixed my problem with having an incorrect login screen resolution (it looks great again now!)

However, try as I might, I am unable to convince Lint that I am using an LCD monitor. No wonder everything is looking wrong.

Any suggestions other than buying a new monitor, lol ? :)
User avatar
daveOS
Level 1
Level 1
 
Posts: 8
Joined: Sat Aug 23, 2008 12:41 am
Location: Port Kennedy WA, Australia

Re: Need help with Nvidia drivers please

Postby Husse on Thu Aug 28, 2008 6:54 am

Aha
Where do you find the identification - it's not obvious from xorg.conf
Try to change plug and play with the name of your monitor - lots of monitors are recognized by name
What monitor is it?
Some vendors have the same or very similar names for their different monitors so it may be wrongly identified...
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Need help with Nvidia drivers please

Postby daveOS on Thu Aug 28, 2008 8:43 am

Xserver lists my LCD HPvs17 monitor as HPvs17(CRT-0 on GPU-0)

No matter how I modify xorg.conf, Xserver always identifies my monitor the same.

Could the "CRT-0" just be a generic name, and not actually signify that it considers my monitor to be a CRT ?

If so, then there is no more problems, and the case is solved :)
User avatar
daveOS
Level 1
Level 1
 
Posts: 8
Joined: Sat Aug 23, 2008 12:41 am
Location: Port Kennedy WA, Australia

Re: Need help with Nvidia drivers please

Postby Husse on Fri Aug 29, 2008 7:46 am

It could be a generic name, even if it seems odd
But if everything works ok now "forget about it"
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: JeremyB and 16 guests