Sie sind nicht angemeldet.

1

08.03.2016, 15:13

Intel Skylake (Iris 540)

Hi,
seid gnome 3.18 friert die Grafik andauernd ein, so dass ich ständig neu booten muss.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 0a) (prog-if 00 [VGA controller])
	DeviceName:  CPU
	Subsystem: Intel Corporation Sky Lake Integrated Graphics
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Memory at de000000 (64-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] #1b
	Capabilities: [200] Address Translation Service (ATS)[code]

Capabilities: [300] #13
Kernel driver in use: i915
[/code]

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
emerge --info
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r2, 4.4.4-gentoo x86_64)
=================================================================
System uname: Linux-4.4.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-6260U_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:    16387628 total,  14291848 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 08 Mar 2016 08:42:50 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl seccomp session sna spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


linux-firmware ist installiert (intel braucht jetzt auch firmware), aber so recht funktioniert es nicht:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dmesg | grep drm
[    0.307854] [drm] Initialized drm 1.1.0 20060810
[    0.308549] [drm] Found 128MB of eLLC
[    0.308832] [drm:finish_csr_load] *ERROR* Unknown stepping info, firmware loading failed
[    0.309028] [drm] Memory usable by graphics device = 4096M
[    0.309055] [drm] VT-d active for gfx access
[    0.309078] fb: switching to inteldrmfb from EFI VGA
[    0.309202] [drm] Replacing VGA console driver
[    0.315063] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.315070] [drm] Driver supports precise vblank timestamp query.
[    0.359480] [drm] failed to retrieve link info, disabling eDP
[    0.359973] [drm:intel_guc_ucode_init] *ERROR* Failed to fetch GuC firmware from i915/skl_guc_ver4.bin (error -2)
[    0.362080] [drm:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -5 (ignored)
[    0.368791] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[    0.475558] fbcon: inteldrmfb (fb0) is primary device
[    0.751398] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    1.710828] [drm] RC6 on


Fehlerbild: vollständiges Einfrieren, oder Schluckaufs, nach denen sich folgendes im log findet:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
[  386.711245] [drm] stuck on render ring
[  386.711694] [drm] GPU HANG: ecode 9:0:0x87f99ff9, in gnome-shell [526], reason: Ring hung, action: reset
[  386.711696] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  386.711697] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  386.711698] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  386.711699] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  386.711700] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  386.711717] WARNING: CPU: 3 PID: 20 at drivers/gpu/drm/i915/intel_display.c:11289 intel_mmio_flip_work_func+0x378/0x3c0()
[  386.714030] drm/i915: Resetting chip after gpu hang
[  386.714073] [drm:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -5 (ignored)
[  388.711441] [drm] RC6 on


card0/error:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
GPU HANG: ecode 9:0:0x87f99ff9, in gnome-shell [526], reason: Ring hung, action: reset
Time: 1457445963 s 695518 us
Kernel: 4.4.4-gentoo
Active process (on ring render): gnome-shell [526]
Reset count: 0
Suspend count: 0
PCI ID: 0x1926
IOMMU enabled?: 1
EIR: 0x00000000
IER: 0x00000000
GTIER gt 0: 0x01010121
GTIER gt 1: 0x01010101
GTIER gt 2: 0x00000070
GTIER gt 3: 0x00000101
PGTBL_ER: 0x00000000
FORCEWAKE: 0x00010001
DERRMR: 0x2077efef
CCID: 0x00000000
Missed interrupts: 0x00000000


Ideen?

Rüdiger

2

08.03.2016, 16:24

Ich habe das Problem (bislang jedenfalls klappt es) nun umgangen, indem ich i915.enable_rc6=0 als bootparameter in den Kernel kompiliert habe.
Das Einfrieren ist jetzt weg, die Fehlermeldungen bezüglich des Nichtladens der firmware nicht.

Schon putzig, dass Intel für die eigene Hardware keine laufende firmware schreiben kann...

Rüdiger

3

09.08.2016, 15:58

Ich weiß nicht genau, ob ich ein Problem habe :) :)

Scheinbar wird der guc-firmware-Teil nicht geladen (oder was ist eDP?)

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rudi@localhost ~ $ dmesg | grep drm
[    0.475830] [drm] Initialized drm 1.1.0 20060810
[    0.476563] [drm] Found 64MB of eDRAM
[    0.476945] [drm] Memory usable by graphics device = 4096M
[    0.476970] [drm] VT-d active for gfx access
[    0.476993] fb: switching to inteldrmfb from EFI VGA
[    0.477116] [drm] Replacing VGA console driver
[    0.482518] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.482525] [drm] Driver supports precise vblank timestamp query.
[    0.492035] [drm] Finished loading i915/skl_dmc_ver1.bin (v1.26)
[    0.770599] [drm] failed to retrieve link info, disabling eDP
[    0.780167] [drm] Initialized i915 1.6.0 20160425 for 0000:00:02.0 on minor 0
[    0.889536] fbcon: inteldrmfb (fb0) is primary device
[    1.167257] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    2.713709] [drm] RC6 on


