You are not logged in.

#1 2017-06-09 21:04:54

masterofamn
Member
Registered: 2012-05-09
Posts: 18

recent xf86-video-intel update system hangs

Hi Volks,

the recent update

xf86-video-intel (1:2.99.917+772+gc72bb27a-1 -> 1:2.99.917+777+g6babcf15-1)

breaks my system
Lenovo X220

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
0d:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)

quite badly .
Trace in journal:

---[ end trace 99616141373f5552 ]---
R13: 000000000000000d R14: 0000000000000000 R15: 0000000000000000
R10: 00000000000000b1 R11: 0000000000003246 R12: 00000000c03064b7
RBP: 00007ffc360eae70 R08: 00000000010bb960 R09: 0000000000000002
RDX: 00007ffc360eae70 RSI: 00000000c03064b7 RDI: 000000000000000d
RAX: 0000000000000000 RBX: 00007f92a6ff2000 RCX: 00007f92a4f13cb7
RSP: 002b:00007ffc360eae28 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
RIP: 0033:0x7f92a4f13cb7
 entry_SYSCALL_64_fastpath+0xa7/0xa9
 syscall_return_slowpath+0x59/0x60
 exit_to_usermode_loop+0x8c/0xb0
 ? __fget+0x77/0xb0
 ? do_vfs_ioctl+0xa5/0x600
 ? mntput_no_expire+0x2c/0x1a0
 ? __dentry_kill+0x118/0x150
 do_signal+0x37/0x6a0
 get_signal+0x218/0x640
 do_group_exit+0x3b/0xb0
 do_exit+0x308/0xb30
 task_work_run+0x76/0x90
 ____fput+0xe/0x10
 __fput+0xa2/0x1f0
 drm_release+0x2b2/0x360 [drm]
 drm_lastclose+0x39/0xf0 [drm]
 i915_driver_lastclose+0xe/0x20 [i915]
 intel_fbdev_restore_mode+0x3b/0xc0 [i915]
 drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x80 [drm_kms_helper]
 restore_fbdev_mode+0x222/0x280 [drm_kms_helper]
 drm_atomic_commit+0x4b/0x50 [drm]
 ? drm_atomic_check_only+0x39e/0x580 [drm]
 intel_atomic_commit+0x360/0x480 [i915]
 ? wake_bit_function+0x60/0x60
 intel_atomic_commit_tail+0xfd5/0xfe0 [i915]
 warn_slowpath_fmt+0x5a/0x80
 __warn+0xcb/0xf0
 dump_stack+0x63/0x81
Call Trace:
Hardware name: LENOVO 4290G53/4290G53, BIOS 8DET63WW (1.33 ) 07/19/2012
CPU: 3 PID: 6993 Comm: Xorg Tainted: G        W  O    4.11.3-1-ARCH #1
 jbd2 fscrypto mbcache sd_mod serio_raw atkbd libps2 ahci libahci libata sdhci_pci sdhci led_class ehci_pci scsi_mod ehci_hcd mmc_core usb
Modules linked in: ctr ccm fuse mousedev arc4 iwldvm mac80211 iwlwifi snd_hda_codec_hdmi cfg80211 snd_hda_codec_conexant snd_hda_codec_gen
pipe A vblank wait timed out
WARNING: CPU: 3 PID: 6993 at drivers/gpu/drm/i915/intel_display.c:14229 intel_atomic_commit_tail+0xfd5/0xfe0 [i915]
------------[ cut here ]------------

The system hangs in short intervals (whenever moving/opening windows) with an old known error message:

[drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] flip_done timed out

see https://bbs.archlinux.org/viewtopic.php?id=218581

reverting to 772 for the moment helps.

anyone else seeing this?

best

MoA

Edit: added trace

Last edited by masterofamn (2017-06-09 21:18:09)

Offline

#2 2017-06-09 22:19:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: recent xf86-video-intel update system hangs

Do you need the intel DDX driver?  If not, just remove it.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-06-10 09:13:24

