[Libva] Fwd: FGLRX detection code overly restrictive

Stephan Diestelhorst stephan.diestelhorst at gmail.com
Sun Oct 9 11:30:02 PDT 2011


This too.. please comment, test and if deemed alright add to
source. Thanks!


---------- Forwarded message ----------
From: Stephan Diestelhorst <stephan.diestelhorst at gmail.com>
Date: Sun, Oct 9, 2011 at 8:28 PM
Subject: Re: [Libva] FGLRX detection code overly restrictive
To: Gwenole Beauchesne <gb.devel at gmail.com>


On Sun, Oct 9, 2011 at 11:36 AM, Stephan Diestelhorst
<stephan.diestelhorst at gmail.com> wrote:
> How does one detect whether this is a multi-monitor setup? According
> to the X documentation :0 is equal to :0.0, since the first screen is chosen
> by default. I'll try to incorporate that into a patch.
>
>> The proper fixes would be:
>> 1. Don't return success if no valid match was found.
>> 2. Account for ":0" cases in a single monitor system.
>
> Will hack sth together!

This has got more ugly than anticipated, but works for me..

Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_fglrx_detection.diff
Type: text/x-patch
Size: 1529 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libva/attachments/20111009/0de072c4/attachment.bin>


More information about the Libva mailing list