You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Legion 5 15ACH6H双系统下切换集成GPU失败:Error: no integrated GPU detected问题求助

Legion 5 15ACH6H双系统下切换集成GPU失败:Error: no integrated GPU detected问题求助

Hey there, let's work through this issue together—Lenovo Legion laptops with AMD+NVIDIA setups can be a bit finicky with Ubuntu's GPU switching, but we can get this sorted.

First, Check Your BIOS Settings (This is Critical!)

Most Legion models default to Discrete Graphics Only mode out of the box, which completely disables the integrated AMD GPU at the hardware level. That's why Ubuntu can't detect it. Here's how to fix that:

  • Reboot your laptop and press F2 (or Fn+F2 if needed) to enter the BIOS menu.
  • Look for a section like Display, Graphics, or GPU Configuration.
  • Change the setting from "Discrete Graphics Only" to Hybrid Mode (sometimes labeled "Integrated + Discrete" or similar).
  • Save the changes (usually by pressing F10) and reboot into Ubuntu.

Verify Integrated GPU Detection

Once you're back in Ubuntu, open a terminal and run this command to check if the AMD iGPU is now recognized:

lspci | grep -E "VGA|3D controller"

You should see two entries: one for your NVIDIA GPU, and another for the AMD Radeon Graphics (from the Ryzen 5600H). If that's the case, try running sudo prime-select intel again—it should work without the error now.

Fix Missing Prime Profiles & Driver Issues

If the BIOS change didn't solve everything, or you still don't see the Prime Profiles tab in nvidia-settings, let's tackle the software side:

  1. Install NVIDIA Prime Components
    Sometimes the Prime tools aren't installed by default. Run this to fix that:

    sudo apt install nvidia-prime
    

    After installing, close and reopen nvidia-settings—the Prime Profiles tab should appear.

  2. Reinstall NVIDIA Drivers Cleanly
    Your current driver setup might be messed up. Let's do a fresh install:

    • First, purge all existing NVIDIA packages:
      sudo apt purge nvidia*
      sudo apt autoremove
      sudo apt autoclean
      
    • Reboot your system.
    • Open "Software & Updates" → go to the "Additional Drivers" tab.
    • Select the NVIDIA 515 Server Driver (server versions often have better compatibility for hybrid setups) and click "Apply Changes".
    • Reboot again, then try sudo prime-select intel once more.

Try Upgrading Your Kernel

Ubuntu 22.04's default kernel might not have full support for your newer Ryzen 5600H iGPU. Upgrading to a newer hardware-enablement kernel can help:

sudo apt install linux-generic-hwe-22.04
sudo reboot

After rebooting, check if the iGPU is detected and try switching again.

Final Check

If you've done all the above, run prime-select query to confirm which GPU is active. It should show intel if the switch worked. You can also verify with glxinfo | grep "OpenGL renderer"—it should list the AMD integrated GPU instead of NVIDIA.

备注:内容来源于stack exchange,提问作者user7616817

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 09:04:34