[Pm-utils] Video quirks without HAL or dbus
victor.lowther at gmail.com
Tue Nov 4 08:41:44 PST 2008
On Nov 4, 2008, at 7:55 AM, Richard Hughes <hughsient at gmail.com> wrote:
> On Tue, 2008-11-04 at 07:39 -0600, Victor Lowther wrote:
>> On Nov 4, 2008, at 7:22 AM, Richard Hughes <hughsient at gmail.com>
>>> On Mon, 2008-11-03 at 03:55 -0600, Victor Lowther wrote:
>>>> This is a minimal prototype implementation of a tool that can be
>>>> used to
>>>> query the quirk database when HAL and dbus are not running. I will
>>>> use it to test some ideas I ahve w.r.t how to best handle video
>>>> and kernel revisions in the video quirks without having to patch
>>> I really don't think you should be parsing XML in shell script...
>>> pm-utils lean and simple. Also bear in mind that as drivers are
>>> converted to KMS (kernel mode setting) we'll need to rip out loads
>>> quirks long term anyway.
>> This script is not going to be part of pm-utils. It might be part
>> of a
>> seperate project at some point, and if that happens it will not try
>> parse XML.
> Right, I don't think it's a pm-utils "core" function.
It is not a pm-utils function at all.
>> Ripping out quirks is definitly the wrong way to work with kernel
>> setting. It is better to add new --quirk-none quirks once we know and
>> have tested kernel and driver combinations on hardware that currently
>> requires quirks. I needed something easier to work with than hal
>> to test things with, and this is the yestbed I came up with.
> If the video hardware is working correctly with KMS, then you don't
> any quirks -- although I admit the number of drivers that do KMS 100%
> perfect I can count on the fingers of my third hand.
More to the point, the only even half working prototypes are for Intel
and ATI graphics. nVidia and others seem to be absent so far.
>>> Quirks are still very needed to get things to work right now, but I
>>> don't think we need such an infrastructure around something that
>>> have a long term future on most video hardware.
>> Well, I think that is an overly optimistic view right now, but I will
>> be happy to be proven wrong :)
> Here's trying. :-)
More information about the Pm-utils