AGP ACPI kernel patch ...( was Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) )

Norberto Meijome freebsd at meijome.net
Sun Sep 3 22:53:40 UTC 2006


On Fri, 1 Sep 2006 12:37:41 +0200
Fabian Keil <freebsd-listen at fabiankeil.de> wrote:

> Norberto Meijome <freebsd at meijome.net> wrote:
> 
> > On Mon, 28 Aug 2006 16:37:38 +0200
> > Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
> > 
> > >  After the last cvsup I didn't
> > > apply the patch to use acpi_video and radeon at the same time and thus
> > > Xorg currently doesn't use DRI
> > 
> > where did u get the patch for acpi_video + radeon from? I think that's what
> > I should be testing next...
> 
> http://www.fabiankeil.de/sourcecode/freebsd/agp_patch_6.1.patch
> 
> The code comes from Current (via jhb's agp patch). I posted the
> link before and at least for me it doesn't change the
> "suspend with DRI" issue. 

Thanks Fabian :)
I had found that link from the mailing list. I tried it, and this is what I
found:
 - still no agp0 device found. My kernel conf contains:
--
[...]
device          agp             # support several AGP chipsets
#device      drm
#device          radeondrm
[...]
---
but dmesg showed nothing when booting with that kernel. I was loading drm and
radeon.ko via boot/loader.conf.local. dmesg showed:
[...]
Aug 31 08:55:00 ayiin kernel: vgapci0: <VGA-compatible display> port
0x2000-0x20ff mem 0xc8000000-0xcfffffff,0xb0100000-0xb010ffff irq 11 at device
0.0 on pci1
Aug 31 08:55:00 ayiin kernel: acpi_video0: <ACPI video extension> on vgapci0
Aug 31 08:55:00 ayiin kernel: drm0: <ATI Radeon Mobility X600 M24> on vgapci0
Aug 31 08:55:00 ayiin kernel: info: [drm] Initialized radeon 1.24.0 20060225
[...]
---

When loading X with Load "dri" enabled, it just locks up. I used to have drm
package installed , and the results were the same wrt. locking up.

I now realise that when I run the kernel with your patch, i only had libdrm
installed... i guess it is not a valid test for the X part (though I would have
hoped agp0 to be detected... 

pciconf -lv 
[...]
none1 at pci1:0:0: class=0x030000 card=0x058e1014 chip=0x31501002 rev=0x00 hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'M24 1P Radeon Mobility X600'
    class    = display
    subclass = VGA
[...]

any suggestions and/or comments are greatly appreciated :)

Cheers,
_________________________
{Beto|Norberto|Numard} Meijome

Lack of planning on your part does not constitute an emergency on ours.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


More information about the freebsd-mobile mailing list