Por*_*rew 6 graphics intel-graphics opengl drivers 20.04
我为华硕 ZenBook UX393EA 设置了双启动 Ubuntu 20.04,它具有集成显卡“Intel(R) Iris(R) Xe Graphics”。但是我发现使用了 llvmpipe(LLVM 11.0.0,256 位)而不是集成显卡。
我相信其他一些问题是由于这个原因造成的,例如:
xrandr 无法获得输出默认值的伽马大小以下是一些信息:
? ~ uname -r
5.4.0-56-generic
Run Code Online (Sandbox Code Playgroud)
? ~ lspci -nnk | grep -iA2 VGA
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a49] (rev 01)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. Device [1043:13e2]
Kernel modules: i915
Run Code Online (Sandbox Code Playgroud)
(如您所见,未加载 Intel 显卡的驱动程序)
? ~ inxi -G
Graphics: Device-1: Intel driver: N/A
Device-2: IMC Networks USB2.0 HD IR UVC WebCam type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.8 driver: fbdev unloaded: modesetting resolution: 3300x2200~90Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 21.0.0-devel (git-3f0da80 2020-12-10 focal-oibaf-ppa)
Run Code Online (Sandbox Code Playgroud)
? ~ glxinfo -B
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 11.0.0, 256 bits) (0xffffffff)
Version: 21.0.0
Accelerated: no
Video memory: 15694MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.0, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.0.0-devel (git-3f0da80 2020-12-10 focal-oibaf-ppa)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 21.0.0-devel (git-3f0da80 2020-12-10 focal-oibaf-ppa)
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.0-devel (git-3f0da80 2020-12-10 focal-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Run Code Online (Sandbox Code Playgroud)
? ~ sudo lshw -c video
*-display UNCLAIMED
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: iomemory:600-5ff iomemory:400-3ff memory:603e000000-603effffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
Run Code Online (Sandbox Code Playgroud)
? ~ dmesg | grep drm
[ 1.420124] systemd[1]: Starting Load Kernel Module drm...
[ 1.428692] systemd[1]: modprobe@drm.service: Succeeded.
[ 1.428949] systemd[1]: Finished Load Kernel Module drm.
[ 1.667732] [drm] Your graphics device 9a49 is not properly supported by the driver in this
Run Code Online (Sandbox Code Playgroud)
最后一个日志是:
[drm] Your graphics device 9a49 is not properly supported by the driver in this
kernel version. To force driver probe anyway, use i915.force_probe=9a49
module parameter or CONFIG_DRM_I915_FORCE_PROBE=9a49 configuration option,
or (recommended) check for kernel updates.
Run Code Online (Sandbox Code Playgroud)
还有另一个关于 i915 的日志,我不确定它是否相关:
snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Run Code Online (Sandbox Code Playgroud)
我猜根本原因是显卡不受当前驱动程序i915的支持。我不知道该怎么做,或者是否还有其他原因导致此问题。以下是我尝试过的:
它们都不适合我。如果有人可以提供任何帮助或想法,我将不胜感激。
小智 8
我昨天刚买了一台新的华硕 Zenbook (UX425EA),它配备了第 11 代 i7 处理器 + 英特尔 Iris Xe 显卡,我也面临着同样的问题。经过数小时的谷歌和滚动线程,我找到了一个最终解决方案,一劳永逸地解决了这个问题。您将需要Ubuntu OEM 内核。确保在 BIOS 中启用安全启动(上次我尝试在不启用安全启动的情况下安装它,屏幕变黑并出现奇怪的扭曲,所以我想这将是重要的一步)。
以下命令完成所有工作:
apt install linux-oem-20.04 && sudo reboot 0
Run Code Online (Sandbox Code Playgroud)
如果您有 Intel Iris Xe MAX 显卡,事情会变得更复杂,请参阅此处 -> https://dgpu-docs.intel.com/devices/iris-xe-max-graphics/index.html。
这应该可以完成这项工作,但如果它不能确保您拥有此处提到的软件包 -> https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-focal.html。
希望这可以帮助某人。:)
| 归档时间: |
|
| 查看次数: |
16788 次 |
| 最近记录: |