Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 08:53:33 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        freebsd-mobile@freebsd.org
Subject:   AGP ACPI kernel patch ...( was Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) )
Message-ID:  <20060904085333.26290317@localhost>
In-Reply-To: <20060901123741.26016b68@localhost>
References:  <Pine.BSF.3.96.1060824154645.11983A-100000@gaia.nimnet.asn.au> <rmi8xletize.fsf@fnord.ir.bbn.com> <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> <20060825190556.0e913ec5@localhost> <20060828141712.47b20866@localhost> <20060829001531.4bf13da2@localhost> <20060828163738.3b53601a@localhost> <20060829145427.1b6cf811@localhost> <20060901123741.26016b68@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Sep 2006 12:37:41 +0200
Fabian Keil <freebsd-listen@fabiankeil.de> wrote:

> Norberto Meijome <freebsd@meijome.net> wrote:
> 
> > On Mon, 28 Aug 2006 16:37:38 +0200
> > Fabian Keil <freebsd-listen@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060904085333.26290317>