我在 Dell OptiPlex 760 上安装了 Scientific Linux 6.5 (2.6.32-431.11.2.el6.x86_64),并配有 Radeon HD 3470 显卡和连接的两个显示器。我在设置适合显示器的分辨率时遇到困难,并且两个显示器无法显示相同的屏幕。我不是 Xorg 配置方面的专家,我希望得到一些帮助来让事情正常工作。
显卡的PCI 设备列表 ( lspci | grep VGA
) 如下:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620 PRO [Radeon HD 3470]
更详细的列表(lspci -v -s $(lspci | awk '/VGA/{print $1}')
)如下:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620 PRO [Radeon HD 3470] (prog-if 00 [VGA controller])
Subsystem: Dell Device 3243
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at dc00 [size=256]
Expansion ROM at fea00000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel modules: radeon
xrandr
查询( )结果xrandr -q
如下:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
1280x1024 0.0*
1152x864 0.0
1024x768 0.0
800x600 0.0
640x480 0.0
720x400 0.0
协调视频定时实用程序返回的主显示器支持的最高分辨率 (1680 x 1050) 的模型cvt
行如下:
cvt 1680 1050
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
如果我尝试将其与 一起使用xrandr
,我会得到以下结果:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr: Failed to get size of gamma for output default
该文件的全部内容/etc/X11/xorg.conf
如下:
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
我不确定下一步要做什么才能设置适当的分辨率并使两个显示器作为两个单独的显示器工作(而不是具有镜像行为)。
更新:我尝试为此图形设置安装驱动程序(fglrx64_p_i_c-8.97.100.7-1.x86_64.rpm
),但遇到了有关未定义符号的困难noXfree86driextension
。文件的结尾内容Xorg.0.log
如下:
[ 39.312] Initializing built-in extension XVideo
[ 39.312] Initializing built-in extension XVideo-MotionCompensation
[ 39.312] Initializing built-in extension SELinux
[ 39.312] Initializing built-in extension XFree86-VidModeExtension
[ 39.312] Initializing built-in extension XFree86-DGA
[ 39.312] Initializing built-in extension XFree86-DRI
[ 39.312] Initializing built-in extension DRI2
[ 39.312] (II) "glx" will be loaded by default.
[ 39.312] (II) LoadModule: "glx"
[ 39.338] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 39.358] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 39.358] compiled for 6.9.0, module version = 1.0.0
[ 39.365] Loading extension GLX
[ 39.366] (II) LoadModule: "fglrx"
[ 39.366] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[ 39.520] (EE) Failed to load /usr/lib64/xorg/modules/drivers/fglrx_drv.so: /usr/lib64/xorg/modules/drivers/fglrx_drv.so: undefined symbol: noXFree86DRIExtension
[ 39.520] (II) UnloadModule: "fglrx"
[ 39.520] (II) Unloading fglrx
[ 39.520] (EE) Failed to load module "fglrx" (loader failed, 7)
[ 39.520] (EE) No drivers available.
[ 39.520]
Fatal server error:
[ 39.520] no screens found
[ 39.520] (EE)
Please consult the Red Hat, Inc. support
at https://www.redhat.com/apps/support/
for help.
[ 39.520] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 39.520] (EE)
答案1
AMD 的专有驱动程序在像您这样的最新 Linux 内核上不受支持。最好让开源 radeon 驱动程序正常工作。根据我的研究,开源驱动程序优于 AMD 的专有驱动程序(又名 Catalyst/fglrx)并支持较新的内核版本(阅读更多)。
我其实也有同样的问题。在这里查看我的问题:让 radeon 驱动程序工作