I have Lenovo Ideapad 300, with Intel internal graphics along with AMD radeon discrete one. But many a times I face problem with obtaining proper graphical optimization in Linux (very much so in Linux mint, which forced me to get back into Ubuntu, but faca further issues). Manytimes the system cannot detect the discrete graphics and runs everything on the internal one. After some searching I obtained this.
lsmod | grep amd
in my Ubuntu 22.04 returns
amdgpu 9863168 0
iommu_v2 24576 1 amdgpu
gpu_sched 45056 1 amdgpu
drm_ttm_helper 16384 2 amdgpu,radeon
ttm 86016 4 amdgpu,radeon,drm_ttm_helper,i915
drm_kms_helper 311296 3 amdgpu,radeon,i915
i2c_algo_bit 16384 3 amdgpu,radeon,i915
drm 622592 14 gpu_sched,drm_kms_helper,amdgpu,radeon,drm_ttm_helper,i915,ttm
Which clearly says that my discrete graphics is visible to the operating system, even - dpkg -l xserver-xorg-video-amdgpu
returns
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=========================-=================-============-=======================================
ii xserver-xorg-video-amdgpu 22.0.0-1ubuntu0.1 amd64 X.Org X server -- AMDGPU display driver
Which also finds my discrete graphics. But when I run glxinfo | grep -iE 'vendor:|device:|version:'
after installing mesa-utils
I face :
GLX version: 1.4
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 520 (SKL GT2) (0x1916)
Version: 22.0.5
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
Which says that it cannot detect the discrete graphics and detects rather the internal Intel Graphics that's present in it.
What am I missing here?
Besides, isn't there any GUI or at least htop
-type of terminal based Graphics utility software for AMD graphics in Linux?