amd 530 gpu drivers issue

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
godzillah6
Level 1
Level 1
Posts: 1
Joined: Tue Jul 27, 2021 12:20 pm

amd 530 gpu drivers issue

Post by godzillah6 »

Hello,my device is dell 5570 with intel 620 and amd 530 dedicated gpu,now whenever i try to run

Code: Select all

DRI_PRIME=1 steam
my csgo gives max 12 fps if i use

Code: Select all

DRI_PRIME=0 steam
idk why as i am using
linux kernel 5.4.0-77-generic
and i have tried the fps tests results are as follows:

Code: Select all

inxi -G
Graphics:
Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati,modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.6

Code: Select all

DRI_PRIME=0 glmark2 --fullscreen 
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: Intel
GL_RENDERER: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.2.6
=======================================================
[build] use-vbo=false: FPS: 272 FrameTime: 3.676 ms
[build] use-vbo=true: FPS: 285 FrameTime: 3.509 ms
[texture] texture-filter=nearest: FPS: 281 FrameTime: 3.559 ms
[texture] texture-filter=linear: FPS: 283 FrameTime: 3.534 ms
[texture] texture-filter=mipmap: FPS: 280 FrameTime: 3.571 ms
[shading] shading=gouraud: FPS: 274 FrameTime: 3.650 ms
[shading] shading=blinn-phong-inf: FPS: 272 FrameTime: 3.676 ms
[shading] shading=phong: FPS: 273 FrameTime: 3.663 ms
[shading] shading=cel: FPS: 270 FrameTime: 3.704 ms
[bump] bump-render=high-poly: FPS: 259 FrameTime: 3.861 ms
[bump] bump-render=normals: FPS: 287 FrameTime: 3.484 ms
[bump] bump-render=height: FPS: 288 FrameTime: 3.472 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 213 FrameTime: 4.695 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 152 FrameTime: 6.579 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: 143 FrameTime: 6.993 ms
[desktop] effect=shadow:windows=4: FPS: 180 FrameTime: 5.556 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 148 FrameTime: 6.757 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 140 FrameTime: 7.143 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 167 FrameTime: 5.988 ms
[ideas] speed=duration: FPS: 257 FrameTime: 3.891 ms
[jellyfish] <default>: FPS: 236 FrameTime: 4.237 ms
[terrain] <default>: FPS: 53 FrameTime: 18.868 ms
[shadow] <default>: FPS: 191 FrameTime: 5.236 ms
[refract] <default>: FPS: 100 FrameTime: 10.000 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 240 FrameTime: 4.167 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 241 FrameTime: 4.149 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 238 FrameTime: 4.202 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 241 FrameTime: 4.149 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 238 FrameTime: 4.202 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 240 FrameTime: 4.167 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 234 FrameTime: 4.274 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 241 FrameTime: 4.149 ms
=======================================================
glmark2 Score: 226
=======================================================

Code: Select all

DRI_PRIME=1 glmark2 --fullscreen 
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD ICELAND (DRM 3.35.0, 5.4.0-77-generic, LLVM 11.0.0)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.2.6
=======================================================
[build] use-vbo=false: FPS: 81 FrameTime: 12.346 ms
[build] use-vbo=true: FPS: 85 FrameTime: 11.765 ms
[texture] texture-filter=nearest: FPS: 80 FrameTime: 12.500 ms
[texture] texture-filter=linear: FPS: 80 FrameTime: 12.500 ms
[texture] texture-filter=mipmap: FPS: 80 FrameTime: 12.500 ms
[shading] shading=gouraud: FPS: 80 FrameTime: 12.500 ms
[shading] shading=blinn-phong-inf: FPS: 79 FrameTime: 12.658 ms
[shading] shading=phong: FPS: 80 FrameTime: 12.500 ms
[shading] shading=cel: FPS: 79 FrameTime: 12.658 ms
[bump] bump-render=high-poly: FPS: 79 FrameTime: 12.658 ms
[bump] bump-render=normals: FPS: 85 FrameTime: 11.765 ms
[bump] bump-render=height: FPS: 85 FrameTime: 11.765 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 72 FrameTime: 13.889 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 60 FrameTime: 16.667 ms
[pulsar] light=false:quads=5:texture=false: FPS: 77 FrameTime: 12.987 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 59 FrameTime: 16.949 ms
[desktop] effect=shadow:windows=4: FPS: 66 FrameTime: 15.152 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 69 FrameTime: 14.493 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 63 FrameTime: 15.873 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 69 FrameTime: 14.493 ms
[ideas] speed=duration: FPS: 77 FrameTime: 12.987 ms
[jellyfish] <default>: FPS: 63 FrameTime: 15.873 ms
[terrain] <default>: FPS: 19 FrameTime: 52.632 ms
[shadow] <default>: FPS: 62 FrameTime: 16.129 ms
[refract] <default>: FPS: 22 FrameTime: 45.455 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 78 FrameTime: 12.821 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 77 FrameTime: 12.987 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 78 FrameTime: 12.821 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 77 FrameTime: 12.987 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 78 FrameTime: 12.821 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 77 FrameTime: 12.987 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 78 FrameTime: 12.821 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 78 FrameTime: 12.821 ms
=======================================================
glmark2 Score: 71
=======================================================

now system details:

Code: Select all

inxi -Fx
System:
Host: dellmint Kernel: 5.4.0-77-generic x86_64 bits: 64 compiler: gcc
v: 9.3.0 Desktop: Cinnamon 5.0.5 Distro: Linux Mint 20.2 Uma
base: Ubuntu 20.04 focal
Machine:
Type: Laptop System: Dell product: Inspiron 5570 v: N/A
serial: <superuser/root required>
Mobo: Dell model: 0YDF7T v: A00 serial: <superuser/root required>
UEFI: Dell v: 1.3.1 date: 10/05/2020

CPU:
Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 31999
Speed: 2400 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 2400 2: 2400
3: 2400 4: 2400 5: 2400 6: 2400 7: 2400 8: 2400
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati,modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.6
direct render: Yes

Code: Select all

 xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x46 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 1: id: 0xd3 cap: 0x4, Source Offload crtcs: 0 outputs: 0 associated providers: 1 name:Unknown AMD Radeon GPU @ pci:0000:01:00.0

Code: Select all

glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Code: Select all

DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD ICELAND (DRM 3.35.0, 5.4.0-77-generic, LLVM 11.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:


As you can see there is no AMD GPU located as in another command you can see it working but worse than the integrated one as integrated is 2GB while my dedicated is 4Gb which on windows 10 pro works perfectly as my dedicated can run AAA games on low settings while on Linux mint it cannot as I cannot find GPU drivers for AMD 530 kindly provide a solution that will fix my problem as I have tried to use PRIME which is not recommended for AMD GPUs it works but makes my laptop hot and hanged battery life also degrades much fast I will say you will need to run the laptop after prime on the power outlet.
Kindly provide Linux commands which are tested as i am new to Linux hardly 1 year of using Linux ubuntu focal fossa 6 months,manjaro 4 months,Linux mint currently 2 weeks till now.I have faced this issue with linux mint only.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31390
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: amd 530 gpu drivers issue

Post by SMG »

godzillah6 wrote: Sun Aug 01, 2021 4:26 am Hello,my device is dell 5570 with intel 620 and amd 530 dedicated gpu
Welcome to the forum, godzillah6.

The driver for the AMD gpu comes from the kernel and loads automatically when the system is booted. There is no external driver for you to install.

Your graphics information is only showing one graphics device even though the graphics display driver for your AMD card is loaded. Normally, when there are two gpus, such as AMD and Intel, there is a Device-1 and a Device-2 listed in the output.

Code: Select all

Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati,modesetting 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.6 
Please use your installation usb/dvd and boot to a live session of Mint and see if the inxi -Gx output is showing both devices. Maybe something happened during the installation process and not all the files loaded properly.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”