LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-02-2007, 09:07 PM   #1
bocochoco
LQ Newbie
 
Registered: Oct 2007
Posts: 22

Rep: Reputation: 2
nvidia drivers?


I dont know if I've installed them properly... I think that I did though.

Code:
sudo killall gdm
sudo aptitude update && sudo aptitude install nvidia-glx
sudo nvidia-xconfig
that is what I used to install the drivers. They seem to be working fine. However, I can't get my monitor into its native resolution of 1680x1050. I tried changing the xorg.conf file and reloading the X server, but it doesnt work. My xorg.conf is below.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Nov  9 17:55:59 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 51.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation G70 [GeForce 7600 GT]"

    Driver         "nv"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation G70 [GeForce 7600 GT]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection	   "Display"
	Depth       32
	Modes	   "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Any ideas on what I did wrong, or how to make it work properly?

Thanks a lot
 
Old 10-02-2007, 10:26 PM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
You aren't using the "nvidia" driver.
Code:
Section "Device"
    Identifier     "nVidia Corporation G70 [GeForce 7600 GT]"

    Driver         "nv"
EndSection
Also, the resolution you mentioned seems like a bit of an oddball. You may need to use the gtf program to generate a custom mode line.

Example (use the values from entering in the command yourself)
Code:
gtf 1680 1050 60 -x
  # 1680x1050 @ 56.00 Hz (GTF) hsync: 60.70 kHz; pclk: 135.98 MHz
  Modeline "1680x1050_56.00"  135.98  1680 1784 1960 2240  1050 1051 1054 1084  -HSync +Vsync
Change the lines to:
Code:
  # 1680x1050 @ 56.00 Hz (GTF) hsync: 60.70 kHz; pclk: 135.98 MHz
  Modeline "1680x1050_56"  135.98  1680 1784 1960 2240  1050 1051 1054 1084  -HSync +Vsync
And add them to the Monitor section:
Code:
Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 51.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
    # 1680x1050 @ 56.00 Hz (GTF) hsync: 60.70 kHz; pclk: 135.98 MHz
    Modeline "1680x1050_56"  135.98  1680 1784 1960 2240  1050 1051 1054 1084  -HSync +Vsync
EndSection
Then edit your modes:
Code:
Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation G70 [GeForce 7600 GT]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050_56" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050_56" "1024x768" "800x600" "640x480"
    EndSubSection
    ...
The gtf program comes with the X11 installation. Please read the gtf and xorg.conf manpages for more details.
It would also be a good idea to look at your xorg.log. There may be error messages (they start with (EE) ) indicated when the server tries out the 1680x1050 resolution.

Last edited by jschiwal; 10-02-2007 at 10:28 PM.
 
Old 10-02-2007, 10:42 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Despite the fact that the 'Driver' line in the config file still read 'nv' , would one of you two please tell me which driver this procedure actually 'Apt-got'? Did it actually install the real 'nvidia' driver and simply neglect to change the Driver line?
If so, Is this the {best|worst|right|only} way to install the real 'nvidia' driver on Ubuntu?

Thanks.
 
Old 10-03-2007, 02:24 AM   #4
bocochoco
LQ Newbie
 
Registered: Oct 2007
Posts: 22

Original Poster
Rep: Reputation: 2
Actually... it did change the driver to nvidia. Someone, somewhere suggested to change it to nv. What is all that modeline stuffs? And 1680x1050 is a standard 16:10 widescreen resolution. The monitor I have is http://www.sceptre.com/Products/LCD/...x20wg_Naga.htm
 
Old 10-03-2007, 06:34 AM   #5
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
When I installed SuSE 10.0 on my Laptop with a 1280x800 screen, I had to use gtf. Starting with 10.1, my LCD laptop monitor was supported. Try it out first without a custom modeline. If it doesn't work and the xorg.log indicates that that resolution was rejected, then you can try it with a custom modeline.
 
Old 10-03-2007, 07:20 AM   #6
hairysocks
Member
 
Registered: May 2002
Location: Thorverton, Near Exeter, Devon, England
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 98

Rep: Reputation: 16
You haven't mentioned which nvidia card you are using. I have a GForce 2, and I had to use the nvidia-legacy driver rather than the nvidia driver.
 
Old 10-03-2007, 09:00 AM   #7
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Quote:
Originally Posted by bocochoco View Post
Actually... it did change the driver to nvidia. Someone, somewhere suggested to change it to nv. What is all that modeline stuffs? And 1680x1050 is a standard 16:10 widescreen resolution. The monitor I have is http://www.sceptre.com/Products/LCD/...x20wg_Naga.htm
..'Modelines' are pre-calculated resolutions that the X server can/will try to use to drive your monitor.

The Modeline contains all the necessary data for you X server to send a signal to the monitor that the monitor will actually 'like'.

I could be slightly wrong here, but: I *think* they are most useful for creating "weird" resolutions and/or odd aspect ratios.
Personally, Ihave never used a Modeline in any of my configurations. I have always used the 'regular' method of eg., Modes "1024x768" "..blah" ".blah" and let the monitor sort out its own H and V sync/scan rates.
 
Old 10-03-2007, 10:56 AM   #8
bocochoco
LQ Newbie
 
Registered: Oct 2007
Posts: 22

Original Poster
Rep: Reputation: 2
I have two GeForce 7600GT in SLI in my box. WIth the Driver "nv" setting glxgears gives me ~11k fps. I tried adding "1680x1050" to the Modes section under each color depth level but it didn't let me change to it. In the past I got it to work somehow, but this was before it was xorg.conf.. now things seem different. I am most surprised that ubuntu doesn't have some sort of built in thing to let me set the resolution. There is a thing listed under system preferences "Change Screen Resolution" but it only goes up to 1024x768. What is this gtf thingie you are talking about?

Last edited by bocochoco; 10-03-2007 at 10:58 AM.
 
Old 10-03-2007, 11:01 AM   #9
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Quote:
Originally Posted by bocochoco View Post
I have two GeForce 7600GT in SLI in my box....
Tell me something, as I also have an SLI board, though I don't plan to use SLI "mode" but rather two cards separately:

Are you running the two cards in bridged SLI mode under Linux? Or have you NOT got them bridged..?

If bridged, could you post your output of 'lspci' from a root console? I'm curious. Thanks!

And -- you ARE running Ubuntu, yes?
 
Old 10-03-2007, 11:50 AM   #10
bocochoco
LQ Newbie
 
Registered: Oct 2007
Posts: 22

Original Poster
Rep: Reputation: 2
Yes, I am running ubuntu 7.04. The two cards are bridged together and work properly in SLI under windows. I am trying to get it to work this way under linux if possible. I am at work right now, so I will post the output of lspci when I get home tonight.
 
Old 10-03-2007, 11:58 AM   #11
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Ok great, thanks. I am curious because I don't know if/what/how anything exists or implemented for using actual SLI bridged mode with Linux. I just plain don't know.

And, gtf is a tool used to generate modelines for the desired resolution.
 
  


Reply

Tags
bridged, nvidia, sli, ubuntu, xorgconf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between NVIDIA source drivers & KMOD-NVIDIA mrkawphy Fedora 1 01-23-2007 12:51 AM
Nvidia 9746 Drivers - startx freezes machine when using nvidia module Astro Slackware 17 01-21-2007 07:36 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 09:02 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration