This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

How to install the graphics drivers for AMD Radeon?

jarkky

Sat Jun 29, 2019 9:17:36 am

I tried to install the drivers, but the AMD GPU does not seem to appear in "radeontop" -command:
sudo apt install xserver-xorg-video-amdgpu-hwe-18.04
I think something must still be missing and this is old system without AMD Radeon HD 6400M/7400M -series.

Anything I did it didn't change the graphics driver and information is still as below:
jari@jari-PC:~$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

SYSTEM2.png
SYSTEMSPEC



Radeontop results:
Screenshot from 2019-06-29 18-09-14.png
RADEONTOP RESULTS

It looks it is not operating...

Aravisian

Sat Jun 29, 2019 1:39:00 pm

Jarkky, can you open terminal and type in
Code:
lspci -v

scan the output for something with VGA or video controller... For example, my output that holds VGA looks like
Code:
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Atom Processor Z36xxx/Z37xxx Series Graphics & Display
   Flags: bus master, fast devsel, latency 0, IRQ 93
   Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
   Memory at 80000000 (32-bit, prefetchable) [size=256M]
   I/O ports at 2050 [size=8]
   [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
   Capabilities: <access denied>
   Kernel driver in use: i915
   Kernel modules: i915


Can you paste your output here?

jarkky

Sat Jun 29, 2019 3:38:50 pm

Can you paste your output here?[/quote]

1.) - Intel
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family Integrated Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 6000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

2.) - AMD
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Radeon HD 7470M
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at c6400000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 5000 [size=256]
Expansion ROM at c6420000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon

But the AMD case there is no activity of any kind...
Also it is not clear which one I should use, but the AMD could have some more hardware acceleration functions compared to Intel.
This should work with dual monitor.
I can not find out what is the policy for these 2 different system to operate (and which one is operational).

OpenBenchmarking.org can not find the AMD GPU:
Intel Core i5-2450M - Intel 2nd Generation Core
Processor: Intel Core i5-2450M @ 3.10GHz (4 Cores), Motherboard: HP 17FD, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 4096MB, Disk: 1000GB Seagate ST1000LM048-2E71, Graphics: Intel 2nd Generation Core Family IGP 1024MB, Audio: IDT 92HD81B1X5, Network: Realtek RTL8111/8168/8411 + Intel Centrino Wireless-N 1030

Aravisian

Sat Jun 29, 2019 3:58:04 pm

jarkky wrote:But the AMD case there is no activity of any kind...
Also it is not clear which one I should use, but the AMD could have some more hardware acceleration functions compared to Intel.
This should work with dual monitor.

Both will work with dual monitor, yes.
Let's see what drivers you have now:
Can you
Code:
sudo apt install mesa-utils

Once complete, use the following command to pull up the Radeon driver info currently installed:
Code:
glxinfo -B


EDIT:
jarkky wrote:OpenBenchmarking.org can not find the AMD GPU:
Intel Core i5-2450M - Intel 2nd Generation Core
Processor: Intel Core i5-2450M @ 3.10GHz (4 Cores), Motherboard: HP 17FD, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 4096MB, Disk: 1000GB Seagate ST1000LM048-2E71, Graphics: Intel 2nd Generation Core Family IGP 1024MB, Audio: IDT 92HD81B1X5, Network: Realtek RTL8111/8168/8411 + Intel Centrino Wireless-N 1030

I know this is silly... But have you tried shutting down the PC, pulling out the Radeon Card, reinstalling it to make sure it is well seated, then powering the PC again?

jarkky

Sun Jun 30, 2019 3:11:11 am

glxinfo -B -results:

name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) Sandybridge Mobile (0x126)
Version: 18.2.8
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 18.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00


It always finds only this Intel GPU... No idea which one is better here though, Intel or AMD.
Because not able to test the AMD GPU.

Aravisian

Sun Jun 30, 2019 3:59:52 am

jarkky wrote:glxinfo -B -results:

name of display: :0(snip)
It always finds only this Intel GPU... No idea which one is better here though, Intel or AMD.
Because not able to test the AMD GPU.

I don't know which is better, but I do wonder if it's possible there is something wrong with your Graphics card. A fault that has rendered it inoperable, maybe?
I know that AMD graphics support requires you download the graphics drivers from AMD directly. However, the Open Source drivers are usually better (even for gamers) and that is the better route to go.
I am not a Computer whiz or Linux Guru. I'm offering some novice help, but I am wary about going too far. Since your system is currently working fine and you arent't even sure if your current graphics are the better option even, I wouldn't want to suggest something like disabling the integrated drivers and trying to -force- the system to accept the Radeon. Because then you may end up with a blank monitor.
The only thing I can think of would be to completely purge all AMD open source drivers and then re-install. If that fails, the safest bet would be to hold off and see if more knowledgeable help arrives or a good fix is found.
If possible, a hardware test of the Radeon Card may shed some light.

