![Radeon 驱动程序不支持受支持的显卡](https://linux22.com/image/1148937/Radeon%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E4%B8%8D%E6%94%AF%E6%8C%81%E5%8F%97%E6%94%AF%E6%8C%81%E7%9A%84%E6%98%BE%E5%8D%A1.png)
我的笔记本电脑上有 Intel HD 4000 和 ATI Raedon 8670HD 混合 GPU。但是,Raedon GPU 没有被使用。
规格:
操作系统:Ubuntu 17.04
显卡:
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
正如这个问题中提到的,如何安装开源“radeon”驱动程序,当我运行以下命令时:
lspci -k | grep -EA2 'VGA|3D'
这是我得到的:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
DeviceName: Intel(R) Graphics 4000
Subsystem: Hewlett-Packard Company 3rd Gen Core processor Graphics Controller
如果我运行dmesg | egrep 'drm|radeon'
,这是输出(部分):
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-28-generic root=UUID=4471312f-2d43-4d02-8b4d-0b34daa74bed ro quiet splash radeon.modeset=1
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-28-generic root=UUID=4471312f-2d43-4d02-8b4d-0b34daa74bed ro quiet splash radeon.modeset=1
[ 1.197192] [drm] Initialized
[ 1.233433] [drm] radeon kernel modesetting enabled.
[ 1.237209] [drm] Memory usable by graphics device = 2048M
[ 1.237210] [drm] Replacing VGA console driver
[ 1.238609] [drm] initializing kernel modesetting (HAINAN 0x1002:0x6660 0x103C:0x1970 0x00).
[ 1.238618] [drm] register mmio base: 0xC2000000
[ 1.238619] [drm] register mmio size: 262144
[ 1.243736] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.243737] [drm] Driver supports precise vblank timestamp query.
[ 1.247703] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 1.247705] radeon 0000:01:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[ 1.247709] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 1.247710] [drm] RAM width 64bits DDR
[ 1.247777] [drm] radeon: 2048M of VRAM memory ready
[ 1.247777] [drm] radeon: 2048M of GTT memory ready.
[ 1.247783] [drm] Loading hainan Microcode
因此,Ubuntu 似乎知道 GPU,但并没有使用它。
其中存在一个名为和 的/usr/share/X11/xorg.conf.d/
文件。10-amdgpu.conf
10-raedon.conf
答案1
您的radeon
驱动程序已安装并正在运行。
要与某些应用程序一起使用它,请运行它DRI_PRIME=1
,例如
DRI_PRIME=1 google-chrome
要检查使用了哪个适配器,您可以运行
DRI_PRIME=1 glxinfo | grep OpenGL
运行wuth radeon
,和
glxinfo | grep OpenGL
与英特尔一起运行。