nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   problem activating agp / nvagp (http://www.nvnews.net/vbulletin/showthread.php?t=20768)

TrueLenny 11-09-03 05:39 PM

problem activating agp / nvagp
 
Hi,

I've read (and printed out :-) )the whole Readme file,
but still I cannot activate the agp support for XFree86.

To sum-up the question : where may I find / compile the "NVAGP" module ??
nvagp.o or anything of the like does exist.

Now some details :
I'm using a 4MX AGP 8x card, that is not supported by my agpgart.o (kernel 2.4.22, and i won't upgrade to 2.6, not now, please ! not yet)

So I compiled it with agp support set to "NO".
Since then, allright, no more message in /var/log/messages telling me
"NVRAM : AGPGAR blah blah unresolved symbols"

I installed/compiled nvidia drivers with the latests NVIDIA-...-.pkg2.run. The nvidia.o works fine.

Still, when I look at /proc/driver/nvidia/agp/status :
Status: Disabled

I did not forget to put Option "NvAgp" "1" in
the XF86Config file.

Still, i do not know how/where to find that nvagp module !

Thanks for any advice !

TrueLenny 11-11-03 12:57 PM

Found out something great !

Do not ask me why, but 'MTRR' option was deactivated in my kernel.
As i read about it, it is used ina way by VGA cards adressing methods.

now ... :
tadaam :

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

Hope it mlay help womeone out there

ByteWarrior 11-23-03 01:24 PM

Could someone please explain how I can activate MTRR in the kernel? I have the exact same problem with AGPGART as TrueLenny.

When I do a
'cat /proc/driver/nvidia/agp/status' I get
'Status: Disabled'.

ribx 12-08-03 02:10 PM

just to let you know: there are more people having problems with agp..

i have mtrr and agpgart enabled for my via kt266 chip set
this does not support agp8x which does my gf4mx440 (nv18). maybe i have to update my bios.. i dont know what to do now.

i have also tried to use nvag without any success

root@gentoo robin # cat /proc/driver/nvidia/agp/status
Status: Disabled

root@gentoo robin # cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000000

root@gentoo robin # cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000000

TheOneKEA 12-08-03 03:57 PM

Attention
 
Everyone with issues: Post a copy of either /var/log/dmesg or the output of the dmesg command.

Moled 12-08-03 05:03 PM

dmesg|grep agp

that would be better^

Code:

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i875 Chipset.
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 256M @ 0xd0000000
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode

status:
Code:

Status:          Enabled
Driver:          AGPGART
AGP Rate:        8x
Fast Writes:    Enabled
SBA:            Enabled

card:
Code:

Fast Writes:    Supported
SBA:            Supported
AGP Rates:      8x 4x
Registers:      0x1f000e1b:0x1f004312

host-bridge:
Code:

Host Bridge:    PCI device 8086:2578 (Intel Corp.)
Fast Writes:    Supported
SBA:            Supported
AGP Rates:      8x 4x
Registers:      0x1f004a1b:0x00000b12


LordMorgul 12-08-03 10:14 PM

Quote:

Originally posted by ByteWarrior
Could someone please explain how I can activate MTRR in the kernel? I have the exact same problem with AGPGART as TrueLenny.

When I do a
'cat /proc/driver/nvidia/agp/status' I get
'Status: Disabled'.

MTRR support must be compiled into the kernel, its either on or off at compile time. See the kernel documentation (or the option in kernel config).

otan 12-09-03 12:42 PM

It depends on the linux distribution.
You may have a look at /usr/src/linux for a file called
.config . Use the a editor and search for MTRR.
If you have something like MTRR=y, then MTRR is compiled
into the kernel. If MTRR=n then it is not compiled into the kernel.
or MTRR=m is compiled as module.I am not sure if a module
is a good option for MTRR. I think the best think is to have it compiled
into your kernel.
The other place where you can find the config may be in
/boot/config_bla_bla. . Don't forget to install your kernel sources,
if you want to recompile your kernel. .

for recompilation you go into your kernel source directory.
type following commands:
make oldconfig // this creates a .config file with should be identical to your
installed kernel config file.
make dep // this creates your dependecies
make clean // this cleans old object files needed for compilation
make bzImage // this compiles a new kernel
make modules // this recompiles all the modules
make modules_install // this installs all the modules

* these commands may be different based on your distro.
No Garranties.

copy the new kernel into your /boot/ directory
this is a very brief description to put you on the right path.
It is not complete in any way, that's why
consult your manuals, before starting to recompile your kernel.
You can damage your Operating System and may loose all
your Data. So make backup of all your data, you don't want
to loose.


*I do not take any responsibility for any damage caused
by this email. That's why check out the kernel how to's and your
manuals in more detail.
cheers
otan

ribx 12-22-03 07:49 AM

still disabled...

i cant get agp work, neither with agpgart nor with nvagp! in the nvidia.readme is written that my via kt266 chipset is supported by nvagp, but the status of apg is always disabled.
i tried diffrent nvagp options in my XF86Config without any success.

mtrr and agpgart is compilied with my latest kernel, (2.4.22 from kernel.org) while agpgart is compiled as a module.

root@gentoo robin # cat /proc/driver/nvidia/agp/status
Status: Disabled

root@gentoo robin # dmesg | grep agp
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro KT266 chipset
agpgart: AGP aperture is 256M @ 0xc0000000

root@gentoo robin # dmesg | grep mtrr
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel

root@gentoo robin # lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 18)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 18)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)

sorry for the long post

i want to play wc3 which was emulated with wine by me successfully. the emulation needs alot of perfomance and my system is not the newest :(

i realy hope someone can help my

celicagt4 12-26-03 05:37 PM

Quote:

Originally posted by ByteWarrior
Could someone please explain how I can activate MTRR in the kernel? I have the exact same problem with AGPGART as TrueLenny.

When I do a
'cat /proc/driver/nvidia/agp/status' I get
'Status: Disabled'.

Don't fight to have status enabled, if you need this just flash the bios of your motherboard. but the card will not work again.

just add this in your "device" section (XFConfig-4):

Option "NvAgp" "0"

and you will see the nvidia logo ;-)

let us know if this work !


All times are GMT -5. The time now is 07:10 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.