You are not logged in.

#1 2009-03-09 19:09:37

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

[solved] AGP is missing?

Hello all.  I've just installed Arch 2009.02 x86-64 (and updated successfully).  I've stumbled through the guides, forums, and wiki to get X, IceWm, Alsa, and a handfull of other things up and running.

Ran into a problem with 3d acceleration, however.  After some searching and command-line-salad I discovered that AGPGART isn't loaded.
Heh, I can't even -find- agpgart.

snippet:

[eilenbeb@aCore X11]$ lsmod | grep agp
[eilenbeb@aCore X11]$ lsmod | grep ag
snd_page_alloc         11792  2 snd_emu10k1,snd_pcm
[eilenbeb@aCore X11]$ lsmod | grep gart
[eilenbeb@aCore X11]$ modprobe agpgart
FATAL: Module agpgart not found.
[eilenbeb@aCore X11]$

I even ran depmod and tried "modprobe agpgart" again.
I also can't find any reference to AGP under /lib/modules/2.6.28-ARCH.

Sorry to bug the forumers, but I'm coming up empty on this one.
nvidia 7800gs (agp 8x)
nvidia nforce3 250 (not the pro version)
amd athalon64 FX-51
sucessfully installed 'nvidia' and 'nvidia-utils' using pacman.

laters,
b

Last edited by eilenbeb (2009-03-10 18:47:57)

Offline

#2 2009-03-09 19:27:53

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: [solved] AGP is missing?

Updates.
Under /lib/modules/2.6.28-ARCH/kernel/drivers/char/agp I found Via, SiS and Intel agp's.
In modules.dep and modules.alias I also found Via, Intel, and SiS.  No Nvidia.

I found a /sys/bus/pci/drivers/agpgart-amd64 folder, but there doesn't seem to be anything human-readable inside.

Last edited by eilenbeb (2009-03-09 19:36:24)

Offline

#3 2009-03-09 20:42:27

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,027

Re: [solved] AGP is missing?

Try

hwdetect --show-agp

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2009-03-09 20:47:43

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: [solved] AGP is missing?

No output.

[eilenbeb@aCore ~]$ hwdetect --show-agp
[eilenbeb@aCore ~]$

and also, because I didn't post it before,

[eilenbeb@aCore ~]$ lsmod | grep nvidia
nvidia               8119960  26 
i2c_core               26144  2 nvidia,i2c_nforce2
[eilenbeb@aCore ~]$

Offline

#5 2009-03-09 21:10:23

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,027

Re: [solved] AGP is missing?

It appears something is wrong with the detection of your motherboard/chipset .

try

lspci -vk

as root

partial output of that command on my system :

lspci -vk
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
        Subsystem: ASUSTeK Computer Inc. A7V266-E Mainboard                
        Flags: bus master, 66MHz, medium devsel, latency 0                 
        Memory at f8000000 (32-bit, prefetchable) [size=64M]               
        Capabilities: [a0] AGP version 2.0                                 
        Capabilities: [c0] Power Management version 2                      
        Kernel driver in use: agpgart-via                                  
        Kernel modules: via-agp

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2009-03-09 21:13:06

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: [solved] AGP is missing?

edit--- You beat me to the post, hang on.

Hmm...  I just fired up an install of Ubuntu-minimal with xorg, icewm, nvidia-glx-new and some 3d apps.
lsmod isn't showing any agp there either...  maybe I'm looking in the wrong direction here.

Maybe all the AGP stuff is handled by the nvidia driver ad I should be looking at my X configs.
Dunno.  Any ideas?

Last edited by eilenbeb (2009-03-09 21:13:56)

Offline

#7 2009-03-09 21:17:20

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: [solved] AGP is missing?

[eilenbeb@aCore ~]$ sudo lspci -vk
00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
        Flags: bus master, 66MHz, fast devsel, latency 0
        Memory at <ignored> (32-bit, prefetchable)
        Capabilities: [44] HyperTransport: Slave or Primary Interface
        Capabilities: [c0] AGP version 3.0
        Kernel driver in use: agpgart-amd64

