My laptop is old and have 2 GPU. Integrated Intel® HD Graphics 5500 while Dedicated is AMD R5 M300. Dedicated always shown in the system as llvmpipe for some reason. I found out amdgpu didn’t load and instead using radeon. So, I tried to do what I found there like using grub and now the drivers from AMD is missing.
Here is the result of inxi -G:
Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
Device-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD
8670A/8670M/8690M / R5 M330 M430 Radeon 520 Mobile] driver: N/A
Device-3: IMC Networks Lenovo EasyCamera driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
compositor: kwin_wayland driver: gpu: i915 resolution: 1366x768~60Hz
API: EGL v: 1.5 drivers: iris,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.0.7
renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
API: Vulkan v: 1.4.313 drivers: intel,llvmpipe surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdriinfo,
xdpyinfo, xprop, xrandr
This is the result of my lsmod | grep amdgpu:
amdgpu 20615168 0
amdxcp 12288 1 amdgpu
gpu_sched 65536 1 amdgpu
drm_panel_backlight_quirks 12288 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
drm_buddy 32768 2 amdgpu,i915
ttm 135168 3 amdgpu,drm_ttm_helper,i915
drm_exec 12288 1 amdgpu
drm_suballoc_helper 20480 1 amdgpu
i2c_algo_bit 20480 2 amdgpu,i915
drm_display_helper 311296 2 amdgpu,i915
cec 102400 3 drm_display_helper,amdgpu,i915
video 81920 3 amdgpu,ideapad_laptop,i915