Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Who still needs / can benefit from agpgart?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Havin_it
Veteran
Veteran
Posts: 1343
Joined: Sun Jul 17, 2005 10:26 am
Location: Edinburgh, UK
Contact:
Contact Havin_it
Website

Who still needs / can benefit from agpgart?

  • Quote

Post by Havin_it » Mon May 25, 2015 12:49 pm

Hi,

The linux documentation says this about the agpgart module:

Code: Select all

 CONFIG_AGP:                                                             │  
  │                                                                         │  
  │ AGP (Accelerated Graphics Port) is a bus system mainly used to          │  
  │ connect graphics cards to the rest of the system.                       │  
  │                                                                         │  
  │ If you have an AGP system and you say Y here, it will be possible to    │  
  │ use the AGP features of your 3D rendering video card. This code acts    │  
  │ as a sort of "AGP driver" for the motherboard's chipset.                │  
  │                                                                         │  
  │ If you need more texture memory than you can get with the AGP GART      │  
  │ (theoretically up to 256 MB, but in practice usually 64 or 128 MB       │  
  │ due to kernel allocation issues), you could use PCI accesses            │  
  │ and have up to a couple gigs of texture space.                           │  
  │                                                                         │  
  │ Note that this is the only means to have X/GLX use                      │  
  │ write-combining with MTRR support on the AGP bus. Without it, OpenGL    │  
  │ direct rendering will be a lot slower but still faster than PIO.        │  
  │                                                                         │  
  │ To compile this driver as a module, choose M here: the                  │  
  │ module will be called agpgart.                                          │  
  │                                                                         │  
  │ You should say Y here if you want to use GLX or DRI.                    │  
  │                                                                         │  
  │ If unsure, say N.
Now most of this is still gobbledegook to me, but since having a new enough laptop that I was pretty sure had no AGP hardware (GPU is part of an AMD APU), I've said N. I certainly do want to use GLX and DRI (insofar as I understand what they are), but saying N doesn't seem to have prevented this.

Would it benefit me anything to say Y? (Using radeon, not fglrx, if that matters)
Top
s4e8
Guru
Guru
Posts: 311
Joined: Sat Jul 29, 2006 11:09 am

  • Quote

Post by s4e8 » Mon May 25, 2015 2:20 pm

AGP is obsoleted very long time. Old kernel may required it due to i915 driver required it even w/o real AGP hardware. Intel remove this dependency since kernel v3.14.
Top
Havin_it
Veteran
Veteran
Posts: 1343
Joined: Sun Jul 17, 2005 10:26 am
Location: Edinburgh, UK
Contact:
Contact Havin_it
Website

  • Quote

Post by Havin_it » Mon May 25, 2015 4:33 pm

s4e8 wrote:AGP is obsoleted very long time. Old kernel may required it due to i915 driver required it even w/o real AGP hardware. Intel remove this dependency since kernel v3.14.
Hi s4e8, thanks for the quick reply :D

I thought that might be the case. My last two machines were i915 so I guess it was needed then (indeed the oldest is still alive, but I'm no longer running Gentoo on that so kernel config isn't my concern).

In that case, I might file a documentation bug against the kernel to get the above write-up clarified.

While we're at it, is it then also a bug that, when built as a module, agpgart does get loaded on my system?

Or is it that the ttm and radeon modules automatically pull it in and load it as a dependency if it's enabled in kernel config, whether it's actually needed or not? I'd still call that a bug but the scope would be different then I guess.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon May 25, 2015 6:17 pm

Havin_it,

AGP isn't really a bus as only two things can be connected to it. The GPU at one end and the chipset at the other.
AGP is derived from PCI. It uses a 66MHz clock, rather that 33MHz and in its x2 x4 and x8 transfers that many data cycles per clock. Much like DDR RAM performs a data transfer on ever clock edge.

