歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 8(內核版本2.6.23.9-85.fc8)安裝ATI 7.12官方驅動,支持1440x900寬屏

Fedora 8(內核版本2.6.23.9-85.fc8)安裝ATI 7.12官方驅動,支持1440x900寬屏

日期:2017/2/28 16:58:17   编辑:Linux教程

為了享受一下Fedora 8的3D桌面,幾天前安裝了Fedora 8,但是我的HP nx6330是寬屏1440x900的分辨率,一直都不能正常使用1440x900的分辨率,最大只能使用1152x864,而且改xorg.conf也不能正常顯示,應該是ATI驅動不能正常識別我的1440x900的顯示器。經過幾天的摸索,終於可以正常使用1440X900分辨率。下面是我幾天來摸索的一些經驗:

在http://www.ati.com下載最新的7.12驅動程序ati-driver-installer-8.443.1-x86.x86_64.run

使用./ati-driver-installer-8.443.1-x86.x86_64.run --buildpkg Fedora/F8獲得四個安裝包:

ATI-fglrx-8.443.1-1.f8.i386.rpm
ATI-fglrx-control-center-8.443.1-1.f8.i386.rpm
ATI-fglrx-devel-8.443.1-1.f8.i386.rpm
kernel-module-ATI-fglrx-2.6.23.9-85.fc8-8.443.1-1.f8.i386.rpm

可能會提示不能解壓的錯誤,具體是什麼忘了,好像是/etc/ati/下的文件不能生成。遇到這個問題,要在root的~目錄下建立.rpmmacros這個文件,文件內容是:

%_unpackaged_files_terminate_build 0

執行rpm -Uvh *.rpm 安裝四個rpm包

yum install mesa-libGL*(也可以用yumex來安裝)

下載老板本

安裝命令:rpm -Uvh --nodeps --oldpackage xorg-x11-server-Xorg-1.3.0.0-17.fc8.i386.rpm(這個是在網上找到的,據說是新版本的xerver-xorg與驅動不兼容)

修改xorg.conf文件,我的xorg.conf文件如下:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us+inet"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
HorizSync 24.0 - 70.0
VertRefresh 50.0 - 75.0
ModeLine "1440x900_60.00" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "General LCD Panel"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 1440 900
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480" "640x400"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

運行glxinfo |grep direct 得到類似 direct rendering: No (…………LIBGL_DEBUG=verbose)的提示,然後運行LIBGL_DEBUG=verbose glxinfo 得到不能打開/usr/X11R6/lib/modules/dri/?(具體文件名忘了)提示,手動建立/usr/X11R6/lib /modules目錄,然後運行ln -s /usr/lib/dri /usr/X11R6/lib/modules即可解決.再運行glxinfo,應該是direct rendering: Yes.

運行 應用程序—》系統工具—》AMD Catalyst Control Center,在顯示器管理器—》數字監視器(1)—》圖像縮放中選擇無縮放(圖像居中),然後顯示器變為物理的1152x864分辨率(顯示器的外圈是黑色的),在系統—》管理—顯示中硬件選項卡配置顯示器類型,選擇Generic LCD Display LCD Panel 1440x900確定,然後重啟。

在系統—》首選項—》硬件—》屏幕分辨率選擇 1440x900這樣就可以正常顯示了。

這樣設置是能正常支持顯示器了。

Copyright © Linux教程網 All Rights Reserved