LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-25-2007, 08:43 AM   #1
moistTowelette
Member
 
Registered: Sep 2003
Posts: 79

Rep: Reputation: 15
NVIDIA Driver not coming to the party


Hi,

I have a laptop with GeForce 420 GO graphics and am running Debian Lenny. Everything works fine, except for the NVIDIA graphics driver which I downloaded from the NVIDIA website and installed successfully. After installation, everything appears to work properly but 3 tell-tale signs seem to indicate that the driver is not actually working:

1) There is no 'NVIDIA' splash logo when X starts up
2) GLXGears runs slow and clunky
3) Scrolling within websites with a lot of graphics is very slow

I have previously used the same driver on the same machine with Debian Etch and didn't have any of the above issues.

Here is my xorg.conf:

Code:
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"

        # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/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         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "Synaptics Touchpad"
    Driver         "synaptics"
    Option         "SendCoreEvents" "true"
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "HorizScrollDelta" "0"
    Option         "AccelFactor" "0.2"
    Option         "MinSpeed" "0.4"
    Option         "MaxSpeed" "1.5"
    Option         "FingerLow" "5"
    Option         "FingerHigh" "25"
    Option         "TapButton2" "3"
    Option         "TapButton3" "2"
EndSection

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

Section "Device"
    Identifier     "nVidia Corporation NV17 [GeForce4 420 Go 32M]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV17 [GeForce4 420 Go 32M]"
    Monitor        "Generic Monitor"
    Option         "UseDisplayDevice" "DFP"
    DefaultDepth    16
    SubSection     "Display"
        Depth       1
        Modes      "1280x854"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x854"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x854"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x854"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x854"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x854"
    EndSubSection
EndSection
...and here is the relevant output from 'lsmod':

Code:
# lsmod | grep nvidia
nvidia               4712980  22 
i2c_core               23552  3 nvidia,i2c_ali1535,i2c_ali15x3
agpgart                31912  2 nvidia,ali_agp
Anyone know what might be going on?
 
Old 11-25-2007, 09:18 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,299

Rep: Reputation: 65
try adding module GLcore under the module section
 
Old 11-25-2007, 11:01 AM   #3
moistTowelette
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Okay I did a 'dpkg-reconfigure xserver-xorg' and changed the default depth to 24 bit - that gave me the NVIDIA logo when X starts up, but GLXGears still runs horribly slow and there doesn't seem to be any graphics acceleration. After running the reconfigure script, my xorg.conf now looks like this:

Code:
Section "Files"
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"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

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

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "AccelFactor" "0.2"
        Option          "MinSpeed" "0.4"
        Option          "MaxSpeed" "1.5"
        Option          "FingerLow" "5"
        Option          "FingerHigh" "25"
        Option          "TapButton2" "3"
        Option          "TapButton3" "2"
EndSection

Section "Device"
        Identifier      "nVidia Corporation NV17 [GeForce4 420 Go 32M]"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       30-70
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation NV17 [GeForce4 420 Go 32M]"
        Monitor         "Generic Monitor"
        Option          "UseDisplayDevice" "DFP"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1280x854"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection
whansard - When I add 'load glcore' to xorg.conf, I get an error saying that the module cannot be found and after searching for this error there is a concensus that glcore should not be loaded explicitly.

What do I need to get 3d acceleration? Am I missing a different module?
 
Old 11-25-2007, 11:27 AM   #4
moistTowelette
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
[solved]

Here's what I did:

1) Set default depth to 24
2) Remove package 'libgl1-mesa-glx'
3) Reinstall NVIDIA drivers

Now when I type 'glxinfo | grep vendor', I get 3 lines containing NVIDIA rather than 2 lines containing NVIDIA and once containint MESA. More importantly, GLX works brilliantly.
 
  


Reply

Tags
drivers, lenny, nvidia


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Coming soon: automatic Linux driver upgrades LXer Syndicated Linux News 0 09-24-2007 03:50 PM
LXer: Creative X-Fi Linux Driver Coming Soon LXer Syndicated Linux News 0 09-24-2007 04:20 AM
How to create custom install CD with third party driver built in? Arodef Red Hat 3 04-05-2006 06:37 AM
*party* Wikipedia Reaches One Million Articles! *party* peter_89 General 1 03-01-2006 06:33 PM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration