Acer 3400LMI manual 10.3 3D acceleration

Page 19

F8­x86_64 on the Acer Ferrari 3400LMi

we design a script to run once Fn­F5 is pressed.

The Fn­F5 button should provide a simple, basic and robust functionality that works for any external monitor. I prefer to toggle through the available connected external outputs, while keeping the internal monitor alive. Furthermore, each connected external output is present in two operating modes. First the external output mirrors the internal display, then it extends the desktop by operating side­by­side with the internal display. When both VGA­0 and S­video are connected the following operation modes are toggled each time Fn­F5 is pressed.

LVDS (single head)

LVDS + VGA­0 (mirror)

LVDS + VGA­0 (side­by­side)

LVDS + S­video (mirror)

LVDS + S­video (side­by­side)

If a certain external device is not connected those modes are skipped. Consequently, the sequence above will only appear when both VGA­0 and S­video are connected. With only VGA­0 connected the sequence will only include the first three modes from above.

Notice that the internal monitor may be dimmed at any time by pressing the Fn­F6 button. Thus, turning off the internal monitor is not included in the script. The script is outlined in Appendix B and may be downloaded at http://ferrari.database.se/3400/f8/dual­head.sh.

The script also includes some other common operation to manipulate the graphical outputs. To see all supported operations, try:

dual­head.sh help

Binding this script to the Fn­F5 button is then configured in the KDE Control Center ­> Regional & Accessibility ­> Input Actions.

If you run a more permanent dual­head setup you may want to configure the preferred default settings in xorg.conf. This is done by the Monitor sections and the lines

Option ”Monitor­<output>” “...”

in the Device section of the xorg.conf file.

10.3 3D acceleration

3D hardware acceleration is provided by the dri module. This module is loaded by default by the radeon driver, so no additional configuration is needed in xorg.conf to get hardware support for 3D. However, any possible optimizations that might improve performance are desirable.

19

Image 19
Contents F8-x8664 on the Acer Ferrari 3400LMi Table of ContentsF8­x8664 on the Acer Ferrari 3400LMi Version IntroductionQuick reference guide Hardware Status Details Disk size InstallationGraphical installer Potential pitfallsHard drive Ieee 1394 FirewireUpgrading the drive # time cp ­rp /media/ieee1394disk/430MBfolder ~ Potential problemsComments Configuring FirewirePC-card In-1 Card readerSpecial keys & buttons Key-codes Configuration procedureScan-codes Button Key-code Default X key symbolsLinux key-codes WWW Key-codes revisited= XF86WWW CPU & Acpi support Configure actionsBasics GraphicsSuspend CPU frequency scaling Dual-Head Simple configuration Radeon driver # xrandr ­q Screen 0 minimum Virtual screen sizeFn-F5 button Xrandr tool10.3 3D acceleration Optimization Simple benchmarkOther observations Initialization TV-outLoad detection Ntsc or PALTouch-pad Wireless NICWlan tools Installing WlanWlan firmware Manual way Get started with WlanEssid # iwconfig wlan0 essid Perspektiv Verify installation BluetoothGUI way UP Running Pscan Using a phone modemPrepare the laptop Prepare the phoneObex File Transfer 0x1106 Protocol Descriptor List Short explanation of the command above Static configurationDynamic routine AT+CGDATA=PPP,1 GprsMouse & keyboard KBluetoothInstallation Sending filesScan for devices Mouse & keyboardLock screen Infrared Configuring IrDATransfer files DMA IRQModem Testing IrDAInstalling daemon SLMODEMDDEVICE= SLMODEMDCOUNTRY=SWEDENConnecting Potential issueDisconnecting System hang ReferencesF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA INTERNAL=LVDS Appendix B dual­head.shNtsc ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds NEXT=$CURRENT LVDS+VGA­0Internal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi RETVAL=0 $CONFIGSLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi