2

I have installed Ubuntu 16.04 final beta on a Dell Inspiron 15 5000 Series (Intel(R)) - 5559. This laptop has a AMD Radeon(TM) R5 M335 4GB DDR3 GPU.

I am unable to tell if it is being used or not. Indeed, the open source drivers module seems to be loaded:

$> lsmod  | grep radeon
radeon               1511424  1
i2c_algo_bit           16384  2 i915_bpo,radeon
ttm                    98304  1 radeon
drm_kms_helper        139264  2 i915_bpo,radeon
drm                   360448  9 ttm,i915_bpo,drm_kms_helper,radeon

however, I expected to see it listed in lspci, while there only seems to be the integrated intel card:

$> lspci | grep -i graphic
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)

Also, I have installed the radeontop utility but it outputs:

Can't find Radeon cards

I don't know if it's relevant, but OpenGL seems to be working:

$> glxinfo | grep direct
direct rendering: Yes
GL_ARB_direct_state_access, GL_ARB_draw_buffers, 
GL_ARB_draw_indirect, GL_ARB_draw_instanced, 
GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect, 

but still I don't know if it's the intel or the radeon card taking care of it.

I have never tried older versions of ubuntu on this laptop, so I have never tried the - now deprecated - proprietary drivers.

How can I tell if my graphic card is working? If it's not, how can I make it work again?

Nicola Sap
  • 207
  • 1
  • 2
  • 16

1 Answers1

1

To tell if your card is working, do a xrandr --listproviders. Both cards should be visible.

If you want to use it, the best way is xrandr --setprovideroffloadsink radeon Intel, with it, you can use your discrete card for the applications who need it the most (for example games, 3D modellers...) by prepending the DRI_PRIME=1 environment variable:

DRI_PRIME=1 glxinfo | grep "OpenGL renderer" should give an output of OpenGL renderer string: Gallium 0.4 on AMD <platform>.

emk2203
  • 4,393
  • 1
  • 26
  • 52