Difference between revisions of "Display/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Desktop Effects and Compiz)
(Desktop Effects, Compiz, and Compositing)
(One intermediate revision by one user not shown)
Line 35: Line 35:
 
When you are finished, click the "Apply" button for your settings to be tested. If anything goes wrong during testing, you should be taken back to the "Display Settings" screen so that you can try another setting. Once you are satisfied with the settings, click "Yes" when prompted to accept them.
 
When you are finished, click the "Apply" button for your settings to be tested. If anything goes wrong during testing, you should be taken back to the "Display Settings" screen so that you can try another setting. Once you are satisfied with the settings, click "Yes" when prompted to accept them.
  
=== Desktop Effects and Compiz ===
+
=== Desktop Effects, Compiz, and Compositing ===
  
To prevent problems with video cards that do not support them, desktop effects (used by KDE) and compiz (used by other window managers) are disabled by default. You can change this default if your video card supports desktop effects.  
+
To prevent problems with video cards that do not support them, desktop effects (used by KDE) and compiz or compositing (used by other window managers) are disabled by default. You can change this default if your video card supports desktop effects.  
  
 
To enable desktop effects while logged into [[KDE4|KDE]], click ''[[Control Panel]]'' ➜ ''System Settings'' ➜ ''Desktop Effects'' to access the configuration screen shown in Figure 8.12d:
 
To enable desktop effects while logged into [[KDE4|KDE]], click ''[[Control Panel]]'' ➜ ''System Settings'' ➜ ''Desktop Effects'' to access the configuration screen shown in Figure 8.12d:
Line 45: Line 45:
 
[[File:Effect.png]]
 
[[File:Effect.png]]
  
Check the box "Enable desktop effects at startup". You can use the "All Effects" tab to get more information about each possible effect and to enable the effects that interest you.  
+
Check the box "Enable desktop effects at startup". You can use the "All Effects" tab to get more information about each possible effect and to enable the effects that interest you.
  
If you do not use KDE, install {{citelink|url=http://www.compiz.org/|txt=Compiz}} instead using ''[[Control Panel]]'' [[System Manager#Install/Uninstall Desktops and System Components|''System Manager'' ➜ ''System Packages'']] ➜ ''Misc'' ''Compiz''. Once installed, you can configure Compiz by clicking ''System'' ➜ ''Preferences'' ➜ ''CompizConfig Settings Manager'' while logged into [[GNOME2|GNOME]] or by typing '''ccsm''' from any desktop. This will open the screen shown in Figure 8.12e:
+
If XFCE is installed, you can enable compositing from any logged in desktop. Go to [[Control Panel]] ➜ Window Manager Tweaks Compositor. If Window Manager Tweaks does not appear in the Control Panel menu, use the desktop selector drop-down menu to select "All" or "XFCE".
  
'''Figure 8.12e: Configuring Compiz'''
+
In the screen shown in Figure 8.12e, check the "Enable display compositing" box to enable the compositing options.
 +
 
 +
'''Figure 8.12e: Enabling Compositing in XFCE'''
 +
 
 +
[[File:Effect2.png]] 
 +
 
 +
If you do not use KDE or XFCE, install {{citelink|url=http://www.compiz.org/|txt=Compiz}} instead using ''[[Control Panel]]'' ➜ [[System Manager#Install/Uninstall Desktops and System Components|''System Manager'' ➜ ''System Packages'']] ➜ ''Misc'' ➜ ''Compiz''. Once installed, you can configure Compiz by clicking ''System'' ➜ ''Preferences'' ➜ ''CompizConfig Settings Manager'' while logged into [[GNOME2|GNOME]] or by typing '''ccsm''' from any desktop. This will open the screen shown in Figure 8.12f:
 +
 
 +
'''Figure 8.12f: Configuring Compiz'''
  
 
[[File:Effect1.jpeg]]
 
[[File:Effect1.jpeg]]

Revision as of 12:41, 14 November 2012

(Sorry for the inconvenience)

Contents

Display wizard can be used to configure your video driver and display settings.

NOTE: if you have a newer NVIDIA card, double-check that the NVIDIA driver is installed in Control PanelSystem ManagerSystem PackagesHardware-Drivers and install it if it is not already installed. NVIDIA drivers for older cards on 32-bit systems are automatically installed with PC-BSD®.

To access the display wizard, go to Control PanelDisplay or reboot the system and select "6 Run the Display Wizard" from the boot menu.

If you start the display wizard from Control Panel, you will receive the message shown in Figure 8.12a:

Figure 8.12a: Save Your Work Before Changing Display Settings

Display1a.png

If you are not ready to reboot the system, press "No" and restart the Display wizard when you are ready. Once you select "Yes", you will be prompted for the superuser password. The system will then reboot into the display wizard, shown in Figure 8.12b:

Figure 8.12b: Display Settings Wizard

Display1.png

This screen can be used to select the desired screen resolution, color depth, and video driver. If you select the "vesa" driver, it will always work but will provide sub-optimal performance. Click on the drop-down menu to select the driver that most closely matches your video card name.

You can also use the drop-down menus to change the screen resolution and color depth values. If the value you desire is not listed, it may be that the selected driver does not support that resolution or depth.

Advanced users can select their monitor's horizontal sync and vertical refresh rate in the "Advanced" tab, seen in Figure 8.12c:

Figure 8.12c: Advanced Tab of Display Settings

Display2a.png

Use caution and refer to your monitor's documentation if you make any changes here. If you are not sure what you are doing, leave the default values as-is.

If your computer is connected to two monitors, check the box "Enable Dual-Head support".

When you are finished, click the "Apply" button for your settings to be tested. If anything goes wrong during testing, you should be taken back to the "Display Settings" screen so that you can try another setting. Once you are satisfied with the settings, click "Yes" when prompted to accept them.

Desktop Effects, Compiz, and Compositing

To prevent problems with video cards that do not support them, desktop effects (used by KDE) and compiz or compositing (used by other window managers) are disabled by default. You can change this default if your video card supports desktop effects.

To enable desktop effects while logged into KDE, click Control PanelSystem SettingsDesktop Effects to access the configuration screen shown in Figure 8.12d:

Figure 8.12d: Enabling Desktop Effects in KDE

Effect.png

Check the box "Enable desktop effects at startup". You can use the "All Effects" tab to get more information about each possible effect and to enable the effects that interest you.

If XFCE is installed, you can enable compositing from any logged in desktop. Go to Control Panel ➜ Window Manager Tweaks ➜ Compositor. If Window Manager Tweaks does not appear in the Control Panel menu, use the desktop selector drop-down menu to select "All" or "XFCE".

In the screen shown in Figure 8.12e, check the "Enable display compositing" box to enable the compositing options.

Figure 8.12e: Enabling Compositing in XFCE

Effect2.png

If you do not use KDE or XFCE, install Compiz[1] instead using Control PanelSystem ManagerSystem PackagesMiscCompiz. Once installed, you can configure Compiz by clicking SystemPreferencesCompizConfig Settings Manager while logged into GNOME or by typing ccsm from any desktop. This will open the screen shown in Figure 8.12f:

Figure 8.12f: Configuring Compiz

Effect1.jpeg

Troubleshooting

Until TTM is ported to PC-BSD®, ATI/Radeon video cards will not be fully supported. If the screen goes blank or otherwise does not work when you select the HD version of the driver, selecting the non-HD version should allow you to use the card. Radeon HD5xxx and higher GPUs have no support for acceleration, 2D or 3D. At this time, these video cards can only use the Vesa driver.

If you are having problems with your display settings and would like to manually edit /etc/X11/xorg.conf or run Xorg --config, first tell the PC-BSD® system to not automatically start X. You can temporarily stop your current X session and prevent additional sessions from starting by typing this command as the superuser:

/usr/local/etc/rc.d/gdm stop

This will drop you down to a console where you can try the instructions in the FreeBSD Handbook[2] to manually configure and test Xorg. Once you have a configuration that works for you, save it to /etc/X11/xorg.conf, and restart gdm to test the configuration:

/usr/local/etc/rc.d/gdm start

If your graphics white-out after a suspend or resume, try running this command as the superuser:

sysctl hw.acpi.reset_video=1

If that fixes the problem, carefully add this line to /etc/sysctl.conf:

hw.acpi.reset_video=1

If the monitor goes blank and does not come back, try running this command as your regular user account:

xset -dpms

If that fixes the problem, add that line to the .xprofile file in your home directory.

References


  1. http://www.compiz.org/
  2. http://www.freebsd.org/doc/en/books/handbook/x-config.html
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox