Re: Monitor detection quirking in control centre



On Tue, 2010-11-23 at 14:18 +1100, Christopher James Halse Rogers wrote:

> As an aside, it'd be kinda nice if the Display panel also worked with
> the binary nVidia driver.  It should be possible to copy the relevant
> code from (the GPLv2'd) nvidia-settings.
> 
> “Kinda nice” in an “kinda nice if someone else did it” way, though ;).

Yeah, I ain't doing it either :)

See https://bugzilla.gnome.org/show_bug.cgi?id=571214 for a different
approach, which I think would serve us better.

> It's actually pretty easy to generate modelines given the desired
> resolution (and optionally refresh rate); there's no reason the UI can't
> simply expose “1280x1024”, “1680x1050”, or “horizontal: _________
> vertical: ____________”.  The cvt/gvt tools take resolution & refresh
> rate and spit out a modeline for you.

It shouldn't be too hard to modify the existing combo boxes for
resolution and refresh rate to show a "Custom..." item.  Then, the
capplet would create a RANDR mode and switch to that when you hit Apply.

The GnomeRR wrapper API doesn't have a function to create new modes;
you'd need to patch that as well.

This sounds a lot more useful at first than going the way of "parse
Windows drivers for EDID blocks"...  If I had a monitor and it didn't
work out of the box, I'd google for the monitor's model, and a result
would come up with the correct resolution.  It's easier to type that in,
than to look at some (invariably unusable) manufacturer's website for
drivers.  If you are like me, you would have thrown out the CDs a long
time ago :)

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]