0

I have and Intel HD 4000 and ATI Raedon 8670HD hybrid GPU on my laptop. But, the Raedon GPU is not being used.

Specification:

OS: Ubuntu 17.04

Graphics Card:

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)

As mentioned in this Question, How to install the open-source "radeon" driver, when I run the following command:

lspci -k | grep -EA2 'VGA|3D'

This is what I get:

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

If I run dmesg | egrep 'drm|radeon', this is the output(Part of it):

[    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

So, it seems like Ubuntu knows about the GPU, but it isn't using it.

In /usr/share/X11/xorg.conf.d/ there exists a file named 10-amdgpu.conf and 10-raedon.conf.

Pilot6
  • 92,041
code
  • 173

1 Answers1

1

Your radeon driver is intalled and working.

To use it with some application run it with DRI_PRIME=1, e.g.

DRI_PRIME=1 google-chrome

To check which adapter is used you can run

DRI_PRIME=1 glxinfo | grep OpenGL

to run wuth radeon, and

glxinfo | grep OpenGL

to run with Intel.

Pilot6
  • 92,041