Setting up resolutions like 1440x900 for Linux/Solaris Guests
- add custom video mode 1440x900 to Parallels.
- Generate a modeline for the resolution, like:
$ gtf 1440 900 60
# 1440x900 @ 60.00 Hz (GTF ) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904932 -HSync +Vsync
Now X Windows knows, that Parallels Display supports such resolution.
Note: gtf utility is present in Debian, Ubuntu, Mandriva, Gentoo Linuxes, Solaris 10 (/usr/X11/bin/gtf). In SuSe Linux 'xmode' should be used for generating modelines. For other distribution didn't check yet.
- put this modeline to you xorg.conf to the Monitor section, like (please note that you need root privileges to do this):
Section "Monitor" Identifier "monitor1" VendorName "Generic" ModelName "1024x768 @ 70 Hz" HorizSync 31.5-57.0 VertRefresh 50-70 # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 32 -HSync +VsyncEndSection
- in the section Device change the driver from "fbdev" to "vesa" (vesa framebuffer driver doesn't support resolutions like 1440x900):
Section "Device" Identifier "device1" Driver "vesa" Option "DPMS"EndSection
- save the changes and reboot your VM.
Since that moment, Parallels vesa adapter reports new mode to guest operating system. Parallels Display is also configured to support the new mode.
Note: It is not recommended to use framebuffer because otherwise you'll get a corrupted picture trying to switch to another virtual console.
In Mandriva linux (with a Lilo loader) the user should boot into the linux-nonfb kernel. In SuSe with a Grub the option "vga=..." for the appropriative entry should be removed from the /boot/grub/menu.lst.
Note: the sequence above may lead to X-server abort for Ubuntu 6.0.6 Guest. Needs additional investigation. However in latest builds video mode was set without problems.
Note: all described above works fine for Debian 3.1, Ubuntu 6.0.6 (see previous note), SuSe 10, Solaris 10 and Mandriva 2006 Guests. Didn't check for other versions or distributions.