jarkky

Sun Jun 30, 2019 5:31:30 am

Also it could be possible that it has both Intel and AMD drivers, but the OS doesn't know which one to select
and then always selects the Intel -drivers...
There is no clearly selection button for which drivers to use.

Swarfendor437

Sun Jun 30, 2019 10:16:27 am

This link should help make your mind up:

https://askubuntu.com/questions/1038271 ... 04#1040915

Aravisian

Sun Jun 30, 2019 7:46:48 pm

Should this thread be moved to Help and Support?

Swarfendor437

Sun Jun 30, 2019 8:14:46 pm

later!

jarkky

Tue Jul 02, 2019 2:07:04 pm

jari@jari-PC:~$ lspci -k | grep -EA3 'VGA|Display'
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
--
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
Subsystem: Hewlett-Packard Company Radeon HD 7470M
Kernel driver in use: radeon
Kernel modules: radeon
jari@jari-PC:~$ xrandr --listproviders
Providers: number : 0
jari@jari-PC:~$ xrandr --setprovideroffloadsink 1 0
Could not find provider with index 1


The glmark2 seems to operate for both GPUs;

jari@jari-PC:~$ DRI_PRIME=0 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION: 3.0 Mesa 18.2.8
=======================================================
[build] use-vbo=false: FPS: 372 FrameTime: 2.688 ms
[build] use-vbo=true: FPS: 391 FrameTime: 2.558 ms
=======================================================
glmark2 Score: 381
=======================================================
jari@jari-PC:~$ DRI_PRIME=1 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD CAICOS (DRM 2.50.0 / 4.18.0-25-generic, LLVM 7.0.0)
GL_VERSION: 3.1 Mesa 18.2.8
=======================================================
[build] use-vbo=false: FPS: 346 FrameTime: 2.890 ms
=======================================================
glmark2 Score: 346
=======================================================

But I might not able to switch the GPUs.
Not sure though if there would be any advantage of using this AMD GPU.

jarkky

Thu Jul 04, 2019 11:48:19 am

After today's GPU driver update (by the 'sofware updater'), the glmark2 results are gone worse:

jari@jari-PC:~$ DRI_PRIME=0 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION: 3.0 Mesa 18.2.8
=======================================================
[build] use-vbo=false: FPS: 279 FrameTime: 3.584 ms
=======================================================
glmark2 Score: 279
=======================================================
jari@jari-PC:~$ DRI_PRIME=1 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD CAICOS (DRM 2.50.0 / 4.18.0-25-generic, LLVM 7.0.0)
GL_VERSION: 3.1 Mesa 18.2.8
=======================================================
[build] use-vbo=false: FPS: 274 FrameTime: 3.650 ms
=======================================================
glmark2 Score: 274
=======================================================

Wondering, what is purpose of this GPU driver update then... just making the PC screen slower?
The results seem not to be very stable though (always different results):
jari@jari-PC:~$ DRI_PRIME=0 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION: 3.0 Mesa 18.2.8
=======================================================
[build] use-vbo=false: FPS: 303 FrameTime: 3.300 ms
[build] use-vbo=true: FPS: 299 FrameTime: 3.344 ms
=======================================================
glmark2 Score: 301
=======================================================
jari@jari-PC:~$ DRI_PRIME=1 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD CAICOS (DRM 2.50.0 / 4.18.0-25-generic, LLVM 7.0.0)
GL_VERSION: 3.1 Mesa 18.2.8
=======================================================
[build] use-vbo=false: FPS: 288 FrameTime: 3.472 ms
[build] use-vbo=true: FPS: 301 FrameTime: 3.322 ms
=======================================================
glmark2 Score: 294
=======================================================
But after update in general its slower.

Hoped to find out why this PC has AMD GPU that is slower than one included in the Intel..


The GPU should be switchable/selectable from the "settings -menu". Switching the GPU is quite difficult otherwise.

DISPLAY1.png
DISPLAY settings


It's probably not very common and PC to have two GPUs and GPU switching not included in most of the OS in the menus.
Maybe its supposed to switch "dynamically" by the task or something.

jarkky

Sun Jul 07, 2019 1:59:51 pm

Results different after each driver update:

