Hi, 2011/10/9 Stephan Diestelhorst <stephan.diestelho...@gmail.com>: > This too.. please comment, test and if deemed alright add to > source. Thanks!
Thanks for the patch. I will have a look at it tomorrow. The success = (*driver_name != NULL) is definitely the right option. I might fix the display problem differently though, depending on how much information ADL can provide. Regards, Gwenole. > ---------- Forwarded message ---------- > From: Stephan Diestelhorst <stephan.diestelho...@gmail.com> > Date: Sun, Oct 9, 2011 at 8:28 PM > Subject: Re: [Libva] FGLRX detection code overly restrictive > To: Gwenole Beauchesne <gb.de...@gmail.com> > > > On Sun, Oct 9, 2011 at 11:36 AM, Stephan Diestelhorst > <stephan.diestelho...@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 > > _______________________________________________ > Libva mailing list > Libva@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libva > > _______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva