Difference between revisions of "Display/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Desktop Effects and Compiz)
(Desktop Effects and Compiz)
Line 33: Line 33:
 
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 this Display Settings screen so that you can amend the details. 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 this Display Settings screen so that you can amend the details. Once you are satisfied with the settings, click Yes when prompted to accept them.
  
===Desktop Effects and Compiz===
+
===KDE Desktop Effects and Compiz===
  
 
To prevent problems with video cards that do not support desktop effects, these are disabled by default. You can enable these effects if your video card supports them. How to do so depends upon the desktop.
 
To prevent problems with video cards that do not support desktop effects, these are disabled by default. You can enable these effects if your video card supports them. How to do so depends upon the desktop.
  
In KDE, click Control Panel -> System Settings -> Desktop Effects to access the configuration screen shown in Figure 7.5d:
+
Within KDE, click Control Panel -> System Settings -> Desktop Effects to access the configuration screen shown in Figure 7.5d:
  
 
'''Figure 7.5d: Enabling Desktop Effects in KDE'''
 
'''Figure 7.5d: Enabling Desktop Effects in KDE'''
Line 45: Line 45:
 
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.  
  
In GNOME,
+
For the other desktops, you can install [http://www.compiz.org/ Compiz] using Control Panel -> System Manager -> System Packages -> Misc -> Compiz.
  
 
===Troubleshooting===
 
===Troubleshooting===

Revision as of 13:27, 22 December 2011

Contents

(Sorry for the inconvenience)

PC-BSD's display wizard can be used to configure your video driver and display settings.

NOTE: if you have an NVIDIA card, install the NVIDIA driver first in Control Panel -> System Manager -> System Packages -> Hardware-Drivers.

To access the display wizard, go to Control Panel -> Display. You will receive the message shown in Figure 7.5a:

Figure 7.5a: Save Your Work Before Changing Display Settings

Display1a.png

If you need to save any work first, 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 reboot into the display wizard, shown in Figure 7.5b:

Figure 7.5b: Display Settings Wizard

Display1.png

Here you can select your desired screen resolution, color depth and the video driver. PC-BSD should list the name of your video card, however, it may select the "vesa" driver which should 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 7.5c:

Figure 7.5c: Advanced Tab of Display Settings

Display2a.png

Use caution and refer to your monitor's documentation if you make any changes here. If you're not sure what you're 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 this Display Settings screen so that you can amend the details. Once you are satisfied with the settings, click Yes when prompted to accept them.

KDE Desktop Effects and Compiz

To prevent problems with video cards that do not support desktop effects, these are disabled by default. You can enable these effects if your video card supports them. How to do so depends upon the desktop.

Within KDE, click Control Panel -> System Settings -> Desktop Effects to access the configuration screen shown in Figure 7.5d:

Figure 7.5d: Enabling Desktop Effects in KDE

Effect.jpeg

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.

For the other desktops, you can install Compiz using Control Panel -> System Manager -> System Packages -> Misc -> Compiz.

Troubleshooting

Until DRI/GEM/KMS is fully supported in PC-BSD, certain video drivers will not take full advantage of the hardware feature set. This typically affects 3d effects on ATI and Radeon cards. If the screen goes blank or otherwise doesn't work when you select the HD version of the driver, selecting the non-HD version should allow you to use the card.

If you are having problems with your display settings and would like to manually edit /etc/X11/xorg.conf or run Xorg --config, you will want to first tell the PC-BSD system to not automatically start X for you. You can do this by putting a # (comment) in front of the following line in /etc/ttys:

ttyv8 "/usr/PCBSD/bin/pdm" xterm on secure

Reboot the system after saving your change and it will boot into the console only. You can then try the instructions in the FreeBSD Handbook to manually configure and test Xorg. Once you have a configuration that works for you, save it to /etc/X11/xorg.conf, remove the # from that line in /etc/ttys, and restart the system.

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

sysctl -w hw.acpi.reset_video=1

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

hw.acpi.reset_video=1