Re: [Intel-gfx] [libva] GPU hung

2012-07-04 Thread Xiang, Haihao
On Mon, 2012-07-02 at 18:49 +, Christophe Oosterlynck wrote: 
 Hi,
 
 Is there any update on this issue or has a bug been reported?
 
 I seem to have a similar issue ([drm:i915_hangcheck_hung] *ERROR* Hangcheck 
 timer) when using vaapi with gstreamer.
 

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

Angela and I can't reproduce this issue by MPlayer vaapi.  Could you
also give a try ?

Thanks
Haihao

 Best regards,
 
 Christophe
 
 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx


___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [libva] GPU hung

2012-07-02 Thread Christophe Oosterlynck
Hi,

Is there any update on this issue or has a bug been reported?

I seem to have a similar issue ([drm:i915_hangcheck_hung] *ERROR* Hangcheck 
timer) when using vaapi with gstreamer.

Best regards,

Christophe

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [libva] GPU hung

2012-06-13 Thread Angela
 Am Mittwoch, den 13.06.2012, 00:09 +0200 schrieb Angela:
   For gpu hangs the important thing is the i915_error_state file
   from sysfs
   (the files you've attached are mainly interesting for modeset issues).
   I guess the best thing would be to file a bug on
   bugs.freedesktop.org with that.
  
   # cat /sys/kernel/debug/dri/0/i915_error_state
   no error state collected
   # cat /sys/kernel/debug/dri/64/i915_error_state
   no error state collected

I copied the wrong line from mount, debugfs is always mounted on Ubuntu
none on /sys/kernel/debug type debugfs (rw)

Still, I don't have any output right after the crash, see above. Tried several 
times 1080i recordings, either
no error state collected


Below error is with a 720p recording, which behaves and looks different

cat  .../debug/dri/0/i915_error_state, blocks

Jun 13 17:35:39 minerva11 kernel: [68682.433743] [drm:i915_driver_open],
Jun 13 17:35:39 minerva11 kernel: [68682.691256] [drm:i915_driver_open],
Jun 13 17:35:39 minerva11 kernel: [68682.860834] [drm:i915_driver_open],
Jun 13 17:35:40 minerva11 kernel: [68683.185483] [drm:drm_mode_addfb], [FB:27]
Jun 13 17:35:46 minerva11 kernel: [68689.196485] [drm:i915_hangcheck_hung] 
*ERROR* Hangcheck timer elapsed... GPU hung
Jun 13 17:35:46 minerva11 kernel: [68689.196946] [drm] capturing error event; 
look for more information in /debug/dri/0/i915_error_state
Jun 13 17:35:46 minerva11 kernel: [68689.199780] [drm:i915_error_work_func], 
resetting chip
Jun 13 17:35:46 minerva11 kernel: [68689.199843] 
[drm:drm_crtc_helper_set_config],
Jun 13 17:35:46 minerva11 kernel: [68689.199845] 
[drm:drm_crtc_helper_set_config], [CRTC:3] [NOFB]
Jun 13 17:35:46 minerva11 kernel: [68689.199867] [drm:ironlake_crtc_dpms], crtc 
0/0 dpms off
Jun 13 17:35:46 minerva11 kernel: [68689.199869] 
[drm:i915_get_vblank_timestamp], crtc 0 is disabled
Jun 13 17:35:46 minerva11 kernel: [68689.205723] [drm:intel_prepare_page_flip], 
preparing flip with no unpin work?
Jun 13 17:35:46 minerva11 udevd[19509]: failed to execute 
'/usr/share/apport/apport-gpu-error-intel.py' 
'/usr/share/apport/apport-gpu-error-intel.py': No such file or directory
Jun 13 17:36:46  dhclient: last message repeated 4 times
Jun 13 17:36:46 minerva11 kernel: [68689.252474] [drm:intel_disable_pch_pll], 
disable PCH PLL c6014 (active 1, on? 1) for crtc 3
Jun 13 17:36:46 minerva11 kernel: [68689.252476] [drm:intel_disable_pch_pll], 
disabling PCH PLL c6014
Jun 13 17:36:46 minerva11 kernel: [68689.252882] [drm:intel_update_fbc],
Jun 13 17:36:46 minerva11 kernel: [68689.252906] [ cut here 
]
Jun 13 17:36:46 minerva11 kernel: [68689.253355] kernel BUG at 
drivers/gpu/drm/i915/i915_gem.c:3084!
Jun 13 17:36:46 minerva11 kernel: [68689.253795] invalid opcode:  [#1] SMP
Jun 13 17:36:46 minerva11 kernel: [68689.254227] CPU 3
Jun 13 17:36:46 minerva11 kernel: [68689.254672] Modules linked in: des_generic 
md4 nls_utf8 cifs xts gf128mul autofs4 dm_crypt binfmt_misc ipt_MASQUERADE 
xt_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek iptable_nat nf_nat 
nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables 
tda18271c2dd(O) snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi 
snd_rawmidi snd_seq_midi_event drxk(O) snd_seq arc4 ath9k mac80211 ath9k_common 
ath9k_hw eeepc_wmi ddbridge(O) snd_timer snd_seq_device dvb_core(O) asus_wmi 
cxd2099(O) coretemp hid_generic ath btusb snd mei bluetooth psmouse serio_raw 
lpc_ich sparse_keymap soundcore cfg80211 snd_page_alloc microcode lp parport 
usbhid hid usb_storage uas 8139too mxm_wmi 8139cp ghash_clmulni_intel 
aesni_intel cryptd firewire_ohci aes_x86_64 firewire_core crc_itu_t i915 
drm_kms_helper drm ahci e1000e libahci i2c_algo_bit xhci_hcd video wmi [last 
unloaded: kvm]
Jun 13 17:36:46 minerva11 kernel: [68689.256832]
Jun 13 17:36:46 miJun 13 17:44:59 minerva11 kernel: imklog 5.8.6, log source = 
/proc/kmsg started.

Again with 1080i, I also noticed the stacktrace is not always the same, however 
ends always at the same point (intel_unpin_fb_obj):

Jun 13 18:13:36 minerva11 kernel: [ 1737.267614] [ cut here 
]
Jun 13 18:13:36 minerva11 kernel: [ 1737.267630] kernel BUG at 
drivers/gpu/drm/i915/i915_gem.c:3084!
Jun 13 18:13:36 minerva11 kernel: [ 1737.267646] invalid opcode:  [#1] SMP
Jun 13 18:13:36 minerva11 kernel: [ 1737.267657] CPU 2
Jun 13 18:13:36 minerva11 kernel: [ 1737.267683] Modules linked in: xts 
gf128mul autofs4 binfmt_misc dm_crypt btusb ipt_MASQUERADE xt_conntrack 
iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter 
ip_tables x_tables snd_hda_codec_hdmi snd_hda_codec_realtek tda18271c2dd(O) 
arc4 ath9k mac80211 snd_hda_intel ath9k_common snd_hda_codec snd_hwdep snd_pcm 
snd_seq_midi ath9k_hw snd_rawmidi snd_seq_midi_event drxk(O) snd_seq psmouse 
eeepc_wmi asus_wmi ddbridge(O) ath sparse_keymap serio_raw dvb_core(O) 
cxd2099(O) coretemp hid_generic snd_timer snd_seq_device ath3k mei 

Re: [Intel-gfx] [libva] GPU hung

2012-06-13 Thread Xiang, Haihao

Hi, Angela

Could you file a bug and provide more details how to reproduce this
issue ?

Thanks
Haihao

  Am Mittwoch, den 13.06.2012, 00:09 +0200 schrieb Angela:
For gpu hangs the important thing is the i915_error_state file
from sysfs
(the files you've attached are mainly interesting for modeset issues).
I guess the best thing would be to file a bug on
bugs.freedesktop.org with that.
   
# cat /sys/kernel/debug/dri/0/i915_error_state
no error state collected
# cat /sys/kernel/debug/dri/64/i915_error_state
no error state collected
 
 I copied the wrong line from mount, debugfs is always mounted on Ubuntu
 none on /sys/kernel/debug type debugfs (rw)
 
 Still, I don't have any output right after the crash, see above. Tried 
 several times 1080i recordings, either
 no error state collected
 
 
 Below error is with a 720p recording, which behaves and looks different
 
 cat  .../debug/dri/0/i915_error_state, blocks
 
 Jun 13 17:35:39 minerva11 kernel: [68682.433743] [drm:i915_driver_open],
 Jun 13 17:35:39 minerva11 kernel: [68682.691256] [drm:i915_driver_open],
 Jun 13 17:35:39 minerva11 kernel: [68682.860834] [drm:i915_driver_open],
 Jun 13 17:35:40 minerva11 kernel: [68683.185483] [drm:drm_mode_addfb], [FB:27]
 Jun 13 17:35:46 minerva11 kernel: [68689.196485] [drm:i915_hangcheck_hung] 
 *ERROR* Hangcheck timer elapsed... GPU hung
 Jun 13 17:35:46 minerva11 kernel: [68689.196946] [drm] capturing error event; 
 look for more information in /debug/dri/0/i915_error_state
 Jun 13 17:35:46 minerva11 kernel: [68689.199780] [drm:i915_error_work_func], 
 resetting chip
 Jun 13 17:35:46 minerva11 kernel: [68689.199843] 
 [drm:drm_crtc_helper_set_config],
 Jun 13 17:35:46 minerva11 kernel: [68689.199845] 
 [drm:drm_crtc_helper_set_config], [CRTC:3] [NOFB]
 Jun 13 17:35:46 minerva11 kernel: [68689.199867] [drm:ironlake_crtc_dpms], 
 crtc 0/0 dpms off
 Jun 13 17:35:46 minerva11 kernel: [68689.199869] 
 [drm:i915_get_vblank_timestamp], crtc 0 is disabled
 Jun 13 17:35:46 minerva11 kernel: [68689.205723] 
 [drm:intel_prepare_page_flip], preparing flip with no unpin work?
 Jun 13 17:35:46 minerva11 udevd[19509]: failed to execute 
 '/usr/share/apport/apport-gpu-error-intel.py' 
 '/usr/share/apport/apport-gpu-error-intel.py': No such file or directory
 Jun 13 17:36:46  dhclient: last message repeated 4 times
 Jun 13 17:36:46 minerva11 kernel: [68689.252474] [drm:intel_disable_pch_pll], 
 disable PCH PLL c6014 (active 1, on? 1) for crtc 3
 Jun 13 17:36:46 minerva11 kernel: [68689.252476] [drm:intel_disable_pch_pll], 
 disabling PCH PLL c6014
 Jun 13 17:36:46 minerva11 kernel: [68689.252882] [drm:intel_update_fbc],
 Jun 13 17:36:46 minerva11 kernel: [68689.252906] [ cut here 
 ]
 Jun 13 17:36:46 minerva11 kernel: [68689.253355] kernel BUG at 
 drivers/gpu/drm/i915/i915_gem.c:3084!
 Jun 13 17:36:46 minerva11 kernel: [68689.253795] invalid opcode:  [#1] SMP
 Jun 13 17:36:46 minerva11 kernel: [68689.254227] CPU 3
 Jun 13 17:36:46 minerva11 kernel: [68689.254672] Modules linked in: 
 des_generic md4 nls_utf8 cifs xts gf128mul autofs4 dm_crypt binfmt_misc 
 ipt_MASQUERADE xt_conntrack snd_hda_codec_hdmi snd_hda_codec_realtek 
 iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 
 iptable_filter ip_tables x_tables tda18271c2dd(O) snd_hda_intel snd_hda_codec 
 snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event drxk(O) snd_seq 
 arc4 ath9k mac80211 ath9k_common ath9k_hw eeepc_wmi ddbridge(O) snd_timer 
 snd_seq_device dvb_core(O) asus_wmi cxd2099(O) coretemp hid_generic ath btusb 
 snd mei bluetooth psmouse serio_raw lpc_ich sparse_keymap soundcore cfg80211 
 snd_page_alloc microcode lp parport usbhid hid usb_storage uas 8139too 
 mxm_wmi 8139cp ghash_clmulni_intel aesni_intel cryptd firewire_ohci 
 aes_x86_64 firewire_core crc_itu_t i915 drm_kms_helper drm ahci e1000e 
 libahci i2c_algo_bit xhci_hcd video wmi [last unloaded: kvm]
 Jun 13 17:36:46 minerva11 kernel: [68689.256832]
 Jun 13 17:36:46 miJun 13 17:44:59 minerva11 kernel: imklog 5.8.6, log source 
 = /proc/kmsg started.
 
 Again with 1080i, I also noticed the stacktrace is not always the same, 
 however ends always at the same point (intel_unpin_fb_obj):
 
 Jun 13 18:13:36 minerva11 kernel: [ 1737.267614] [ cut here 
 ]
 Jun 13 18:13:36 minerva11 kernel: [ 1737.267630] kernel BUG at 
 drivers/gpu/drm/i915/i915_gem.c:3084!
 Jun 13 18:13:36 minerva11 kernel: [ 1737.267646] invalid opcode:  [#1] SMP
 Jun 13 18:13:36 minerva11 kernel: [ 1737.267657] CPU 2
 Jun 13 18:13:36 minerva11 kernel: [ 1737.267683] Modules linked in: xts 
 gf128mul autofs4 binfmt_misc dm_crypt btusb ipt_MASQUERADE xt_conntrack 
 iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 
 iptable_filter ip_tables x_tables snd_hda_codec_hdmi snd_hda_codec_realtek 
 tda18271c2dd(O) arc4 ath9k mac80211 snd_hda_intel ath9k_common snd_hda_codec 
 snd_hwdep snd_pcm snd_seq_midi ath9k_hw 

Re: [Intel-gfx] [libva] GPU hung

2012-06-12 Thread Daniel Vetter
For gpu hangs the important thing is the i915_error_state file from
sysfs (the files you've attached are mainly interesting for modeset
issues). I guess the best thing would be to file a bug on
bugs.freedesktop.org with that.
-Daniel

On Tue, Jun 12, 2012 at 9:13 PM, Angela angela.sch...@wolke7.net wrote:
 Hello
 Playing recordings with Mythtv 0.25 VAAPI I get 0.05 sec sound, nothing gets
 displayed and have the following reproducible error

 dmesg.txt:[ 1104.077320] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
 elapsed... GPU hung

 Killing mythfrontend does not work. Running intel_reg_dumper, xvinfo, etc.
 afterwards hang. System needs rebooting.

 This is on SandyBridge 2600K, 1080i HDMI on today's head kernel (3.5-rc2)
 and updated xorg-edgers on Ubuntu 12.04. No xorg.conf.

 Please find debugging info in attached problem_gpu_hang.zip (50KB), with
 drm.debug=0x06.

 I reported some months ago a GPU hung issue, but didn't receive an answer, I
 hope to get a reply this time (I don't mean an immediate fix, but like to
 hear that someone will have a look into it in the next days/weeks).
 I hope to get this fixed as many new 1080i channels are available, which are
 not viewable atm and hope to have better luck with VAAPI. I have a spare
 Nvidia GPU with cooler, but like to stick with Intel Onboard GPU as it is
 already cooled.

 Angela


 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx




-- 
Daniel Vetter
daniel.vet...@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [libva] GPU hung

2012-06-12 Thread Angela
For gpu hangs the important thing is the i915_error_state file from sysfs
(the files you've attached are mainly interesting for modeset issues). I
guess the best thing would be to file a bug on bugs.freedesktop.org with
that.

Hello Daniel

I get the following:

# cat /sys/kernel/debug/dri/0/i915_error_state
no error state collected
# cat /sys/kernel/debug/dri/64/i915_error_state
no error state collected

mount:
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

What is wrong ?

Angela

On Tue, Jun 12, 2012 at 9:13 PM, Angela angela.sch...@wolke7.net wrote:
 Hello
 Playing recordings with Mythtv 0.25 VAAPI I get 0.05 sec sound, 
 nothing gets displayed and have the following reproducible error

 dmesg.txt:[ 1104.077320] [drm:i915_hangcheck_hung] *ERROR* Hangcheck 
 timer elapsed... GPU hung

 Killing mythfrontend does not work. Running intel_reg_dumper, xvinfo, etc.
 afterwards hang. System needs rebooting.

 This is on SandyBridge 2600K, 1080i HDMI on today's head kernel 
 (3.5-rc2) and updated xorg-edgers on Ubuntu 12.04. No xorg.conf.

 Please find debugging info in attached problem_gpu_hang.zip (50KB), 
 with drm.debug=0x06.

 I reported some months ago a GPU hung issue, but didn't receive an 
 answer, I hope to get a reply this time (I don't mean an immediate 
 fix, but like to hear that someone will have a look into it in the next
days/weeks).
 I hope to get this fixed as many new 1080i channels are available, 
 which are not viewable atm and hope to have better luck with VAAPI. I 
 have a spare Nvidia GPU with cooler, but like to stick with Intel 
 Onboard GPU as it is already cooled.

 Angela


 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx




--
Daniel Vetter
daniel.vet...@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [libva] GPU hung

2012-06-12 Thread Daniel Vetter
On Tue, Jun 12, 2012 at 10:26:19PM +0200, Angela wrote:
 For gpu hangs the important thing is the i915_error_state file from sysfs
 (the files you've attached are mainly interesting for modeset issues). I
 guess the best thing would be to file a bug on bugs.freedesktop.org with
 that.
 
 Hello Daniel
 
 I get the following:
 
 # cat /sys/kernel/debug/dri/0/i915_error_state
 no error state collected
 # cat /sys/kernel/debug/dri/64/i915_error_state
 no error state collected
 
 mount:
 sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
 
 What is wrong ?

I guess you need to rehang your machine, the error_state doesn't survive a
reboot.
-Daniel
-- 
Daniel Vetter
Mail: dan...@ffwll.ch
Mobile: +41 (0)79 365 57 48
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [libva] GPU hung

2012-06-12 Thread Angela
 For gpu hangs the important thing is the i915_error_state file from 
 sysfs
 (the files you've attached are mainly interesting for modeset issues). 
 I guess the best thing would be to file a bug on bugs.freedesktop.org 
 with that.
 
 # cat /sys/kernel/debug/dri/0/i915_error_state
 no error state collected
 # cat /sys/kernel/debug/dri/64/i915_error_state
 no error state collected
 
 mount:
 sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
I guess you need to rehang your machine, the error_state doesn't survive a
reboot.

Hung the system and checked i915_error_state before reboot.

Any other hints ?

Angela

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [libva] GPU hung

2012-06-12 Thread Paul Menzel
Am Mittwoch, den 13.06.2012, 00:09 +0200 schrieb Angela:
  For gpu hangs the important thing is the i915_error_state file from 
  sysfs
  (the files you've attached are mainly interesting for modeset issues). 
  I guess the best thing would be to file a bug on bugs.freedesktop.org 
  with that.
  
  # cat /sys/kernel/debug/dri/0/i915_error_state
  no error state collected
  # cat /sys/kernel/debug/dri/64/i915_error_state
  no error state collected
  
  mount:
  sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
 I guess you need to rehang your machine, the error_state doesn't survive a
 reboot.
 
 Hung the system and checked i915_error_state before reboot.
 
 Any other hints ?

I think you have to mount the debug filesystem [1].


Thanks,

Paul


PS: Maybe that and the i915_error_state stuff could be added to the
Intel Web site too [2].

PPS: Angela, you can also join the IRC channel #intel-gfx for live
debugging.

PPPS: Angela, can you use a different mail program which can quote
correctly. Outlook should be able to do it, but I do not know how to
configure it. Thunderbird works under Microsoft Windows.


[1] https://en.wikipedia.org/wiki/Debugfs
[2] http://intellinuxgraphics.org/how_to_report_bug.html


signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx