Unable to determine the device handle for GPU on running nvidia-smi on hybrid card

Hi everyone,
Newbie here. I’ve recently bought this laptop (Asus M509DJ (or D509DJ in my region)). It has the following config:

   CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8) @ 2.100GHz 
   GPU: AMD ATI 04:00.0 Picasso
   GPU: NVIDIA GeForce MX230 

Which basically means it’s an NVIDIA, AMD Hybrid. So I’ve installed video-hybird-amd-nvidia-450xx-prime. I’ve previously tried 435xx and 440xx. But it doesn’t seem to find my gpu when I run nvidia-smi. The output I get is shown below:

Unable to determine the device handle for GPU 0000:01:00.0: Unknown Error

I have run sudo lsmod|grep nvidia and the output I get for this is:

nvidia_drm 57344 0 nvidia_modeset 1187840 1 nvidia_drm drm_kms_helper 221184 2 amdgpu,nvidia_drm drm 520192 12 gpu_sched,drm_kms_helper,amdgpu,nvidia_drm,ttm nvidia 19730432 4 nvidia_modeset

Can anyone help with how to fix the issue? I’d be really grateful. Thank you all. :slight_smile:

try
prime-run nvidia-smi

1 Like

Same error.

Unable to determine the device handle for GPU 0000:01:00.0: Unknown Error