xorg virtual / panning question

Sharpe, Sam J sam.sharpe+lists.redhat at gmail.com
Fri Apr 10 19:16:28 UTC 2009


2009/4/10 Craig White <craigwhite at azapple.com>:
> On Fri, 2009-04-10 at 19:23 +0100, Sharpe, Sam J wrote:
>> 2009/4/10 Craig White <craigwhite at azapple.com>:
>> > On Fri, 2009-04-10 at 19:01 +0100, Sharpe, Sam J wrote:
>> >> 2009/4/10 Craig White <craigwhite at azapple.com>:
>> >> > On Fri, 2009-04-10 at 16:43 +0100, Sharpe, Sam J wrote:
>> >> >> 2009/4/10 Sharpe, Sam J <sam.sharpe+lists.redhat at gmail.com>:
>> >> >> > 2009/4/10 Craig White <craigwhite at azapple.com>:
>> >> >> >> I am getting no traction on xorg mail list - perhaps I cannot ask in a
>> >> >> >> way that makes them answer but the idea is...
>> >> >> >>
>> >> >> >> Fedora 11 Beta (xrandr 1.3 - yeah!)
>> >> >> >>
>> >> >> >> If I manually execute the command...
>> >> >> >> xrandr --output LVDS1 --mode 1024x600 --panning 1280x1024
>> >> >> >>
>> >> >> >> I sort of get what I want...well, the background is tiled but my tiny
>> >> >> >> 1024x600 screen becomes usable with panning and I can't understand why I
>> >> >> >> can't achieve this simply with xorg.conf.
>> >> >> >>
>> >> >> >> Can anyone see what changes I need to make?
>> >> >> > <snip>
>> >> >> >
>> >> >> > I know very little about this but I was keeping an eye on it for my eeePC 701.
>> >> >> >
>> >> >> > The changelog for Xorg 1.5.99 says:
>> >> >> >
>> >> >> > Matthias Hopf (5):
>> >> >> >      randr: Add monitor option "Panning" for initial panning configuration
>> >> >> >
>> >> >> > So that says to me that somewhere in your Xorg.conf Monitor section
>> >> >> > you should have a Panning keyword - which you don't have.
>> >> >> >
>> >> >> > Looks like you'll have to dig around in Google though as I haven't
>> >> >> > seen any easy source of information about it,
>> >> >>
>> >> >> Or you could look at the code:
>> >> >> http://cgit.freedesktop.org/xorg/xserver/commit/?h=panning-for-server-1.6&id=44b89dc0a5aa23df69539754fb76c67c310530db
>> >> >>
>> >> >> Looks to me like:
>> >> >>
>> >> >> Section "Monitor"
>> >> >> <snip>
>> >> >>      Panning       1280x1024
>> >> >> EndSection
>> >> >>
>> >> >> might do it...
>> >> > ----
>> >> > death - death I say...
>> >> >
>> >> > Parse error on line 44 of section Monitor in file /etc/X11/xorg.conf
>> >> >        "Panning" is not a valid keyword in this section.
>> >>
>> >> Have you tried:
>> >>
>> >> Option "Panning" "1280x1024"
>> >>
>> >> If you download the src.rpm for Xorg in F11b, Panning is definitely in
>> >> hw/xfree86/modes/xf86Crtc.c ... so it /should/ work...
>> >>
>> > ----
>> > In 'Monitor' section...it seems to be ignored.
>> >
>> > # grep Panning /var/log/Xorg.0.log
>> > (**) intel(0): Option "Panning" "1280x1024"
>> > (WW) intel(0): Option "Panning" is not used
>> >
>> > In 'Display' subsection of 'Screen' instead, likewise
>> >
>> > # grep Panning /var/log/Xorg.0.log
>> > (WW) intel(0): Option "Panning" is not used
>> >
>> > It may not be compatible with one of the modules that I asserted but
>> > X.org.0.log doesn't suggest that to be the problem.
>>
>> Oh well, at least you've got some extra info to go back to bothering
>> the Xorg guys with ;o)
> ----
> I see what you're saying and I'm doubting that the committed code from
> December has actually made it into the 1.6 version of xserver in
> Fedora-11-Beta. I'm not using the lack of mention in the man page
> because that kind of thing can often be overlooked.

It definitely did make it. I checked the source RPM for f11b [1] -
it's definitely in the included tarball [2], so unless one of the
later patches takes it out (I did grep for OPTION_PANNING in the
entire SOURCES directory) it is there. I think I'm just clueless on
how to use it - or possibly it's not finished.

> As for xorg guys...I've sent 3 e-mails to the xorg list and all I get is
> crickets.

Oh well, Cricket's never been my thing. Rugby is better.

-- 
Sam

[1] http://download.fedora.redhat.com/pub/fedora/linux/releases/test/11-Beta/Fedora/source/SRPMS/xorg-x11-server-1.6.0-13.fc11.src.rpm
[2] $ grep OPTION_PANNING xorg-server-1.6.0/hw/xfree86/modes/xf86Crtc.c
    OPTION_PANNING,
    {OPTION_PANNING,	    "Panning",		OPTV_STRING,  {0}, FALSE },
	char	       *panning = xf86GetOptValString (output->options, OPTION_PANNING);




More information about the fedora-list mailing list