00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
        Subsystem: Giga-byte Technology Device 0c11
        Flags: bus master, 66MHz, fast devsel, latency 0

00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
        Subsystem: Giga-byte Technology Device 0c11
        Flags: 66MHz, fast devsel, IRQ 10
        I/O ports at 1c00 [size=64]
        I/O ports at 2000 [size=64]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: nForce2_smbus
        Kernel modules: i2c-nforce2

00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5) (prog-if 10 [OHCI])
        Subsystem: Giga-byte Technology Device 5004
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
        Memory at e5002000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5) (prog-if 10 [OHCI])
        Subsystem: Giga-byte Technology Device 5004
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
        Memory at e5003000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2) (prog-if 20 [EHCI])
        Subsystem: Giga-byte Technology Device 5004
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
        Memory at e5004000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Debug port: BAR=1 offset=0080
        Capabilities: [80] Power Management version 2
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:05.0 Ethernet controller: nVidia Corporation nForce3 Ethernet (rev a5)
        Subsystem: Giga-byte Technology Device e000
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
        Memory at e5000000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at b400 [size=8]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: forcedeth
        Kernel modules: forcedeth

00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5) (prog-if 8a [Master SecP PriP])
 Subsystem: Device f458:5002
        Flags: bus master, 66MHz, fast devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        I/O ports at f000 [size=16]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: pata_amd
        Kernel modules: pata_acpi, pata_amd, ata_generic, amd74xx, ide-pci-generic

00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=128
        I/O behind bridge: 00009000-0000afff
        Memory behind bridge: e3000000-e4ffffff
        Prefetchable memory behind bridge: 50000000-500fffff
        Kernel modules: shpchp

00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 16
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=10
        Memory behind bridge: e0000000-e2ffffff
        Prefetchable memory behind bridge: d0000000-dfffffff
        Kernel modules: shpchp

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
        Flags: fast devsel
        Capabilities: [80] HyperTransport: Host or Secondary Interface
        Capabilities: [c0] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
        Flags: fast devsel
        Kernel driver in use: k8temp
        Kernel modules: k8temp

01:08.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
        Subsystem: Creative Labs SB Audigy 2 ZS (SB0350)
        Flags: bus master, medium devsel, latency 32, IRQ 16
        I/O ports at 9000 [size=64]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: EMU10K1_Audigy
        Kernel modules: snd-emu10k1

01:08.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
        Subsystem: Creative Labs SB Audigy MIDI/Game Port
        Flags: bus master, medium devsel, latency 32
        I/O ports at 9400 [size=8]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: Emu10k1_gameport
        Kernel modules: emu10k1-gp

01:08.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) (prog-if 10 [OHCI])
        Subsystem: Creative Labs EMU 1010
        Flags: bus master, medium devsel, latency 32, IRQ 17
        Memory at e4005000 (32-bit, non-prefetchable) [size=2K]
        Memory at e4000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ohci1394
        Kernel modules: ohci1394

01:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
        Subsystem: Silicon Image, Inc. SiI 3512 SATARaid Controller
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
        I/O ports at 9800 [size=8]
        I/O ports at 9c00 [size=4]
        I/O ports at a000 [size=8]
        I/O ports at a400 [size=4]
        I/O ports at a800 [size=16]
        Memory at e4004000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at 50000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
        Kernel driver in use: sata_sil
        Kernel modules: sata_sil

02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GS] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Device 2201
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 16
        Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at e1000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at e2000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nvidia

[eilenbeb@aCore ~]$

Offline

#8 2009-03-09 21:44:18

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,027

Re: [solved] AGP is missing?

The hostbridge item in the ouput is missing a kernel module.

In the kernel sources folder  drivers/char/agp i found a module that supports the athlon64 / nforce3  agp :

amd64-agp , try modprobing this module.

If that fails, you can try nvidia-agp
Nvidia-agp is for the nforce2 chipset, so amd64-agp should be the first try.