AGP has been missing as a motherboard slot for a long time but in integrated graphics solutions, where its still adequate for the performance of the GPU, it may still be used.
ISA is still around in several forms in modern systems too and it disappeared as a slot when PCI came in.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
energyman76b
Advocate
Advocate
User avatar
Posts: 2048
Joined: Wed Mar 26, 2003 11:31 am
Location: Germany

  • Quote

Post by energyman76b » Mon May 25, 2015 8:35 pm

AGPGART was/is used as IOMMU on AMD64. So... it doesn't hurt to keep it turned on, if you are not sure that your setup uses the new iommu scheme.
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Top
Havin_it
Veteran
Veteran
Posts: 1343
Joined: Sun Jul 17, 2005 10:26 am
Location: Edinburgh, UK
Contact:
Contact Havin_it
Website

  • Quote

Post by Havin_it » Tue May 26, 2015 10:32 am

Thanks for the further replies!

@Neddy, I was aware it's major legacy in discrete hardware terms, but not that it was still being used in this fashion. When poking around I did notice that there was a sub-option to support "Athlon64/Opteron on-chip AGP bus" or somesuch, but I don't think that module gets loaded on my system so I guess it doesn't apply to these APUs.
energyman76b wrote:AGPGART was/is used as IOMMU on AMD64. So... it doesn't hurt to keep it turned on, if you are not sure that your setup uses the new iommu scheme.
There's only one thing about this that I don't understand ... um, all of it :oops:

Is there any way I could tell whether it was used? Anything to look for in dmesg? I do see this, even with agpgart loaded:

Code: Select all

[drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
Top
s4e8
Guru
Guru
Posts: 311
Joined: Sat Jul 29, 2006 11:09 am

  • Quote

Post by s4e8 » Tue May 26, 2015 1:03 pm

Havin_it wrote:Thanks for the further replies!
Is there any way I could tell whether it was used? Anything to look for in dmesg? I do see this, even with agpgart loaded:
If you built kernel w/ AGPGART=m, it loaded by DRM drivers, because the DRM drivers' contains the AGP support, it need some symbol from AGPGART module and will probe the AGP hardware.
Top
Havin_it
Veteran
Veteran
Posts: 1343
Joined: Sun Jul 17, 2005 10:26 am
Location: Edinburgh, UK
Contact:
Contact Havin_it
Website

  • Quote

Post by Havin_it » Tue May 26, 2015 1:30 pm

s4e8 wrote:
Havin_it wrote:Thanks for the further replies!
Is there any way I could tell whether it was used? Anything to look for in dmesg? I do see this, even with agpgart loaded:
If you built kernel w/ AGPGART=m, it loaded by DRM drivers, because the DRM drivers' contains the AGP support, it need some symbol from AGPGART module and will probe the AGP hardware.
OK, I think I follow. So actually I'm best to keep it disabled then, as probing for non-existent hardware is just a waste of cycles. Unless there is an on-chip implementation of an AGP gart/bridge/thingy, which the non-loading of the corresponding sub-module seems to indicate there is not.
Top
energyman76b
Advocate
Advocate
User avatar
Posts: 2048
Joined: Wed Mar 26, 2003 11:31 am
Location: Germany

  • Quote

Post by energyman76b » Tue May 26, 2015 4:07 pm

Havin_it wrote:Thanks for the further replies!

@Neddy, I was aware it's major legacy in discrete hardware terms, but not that it was still being used in this fashion. When poking around I did notice that there was a sub-option to support "Athlon64/Opteron on-chip AGP bus" or somesuch, but I don't think that module gets loaded on my system so I guess it doesn't apply to these APUs.
energyman76b wrote:AGPGART was/is used as IOMMU on AMD64. So... it doesn't hurt to keep it turned on, if you are not sure that your setup uses the new iommu scheme.
There's only one thing about this that I don't understand ... um, all of it :oops:

Is there any way I could tell whether it was used? Anything to look for in dmesg? I do see this, even with agpgart loaded:

Code: Select all

[drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
different beast. Look for IOMMU
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic