You are not logged in.

#1 2024-07-19 07:58:48

Hellux1
Member
Registered: 2024-07-19
Posts: 12

The amd drivers are integrated and i don't know how to fix them

Hello!
I'm kinda new to linux and i have a small problem,when I'm trying to play some games(for an e.g Counter-strike2,dota2) which should run native on any distros i can't get it to open,i have tried everything..

I have installed multilib and then installed steam,i have installed Proton(Experimental and GE and i have forced the Games to start with proton) but it seems i can't get it to work, i even installed the vulkan packs(but sometimes they take ages to load only for the game not to start at all..) that most of the people (on Youtube and Reddit) used but still nothing..

What i have noticed in the waybar the fact that where it should be the gpu normally for me it says : "Intel UHD Graphics 620" and not as it should be : "Amd radeon 530",id like to add the fact that i use an intel core i5 and an Amd Radeon 530

I have tried everything for the moment but i have no idea what can i do to "activate" the amd drivers or what can i do to get the gpu drivers to be normal and not integrated..

Thank you in advance for the help and the time and i hope you all have a good day!

-Hellux

Offline

#2 2024-07-19 09:26:45

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: The amd drivers are integrated and i don't know how to fix them

Try using PRIME to run Steam games on the discrete card: https://wiki.archlinux.org/title/PRIME# … offloading


Jin, Jîyan, Azadî

Offline

#3 2024-07-20 06:42:20

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

I have tryed it and nothing seemed to work when I copy pasted the commands as it said in the wiki it just told me "Intel uhd invidia" so to be honest I don't know what to do more..

Offline

#4 2024-07-20 07:31:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

i can't get it to open … i can't get it to work … I have tryed it and nothing seemed to work

https://bbs.archlinux.org/viewtopic.php?id=57855
https://wiki.archlinux.org/title/Steam/ … ging_Steam

https://wiki.archlinux.org/title/PRIME# … figuration
nb. that the PCI address there is a dummy, you need to look up your device in "lspci"
Also post the output of

vulkaninfo

and test whether https://wiki.archlinux.org/title/Steam/ … _emulation helps

Offline

#5 2024-07-22 14:56:24

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

I'm very sorry for the late reply i had some personal issues,anyway
the result of the command "vulkan info" are :

vulkaninfo may be found in the following packages:
extra/vulkan-tools 1.3.269-1
    /usr/bin/vulkaninfo

the vulkan packages should be all up to date but i still cannot do anything .. i have tried even the stuttering from the link sent above and the game didn't start..
I'd like to add that i have tried the steam emulation for AMD open sources i have copy pasted the command in a termial and it seemed to do nothing ..
(i have tried every wiki part on how to fix it but to be honest i have no more ideas on what can i do )

Last edited by Hellux1 (2024-07-22 14:57:13)

Offline

#6 2024-07-22 15:03:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

Install vulkan-tools and run vulkaninfo - you're getting a looong output about hardware, drivers etcetc.
Also STOP. PARAPHRASING!
You've tried *what*, *how*? The game "did not start" *how*? With what error? You copypasted *what* exactly into an interactive shell.

If you want this to go anywhere, you need to go away from posting "does not works lols".

Offline

#7 2024-07-22 15:34:49

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

(I'd like to apologize about the last thing I have sent im kinda new to this and i know im not a lot helpful with this stuff,but this is what i have done until now,i have no idea how to put the infobulkan in a smaller contained corner, i would appreciate it if you would tell me how to do that,thank you very much)
One of the things that i have copy pasted from the wiki is :
glxinfo | grep 'OpenGL renderer'
DRI_PRIME=pci-0000_06_00_0 glxinfo | grep 'OpenGL renderer'

but it doesn't seem to do nothing,why?
About the vulkaninfo this is the output:

-------------------------------------------------
	vulkaninfo - Summarize Vulkan information in relation to the current environment.



❯ vulkaninfo --summary

Vulkan Instance Version: 1.3.279


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 7
--------------------------
VK_LAYER_AMD_switchable_graphics_32 AMD switchable graphics layer 1.3.280  version 1
VK_LAYER_AMD_switchable_graphics_64 AMD switchable graphics layer 1.3.280  version 1
VK_LAYER_KHRONOS_validation         Khronos Validation Layer      1.3.275  version 1
VK_LAYER_VALVE_steam_fossilize_32   Steam Pipeline Caching Layer  1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64   Steam Pipeline Caching Layer  1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32     Steam Overlay Layer           1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64     Steam Overlay Layer           1.3.207  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.278
	driverVersion      = 24.1.4
	vendorID           = 0x8086
	deviceID           = 0x5917
	deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName         = Intel(R) UHD Graphics 620 (KBL GT2)
	driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName         = Intel open-source Mesa driver
	driverInfo         = Mesa 24.1.4-arch1.2
	conformanceVersion = 1.3.6.0
	deviceUUID         = 86801759-0700-0000-0002-000000000000
	driverUUID         = 01294cad-54fa-b682-e0ac-290d7a7e7a14
GPU1:
	apiVersion         = 1.3.278
	driverVersion      = 24.1.4
	vendorID           = 0x1002
	deviceID           = 0x6900
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = AMD Radeon R5 M445 Series (RADV ICELAND)
	driverID           = DRIVER_ID_MESA_RADV
	driverName         = radv
	driverInfo         = Mesa 24.1.4-arch1.2
	conformanceVersion = 1.2.7.1
	deviceUUID         = 00000000-0100-0000-0000-000000000000
	driverUUID         = 414d442d-4d45-5341-2d44-525600000000

Last edited by Hellux1 (2024-07-22 16:39:05)

Offline

#8 2024-07-22 16:20:36

cryptearth
Member
Registered: 2024-02-03
Posts: 2,181

Re: The amd drivers are integrated and i don't know how to fix them

please use code-tags and only vulkaninfo --summarize

Last edited by cryptearth (2024-07-22 16:20:46)

Offline

#9 2024-07-22 16:40:44

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

i have rewrite the last message i wish this is helping

Offline

#10 2024-07-22 17:17:40

cryptearth
Member
Registered: 2024-02-03
Posts: 2,181

Re: The amd drivers are integrated and i don't know how to fix them

you can try amd-vulkan-prefixes and in steam set the option

vk_radv %command%

this should force to only have radv loaded
btw: for source (cs, dota) you don't need proton - they have native support which should result in better performance

Offline

#11 2024-07-22 18:18:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

glxinfo | grep 'OpenGL renderer'

Don't grep, what's the output of

glxinfo -B
DRI_PRIME=pci-0000_06_00_0 glxinfo -B

Offline

#12 2024-07-23 12:04:34

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,081

Re: The amd drivers are integrated and i don't know how to fix them

You're running on a system with an intel and amd card both capable of vulkan and have amdvlk installed .

That combination is asking for trouble.

Remove amdvlk and lib32-amdvlk .

Verify you have vulkan-intel / lib32-vulkan-intel and vulkan-radeon / lib32-vulkan-radeon installed .

Install vulkan-mesa-layers / lib32-vulkan-mesa-layers .

rerun vulkaninfo --summary and post it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2024-07-23 13:29:16

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

i have installed the specified packages (vulkan-intel / lib32-vulkan-intel and vulkan-radeon / lib32-vulkan-radeon and the vulkan mesa layers and i have removed amdvlk and lib32-amdvlk)
(im sorry for the copy paste on the packages)
the output of vulkaninfo after doing this is:

 vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.279


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 8
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_KHRONOS_validation       Khronos Validation Layer     1.3.275  version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.3.211  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
	apiVersion         = 1.3.278
	driverVersion      = 24.1.4
	vendorID           = 0x8086
	deviceID           = 0x5917
	deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName         = Intel(R) UHD Graphics 620 (KBL GT2)
	driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName         = Intel open-source Mesa driver
	driverInfo         = Mesa 24.1.4-arch1.2
	conformanceVersion = 1.3.6.0
	deviceUUID         = 86801759-0700-0000-0002-000000000000
	driverUUID         = 01294cad-54fa-b682-e0ac-290d7a7e7a14
GPU1:
	apiVersion         = 1.3.278
	driverVersion      = 24.1.4
	vendorID           = 0x1002
	deviceID           = 0x6900
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = AMD Radeon R5 M445 Series (RADV ICELAND)
	driverID           = DRIVER_ID_MESA_RADV
	driverName         = radv
	driverInfo         = Mesa 24.1.4-arch1.2
	conformanceVersion = 1.2.7.1
	deviceUUID         = 00000000-0100-0000-0000-000000000000
	driverUUID         = 414d442d-4d45-5341-2d44-525600000000

And the glxinfo -B/ DRI_PRIME=pci-0000_06_00_0 glxinfo -B/ glxinfo | grep 'OpenGL renderer' output is this :

glxinfo | grep 'OpenGL renderer'
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
❯ glxinfo -B
DRI_PRIME=pci-0000_06_00_0 glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
    Version: 24.1.4
    Accelerated: yes
    Video memory: 3925MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
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 24.1.4-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.4-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.4-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
    Version: 24.1.4
    Accelerated: yes
    Video memory: 3925MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
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 24.1.4-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.4-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.4-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Last edited by Hellux1 (2024-07-23 13:35:03)

Offline

#14 2024-07-23 14:20:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

} i have copy pasted from the wiki is :
glxinfo | grep 'OpenGL renderer'
DRI_PRIME=pci-0000_06_00_0 glxinfo | grep 'OpenGL renderer'

Yeahofcoruseiforgot
This doesn't work, yo've to use the correct PCI bus address - what's the output of "lspci"?

Offline

#15 2024-07-23 14:26:15

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

]Yeahofcoruseiforgot
This doesn't work, yo've to use the correct PCI bus address - what's the output of "lspci"?

the output is this:

lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] (rev c3)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

Offline

#16 2024-07-23 14:44:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] (rev c3)
DRI_PRIME=pci-0000_01_00_0 glxinfo -B

Offline

#17 2024-07-24 12:43:32

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

The output of 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] ... is :

zsh: no matches found: [AMD/ATI]

The output of the command DRI_PRIME=pci-0000_01_00_0 glxinfo -B is :

name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon R5 M445 Series (radeonsi, iceland, LLVM 18.1.8, DRM 3.57, 6.10.0-arch1-2) (0x6900)
    Version: 24.1.4
    Accelerated: yes
    Video memory: 2048MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 2027 MB, largest block: 2027 MB
    VBO free aux. memory - total: 3912 MB, largest block: 3912 MB
    Texture free memory - total: 2027 MB, largest block: 2027 MB
    Texture free aux. memory - total: 3912 MB, largest block: 3912 MB
    Renderbuffer free memory - total: 2027 MB, largest block: 2027 MB
    Renderbuffer free aux. memory - total: 3912 MB, largest block: 3912 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 5973 MB
    Currently available dedicated video memory: 2027 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon R5 M445 Series (radeonsi, iceland, LLVM 18.1.8, DRM 3.57, 6.10.0-arch1-2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.1.4-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.4-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.4-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Last edited by Hellux1 (2024-07-24 12:44:55)

Offline

#18 2024-07-24 14:02:44

cryptearth
Member
Registered: 2024-02-03
Posts: 2,181

Re: The amd drivers are integrated and i don't know how to fix them

seth wrote:
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] (rev c3)

that line was not meant as a command tovexecute but to point out how to figure out ghe correct port for tge second one

Offline

#19 2024-07-24 14:22:42

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

aaaa that makes sense,thank you for the explanation on that!

Offline

#20 2024-07-24 17:40:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

And it worked, glxinfo reports the AMD GPU, so select the PRIME device by its bus ID and be happy?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Fwwi, please don't copypaste stuff yo uabsolutely don't understand from random code boxes into an interactive shell - that can easily lead to a disaster.

Offline

#21 2024-07-25 08:20:18

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

I have tried to use the command  DRI_PRIME=pci-0000_01_00_0 glxinfo -B but the output is weird i wonder if i missed something that i should have installed or if i didn't do something right

DRI_PRIME=pci-0000_01_00_0 glxinfo -B

name of display: :1
amdgpu: The CS has cancelled because the context is lost. This context is innocent.
[1]    3121 IOT instruction (core dumped)  DRI_PRIME=pci-0000_01_00_0 glxinfo -B

I have found something interesting in the mean time searching for a solution i have runned the following command  lspci -k | grep -EA3 'VGA|3D|Display' and the output of this is:

lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
	Subsystem: Lenovo Device 3964
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] (rev c3)
	Subsystem: Lenovo Device 3964
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Last edited by Hellux1 (2024-07-25 08:54:04)

Offline

#22 2024-07-25 18:00:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

Why is that "interesting"?

What changed wrt the context of post #17 that might have caused this? Is it (now) the consistent response or do you sometimes get a glxinfo output and sometimes a crash?

Does the glxinfo crash cause errors (drm or amdgpu related) in the system journal/dmesg?

dmesg -w

and then in another terminal cause the crash.

Also

[1]    3121 IOT instruction (core dumped)  DRI_PRIME=pci-0000_01_00_0 glxinfo -B

It left a coredump, so let's look at that…
https://wiki.archlinux.org/title/Core_d … _core_dump

Offline

#23 2024-07-26 07:52:32

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

When i try to use the command DRI_PRIME=pci-0000_01_00_0 glxinfo -B the problem is persistent, it always gives me that output.

the weird thing about this is that the following commands coredumpctl info match and coredumpctl debug match the output is the following

coredumpctl info match
No coredumps found.

coredumpctl debug match
No match found.

but for the following command dmesg -w it tells me this :

dmesg -w
dmesg: read kernel buffer failed: Operation not permitted

