Ubuntu 16.04 中未检测到 AMD GPU

Ubuntu 16.04 中未检测到 AMD GPU

所以我最终双启动了 Windows 10 和 Ubuntu 16.04。我已经在我的第二台笔记本电脑上运行 Xubuntu 大约 5-6 个月了,现在决定将它安装在我的主笔记本电脑上,到目前为止,Ubuntu 运行良好,但只有一个问题:我看不到我的专用 GPU [AMD Radeon 8670M],它只显示我的英特尔集成 GPU [Intel HD Graphics 4400]。在附加驱动程序部分,只有英特尔专有驱动程序。

以下是我运行的命令:

$ sudo lshw -c video

 *-display               
       description: VGA compatible controller
       product: Haswell-ULT Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:44 memory:c2000000-c23fffff memory:b0000000-bfffffff ioport:6000(size=64)**

$ lspci -nn | grep VGA

00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)

$ dmesg | egrep "radeon|drm"

[    1.345817] [drm] Initialized drm 1.1.0 20060810
[    1.386931] [drm] Memory usable by graphics device = 2048M
[    1.386937] fb: switching to inteldrmfb from VESA VGA
[    1.387046] [drm] Replacing VGA console driver
[    1.391211] [drm] radeon kernel modesetting enabled.
[    1.395226] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.395229] [drm] Driver supports precise vblank timestamp query.
[    1.398577] radeon 0000:0a:00.0: enabling device (0006 -> 0007)
[    1.424927] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[    1.425088] [drm] initializing kernel modesetting (HAINAN 0x1002:0x6660 0x103C:0x2164).
[    1.425101] [drm] register mmio base: 0xC2400000
[    1.425102] [drm] register mmio size: 262144
[    1.429954] radeon 0000:0a:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    1.429956] radeon 0000:0a:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    1.429957] [drm] Detected VRAM RAM=1024M, BAR=256M
[    1.429958] [drm] RAM width 64bits DDR
[    1.430106] [drm] radeon: 1024M of VRAM memory ready
[    1.430107] [drm] radeon: 2048M of GTT memory ready.
[    1.430116] [drm] Loading hainan Microcode
[    1.430197] [drm] Internal thermal controller without fan control
[    1.430254] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[    1.438512] [drm] radeon: dpm initialized
[    1.438518] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    1.439806] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[    1.439810] [drm] PCIE gen 2 link speeds already enabled
[    1.442772] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[    1.442964] radeon 0000:0a:00.0: WB enabled
[    1.442967] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800355bec00
[    1.442968] radeon 0000:0a:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8800355bec04
[    1.442970] radeon 0000:0a:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8800355bec08
[    1.442971] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800355bec0c
[    1.442973] radeon 0000:0a:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8800355bec10
[    1.442974] radeon 0000:0a:00.0: VCE init error (-22).
[    1.442976] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.442977] [drm] Driver supports precise vblank timestamp query.
[    1.442979] radeon 0000:0a:00.0: radeon: MSI limited to 32-bit
[    1.443009] radeon 0000:0a:00.0: radeon: using MSI.
[    1.443040] [drm] radeon: irq initialized.
[    1.551879] fbcon: inteldrmfb (fb0) is primary device
[    1.551995] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    1.680395] [drm] ring test on 0 succeeded in 1 usecs
[    1.680403] [drm] ring test on 1 succeeded in 1 usecs
[    1.680419] [drm] ring test on 2 succeeded in 0 usecs
[    1.680428] [drm] ring test on 3 succeeded in 4 usecs
[    1.680436] [drm] ring test on 4 succeeded in 4 usecs
[    1.680715] [drm] ib test on ring 0 succeeded in 0 usecs
[    1.680744] [drm] ib test on ring 1 succeeded in 0 usecs
[    1.680771] [drm] ib test on ring 2 succeeded in 0 usecs
[    1.680792] [drm] ib test on ring 3 succeeded in 0 usecs
[    1.680813] [drm] ib test on ring 4 succeeded in 0 usecs
[    1.681381] [drm] Radeon Display Connectors
[    1.682905] [drm] Initialized radeon 2.43.0 20080528 for 0000:0a:00.0 on minor 1
[   21.205885] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[   21.205890] [drm] PCIE gen 2 link speeds already enabled
[   21.212077] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[   21.212176] radeon 0000:0a:00.0: WB enabled
[   21.212178] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800355bec00
[   21.212180] radeon 0000:0a:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8800355bec04
[   21.212181] radeon 0000:0a:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8800355bec08
[   21.212183] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800355bec0c
[   21.212184] radeon 0000:0a:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8800355bec10
[   21.212186] radeon 0000:0a:00.0: VCE init error (-22).
[   21.448861] [drm] ring test on 0 succeeded in 1 usecs
[   21.448866] [drm] ring test on 1 succeeded in 1 usecs
[   21.448872] [drm] ring test on 2 succeeded in 1 usecs
[   21.448880] [drm] ring test on 3 succeeded in 4 usecs
[   21.448887] [drm] ring test on 4 succeeded in 4 usecs
[   21.448951] [drm] ib test on ring 0 succeeded in 0 usecs
[   21.449007] [drm] ib test on ring 1 succeeded in 0 usecs
[   21.449062] [drm] ib test on ring 2 succeeded in 0 usecs
[   21.449076] [drm] ib test on ring 3 succeeded in 0 usecs
[   21.449090] [drm] ib test on ring 4 succeeded in 0 usecs

编辑:格式化

答案1

计算机可以看到卡,但由于某种原因,正在从卡切换到集成显卡...注意一行→

“从 VESA VGA 切换到 inteldrmfb”

因此,进一步的步骤显而易见,请查看此网站或 →如何从集成显卡切换到专用显卡。有相应的命令。“lspci”命令可以确认已看到该卡。等待“lspci | grep VGA”命令输出确认“已看到该卡”(在终端中输入一个或两个不带“”的 lspci 命令),然后在此处发布结果。

答案2

如果您在主显卡是集成显卡(在您的情况下是英特尔)时安装 ubuntu,那么 ubuntu 会为其加载驱动程序..因此您需要在 BIOS 中检查并切换主显卡系统将使用的 AMD ..然后启动 ubuntu.. 然后 Ubuntu 将使用专用显卡启动,并使用开源驱动程序,启动后您可以选择使用开源驱动程序,或安装闭源(专有 amd 驱动程序)请注意从 ubuntu 16.04 开始 ubuntu 将不允许对属于传统类型的旧卡使用专有 amd 驱动程序 fglrx..(您的卡不在该组中,但您不仅仅是在阅读此内容)第二点注意事项:当您在 ubuntu 中启动时,单击右上角的用户名,然后选择“关于计算机”,然后会打开新窗口,您可以在其中阅读计算机名称、内存、处理器和使用的显卡..因此在提到图形的地方,检查是否使用了您想要的显卡,但如果提到了“管道”..您将需要再次重新启动,并且如果从恢复模式启动,则同样有效,因为第一次 ubuntu 可以启动到低级别的图形,并且在发送启动(或重新启动)后,将启动并使用完整而不是较低级别的图形..您记住这一点,这很重要,因为如果选择了恢复选项,则始终在该模式下启动...因此,在您在 bios 中更改后,(检查默认图形适配器不是集成的,默认是专用的..然后继续启动如果没有在登录屏幕启动,请重新启动并在恢复模式下启动..并从那里继续启动..如果没有启动到登录屏幕,然后再次重新启动并在恢复模式下第一次激活网络,然后返回到相同的菜单,选择终端(root),检查您是否已使用简单命令(如 apt update、apt upgrade)连接......(如果您仍然没有连接,我建议连接有线网线,否则您将需要真正调整无线,因为在进一步的步骤中,我们可以从这里的终端下载并安装 amd 驱动程序..作为 root..或者如果你可以做正常启动并获取较低的图形模式,重新启动也许 - 大多数人会获得完整的图形模式(没有提到“管道”),所以解决方案是从启动的正常模式或从恢复模式下载并安装 AMD 驱动程序,或清除英特尔驱动程序,或任何以前使用的..因为那些不是为 AMD 专用 gpu 卡下载和安装的,就像在您安装 ubuntu 下载并安装集成卡的驱动程序一样,因为集成卡是默认的主图形适配器...或者如果这一切对您来说很复杂,请重新安装 ubuntu,但要确保 bios 中的主显卡是专用的(在您的情况下是 AMD)而不是集成的(在您的情况下是 INTEL)..是的,还有其他方法可以安装驱动程序,并检查正在使用的驱动程序,并“激活” - 使用专用卡..但我在这个答案中选择了这种方式......让您熟悉恢复选项和终端里面的内容,您知道的 SURE 会很好..以防将来出现任何问题..从具有 root 权限的终端并连接到互联网,一切都可以解决。由于您的专用显卡是 AMD,因此对于 AMD(非开源)驱动程序,请检查此链接 →http://support.amd.com/en-us/download/linux

相关内容