我为华硕 ZenBook UX393EA 设置了双启动 Ubuntu 20.04,它具有集成显卡“英特尔(R) Iris(R) Xe Graphics”。但是我发现使用了 llvmpipe(LLVM 11.0.0,256 位),但没有使用集成显卡。
我相信其他一些问题是由于这个原因,例如:
xrandr
未能获得输出默认值的 gamma 大小- 屏幕分辨率只能设置为一个值
- 没有屏幕亮度控制栏
以下是一些信息:
- linux内核
➜ ~ uname -r
5.4.0-56-generic
- lspci
➜ ~ 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
- 印西
(如您所见,未加载英特尔显卡驱动程序)
➜ ~ 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)
- glxinfo
➜ ~ 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
- lshw
➜ ~ 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
- dmesg
➜ ~ dmesg | grep drm
[ 1.420124] systemd[1]: Starting Load Kernel Module drm...
[ 1.428692] systemd[1]: [email protected]: 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
最后一个日志是:
[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.
还有另一个关于 i915 的日志,我不确定它是否相关:
snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
我猜根本原因是当前驱动i915不支持显卡。我不知道该怎么做,或者这个问题是否还有其他原因。这是我尝试过的:
- 将 /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT 更改为“”,就像Ubuntu 20.04 Intel HD 615 中的方式:没有亮度控制或没有启动/卡在启动屏幕上
- 将 xorg 配置为首选 Intel 或禁用 IGD 的模式切换,就像在Ubuntu 18.04 中无法使用 Intel Integrated Graphics的方式一样
- 删除 xserver-xorg-video-fbdev,如https://forums.linuxmint.com/viewtopic.php?t=287323中的方式,这只会使启动过程卡在启动屏幕中。
它们都不适合我。如果有人可以提供任何帮助或想法,我将不胜感激。