LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-24-2005, 03:47 PM   #1
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
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:

Code:
/sbin/lspci
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 2.6.12.3, 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 libnvidia-tls.so.1 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/libnvidia-tls.so.1 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, 09:55 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

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, 12:33 PM   #3
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
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):
Code:
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/"
EndSection


Section "ServerFlags"
        Option "VTSysReq"
EndSection


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


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


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


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


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"
EndSection


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


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

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


Section "ServerLayout"
        Identifier      "Simple Layout"
        Screen "Screen 1"
        InputDevice "Logitech OEM" "CorePointer"
        InputDevice "Samsung SDK3500" "CoreKeyboard"
EndSection
 
Old 09-26-2005, 12:45 AM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

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
nvidia
amd64-agp
emu10k1-gp

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
 
  


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


All times are GMT -5. The time now is 06:26 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 Google+: linuxquestions
Open Source Consulting | Domain Registration