特殊:Badtitle/NS100:Radeon 9200/9250 RV280 and DVI:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/Radeon_9200/9250_%28RV280%29_and_DVI}} {{Languages|UbuntuHelp:Radeon_9200/9250_%28RV280%29_and_DVI}} DVI output with ATI RV280 series graphics car...
 
Wikibot留言 | 贡献
无编辑摘要
第16行: 第16行:
This downloads three files and unpacks the sources into the directory xserver-xorg-driver-ati-version. In this directory is the file src/radeon_bios.c, that we need to edit. Towards the end of this file is a comment saying:
This downloads three files and unpacks the sources into the directory xserver-xorg-driver-ati-version. In this directory is the file src/radeon_bios.c, that we need to edit. Towards the end of this file is a comment saying:
<pre><nowiki>
<pre><nowiki>
/* revision 4 has some problem as it appears in RV280,
        /* revision 4 has some problem as it appears in RV280,
comment it off for now, use default instead */
          comment it off for now, use default instead */
</nowiki></pre>
</nowiki></pre>
And after this comment follows a code block that has been commented out. We need to re-enable this code by removind the commenting-out. In my case deleting lines 574 and 561 did the job.
And after this comment follows a code block that has been commented out. We need to re-enable this code by removind the commenting-out. In my case deleting lines 574 and 561 did the job.

2007年12月6日 (四) 10:51的版本

{{#ifexist: :Radeon 9200/9250 RV280 and DVI/zh | | {{#ifexist: Radeon 9200/9250 RV280 and DVI/zh | | {{#ifeq: {{#titleparts:Radeon 9200/9250 RV280 and DVI|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Radeon 9200/9250 RV280 and DVI|1|-1|}} | zh | | }}

DVI output with ATI RV280 series graphics cards is broken in xorg. This is caused by a bug in the xorg ati/radeon driver. A solution to the problem is provided by this instruction (requires recompiling the driver).

Prerequisites

This HOWTO was written for Edgy. The problem still exists in Feisty, however the name of the package has changed. Please change every instance of "xserver-xorg-driver-ati" with "xserver-xorg-video-ati" for this to work on Feisty. To recompile the driver we need some packages installed on our system.

$ sudo apt-get install build-essential fakeroot
$ sudo apt-get build-dep xserver-xorg-driver-ati

Instruction

In a new empty directory (our build directory) run:

$ apt-get source xserver-xorg-driver-ati

This downloads three files and unpacks the sources into the directory xserver-xorg-driver-ati-version. In this directory is the file src/radeon_bios.c, that we need to edit. Towards the end of this file is a comment saying:

        /* revision 4 has some problem as it appears in RV280,
           comment it off for now, use default instead */

And after this comment follows a code block that has been commented out. We need to re-enable this code by removind the commenting-out. In my case deleting lines 574 and 561 did the job. Now we can build the driver by running:

$ dpkg-buildpackage -rfakeroot -uc -b

from within the directory that was created for the package after downloading. To install it run:

sudo dpkg -i xserver-xorg-driver-ati_6.5.7.3-0ubuntu7_i386.deb

from within our build directory.