Note: the kernel sources are not available as arch package, if you want them just download them from www.kernel.org
I tend to keep an extracted copy of a recent kernel source on my system, they often are handy.

Edited for typos

Last edited by Lone_Wolf (2009-03-09 21:46:33)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2009-03-09 22:00:05

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [solved] AGP is missing?

Are you sure your system has AGP? If it has it should be detected, I would think. I know that my default installation of Arch does detect the AGP in my machine.
Perhaps, especially if you have relatively new hardware, you have PCI-E in which case you are in an even better position as it is superior to PCI and AGP since it can run up to 4 times faster than AGP 8x.
Since I do not have PCI-E I'm not sure what would be reported as but I would expect that "lspci" would tell you something.


R.

Offline

#10 2009-03-09 22:10:14

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: [solved] AGP is missing?

The hostbridge item in the ouput is missing a kernel module.

...so it is.  I must boot up Ubuntu (where OpenGL is working great) and check the output there.

I tried those earlier, but couldn't find any .ko files.

[eilenbeb@aCore ~]$ modprobe amd64-agp
FATAL: Module amd64_agp not found.
[eilenbeb@aCore ~]$ modprobe nvidia-agp
FATAL: Module nvidia_agp not found.
[eilenbeb@aCore ~]$

Modprobe is turning the dash into an underscore, I noticed.

@ralvez:  Absolutely sure.  AGP 8x and not PCI-E.  How did you get your AGP detected?  It looks like I'm missing a kernel module.

Thanks for the replies.
Gotta go to work for a while, I'll work on this more this evening.
laters,
b

Last edited by eilenbeb (2009-03-09 22:11:44)

Offline

#11 2009-03-09 22:28:49

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [solved] AGP is missing?

Well ... that's the thing: I did not have to do anything special, it was detected. 
When I do (as root) hwdetect --show-agp I get : AGP    : agpgart intel-agp

I never had to do anything whatsoever to get support for it.

R.

Offline

#12 2009-03-09 22:34:43

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [solved] AGP is missing?

if you installed nvidia driver then it is using internal agp. If you don't want any problems don't try to use kernel agp it is slow. In fact quite often intel/sis/via are blacklisted as these may only cause problems..

Thank God that nvidia driver will prevent the above from starting (usually)
Now you don't have any of the above. You do have nvidia based mobo and nvidia video card. So you can use kernel agp (slow) or nvidia internal AGP (called NVAGP)

to get 3d acceleration, you need to configure X
Section "Module"
    Load           "glx"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Option         "NvAGP" ""    <------------------------ see below
    Option         "RenderAccel" "1"

Section "Extensions"
    Option         "Composite" "Enable"
    Option         "RENDER" "Enable"
    Option         "DAMAGE" "Enable"
EndSection


This is important:
Option "NvAgp" "0"   disables AGP support <------------------- emergency if AGP fail or if you have PCIE (no AGP card)
Option "NvAgp" "1"    use NVAGP, if possible  <---------------------- best, but sometimes may be difficult
Option "NvAgp" "2"   use AGPGART, if possible
Option "NvAGP" "3"   try AGPGART; if that fails, try NVAGP

Hope this will help.

Last edited by broch (2009-03-09 22:37:55)

Offline

#13 2009-03-10 18:47:31

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: [solved] AGP is missing?

That worked, marking as solved.

Thanks everybody.  Not only is it fixed, but I learned a few things along the way.
Now I'm off to find out more about the driver-specific options (if someone were to post back and point me in a good direction, it wouldn't hurt my feelings).

On a side note, these entries aren't in my Ubuntu xorg.conf.  Maybe they're hidden in another file?  Maybe not needed in the older versions?  I'll try looking into that, too.

laters all,
b

edit...followups:
I found the Nvidia xorg.conf options at http://us.download.nvidia.com/XFree86/L … dix-b.html
Nvidia documentation for the 180.29 driver seems pretty thorough, start at http://us.download.nvidia.com/XFree86/L … index.html

Last edited by eilenbeb (2009-03-10 23:22:39)

Offline

Board footer

Powered by FluxBB