Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-24-2005, 02:47 PM   #1
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
GeForce FX5200 & VIA Vt8377 - soft lockups with any agp driver

I've noticed with my hardware that I get soft lockups (everything frozen except mouse, xmms finishes the currently playing song) and the occasional hard lockup (everything frozen, music stuck on last tone) with either agpgart or the nVidia agp driver.

I had previously thought that the nVidia agp driver was working fine, but on investigation I determined that it was never really loading (agpgart was a loaded module, so nVidia agp wasn't loading, and since I had specified Option "NvAgp" "1" in the Device section it also wasn't using the loaded agpgart module) according to /dev/proc/drivers/nvidia/agp/status. I had assumed that it would automatically unload agpgart to load nv-agp, but I guess not.

Anyway, with or without an AGP driver in use glxgears runs about the same (approx 1100fps). Does it not take any advantage of AGP when it's active? I haven't noticed any other real difference between an agp driver loaded or not aside from the lockups :P

Here are some details about my system:

00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
Slackware 12.2 (updated from 12.1), Kernel, nVidia driver 7676

Another thing I've noticed is that prior to the last couple days of experimentation the nVidia drivers were installing fine from the .run file, but now I get an error that was found in /usr/lib when apparently it shouldn't be, but it's the installer that's putting it there (unless there's some other new mechanism at work). I've been installing with make install after extracting from the installer (which ironically doesn't create the /usr/lib/tls/ symlink).

I've found that scrolling windows are occasionally responsible for hard lockups, and the xscreensaver hack euler2d (regular or dense) is almost guaranteed to lock up soft or hard withing 5 minutes of running. When it locks hard, there's usually a horizontal line of garbage somewhere on the screen (not across the whole width though).

I've tried playing with the AGP drive strength with no success. I haven't tried forcing down to 4x or 2x to see if that works. Does anyone have any advice on how I can get it to work optimally?
Old 09-25-2005, 08:55 AM   #2
LQ Guru
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
for a start you can check

/var/log/Xorg...log or its xf86 cousin and
/home/yourname/.xsession-errors and
I forget but nvidia is supposed to have an install log somewhere but check your /etc/X11/xorg.conf or xf86 cousin file to see your computer is truly running nvidia driver and not nv
Old 09-25-2005, 11:33 AM   #3
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Original Poster
Rep: Reputation: 43
With nv OpenGL doesn't work, so it's certainly using nvidia (verified by /var/log/Xorg.0.log (which by the way doesn't give any errors after a lockup). I don't think nv can even take advantage of AGP.

I don't have an .xsession-errors file. The only thing in .xsession is setting an environment variable. I don't think that .xsession is used by default on Slackware.

Here's my xorg.conf just for good measure (currently with AGP disabled):
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    ModulePath  "/usr/X11R6/lib/modules"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

Section "ServerFlags"
        Option "VTSysReq"

Section "Module"
        Load    "dbe"   # Double buffer extension
        SubSection "extmod"
                Option  "omit XFree86-DGA"   # don't initialise the DGA extension
        Load    "type1"
        Load    "speedo"
        Load    "freetype"
#       Load    "xtt"
        Load    "glx" # GL extension

Section "InputDevice"
        Identifier      "Samsung SDK3500"
        Driver  "kbd"
        Option  "AutoRepeat" "500 30"
#       Option  "LeftAlt" "Meta"
#       Option  "RightAlt" "ModeShift"
        Option  "XkbRules" "xorg"
        Option  "XkbModel" "pc104"

Section "InputDevice"
        Identifier      "Logitech OEM"
        Driver  "mouse"
        Option  "Protocol"     "Auto"
        Option  "Device"           "/dev/psaux"
        Option  "Buttons"         "5"
        Option  "ZAxisMapping" "4 5"
        Option  "ChordMiddle"

Section "Device" # falback?
        Identifier      "Standard VGA"
        VendorName      "Unknown"
        BoardName       "Unknown"
        Driver          "vga"

Section "Device"
        Identifier      "NVIDIA GeForce"
        Driver          "nvidia"
        VendorName      "NVidia Corporation"
        BoardName       "GeForce FX 5200"
        BusID           "PCI:1:0:0"
#       Option          "NoRenderAccel"
        Option          "NvAgp" "0"
        Option          "CursorShadow"
        Option          "CursorShadowAlpha" "32"

Section "Monitor"
        Identifier      "Compaq P910"
        VendorName      "Compaq"
        ModelName       "P910"
        HorizSync       30-108
        VertRefresh     50-140
        DisplaySize     364 273
        Option          "DPMS"

Section "Screen"
        Identifier      "Screen 1"
        Device          "NVIDIA GeForce"
        Monitor         "Compaq P910"
        DefaultDepth    24

        Subsection "Display"
                Depth   8
                Modes   "1152x864" "800x600" "640x480"
                ViewPort        0 0
        Subsection "Display"
                Depth   16
                Modes   "1152x864" "800x600" "640x480"
                ViewPort        0 0
        Subsection "Display"
                Depth   24
                Modes   "1792x1344" "1280x960" "800x600" #"1920x1440"
                ViewPort        0 0

Section "ServerLayout"
        Identifier      "Simple Layout"
        Screen "Screen 1"
        InputDevice "Logitech OEM" "CorePointer"
        InputDevice "Samsung SDK3500" "CoreKeyboard"
Old 09-25-2005, 11:45 PM   #4
LQ Guru
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
right forgot to mention you can do a
lsmod .......command to see what is loading and now I think about it......there was an issue with mdk and the /etc/modprobe.preload
so I removed everything except these 3 lines

ignoring my sound.....for the emu line see if deleting stuff if slack has a preload file or a modprobe conf that is loading stuff that is NOT allowing agp to act for you please


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
Nvidia GeForce FX5200 Xserver not starting pinkyponky Linux - Hardware 3 03-17-2005 05:20 PM
geforce fx5200 in suse 9.2 personal Trollop Linux - Newbie 2 02-08-2005 12:38 PM
installing GeForce Fx5200 driver zexter Linux - Hardware 2 11-06-2004 12:00 AM
RADEON 9200 vs GeForce FX5200 bleachie Linux - Hardware 5 03-04-2004 07:23 PM
nVidia geforce fx5200 128 ddr 8x agp video card mcslinux Linux - Hardware 1 11-04-2003 11:26 AM

All times are GMT -5. The time now is 05:01 PM.

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