个人工具

UbuntuHelp:Radeon 7000 RV100 duelhead

来自Ubuntu中文

跳转至: 导航, 搜索

Introduction

This page is for anyone with a Radeon 7000 (RV100) graphics card that want to use two monitors as a shared desktop. Clone mode for both outputs works fine out of the box, however duel heads did not work 'as advertised on TV.'

Hardware

To determine if you have this graphics chip open a terminal window and type lspci | grep ATI You should see something similar to the following 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] If nothing shows up, you are probably not in the right place, try getting some help at #ubuntu on irc.freenode.org.

Open Source Driver

As far as I can tell the proprietary ATI driver does not support this graphics chip, so if you haven't already done so, remove the proprietary driver and install the open source ATI driver.

Configuration

Overall the process is easy after you know what to do: set up xorg.conf; then activate the second display with xrandr.

xorg.conf

ALWAYS make a backup of your xorg.conf file before editing it!

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bkup`
sudo gedit /etc/X11/xorg.conf

To restore the backup file if something goes wrong:

sudo cp /etc/X11/xorg.conf.bkup /etc/X11/xorg.conf

Replace what was in xorg.conf with the following blob:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier "Generic Keyboard"
	Driver "kbd"
	Option "CoreKeyboard"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc101"
	Option "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier "Configured Mouse"
	Driver "mouse"
	Option "CorePointer"
	Option "Device" "/dev/input/mice"
	Option "Protocol" "ImPS/2"
	Option "ZAxisMapping" "4 5"
	Option "Emulate3Buttons" "true"
EndSection

Section "Device"
        Identifier      "Radeon 7000"
        Driver          "ati"
        BusID           "PCI:1:0:0"
        Option          "XAANoOffscreenPixmaps"
	Option		"monitor-DVI-1" "monitor1"
	Option		"monitor-DVI-0" "monitor2"
EndSection

Section "Monitor"
        Identifier      "monitor1"
        Option          "DPMS"
	Option		"PreferredMode" "1280x1024"
	Option		"Position" "0 0"
	Option		"Enable" "true"
EndSection

Section "Monitor"
        Identifier      "monitor2"
        Option          "DPMS"
	Option		"PreferredMode" "1280x1024"
	Option		"RightOf" "monitor1"
	Option		"Enable" "true"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Radeon 7000"
        Monitor         "monitor1"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "800x600" "1024x768" "1280x1024"
# I think this is the big magical line that makes it all work
		Virtual         2560 1024
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
        
Section "Extensions"
        Option "Composite" "Enable"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Reboot to load the new settings and make sure that everything is working ok. If you're lucky you might not even need the next step. :D

xrandr

After the open source driver and the above configuration are in use, we can use the xrandr to turn on the second display.

xrandr --output DVI-0 --mode 1280x1042
xrandr --output DVI-0 --right-of DVI-1

And there you have it! Duel screen support should be in effect!

References

These links were very useful to me in configuring my display to work correctly, maybe they will be helpfull to you in the event that your display is still not working perfectly.

Bug Report

A bug has been filed for this issue. Up to date information might be found there if you need more help.