Re Using scaling mode
Bert Freudenberg
bert at freudenbergs.de
Wed Aug 20 06:52:28 EDT 2008
On Aug 7, 2008 Jordan Crouse wrote:
> You can change the mode with the xrandr
> utility. The following is the output from my system with a 1024x768
> panel attached:
>
> me at geodelx:~# xrandr
> Screen 0: minimum 320 x 240, current 800 x 600, maximum 1024 x 1024
> default connected 800x600+0+0 0mm x 0mm
> 1024x768 60.0
> 800x600 60.0*
> 640x480 60.0
> 512x384 60.0
> 400x300 60.0
> 320x240 60.0
> 1024x1024 60.0
>
> The 1024x768 is the native mode determined automatically. The other
> modes
> are "default" resolutions inserted by the X server. To change a mode,
> its as easy as this:
>
> xrandr --output default --mode <mode>
>
> So to scale a 800x600 screen to 1024x768, you do this:
>
> xrandr --output default --mode 800x600
>
> Now, you might not see a mode in the list that meets your fancy.
> You can
> add a "pseudo" mode to xrandr like so:
>
> xrandr --newmode <name> <clock MHz>
> <hdisp> <hsync-start> <hsync-end> <htotal>
> <vdisp> <vsync-start> <vsync-end> <vtotal>
> [+HSync] [-HSync] [+VSync] [-VSync]
>
> And attach them to the default output with:
>
> xrandr --addmode default <name>
>
> You can specify any resolution you want - just specify the width
> (hdisp)
> and height (vdisp) entries - the rest of the entries can be 0.
I tried that on a B4 running joyride-2301 and it did not work. Xrandr
reports 1200x900 as min and max resolutions. Adding a mode gave no
error, but switching to that mode gave "Configure crtc 0 failed".
This is xorg-x11-drv-geode 0:2.10.0-1.olpc3.1, which was added to
joyride-2269 on Aug 7 so I assumed it is the version you were talking
about.
- Bert -
More information about the Devel
mailing list