I have found something a bit more interesting tho when i used the following command from wiki journalctl (there is a lot of informations but i will only post the lines that are red and yellow lines, i will make the yellow with this symbol (**)so you can see where they are, if you would like to see everything tell me i will be more then happy to provide everything from the journal!)

archlinux kernel: x86/cpu: SGX disabled by BIOS.
 archlinux kernel: integrity: Problem loading X.509 certificate -65
 archlinux kernel: kfd kfd: amdgpu: TOPAZ  not supported in kfd
archlinux kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on comp_1.0.0 (-110).
 archlinux kernel: [drm] Fence fallback timer expired on ring comp_1.0.1 (**)
 archlinux kernel: amdgpu 0000:01:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on comp_1.0.2 (-110).
archlinux kernel: [drm] Fence fallback timer expired on ring comp_1.0.3 (**)

and as a last thing i thought that the VGA and Display things are interesting since one is using intel uhd(the integrated one) and the other can see the AMD one,its weird but its like my pc can see the AMD drivers but it doesn't read them it feels like they are some comment or forced to be in the second place so the PC reads first the integrated one and places it as the main one while it can see the AMD drivers but it does nothing about them i wonder why is that tho

Last edited by Hellux1 (2024-07-26 07:58:05)

Offline

#24 2024-07-26 08:02:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: The amd drivers are integrated and i don't know how to fix them

"match" is a placeholder, look at the list of coredumps first and use one of the PIDs as "match"
dmesg is restricted by default, either sudo it or if you don't care add /etc/sysctl.d/51-dmesg-restrict.conf                   

kernel.dmesg_restrict = 0

and run

sysctl kernel.dmesg_restrict=0

to immediately apply it.

When i try to use the command DRI_PRIME=pci-0000_01_00_0 glxinfo -B it is persistent, it always gives me this output.

But it didn't in post #17 ?

its like my pc can see the AMD drivers but it doesn't read them it feels like they are some comment or forced to be in the second place so the PC reads first the integrated one and places it as the main one while it can see the AMD drivers but it does nothing about them i wonder why is that tho

Because you basically just described https://wiki.archlinux.org/title/PRIME

Offline

#25 2024-07-26 09:39:53

Hellux1
Member
Registered: 2024-07-19
Posts: 12

Re: The amd drivers are integrated and i don't know how to fix them

I'm sorry for the confusion sometimes i do get that error message while using glxinfo and sometimes i just get the glxinfo(after 50 minutes or so of trying the command i had a normal output like in #17)

the dmesg -w output is a lot of lines but here is what i thought is more important (since it is a lot of the same outputs,if it is needed i will post everything from the dmesg -w ) :

[  334.030594] amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_0.1.3.0 test failed (-110)
[  334.031375] [drm:gfx_v8_0_hw_fini [amdgpu]] *ERROR* KCQ disable failed
[  334.262448] amdgpu: cp is busy, skip halt cp
[  334.492834] amdgpu: rlc is busy, skip halt rlc
[  334.493860] amdgpu 0000:01:00.0: amdgpu: PCI CONFIG reset
[  334.498698] amdgpu 0000:01:00.0: amdgpu: GPU reset succeeded, trying to resume
[  334.500046] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[  334.500134] [drm] VRAM is lost due to GPU reset!

[  361.179777] amdgpu: SMU load firmware failed
[  361.179788] amdgpu: fw load failed
[  361.179791] amdgpu: smu firmware loading failed



[  453.582470] amdgpu: SMU load firmware failed
[  453.582477] amdgpu: fw load failed
[  453.582478] amdgpu: smu firmware loading failed
[  453.582493] amdgpu 0000:01:00.0: amdgpu: GPU reset(2) failed
[  453.582497] amdgpu 0000:01:00.0: amdgpu: GPU reset end with ret = -22
[  453.582499] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* GPU Recovery Failed: -22
[  461.038279] amdgpu 0000:01:00.0: amdgpu: 
               last message was failed ret is 0

A little Update i have used the command pacman -Qkk to check for altered files or mismatches and i found the following things :

warning: amd-ucode: /boot/amd-ucode.img (Permissions mismatch)
warning: amd-ucode: /boot/amd-ucode.img (Modification time mismatch)
warning: filesystem: /root (Permissions mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Permissions mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Modification time mismatch)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
warning: pokemon-colorscripts-git: /usr/bin/pokemon-colorscripts (Permissions mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (SHA256 checksum mismatch)

(i know some of this things are not related to the amd problem but i wonder why are they mismatch and if it is possible to match them with the right part of code)

Last edited by Hellux1 (2024-07-29 08:15:22)

Offline

Board footer

Powered by FluxBB