masterofamn
Member
Registered: 2012-05-09
Posts: 18

Re: recent xf86-video-intel update system hangs

Good point. After reading
https://www.reddit.com/r/archlinux/comm … ideointel/
I just uninstalled it and will test if my docking station/external monitor works.
I was also thinking this was THE intel driver - but apparently it is not - I do not really care much about 2d acceleration.

Offline

#4 2017-06-10 10:11:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: recent xf86-video-intel update system hangs

You still have 2d acceleration without the intel DDX, it's built into the kernel.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-06-10 16:29:19

masterofamn
Member
Registered: 2012-05-09
Posts: 18

Re: recent xf86-video-intel update system hangs

thanks for your replies, Trilby!

First issue with using modesetting instead of video-intel I now realized when using my laptop outside in the garden:

$ xbacklight -inc 11
No outputs have backlight property

=> I can't change my screen backlight anymore using my old config from the intel driver.

I saw some things about using xrandr instead - but the "--brightness" switch from xrandr is obviously something different. I'll have to do some reading/googling on this.

Offline

#6 2017-06-10 18:48:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: recent xf86-video-intel update system hangs

That's a known issue with xbacklight.  I have hardware/firmware buttons that work fine on my lenovo x200 (Fn+Home, Fn+End).  Alternatively, you can write directly to the device files under /sys/class/backlight: there are various scripts out there to automate this.

Also note that there are some circumstances in which having the intel DDX is necessary/worthwhile.  I've not encountered any such cases on any of my intel hardware, but I really did mean the initial question as a question.  If you don't need the intel DDX then don't use it - but if it still important there may be other ways to fix the hang.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2017-06-10 20:42:43

masterofamn
Member
Registered: 2012-05-09
Posts: 18

Re: recent xf86-video-intel update system hangs

Interesting, that it works on a X200 out of the box - my Fn+Home, Fn+End work until I leave grub. After that, booting into Arch they are no longer doing anything. I have now reconfigured my keys to echo directly to /sys/class/backlight/intel_backlight/brightness instead of using xbacklight. This works for now and I will see what else there is in store that may not work. In case I run into severe stuff, I can reinstall the working intel version from my cache...

Offline

#8 2017-06-10 21:30:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: recent xf86-video-intel update system hangs

I do have the kernel parameter "acpi_osi=Linux" which may account for my brightness keys working.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2017-06-11 01:24:06

lx00xl
Member
Registered: 2017-05-26
Posts: 1

Re: recent xf86-video-intel update system hangs

Trilby wrote:

I do have the kernel parameter "acpi_osi=Linux" which may account for my brightness keys working.


I hope I am not hijacking the thread, where exactly did you place the "acpi_osi=Linux" on the parameter since I am having the same issue, are you on systemd?

Offline

#10 2017-06-11 01:47:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: recent xf86-video-intel update system hangs

It's a kernel parameter, the init system is irrelevant - but yes it is systemd.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2017-06-11 06:32:31

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,812
Website

Re: recent xf86-video-intel update system hangs

I have a similar problem, when my screen goes to sleep the system hangs completely. Reverted back to modesetting driver, but it in not good for gaming


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Online

#12 2017-06-11 15:14:37

masterofamn
Member
Registered: 2012-05-09
Posts: 18

Re: recent xf86-video-intel update system hangs

Just a heads up on the (off-topic) brightness-thing: using the kernel parameter Trilby mentioned (and also including acpi_brightness=vendor) does not work on my X220.

Edit: ...but "acpi_backlight=video acpi_osi=Linux" does.

Last edited by masterofamn (2017-06-12 11:47:30)

Offline

#13 2017-06-12 11:46:34

masterofamn
Member
Registered: 2012-05-09
Posts: 18

Re: recent xf86-video-intel update system hangs

This seems to be the according upstream bug report:

https://bugs.freedesktop.org/show_bug.cgi?id=98810

Offline

Board footer

Powered by FluxBB