EndSubSection

EndSection

The following lines will select an 8-bit default depth visual: Section “Screen”

Identifier “Screen 0” DefaultDepth 8

[…]

SubSection “Display” Depth 24

[…] EndSubSection SubSection “Display” Depth 8

[…] EndSubSection EndSection

Restart the Xserver after editing the Xserver configuration file for the new default depth to take effect.

Configuring Graphics Resolution or Vertical Refresh Rates for HP-UX

Use the sam (pre HP-UX 11.31 release) or smh (HP-UX 11.31 and later) program to modify the graphics resolution or refresh rate.

Default Graphics Resolution

The default graphics resolution and refresh rate on a newly installed system is 1280 x 1024 at 75Hz.

Mark Y. confirming this statement — July 06, 2010.

How to Change the Resolution and Refresh Rate

1.Log in to the system as root.

2.Run /usr/sbin/sam (pre HP-UX 11.31 release) or /usr/sbin/smh (HP-UX 11.31 and later). Select Display->Monitor Configuration. All graphics cards in the system are listed. Select the graphics device to be updated. From the pull-down menu, select Actions->Modify Monitor Type. A new menu appears that contains all of the possible resolutions and refresh rates. Select the new setting and press OK. The selected values will be the new resolution and refresh rate for the Xserver.

NOTE: See Table 4-1 (page 24) for supported resolution and refresh rates.

3.Restart the Xserver.

Multihead Support

By default, an HP PCI AMD Radeon 7000 Graphics Adapter appears as a single screen device. Multihead support for two or more screens is provided through changes to the Xserver's configuration file which is located at /etc/X11/Xf86Config.

You can change this file by using /usr/bin/sam (pre HP-UX 11.31 release) or /usr/sbin/ smh (HP-UX 11.31 and later). Select Display->X Server Configuration. All graphics cards in the system are listed. Some may have more than one video connector. Select the cards and video connectors you want to configure. Then select Actions->ModifyMulti-Screen Layout or Actions->Single Logical Screen (SLS) to configure multiple screens as individual screens or as a Single Logical Screen.

Configuring Graphics Resolution or Vertical Refresh Rates for HP-UX

25