jari@jari-PC:~$ DRI_PRIME=0 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION: 3.0 Mesa 19.0.2
=======================================================
[build] use-vbo=false: FPS: 217 FrameTime: 4.608 ms
[build] use-vbo=true: FPS: 232 FrameTime: 4.310 ms
[texture] texture-filter=nearest: FPS: 238 FrameTime: 4.202 ms
[texture] texture-filter=linear: FPS: 233 FrameTime: 4.292 ms
[texture] texture-filter=mipmap: FPS: 234 FrameTime: 4.274 ms
[shading] shading=gouraud: FPS: 173 FrameTime: 5.780 ms
[shading] shading=blinn-phong-inf: FPS: 176 FrameTime: 5.682 ms
[shading] shading=phong: FPS: 174 FrameTime: 5.747 ms
[shading] shading=cel: FPS: 175 FrameTime: 5.714 ms
[bump] bump-render=high-poly: FPS: 206 FrameTime: 4.854 ms
[bump] bump-render=normals: FPS: 249 FrameTime: 4.016 ms
[bump] bump-render=height: FPS: 239 FrameTime: 4.184 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 160 FrameTime: 6.250 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 124 FrameTime: 8.065 ms
[pulsar] light=false:quads=5:texture=false: FPS: 189 FrameTime: 5.291 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 60 FrameTime: 16.667 ms
[desktop] effect=shadow:windows=4: FPS: 103 FrameTime: 9.709 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 142 FrameTime: 7.042 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 138 FrameTime: 7.246 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 151 FrameTime: 6.623 ms
[ideas] speed=duration: FPS: 171 FrameTime: 5.848 ms
[jellyfish] <default>: FPS: 157 FrameTime: 6.369 ms
[terrain] <default>: FPS: 30 FrameTime: 33.333 ms
[shadow] <default>: FPS: 83 FrameTime: 12.048 ms
[refract] <default>: FPS: 36 FrameTime: 27.778 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 188 FrameTime: 5.319 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 187 FrameTime: 5.348 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 183 FrameTime: 5.464 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 185 FrameTime: 5.405 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 189 FrameTime: 5.291 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 188 FrameTime: 5.319 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 187 FrameTime: 5.348 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 186 FrameTime: 5.376 ms
=======================================================
glmark2 Score: 169
=======================================================
jari@jari-PC:~$ DRI_PRIME=1 glmark2 --fullscreen
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD CAICOS (DRM 2.50.0 / 4.18.0-25-generic, LLVM 8.0.0)
GL_VERSION: 3.1 Mesa 19.0.2
=======================================================
[build] use-vbo=false: FPS: 263 FrameTime: 3.802 ms
[build] use-vbo=true: FPS: 270 FrameTime: 3.704 ms
[texture] texture-filter=nearest: FPS: 272 FrameTime: 3.676 ms
[texture] texture-filter=linear: FPS: 269 FrameTime: 3.717 ms
[texture] texture-filter=mipmap: FPS: 268 FrameTime: 3.731 ms
[shading] shading=gouraud: FPS: 269 FrameTime: 3.717 ms
[shading] shading=blinn-phong-inf: FPS: 269 FrameTime: 3.717 ms
[shading] shading=phong: FPS: 268 FrameTime: 3.731 ms
[shading] shading=cel: FPS: 266 FrameTime: 3.759 ms
[bump] bump-render=high-poly: FPS: 260 FrameTime: 3.846 ms
[bump] bump-render=normals: FPS: 270 FrameTime: 3.704 ms
[bump] bump-render=height: FPS: 270 FrameTime: 3.704 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 268 FrameTime: 3.731 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 240 FrameTime: 4.167 ms
[pulsar] light=false:quads=5:texture=false: FPS: 267 FrameTime: 3.745 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 163 FrameTime: 6.135 ms
[desktop] effect=shadow:windows=4: FPS: 244 FrameTime: 4.098 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 210 FrameTime: 4.762 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 204 FrameTime: 4.902 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 219 FrameTime: 4.566 ms
[ideas] speed=duration: FPS: 264 FrameTime: 3.788 ms
[jellyfish] <default>: FPS: 268 FrameTime: 3.731 ms
[terrain] <default>: FPS: 51 FrameTime: 19.608 ms
[shadow] <default>: FPS: 136 FrameTime: 7.353 ms
[refract] <default>: FPS: 51 FrameTime: 19.608 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 269 FrameTime: 3.717 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 268 FrameTime: 3.731 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 270 FrameTime: 3.704 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 268 FrameTime: 3.731 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 265 FrameTime: 3.774 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 270 FrameTime: 3.704 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 269 FrameTime: 3.717 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 258 FrameTime: 3.876 ms
=======================================================
glmark2 Score: 240
=======================================================

Aravisian

Mon Jul 08, 2019 2:42:49 am

Mesa went from 18 to 19. I do not see a change to AMD.
Is your display or screen misbehaving or not operating correctly?

jarkky

Fri Jul 12, 2019 2:13:10 pm

Aravisian wrote:Mesa went from 18 to 19. I do not see a change to AMD.
Is your display or screen misbehaving or not operating correctly?


The display, I think, always uses the intel GPU only...

Swarfendor437

Tue Jul 16, 2019 8:15:15 pm

Have you read this thread and its links?:

https://askubuntu.com/questions/1068343 ... u-on-18-04