A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Video Cards » Nvidia Videocards
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

tnt2 mvp3 agpgart and nvidia linux drivers



 
 
Thread Tools Display Modes
  #1  
Old September 18th 03, 07:58 AM
no-spam
external usenet poster
 
Posts: n/a
Default tnt2 mvp3 agpgart and nvidia linux drivers

Hello.

I am trying to get agpgart.o to work
with the nvidia.o module from

NVIDIA-Linux-x86-1.0-4496-pkg2.run

and a recompiled stock RedHat9 kernel.

It almost works.

Afaict [see below], everything looks ok,
but any window manager I use hangs:
the screen becomes completely unresponsive
at the point where the status line starts
to be painted, at which point expected
status line objects such as the digital t.o.d.
show up as black rectangles. (I have to issue

shutdown -r +3

as root before issuing startx as user
to prevent having to reset.)

I should point out that
everything works fine if NvAGP=1.

Can anyone suggest anything I might be able
to do to get agpgart.o to work with nvidia.o?

Thank you.


************************************************** *
Details:

~/.xinitrc
~~~~~~~~~~
echo entered .xinitrc ./barf
echo "-----------------------------------------" ./barf
/sbin/lsmod ./barf
echo "-----------------------------------------" ./barf
find /proc/driver/nvidia -type f -print -exec cat {} \; ./barf
echo "-----------------------------------------" ./barf
#exec icewm (hangs if I uncomment this line)

barf (emphasis added)
~~~~~~~~~~~~~~~~~~~~~
entered .xinitrc
-----------------------------------------
/sbin/lsmod
~~~~~~~~~~~
Module Size Used by Tainted: P
agpgart 17616 3 (autoclean)
nvidia 1765056 11 (autoclean)
parport_pc 17508 1 (autoclean)
lp 8580 0 (autoclean)
parport 33952 1 (autoclean) [parport_pc lp]
autofs 12148 0 (autoclean) (unused)
ext3 64704 1
jbd 47860 1 [ext3]
ncr53c8xx 58092 0
sd_mod 13004 0
scsi_mod 102968 2 [ncr53c8xx sd_mod]
-----------------------------------------

/proc/driver/nvidia/version
~~~~~~~~~~~~~~~~~~~~~~~~~~~
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul
16 19:03:09 PDT 2003
GCC version: gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

/proc/driver/nvidia/agp/host-bridge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Host Bridge: VIA Technologies, Inc. VT82C597 [Apollo VP3]
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 2x 1x
Registers: 0x07000203:0x00000102

/proc/driver/nvidia/agp/card
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fast Writes: Not Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000007:0x07000102

/proc/driver/nvidia/agp/status
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Status: Enabled
Driver: AGPGART
AGP Rate: 2x
Fast Writes: Disabled
SBA: Disabled

/proc/driver/nvidia/cards/0
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Model: RIVA TNT2 Model 64/Model 64 Pro
IRQ: 5
Video BIOS: 02.05.13.00.00
Card Type: AGP

**********************************************


/var/log/messages
~~~~~~~~~~~~~~~~~
Sep 16 19:21:37 localhost kernel: 0: nvidia: loading NVIDIA Linux x86
nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003
Sep 16 19:21:37 localhost insmod: Warning: loading
/lib/modules/2.4.20-20.9custom/kernel/drivers/video/nvidia.o will taint
the kernel: non-GPL license - NVIDIA
Sep 16 19:21:37 localhost insmod: See
http://www.tux.org/lkml/#export-tainted for information about tainted
modules
Sep 16 19:21:37 localhost insmod: Module nvidia loaded, with warnings
Sep 16 19:21:38 localhost kernel: Linux agpgart interface v0.99 (c) Jeff
Hartmann
Sep 16 19:21:38 localhost kernel: agpgart: Maximum main memory to use
for agp memory: 149M
Sep 16 19:21:38 localhost kernel: agpgart: Detected Via MVP3 chipset
Sep 16 19:21:38 localhost kernel: agpgart: AGP aperture is 16M @ 0xe4000000

********************************


diff XFree86.0.log XFree86.0.log.old
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16c16
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 16 19:23:12 2003
---
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 16 19:22:49 2003

287,288c287,288
(**) NVIDIA(0): Option "NvAGP" "2"
(**) NVIDIA(0): Use of AGPGART requested
---
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Use of NVIDIA internal AGP requested

450c450
(II) NVIDIA(0): AGP 2X successfully initialized
---
(WW) NVIDIA(0): Failed to verify AGP usage (see list of support

chipsets below)

************************************************** *


/etc/X11/XF86Config
~~~~~~~~~~~~~~~~~~~
# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
Load "glx"
# Load "record" # X event recorder
# do not load following 2 modules if xfs is being used:
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
# Modified by mouseconfig
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "ADI"
ModelName "microscan3E"
# HorizSync 30.0-50.0
HorizSync 31.5-48.9
# VertRefresh 50.0-100.0
VertRefresh 56-87
EndSection

Section "Device"
# no known options
Identifier "RIVA TNT2"
Driver "nvidia"
VendorName "RIVA TNT2"
BoardName "RIVA TNT2"
VideoRam 32768
#BusID
Option "backingstore" "on"
# "NvAgp" "2" ... use AGPGART, if possible
Option "NvAgp" "2"
EndSection

Section "Screen"

Identifier "Screen0"
Device "RIVA TNT2"
Monitor "Monitor0"
DefaultDepth 16

Subsection "Display"
Depth 24
Modes "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection

EndSection

**********************************************


NVIDIA Accelerated Linux Driver Set README & Installation Guide

Last Updated: $Date: 2003/07/16 $
Most Recent Driver: 1.0-4496
__________________________________________________ ________________________

(app-f) APPENDIX F: CONFIGURING AGP
__________________________________________________ ________________________

There are several choices for configuring the NVIDIA kernel module's
use of AGP: you can choose to either use NVIDIA's AGP module (NVAGP),
or the AGP module that comes with the linux kernel (AGPGART). This is
controlled through the "NvAGP" option in your XF86Config file:

Option "NvAgp" "0" ... disables AGP support
Option "NvAgp" "1" ... use NVAGP, if possible
Option "NvAgp" "2" ... use AGPGART, if possible
Option "NvAGP" "3" ... try AGPGART; if that fails, try NVAGP

NVIDIA AGP support cannot be used if AGPGART is [compiled into] the kernel.

The following AGP chipsets are supported by NVIDIA's AGP; for all other
chipsets it's recommended that you use the AGPGART module.

o VIA 8371
o VIA 82C694X
o VIA KT133
o VIA KT266

[i.e., VIA MVP3/VP3 not listed]

************************************************** ******

$ uname -sr
Linux 2.4.20-20.9custom

************************************************** ******
The End

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright 2004-2022 HardwareBanter.
The comments are property of their posters.