You are not logged in.

#1 2013-07-13 18:37:09

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Haswell IGP problems

Is there a known problem with Haswell graphics currently? If I enable SNA, I lose video signal completely when X runs (even the virtual consoles are lost) and get the following kernel messages, which I got via a network login:

[   12.384029] WARNING: at drivers/gpu/drm/i915/intel_display.c:7728 intel_modeset_check_state+0x4e1/0x600 [i915]()
[   12.384033] Hardware name: All Series
[   12.384036] encoder's computed active state doesn't match tracked active state (expected 1, found 0)
[   12.384039] Modules linked in: nls_cp437 vfat fat ip6t_REJECT joydev xt_hl ip6t_rt snd_hda_codec_realtek nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT xt_LOG snd_hda_codec_hdmi snd_hda_intel xt_limit snd_hda_codec xt_tcpudp xt_addrtype eeepc_wmi asus_wmi sparse_keymap rfkill iTCO_wdt snd_hwdep snd_pcm mxm_wmi coretemp kvm_intel pci_hotplug iTCO_vendor_support e1000e snd_page_alloc snd_timer nf_conntrack_ipv4 nf_defrag_ipv4 kvm crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel snd aes_x86_64 xt_conntrack thermal fan xts psmouse ptp pps_core lrw mei lpc_ich acpi_cpufreq mperf wmi processor soundcore gf128mul evdev i2c_i801 pcspkr serio_raw ablk_helper cryptd ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast microcode nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter
[   12.384115]  ip_tables x_tables ext4 crc16 mbcache jbd2 hid_generic hid_logitech_dj usbhid hid sr_mod cdrom sd_mod ahci libahci ehci_pci libata xhci_hcd ehci_hcd scsi_mod usbcore usb_common i915 video button i2c_algo_bit intel_agp intel_gtt drm_kms_helper drm i2c_core
[   12.384150] Pid: 473, comm: Xorg Not tainted 3.9.9-1-ARCH #1
[   12.384152] Call Trace:
[   12.384178]  [<ffffffffa00c4100>] ? intel_modeset_check_state+0x480/0x600 [i915]
[   12.384187]  [<ffffffff81057f60>] warn_slowpath_common+0x70/0xa0
[   12.384193]  [<ffffffff81057fdc>] warn_slowpath_fmt+0x4c/0x50
[   12.384221]  [<ffffffffa00cb258>] ? intel_ddi_get_hw_state+0x38/0x160 [i915]
[   12.384246]  [<ffffffffa00c4161>] intel_modeset_check_state+0x4e1/0x600 [i915]
[   12.384267]  [<ffffffffa00c42c0>] intel_connector_dpms+0x40/0x70 [i915]
[   12.384289]  [<ffffffffa0022a18>] drm_mode_obj_set_property_ioctl+0x308/0x320 [drm]
[   12.384308]  [<ffffffffa0022a60>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
[   12.384326]  [<ffffffffa00111c1>] drm_ioctl+0x4d1/0x580 [drm]
[   12.384347]  [<ffffffffa0022a30>] ? drm_mode_obj_set_property_ioctl+0x320/0x320 [drm]
[   12.384357]  [<ffffffff814d67cc>] ? __do_page_fault+0x2ec/0x5c0
[   12.384367]  [<ffffffff8119d2c5>] do_vfs_ioctl+0x2e5/0x4d0
[   12.384374]  [<ffffffff8119d531>] sys_ioctl+0x81/0xa0
[   12.384381]  [<ffffffff814da89d>] system_call_fastpath+0x1a/0x1f

This is on an i7 4770K. In my installation of Linux Mint I updated to 3.9.9 and SNA works fine there.

I can't see anything in the bug reports about it.

Last edited by teppic (2013-07-13 18:59:24)

Offline

#2 2013-07-13 18:56:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Haswell IGP problems

Welcomed to Arch.  No idea about your problem but you probably wanna use code tags for your dmesg output.  Are you sure your Arch box is up-to-date using an up-to-date mirror?

I hesitate to make this suggestion since you're new to Arch but, since you're using pretty new hardware, you might want to try out the 3.10 series kernel and related files which are currently in [testing].  Doing so may cause breakage, but if you know how to chroot from a CD/USB, you can easily downgrade the affected packages.

EDIT: I assume based on your post that everything works fine in uxa mode?

Last edited by graysky (2013-07-13 19:00:30)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2013-07-13 19:02:16

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Re: Haswell IGP problems

Yup, everything's up to date. I did actually try 3.10 a few days ago but it causes my logitech receiver to stop working, so I have no keyboard or mouse. I searched on that and it's a bug in the kernel.

I can get video output if I don't enable SNA, but then my HDMI audio isn't detected.

(I've been using Arch a couple of months, so I'm fairly familiar with things)

Last edited by teppic (2013-07-13 21:12:11)

Offline

#4 2013-07-13 19:03:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Haswell IGP problems

@teppic - That sucks.  Have you tried the 3.10.1 patch which is due out upstream in several hours?  I dunno if your logitech receiver is fixed in it or not.

https://lkml.org/lkml/2013/7/11/556

The HDMI audio seems strange that it would be related to the video driver... using pulseaudio?

Last edited by graysky (2013-07-13 19:03:55)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2013-07-13 19:07:37

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Re: Haswell IGP problems

I haven't - I'd hope it does fix it as it's obviously a showstopper for me.

At the moment I'm having to work with no audio, which is a pain when I'm trying to use xbmc smile

edit:

I've got Pulseaudio, yeah. The HDMI output doesn't show up at all. This is /proc/asound/cards:

 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xf7c34000 irq 46
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c30000 irq 47

alsamixer shows card 0 as S/PDIF only.

Last edited by teppic (2013-07-13 19:13:17)

Offline

#6 2013-07-13 19:09:54

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Haswell IGP problems

graysky wrote:

The HDMI audio seems strange that it would be related to the video driver... using pulseaudio?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2013-07-13 19:19:46

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Re: Haswell IGP problems

Hmm, I just rebooted into Mint and I get the same output - but there I can select HDMI audio output with pulseaudio, while in Arch it's not listed.

(I guess the HDMI audio issue is an unrelated problem after all)

Last edited by teppic (2013-07-13 19:43:35)

Offline

#8 2013-07-14 15:26:20

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Re: Haswell IGP problems

No luck with 3.10.1. I get the same video problem and same kernel errors. And the Logitech receiver still doesn't work.

Since I can use SNA in Mint with 3.9.9 I'm guessing the problem is with the Arch Intel drivers rather than the kernel itself.

Offline

#9 2013-07-14 17:20:24

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Re: Haswell IGP problems

I just saw that an update for xf86-video-intel went into [testing] and that fixes the problem, 3.9.9 + this works fine with SNA. Still no HDMI audio, but that must be a separate problem.

Last edited by teppic (2013-07-14 17:21:27)

Offline

#10 2013-07-14 18:30:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Haswell IGP problems

Glad the update in [testing] works for you.  Now you just need to figure out your logitech and HDMI issues.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#11 2013-07-14 19:39:21

teppic
Member
From: UK
Registered: 2013-07-13
Posts: 9

Re: Haswell IGP problems

graysky wrote:

Glad the update in [testing] works for you.  Now you just need to figure out your logitech and HDMI issues.

Thanks. For the receiver I'll just stick to 3.9.9 until it's fixed. Not sure about the HDMI issue, it looks like a problem with Pulseaudio.

Offline

Board footer

Powered by FluxBB