so sieht meiine /lib/firmware/i915 aus:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rudi@localhost /lib/firmware/i915 $ ls -l
insgesamt 416
-rw-r--r-- 1 root root   5872 13. Jun 09:29 bxt_dmc_ver1_04.bin
-rw-r--r-- 1 root root   5872 13. Jun 09:29 bxt_dmc_ver1_05.bin
-rw-r--r-- 1 root root   8380 13. Jun 09:29 bxt_dmc_ver1_06.bin
lrwxrwxrwx 1 root root     19 13. Jun 09:30 bxt_dmc_ver1.bin -> bxt_dmc_ver1_06.bin
-rw-r--r-- 1 root root   8824 13. Jun 09:29 skl_dmc_ver1_23.bin
-rw-r--r-- 1 root root   8928 13. Jun 09:29 skl_dmc_ver1_26.bin
lrwxrwxrwx 1 root root     19 13. Jun 09:30 skl_dmc_ver1.bin -> skl_dmc_ver1_26.bin
-rw-r--r-- 1 root root 109636 13. Jun 09:29 skl_guc_ver1_1059.bin
lrwxrwxrwx 1 root root     21 13. Jun 09:30 skl_guc_ver1.bin -> skl_guc_ver1_1059.bin
-rw-r--r-- 1 root root 128320 13. Jun 09:29 skl_guc_ver4_3.bin
lrwxrwxrwx 1 root root     18 13. Jun 09:30 skl_guc_ver4.bin -> skl_guc_ver4_3.bin
-rw-r--r-- 1 root root 129024 13. Jun 09:29 skl_guc_ver6_1.bin
lrwxrwxrwx 1 root root     18 13. Jun 09:30 skl_guc_ver6.bin -> skl_guc_ver6_1.bin


im Kernel ist folgendes eingestellt:

Quellcode

1
2
       [*]   Include in-kernel firmware blobs in kernel binary                                                                                │ │  
  │ │                                                                 (i915/skl_dmc_ver1.bin i915/skl_guc_ver1.bin i915/skl_guc_ver4.bin i915/skl_guc_ver6.bin) 


Wie wirkt sich aus, ob GuC funkioniert oder nicht funktioniert? Zumindest ist bei mir Gnome etwas ruckeling, aber nicht langsam oder zäh.

Viele Grüße,
Rüdiger

4

09.08.2016, 16:11

Hier noch mal der gesamt drm-Bootteil. Man sieht, dass er mit dem Fehler (failed to retrieve link info) fast 0,3 Sekunden verliert...

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[    0.475776] [drm] Initialized drm 1.1.0 20060810
[    0.476487] [drm] Found 64MB of eDRAM
[    0.476875] [drm] Memory usable by graphics device = 4096M
[    0.476900] [drm] VT-d active for gfx access
[    0.476922] checking generic (c0000000 7e9000) vs hw (c0000000 10000000)
[    0.476923] fb: switching to inteldrmfb from EFI VGA
[    0.476963] Console: switching to colour dummy device 80x25
[    0.477030] [drm] Replacing VGA console driver
[    0.482456] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.482463] [drm] Driver supports precise vblank timestamp query.
[    0.491576] [drm] Finished loading i915/skl_dmc_ver1.bin (v1.26)
[    0.496317] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    0.771879] [drm] failed to retrieve link info, disabling eDP
[    0.780678] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    0.781392] acpi device:0f: registered as cooling_device9
[    0.781506] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[    0.781546] [drm] Initialized i915 1.6.0 20160425 for 0000:00:02.0 on minor 0

5

19.01.2017, 13:17

Mittlerweile gibt es im wikieinen kurzen Hinweis darauf, das das guc Probleme bereitet, und deshalb nicht geladen wird, wenn man nicht weitere Maßnahmen ergreift. Die angegebenen Links verweisen auf Seiten, deren Inhalte ich nicht verstehe, vermutlich Details für Programmierer oder Treiber-Autoren.

Eigentlich würde ich schon gerne wissen, was da los ist, immerhin geht es unter anderem um das Energiemanagement im Chip.

Rüdiger