你好,游客 登录 注册 搜索
背景:
阅读新闻

ATI Big-Desktop and RandR

[日期:2011-06-22] 来源:cnblogs  作者:sink_cup [字体:大 中 小]
Dual Monitor Support With Binary, ATI-Only Big-Desktop
The following HowTo attempts to enable Dual Monitor support by enabling the Big-Desktop function of the Ati-only binary graphics driver.

System Requirements:
ONE Dual-Output ATI graphics card
Functional Fglrx Driver.
The following guide explains how to install and enable the fglrx driver: https://help.Ubuntu.com/community/BinaryDriverHowto/ATI
Let's get started!!!

Update: Instead of Manually editing the Xorg file, I've decided to attempt to write a HowTo based on the "aticonfig" tool. So, for about a week or so, I need individuals to try out this method and report the outcome. You can continue to post in this thread, or you can send me a private message to report the result. So, here goes nothing!

1. I know you have already saved a back of the xorg.conf file (you did, didn't you? ).:

Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup


2. Next, we want X to be using the fglrx driver, so:

Code:
sudo aticonfig --initial --overlay-type=Xv


3. Now that the xorg.conf is fit to be edited, enter the following commands:

Code:
sudo aticonfig --desktop-setup=horizontal --sync-vsync=on --add-pairmode=Width0xHeight0+Width1xHeight1


Here's what each command means:
Code:
--desktop-setup=horizontal
this command enables Big-Desktop, and places the two monitors next to each other (left-right orientation). Other arguments that could replace it are:
Code:
--desktop-setup=horizontal,reverse <= flips your screens.
--desktop-setup=vertical <=places your monitors in a up-down orientation.
--desktop-setup=vertical,reverse <=flips your screens.
--desktop-setup=clone
--desktop-setup=single
Code:
--sync-vsync=on
this command prevents tearing during 3D rendering.
Code:
--add-pairmode=Width0xHeight0+Width1xHeight1
this command tells X what are the resolutions for Monitor1+Monitor2.

4. Now, you can experiment with your monitors without restarting X. First, you need to see how X identifies your monitors:

Code:
sudo aticonfig --query-monitor


Then based on the information provided by the query monitor command, replace STRING in the following command:

Code:
sudo aticonfig --enable-monitor=STRING,STRING
The values of STRING should be one of these:
Code:
none crt1 crt2 lvds tv tmds1 tmds2
5. If the enable-monitor command works for you, then you need to add it to the config file:

Code:
sudo aticonfig --force-monitor=STRING,STRING


Again replace STRING with the values given by query-monitor.

5. Now restart X (ctrl+alt+backspace) or reboot your computer.
Note: the --enable-monitor command DOES NOT change your configuration file (xorg.conf). Therefore when you restart X or your computer, it may or may not work.
The following is how to manually configure Xorg.conf file. It will soon become obsolete (I just need more input from those who have test the previous method).

1. Open up Xorg.conf using ONE of the following commands:
Gnome (Ubuntu):
Code:
gksudo gedit /etc/X11/xorg.conf
KDE (Kubuntu):
Code:
kdesu kate /etc/X11/xorg.conf
Xfce4 (Xubuntu):
Code:
gksudo mousepad /etc/X11/xorg.conf
Command-Line Based:
Code:
sudo nano /etc/X11/xorg.conf
2. This is about the simplest HowTo, simply copy the following lines to your "Device" Section:
Code:
Option "DesktopSetup"  "horizontal" #Enable Big Desktop
Option "Mode2"         "1280x1024" #Resolution for second monitor
Option "DesktopSetup" "LVDS,AUTO" #the types of monitors that is connected LVDS = LCD, CRT, AUTO
Option "EnablePrivateBackZ" "yes" #Enable 3d support <= May Not Work
Option "HSync2" "65" #This sets the horizontal sync for the secondary display. 
Option "VRefresh2" "60" #This sets the refresh rate of the secondary display.
3. Save the file, and kill X (ctrl+alt+backspace), or reboot.

Now dual monitor support should be enabled. If not, then please post your problems.
linux
相关资讯       ATI 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款