[mythtv-users] agpgart with kernel 2.6.24

Greg Grotsky spikeygg at gmail.com
Fri Mar 28 05:11:25 UTC 2008


Cal, you are my hero!  Thank you so much, it was exactly what I was looking
for.

-Greg

On Thu, Mar 27, 2008 at 10:47 PM, cal <cal at graggrag.com> wrote:

> Greg Grotsky wrote:
> > [ ... ]
> >
> > So I went back to my kernel source and I cannot deselect the agpgart!
> > It get automatically selected when I add PCI support.  I had this
> > problem long ago and I was able to solve it by putting 'Option "NvAGP"
> > "1"' in my xorg.conf and 'agp=off' in my kernel line in grub, they are
> > both still there but 'agp=off' no longer disables the agpgart from
> > loading.  How can I fix this?  Am I doomed to use 2.6.23.xx
> > indefinitely?  Because it honors the 'agp=off' flag.
>
> Here's a little patch I use in my kernels to solve this problem.
>
>
> Index: linux-2.6.24.4/arch/x86/Kconfig
> ===================================================================
> --- linux-2.6.24.4.orig/arch/x86/Kconfig        2008-03-25 05:49:
> 18.000000000 +1100
> +++ linux-2.6.24.4/arch/x86/Kconfig     2008-03-25 09:09:21.081651320+1100
> @@ -406,7 +406,7 @@
>  # Mark as embedded because too many people got it wrong.
>  # The code disables itself when not needed.
>  config GART_IOMMU
> -       bool "GART IOMMU support" if EMBEDDED
> +       bool "GART IOMMU support"
>        default y
>        select SWIOTLB
>        select AGP
>
>
> With that, I get to choose (again!) whether kernel agp gets built. I leave
> it out,
> and NvAGP works happily. Having changed to "manual mode", you do need to
> use
> sensible choices for the other GART IOMMU kernel options (in "Processor
> type and
> features" I believe). On mine, both "GART IOMMU support" and "IBM Calgary
> IOMMU
> support" are off.
>
> Cheers.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080327/384d92be/attachment.htm 


More information about the mythtv-users mailing list