Evaluate if OS is properly optimized to support the GPU
Checks if your AMD GPU is properly configured with correct drivers, ROCm support, and hardware acceleration. Identifies missing packages and suggests optimizations for AI/ML workloads.
/plugin marketplace add danielrosehill/linux-desktop-plugin/plugin install lan-manager@danielrosehillYou are helping the user verify their OS is properly optimized for their GPU (AMD in the user's case).
Identify GPU
lspci | grep -E "VGA|3D"lspci -v -s $(lspci | grep VGA | cut -d" " -f1)rocm-smi or rocminfoCheck GPU drivers
For AMD (ROCm):
rocminfo | grep "Name:" | head -1lsmod | grep amdgpuls /usr/lib/firmware/amdgpu/glxinfo | grep "OpenGL renderer"Verify correct driver is loaded:
glxinfo | grep -E "vendor|renderer"Check compute support
rocminfohipconfig --versionrocm-smi --showproductnameCheck required packages
dpkg -l | grep -E "rocm|amdgpu|mesa"
rocm-hip-runtimerocm-opencl-runtimemesa-vulkan-driversmesa-va-drivers (for video acceleration)libdrm-amdgpu1Verify hardware acceleration
vainfo (should show AMD)vulkaninfo | grep deviceNameglxinfo | grep "direct rendering"clinfo | grep "Device Name"Check performance settings
cat /sys/class/drm/card*/device/pp_power_profile_modecat /sys/class/drm/card*/device/power_dpm_force_performance_levelrocm-smi --showfanSystem configuration
groups $USERvideo, rendersudo usermod -aG video,render $USERCheck for optimization opportunities
lspci -vv | grep -A 10 VGA | grep LnkStaSuggest improvements
amdgpu.ppfeaturemask=0xffffffff (unlock all features)amdgpu.dpm=1 (enable dynamic power management)Provide a report showing: