使用 Intel UHD 620 的 Ubuntu 18.04.2 支持 OpenGL 4.x

使用 Intel UHD 620 的 Ubuntu 18.04.2 支持 OpenGL 4.x

我正在尝试弄清楚如何让 Ubuntu 18.04.2 在配备 Intel UHD 620 显卡的 Dell Latitude 7300 笔记本电脑上支持 OpenGL 4.x。

摘自这篇文章:

如何升级英特尔显卡驱动程序?

我发现我需要升级我的英特尔驱动程序,而最好的方法是添加一个包含最新英特尔驱动程序的新存储库,如下所示:

sudo add-apt-repository ppa:oibaf/graphics-drivers

但是,当我添加该存储库并执行以下时:

sudo apt install xserver-xorg-video-intel

输出表明我需要额外的依赖项:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xserver-xorg-video-intel : Depends: xorg-video-abi-23
                            Depends: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.

我尝试安装所请求的依赖项:

sudo apt install xserver-xorg-core

但没有意识到这是在做什么:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  intel-gpu-tools libllvm7
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  xfonts-100dpi | xfonts-75dpi
The following packages will be REMOVED:
  ubuntu-desktop xorg xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04
  xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04
  xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-video-all-hwe-18.04
  xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
  xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
  xserver-xorg-video-intel-hwe-18.04-dbg xserver-xorg-video-nouveau-hwe-18.04
  xserver-xorg-video-qxl-hwe-18.04 xserver-xorg-video-radeon-hwe-18.04
  xserver-xorg-video-vesa-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed:
  xserver-xorg-core
0 upgraded, 1 newly installed, 18 to remove and 0 not upgraded.

这搞砸了我的系统,因为它卸载了我的触控板和其他关键部件的驱动程序。我设法重新安装了关键部件,但我很疑惑,安装支持 OpenGL 4.x 的英特尔驱动程序的正确步骤是什么?

答案1

您的系统上有图形硬件堆栈。

xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04

sudo apt update

首先进行模拟。sudo apt-get -s install --install-recommends xserver-xorg-core xserver-xorg xserver-xorg-video-all xserver-xorg-input-all libwayland-egl1-mesa ` 寻找冲突。

然后你就可以安装它了。

sudo apt-get install --install-recommends  xserver-xorg-core xserver-xorg xserver-xorg-video-all xserver-xorg-input-all libwayland-egl1-mesa 

相关内容