我的系统运行的是 ubuntu 16.04,上面有 Radeon r9 390x 显卡。在网上搜索后,我不确定这块显卡的情况。我不知道:* 我应该安装哪个驱动程序 * 如何安装 * 在哪里可以找到支持我的显示器的适当设置
amdgpu 和 radeon 驱动程序似乎都是开箱即用的预安装。没有 /etc/x11/xorg.conf 文件,尽管 radeon 驱动程序似乎依赖于它。我可以使用系统设置选择的显示器分辨率最高为 1920x1080。我的显示器是 2560x1440(戴尔 u2713hm)。
lspci |grep -E "VGA|3D"
结果是
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon R9 290X] (rev 80)
因此,基本上显卡已经被错误检测了,尽管这可能是一个小问题,因为 390x 看起来与 290x 非常相似。
dpkg --get-selections |grep xserver
给出
x11-xserver-utils install
xserver-common install
xserver-xorg install
xserver-xorg-core install
xserver-xorg-input-all install
xserver-xorg-input-evdev install
xserver-xorg-input-synaptics install
xserver-xorg-input-vmmouse install
xserver-xorg-input-wacom install
xserver-xorg-video-all install
xserver-xorg-video-amdgpu install
xserver-xorg-video-ati install
xserver-xorg-video-fbdev install
xserver-xorg-video-intel install
xserver-xorg-video-nouveau install
xserver-xorg-video-qxl install
xserver-xorg-video-radeon install
xserver-xorg-video-vesa install
xserver-xorg-video-vmware install
我尝试手动创建 /etc/X11/xorg.conf 并粘贴
Section "Device"
Identifier "Configured Video Device"
Driver "radeon"
EndSection
进入其中。没有行为变化。
我不知道为什么系统不允许我选择高于 1920x1080 的分辨率。我不知道如何检查我的显卡是否已安装(或“正确”安装)以及如何获取显示器的原始分辨率。
这是一个全新的安装 - 绝对一切都是全新的并且来自标准安装。
显示器通过 HDMI 连接。这实际上似乎是检测原始分辨率的问题。当使用 DVI 连接时,让我直接选择最大分辨率。
输出
dmesg | egrep 'drm|radeon'
是
[ 1.031044] [drm] Initialized drm 1.1.0 20060810
[ 1.053725] [drm] radeon kernel modesetting enabled.
[ 1.058423] fb: switching to radeondrmfb from VESA VGA
[ 1.058806] [drm] initializing kernel modesetting (HAWAII 0x1002:0x67B0 0x1043:0x04DB).
[ 1.058812] [drm] register mmio base: 0xDFD00000
[ 1.058813] [drm] register mmio size: 262144
[ 1.058815] [drm] doorbell mmio base: 0xD0000000
[ 1.058815] [drm] doorbell mmio size: 8388608
[ 1.058842] radeon 0000:01:00.0: Invalid ROM contents
[ 1.058984] radeon 0000:01:00.0: VRAM: 8192M 0x0000000000000000 - 0x00000001FFFFFFFF (8192M used)
[ 1.058984] radeon 0000:01:00.0: GTT: 2048M 0x0000000200000000 - 0x000000027FFFFFFF
[ 1.058985] [drm] Detected VRAM RAM=8192M, BAR=256M
[ 1.058986] [drm] RAM width 512bits DDR
[ 1.059189] [drm] radeon: 8192M of VRAM memory ready
[ 1.059190] [drm] radeon: 2048M of GTT memory ready.
[ 1.059195] [drm] Loading hawaii Microcode
[ 1.059257] [drm] Internal thermal controller with fan control
[ 1.059280] [drm] probing gen 2 caps for device 8086:1901 = 261ad03/e
[ 1.079112] [drm] radeon: dpm initialized
[ 1.081496] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
[ 1.081499] [drm] GART: num cpu pages 524288, num gpu pages 524288
[ 1.082166] [drm] probing gen 2 caps for device 8086:1901 = 261ad03/e
[ 1.082175] [drm] PCIE gen 3 link speeds already enabled
[ 1.100283] [drm] PCIE GART of 2048M enabled (table at 0x0000000000324000).
[ 1.100405] radeon 0000:01:00.0: WB enabled
[ 1.100410] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000200000c00 and cpu addr 0xffff881025e8ac00
[ 1.100410] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000200000c04 and cpu addr 0xffff881025e8ac04
[ 1.100425] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000200000c08 and cpu addr 0xffff881025e8ac08
[ 1.100426] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000200000c0c and cpu addr 0xffff881025e8ac0c
[ 1.100427] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000200000c10 and cpu addr 0xffff881025e8ac10
[ 1.100754] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000076c98 and cpu addr 0xffffc90007036c98
[ 1.100899] radeon 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000200000c18 and cpu addr 0xffff881025e8ac18
[ 1.100900] radeon 0000:01:00.0: fence driver on ring 7 use gpu addr 0x0000000200000c1c and cpu addr 0xffff881025e8ac1c
[ 1.100901] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.100901] [drm] Driver supports precise vblank timestamp query.
[ 1.100938] radeon 0000:01:00.0: radeon: using MSI.
[ 1.100986] [drm] radeon: irq initialized.
[ 1.103495] [drm] ring test on 0 succeeded in 0 usecs
[ 1.103587] [drm] ring test on 1 succeeded in 1 usecs
[ 1.103600] [drm] ring test on 2 succeeded in 3 usecs
[ 1.103786] [drm] ring test on 3 succeeded in 5 usecs
[ 1.103792] [drm] ring test on 4 succeeded in 1 usecs
[ 1.129632] [drm] ring test on 5 succeeded in 2 usecs
[ 1.149483] [drm] UVD initialized successfully.
[ 1.258681] [drm] ring test on 6 succeeded in 23 usecs
[ 1.258691] [drm] ring test on 7 succeeded in 4 usecs
[ 1.258692] [drm] VCE initialized successfully.
[ 1.271892] [drm] ib test on ring 0 succeeded in 0 usecs
[ 1.771575] [drm] ib test on ring 1 succeeded in 0 usecs
[ 2.271470] [drm] ib test on ring 2 succeeded in 0 usecs
[ 2.271630] [drm] ib test on ring 3 succeeded in 0 usecs
[ 2.271787] [drm] ib test on ring 4 succeeded in 0 usecs
[ 2.791365] [drm] ib test on ring 5 succeeded
[ 2.812183] [drm] ib test on ring 6 succeeded
[ 2.812986] [drm] ib test on ring 7 succeeded
[ 2.814573] [drm] Radeon Display Connectors
[ 2.814574] [drm] Connector 0:
[ 2.814575] [drm] DP-1
[ 2.814576] [drm] HPD2
[ 2.814577] [drm] DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[ 2.814578] [drm] Encoders:
[ 2.814579] [drm] DFP1: INTERNAL_UNIPHY2
[ 2.814579] [drm] Connector 1:
[ 2.814580] [drm] DP-2
[ 2.814580] [drm] HPD4
[ 2.814582] [drm] DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[ 2.814582] [drm] Encoders:
[ 2.814583] [drm] DFP2: INTERNAL_UNIPHY
[ 2.814583] [drm] Connector 2:
[ 2.814584] [drm] DP-3
[ 2.814585] [drm] HPD6
[ 2.814586] [drm] DDC: 0x6580 0x6580 0x6584 0x6584 0x6588 0x6588 0x658c 0x658c
[ 2.814586] [drm] Encoders:
[ 2.814587] [drm] DFP3: INTERNAL_UNIPHY
[ 2.814588] [drm] Connector 3:
[ 2.814588] [drm] HDMI-A-1
[ 2.814589] [drm] HPD3
[ 2.814590] [drm] DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
[ 2.814590] [drm] Encoders:
[ 2.814591] [drm] DFP4: INTERNAL_UNIPHY2
[ 2.814592] [drm] Connector 4:
[ 2.814592] [drm] DVI-D-1
[ 2.814593] [drm] HPD1
[ 2.814594] [drm] DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[ 2.814595] [drm] Encoders:
[ 2.814595] [drm] DFP5: INTERNAL_UNIPHY1
[ 2.917466] [drm] fb mappable at 0xC0727000
[ 2.917467] [drm] vram apper at 0xC0000000
[ 2.917468] [drm] size 8294400
[ 2.917468] [drm] fb depth is 24
[ 2.917469] [drm] pitch is 7680
[ 2.917573] fbcon: radeondrmfb (fb0) is primary device
[ 2.917653] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[ 2.930053] [drm] Initialized radeon 2.43.0 20080528 for 0000:01:00.0 on minor 0
我可以使用以下方法添加适用于 HDMI 的分辨率
cvt 2560 1440 30
xrandr --newmode "2560x1440_30.00" 146.25 2560 2680 2944 3328 1440 1443 1448 1468 -hsync +vsync
和
xrandr --addmode HDMI-0 "2560x1440_30.00"
这个分辨率看网页、看程序还可以,但是看电影就不太流畅了。
如果有人知道如何使该显卡、显示器和 HDMI 组合工作,请告诉我(我已经在没有 HDMI 的另一台计算机上使用 DVI 连接,因此我不能仅仅交换连接)。
该驱动程序似乎是 radeon 而不是 amdgpu:输出
lshw -class display | grep "driver"
是
configuration: driver=radeon latency=0
此外,我有兴趣知道如何使用此(radeon?)驱动程序测试我的显卡的速度。
但是,我在网上没有找到任何网站解释如何检查正在使用哪个驱动程序或如何切换它们。所以我不确定我的系统实际使用哪个驱动程序以及如何切换它们。
任何帮助都将不胜感激。
答案1
我目前处于无图形状态,这有助于解释原因: http://www.omgubuntu.co.uk/2016/03/ubuntu-drops-amd-catalyst-fglrx-driver-16-04
如果您有 fglrx 驱动程序并升级到 Ubuntu 16.+,然后遇到问题,请运行以下命令:
sudo apt-get remove --purge xorg-driver-fglrx fglrx*
sudo apt-get remove --purge *fglrx*
sudo apt-get install --reinstall libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo reboot
答案2
在 16.04 中,AMD 显卡驱动程序是AMDGPU
。支持的显卡列表是这里。这说明您的卡完全受支持。
您AMDGPU
已在使用 驱动程序。如果 的结果为 ,则lshw -c video
您Radeon
正在使用AMDGPU
。
另一个专有驱动程序是fglrx
。它比 更快AMDGPU
(至少在撰写本文时),因此您可能想尝试一下。安装说明如下这里. 它将在 Ubuntu 16.04 下运行
Ubuntu 的现代版本不使用/etc/X11/xorg.conf
,因此编辑它不会影响任何东西。
如果您使用单链路 DVI 电缆连接显示器,分辨率会受到限制。单链路仅能支持 60Hz 下 1920 X 1200 的分辨率。请购买支持 60Hz 下 2560 X 1600 的分辨率的双链路 DVI 电缆。
高达 1.3 版本的 HDMI 相当于单链路 DVI 电缆,因此无法支持您想要实现的分辨率。
一个解决方案是升级到具有多个 DVI 输入的显示器或购买 2 端口 DVI 交换机(并确保它支持双链路 DVI)。一个肯定支持双链路的简单交换机示例是 HQ 2 端口 DVI_I 交换机。亚马逊英国链接