LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2004, 03:17 PM   #1
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Rep: Reputation: 0
X freezes with GeforceFX and Debian bf2.4


Hi,

I'm having some problems getting X set up and working. Like the title said, I'm using a NVidia GeForceFX 5700 video card, and I have Debian woody, with kernel 2.4. I finally managed to get the drivers installed using Nvidia's installer from their website, and I've followed all the instructions that wee given in the readme, but X keeps crashing when I run startx, xinit, or xdm. By crashing I mean that it freezes up, and usually shows some random colors and squares on the screen. The only way to get out of it is by pressing reset on the front of my computer. I know I downloaded the right header files for my kernel, and the driver compilied without any errors. The only thing that seems strange to me is that the module it compiled is not loaded when I reboot, I have to manually do it with modprobe or insmod. Also, if it makes any difference, when I load the module it says something about my system being tainted, and that the module doesn't use the GPL. The only thing I can think of is that it might have something to do with my AGP, but I currently have another install that runs X just fine, using the same driver, except with kernel 2.2. Does anyone have any clue why this is not working? If anyone needs it I'll post my XF86Config and log file. Thanks for your help.
 
Old 02-10-2004, 03:48 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If the module doesn't load untill you modprobe or insmod, have you added
Code:
alias char-major-195 nvidia
to /etc/modules.conf
Check /var/log/syslog for error messages
 
Old 02-10-2004, 04:39 PM   #3
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
The alias line is my modules.conf file, but it's still not loaded, according to lsmod. Syslog doesn't show any errors either, but it does say that the module was loaded. No other log files listed any error with the nvidia driver either, except for a warning in the Xfree86 log. Has anyone else ever had this problem?
 
Old 02-10-2004, 08:08 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
The message about tainting the kernel is normal, the code has not been GPL'd. It would be so much easier if the Nvidia drivers were in the kernel source. But why would it freeze up? With me, if something's not right I just end up back at the command prompt. Lets see your XF86Config. It can't hurt.
 
Old 02-10-2004, 11:34 PM   #5
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
Here's my config file:

Code:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
#       FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
#       Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "pex5"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "xie"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

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

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

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "nvidia"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-68
        VertRefresh     50-85
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Generic Mouse"
EndSection

# Section "DRI"
#       Mode    0666
# EndSection

### END DEBCONF SECTION
 
Old 02-11-2004, 02:37 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I can't see anything wrong with that. What C compiler did you use to compile the Nvidia driver? If I forget to
export CC=/opt/gcc-2.95.3/bin/gcc
before I
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
it complains that I'm not using the same C compiler that the kernel was compiled with. I use gcc-3.3.2 for most things but the kernel. If you downloaded a precompiled kernel it was probably compiled with gcc-2.9.
 
Old 02-11-2004, 04:04 PM   #7
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
I compiled it with gcc 2.95, the same version the kernel was compiled with. It didn't complain about the wrong compiler version, and the log file doesn't show any compile errors. I just reinstalled though, and I'm going to try again from scratch, though this is the 4th time I've done that.
 
Old 02-11-2004, 05:45 PM   #8
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
Well, reinstalling AGAIN didn't work, so I'm not sure what I can still do. Does anyone here have a working system with a recent NVidia GeForceFX card, and a Debian woody bf2.4 kernel? I'm really starting to think that it's just my kernel version. Would it be better to get a 2.6 kernel and try with that? I'm pretty much out of options, it's either stick with 2.2, go with 2.6 or reinstall 2.4.
 
  


Reply


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
Debian 2.4.18-bf2.4 and Oidentd problem CP-Geek Debian 1 06-13-2005 10:15 AM
HELP!! Install ATI Mobility RADEON 9000 driver on Debian Kernel 2.4.18-bf2.4?? herbu Linux - Laptop and Netbook 3 11-21-2004 04:37 AM
Debian printer Epson Stylus color 480 Setup on kernel 2.4.18-bf2.4 silverstormboy Debian 3 07-17-2004 11:49 PM
Debian bf2.4 and nVidia Geforce4 440 MX se question minze Linux - Newbie 1 08-31-2003 08:07 AM
Debian box freezes aliensub Linux - General 0 02-06-2003 06:41 PM


All times are GMT -5. The time now is 11:22 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration