Re: [gentoo-user] ati-drivers-8.28.8 - How to get DRM support?

2006-09-03 Thread Donnie Berkholz
Mark Knecht wrote:
>   With these ATI drivers what is the proper way to configure the
> kernel? I've tried it with kernel DRI support on and off. Is there
> some other setting required to make this work?

Try kernel DRM off, kernel AGP as modules. I think ATI finally stopped
distributing its own agpgart. Then you may need to stick your
chipset-specific AGP module into /etc/modules.autoload.d/kernel-2.6.

>   Should I be using a DRM from the fglrx package, from the kernel,
> from libdrm or somewhere else?

DRM comes from ati-drivers. libdrm only provides the userland library
and headers.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


[gentoo-user] ati-drivers-8.28.8 - How to get DRM support?

2006-09-03 Thread Mark Knecht

Hi,
  I've been messing with this for a couple of hours now and cannot
find the right combination. I am using the most recent ati-drivers
package since it seems to support TVout, at least on one of my
Pundit-R machines. However since upgrading from a much older and hand
patched 8.14.x driver I cannot seem to get DRI/DRM support to work. I
end up with messages like this and the drm module doesn't load as I
think it isn't built. I believe I have the proper chipset support in
place:


myth14 linux # lsmod
Module  Size  Used by
snd_atiixp 14092  0
snd_ac97_codec 79264  1 snd_atiixp
snd_ac97_bus1920  1 snd_ac97_codec
lirc_streamzap 12676  1
lirc_dev   11108  1 lirc_streamzap
fglrx 390188  8
ati_agp 6284  1
agpgart25520  2 fglrx,ati_agp
myth14 linux #



* Unpacking Ati drivers ...
[ ok ]

Source unpacked.
Compiling source in /var/tmp/portage/ati-drivers-8.28.8 ...

* Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.17-gentoo-r7'
 CC [M]  
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:447:
warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:
In function `firegl_stub_open':
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/firegl_public.c:570:
warning: assignment discards qualifiers from pointer target type
 LD [M]  
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/fglrx.o
 Building modules, stage 2.
 MODPOST
 CC  
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/fglrx.mod.o
 LD [M]  
/var/tmp/portage/ati-drivers-8.28.8/work/common/lib/modules/fglrx/build_mod/fglrx.komake:
Leaving directory `/usr/src/linux-2.6.17-gentoo-r7'

Source compiled.
Test phase [not enabled]: x11-drivers/ati-drivers-8.28.8



Install ati-drivers-8.28.8 into

/var/tmp/portage/ati-drivers-8.28.8/image/ category x11-drivers
* Installing fglrx module


  With these ATI drivers what is the proper way to configure the
kernel? I've tried it with kernel DRI support on and off. Is there
some other setting required to make this work?

  Should I be using a DRM from the fglrx package, from the kernel,
from libdrm or somewhere else?

Thanks,
Mark
--
gentoo-user@gentoo.org mailing list