Virtual desktop - smaller than display

Alex Deucher alexdeucher at gmail.com
Fri Jul 9 11:11:26 PDT 2010


On Fri, Jul 9, 2010 at 2:04 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> On Thu, Jul 8, 2010 at 4:37 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
>> On Thu, Jul 8, 2010 at 3:59 PM, Martin Langhoff
>> <martin.langhoff at gmail.com> wrote:
>>> On Thu, Jul 8, 2010 at 3:44 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
>>>> if your hw supports a scaler, just set the smaller mode and have it
>>>> scale up to the larger screen mode.  If not, you'll have to mess with
>>>> the h/v border widths in the modeline to generate a center mode.
>>>
>>> Hmmm. Interesting. Does it work on LCDs? How do I calculate that?
>>>
>>> Current modeline is (from Xorg.0.log)
>>>
>>> 1200x900 x50.6 57.27 1200 1208 1216 1240 900 905 908 912 -hsync -vsync
>>>
>>
>> Something like:
>> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=blob;f=drivers/gpu/drm/i915/intel_lvds.c;h=31df55f0a0a7950a0e59ebce556fc30cde35b891;hb=refs/heads/drm-next#l276
>
> Not working at all for me unfortunately. Maybe I am flunking the
> modeline math, but I think that this specific driver (openchrome) has
> special hardcoded magic for our display.
>
> That modeline is what Xorg reports when it autodetects the modeline --
> using the exact same modeline via explicit declaration kills the
> display. So this driver ain't a friend of modeline tweaking.
>

The modeline used by the hardware may not be what's reported to X.
You'll have to check the source to see how the driver handles it.

Alex

> Do we have a VirtualAndIMeanIt stanza?
>
>
>
> m
> --
>  martin.langhoff at gmail.com
>  martin at laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



More information about the xorg mailing list