View previous topic :: View next topic |
Author |
Message |
smartding Tux's lil' helper
Joined: 22 Jan 2021 Posts: 129
|
Posted: Tue Oct 19, 2021 7:21 am Post subject: [SOLVED]what VIDEO_CARDS should be for intel tiger lake CPU? |
|
|
I just got a new laptop with intel tiger lake CPU, which has a builtin Iris Xe Graphics card.
The "Feature support" table in https://wiki.gentoo.org/wiki/Intel#Feature_support wiki page shows a question mark for VIDEO_CARDS for tiger lake CPUs.
What does this question mark mean?
What VIDEO_CARDS should I use for tiger lake CPUs?
-------Edit------
The wiki page is now updated, no more question mark for tiger lake CPUs
Last edited by smartding on Fri Nov 19, 2021 1:36 am; edited 2 times in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Wed Oct 20, 2021 3:27 pm Post subject: |
|
|
For sure
Also add "iris" and see how it goes. _________________
|
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Wed Oct 20, 2021 7:40 pm Post subject: |
|
|
I use Code: | VIDEO_CARDS="i915 iris" |
|
|
Back to top |
|
|
xgivolari n00b
Joined: 26 Jul 2021 Posts: 71
|
Posted: Wed Oct 20, 2021 9:57 pm Post subject: |
|
|
Code: | VIDEO_CARDS="intel i965 iris" |
Tiger Lake is officially supported by the iris driver. i965 is necessary for xorg not to pull in the old fx-video-intel driver. You might get away with omitting the intel flag, but some packages (e.g. x11-libs/libdrm) have it as their only intel-specific video_cards USE flag, so I personally leave it in just to be sure. |
|
Back to top |
|
|
smartding Tux's lil' helper
Joined: 22 Jan 2021 Posts: 129
|
Posted: Thu Oct 21, 2021 12:09 am Post subject: |
|
|
great, thank you guys. |
|
Back to top |
|
|
xaotuk n00b
Joined: 20 Dec 2022 Posts: 2 Location: Serbia
|
Posted: Tue Dec 20, 2022 10:35 am Post subject: |
|
|
I just purchased Lenovo X1 Gen 10 with Tiger Lake graphics.
I've placed
Code: |
VIDEO_CARDS="intel i965 iris"
|
So far I could only run X with old intel driver with no GLX acceleration. When it tries with modesetting driver, there is no error in log, but it X goes off.
The last log lines look like this.
Code: |
[ 510.139] (II) LoadModule: "intel"
[ 510.140] (WW) Warning, couldn't open module intel
[ 510.140] (EE) Failed to load module "intel" (module does not exist, 0)
[ 510.140] (II) LoadModule: "modesetting"
[ 510.140] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 510.140] (II) Module modesetting: vendor="X.Org Foundation"
[ 510.140] compiled for 1.21.1.4, module version = 1.21.1
[ 510.140] Module class: X.Org Video Driver
[ 510.140] ABI class: X.Org Video Driver, version 25.2
[ 510.140] (II) LoadModule: "fbdev"
[ 510.140] (WW) Warning, couldn't open module fbdev
[ 510.140] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 510.140] (II) LoadModule: "vesa"
[ 510.140] (WW) Warning, couldn't open module vesa
[ 510.140] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 510.140] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 510.140] (II) modeset(0): using drv /dev/dri/card0
[ 510.140] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 510.140] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 510.140] (==) modeset(0): RGB weight 888
[ 510.140] (==) modeset(0): Default visual is TrueColor
[ 510.140] (II) Loading sub module "glamoregl"
[ 510.140] (II) LoadModule: "glamoregl"
[ 510.140] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 510.142] (II) Module glamoregl: vendor="X.Org Foundation"
[ 510.142] compiled for 1.21.1.4, module version = 1.0.1
[ 510.142] ABI class: X.Org ANSI C Emulation, version 0.4
|
What it comes out in terminal is:
Code: |
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
|
I tried in both 5.15.80 and 6.1.0 kernels. I guess I messed up something in my kernel config and or firmware update.
In dmesg I can see:
Code: |
[ 1.449161] i915 0000:00:02.0: enabling device (0006 -> 0007)
[ 1.450605] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 1.450609] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 1.450664] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 1.451287] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=mem
[ 1.451466] Loading firmware: i915/adlp_dmc_ver2_16.bin
[ 1.451482] i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc_ver2_16.bin failed with error -2
[ 1.451486] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/adlp_dmc_ver2_16.bin. Disabling runtime power management.
[ 1.451489] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 1.506559] Loading firmware: i915/adlp_guc_70.bin
[ 1.506606] Loading firmware: i915/adlp_guc_70.1.1.bin
[ 1.506619] Loading firmware: i915/adlp_guc_69.0.3.bin
[ 1.506635] i915 0000:00:02.0: GuC firmware i915/adlp_guc_70.bin: fetch failed with error -2
[ 1.506641] i915 0000:00:02.0: Please file a bug on drm/i915; see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
[ 1.506646] i915 0000:00:02.0: [drm] GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 1.676116] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 0.0.0
[ 1.676135] i915 0000:00:02.0: GuC initialization failed -2
[ 1.676138] i915 0000:00:02.0: Enabling uc failed (-5)
[ 1.676139] i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
[ 1.676331] i915 0000:00:02.0: [drm:add_taint_for_CI] CI tainted:0x9 by intel_gt_init+0xb1/0x2f0
|
I've set in kernel .config:
Code: |
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE="46a6"
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
CONFIG_DRM_I915_REQUEST_TIMEOUT=20000
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
|
I'll try to hack more, meanwhile if anyone had similar problems and solved it, I would appreciate some help.[/code] _________________ "You do not exist, you are the existence itself." |
|
Back to top |
|
|
xaotuk n00b
Joined: 20 Dec 2022 Posts: 2 Location: Serbia
|
Posted: Tue Dec 20, 2022 11:17 am Post subject: |
|
|
Regarding dmesg errors, I added
Code: |
#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_EXTRA_FIRMWARE="i915/adlp_dmc_ver2_16.bin i915/adlp_guc_70.bin i915/tgl_huc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
# CONFIG_FW_LOADER_USER_HELPER is not set
CONFIG_FW_LOADER_COMPRESS=y
CONFIG_FW_LOADER_COMPRESS_XZ=y
# CONFIG_FW_LOADER_COMPRESS_ZSTD is not set
CONFIG_FW_CACHE=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader
|
dmesg has no errors now, xorg logs as well, no error about "old kernel" however I get this on startx:
Code: |
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
|
_________________ "You do not exist, you are the existence itself." |
|
Back to top |
|
|
|