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

NVIDIA/Intel双GPU(prime-select intel)下OpenGL renderer显示N/A求助

Fix OpenGL Renderer Showing N/A with Intel UHD 620 (Kabylake) + NVIDIA Dual GPU (prime-select intel)

Let's walk through the fixes to get your OpenGL renderer working properly with the modesetting driver (the correct choice for your Kabylake Intel UHD 620):

  • Verify Core Dependencies Are Installed
    First, make sure you have all the required Mesa packages for hardware-accelerated OpenGL:

    sudo apt update && sudo apt install mesa-utils libgl1-mesa-glx libgl1-mesa-dri
    

    The mesa-utils package gives you tools like glxinfo to check your OpenGL status later.

  • Configure Modesetting with Glamor Acceleration
    Kabylake GPUs rely on the glamor acceleration backend for proper OpenGL support with modesetting. Create a dedicated Xorg config file to enforce this:

    1. Create the config directory if it doesn't exist:
      sudo mkdir -p /etc/X11/xorg.conf.d
      
    2. Create the config file 20-intel.conf:
      sudo nano /etc/X11/xorg.conf.d/20-intel.conf
      
    3. Paste the following content:
      Section "Device"
          Identifier "Intel Graphics"
          Driver "modesetting"
          Option "AccelMethod" "glamor"
          Option "DRI" "3"  # Enables DRI3, which improves performance
      EndSection
      
    4. Save and exit (Ctrl+O, Enter, Ctrl+X in nano).
  • Confirm Prime Select is Set to Intel
    Double-check that you're actually using the Intel GPU:

    prime-select query
    

    If it doesn't return intel, switch with:

    sudo prime-select intel
    
  • Restart Your System
    For the changes to take effect, reboot your machine:

    sudo reboot
    
  • Verify OpenGL is Working
    After rebooting, run this command to check your OpenGL renderer:

    glxinfo | grep "OpenGL renderer"
    

    You should see output like:

    OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)

Key Notes to Remember

  • Do NOT install xserver-xorg-video-intel-hwe: As you noted, modesetting is the official recommended driver for Kabylake and newer Intel GPUs. The legacy intel driver causes more issues than it solves here.
  • If you're on an older Ubuntu release (pre-20.04), consider upgrading your Mesa packages or the OS itself—newer Mesa versions have better support for Kabylake hardware.

内容的提问来源于stack exchange,提问作者siebenheaven

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.19 07:21:02