FS#32099 - [xbmc] crashes when acceleration is enabled (intel gfx card)

Attached to Project: Community Packages
Opened by Artem A Klevtsov (unikum) - Friday, 19 October 2012, 18:59 GMT
Last edited by Balló György (City-busz) - Tuesday, 10 September 2013, 19:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After last update when I try start xbmc system total hungs.

My issue appears after update one of this packages.
Part pacman.log file:
[2012-10-14 10:35] upgraded libglapi (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded libgl (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded freeglut (2.8.0-1 -> 2.8.0-2)
[2012-10-14 10:35] installed glu (9.0.0-1)
[2012-10-14 10:35] upgraded glew (1.8.0-1 -> 1.8.0-2)
[2012-10-14 10:35] upgraded gnutls (3.1.2-1 -> 3.1.3-1)
[2012-10-14 10:35] upgraded intel-dri (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded jasper (1.900.1-7 -> 1.900.1-8)
[2012-10-14 10:35] upgraded khrplatform-devel (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded lib32-libglapi (8.0.4-4 -> 9.0-1)
[2012-10-14 10:35] upgraded lib32-libgl (8.0.4-4 -> 9.0-1)
[2012-10-14 10:35] upgraded lib32-intel-dri (8.0.4-4 -> 9.0-1)
[2012-10-14 10:35] upgraded systemd (194-1 -> 194-3)
[2012-10-14 10:35] upgraded libgbm (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded libegl (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded libldap (2.4.32-1 -> 2.4.33-1)
[2012-10-14 10:35] upgraded mesa (8.0.4-3 -> 9.0-1)
[2012-10-14 10:35] upgraded rsync (3.0.9-4 -> 3.0.9-5)
[2012-10-14 10:35] upgraded smpeg (0.4.4-6 -> 0.4.4-7)
[2012-10-14 10:35] upgraded sysvinit-tools (2.88-8 -> 2.88-9)
[2012-10-14 10:35] upgraded systemd-sysvcompat (194-1 -> 194-3)
[2012-10-14 10:35] upgraded xbmc (11.0-6 -> 11.0-8)
[2012-10-14 10:35] upgraded xf86-input-evdev (2.7.3-1 -> 2.7.3-2)
[2012-10-14 10:35] upgraded xf86-video-intel (2.20.9-1 -> 2.20.9-2)
[2012-10-14 10:35] upgraded xorg-server-common (1.12.4-1 -> 1.13.0-2)
[2012-10-14 10:35] upgraded xorg-server (1.12.4-1 -> 1.13.0-2)

My video is Intel HD Graphics 3000 (in Core i5 2500k):
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

I can successfully start xbmc with disabled acceleration:
Option "NoAccel" "True" in /etc/X11/xorg.conf.d/20-intel.conf.


Can't get many info because system becomes unresponsible.
This task depends upon

Closed by  Balló György (City-busz)
Tuesday, 10 September 2013, 19:49 GMT
Reason for closing:  Upstream
Additional comments about closing:  probably driver problem and it looks fixed
Comment by Artem A Klevtsov (unikum) - Tuesday, 23 October 2012, 15:01 GMT
It's strange but if XBMC launch successful if I start it from KDE.
Comment by Filipp Andjelo (scorp) - Tuesday, 06 November 2012, 13:11 GMT
Same hardware, same problem! Found, that if I remove xbmc user from video group, then system's running ok again. But I'm not sure, if it is not the same as the option NoAccel and didn't check yet if acceleration is working.
Comment by Filipp Andjelo (scorp) - Tuesday, 06 November 2012, 13:12 GMT
Btw. my system is running i686 and not x86_64
Comment by Artem A Klevtsov (unikum) - Tuesday, 06 November 2012, 13:15 GMT
I tested only on x86_64.
Comment by Filipp Andjelo (scorp) - Sunday, 11 November 2012, 14:46 GMT
Hardware 3D Acceleration doesn't work anymore, if removing xbmc user from video group. Notice: the problem doesn't happen if using LTS Kernel. As Artem already written, it's not possible to get more information bcs. the whole system is doomed after starting xbmc and must be powered-off. No Kernel panic, nor any output, just a black screen.
Comment by Cedric Girard (Xdark) - Sunday, 09 December 2012, 15:20 GMT
The last events I get with journalctl are:

Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Force wake wait timed out
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Force wake wait timed out
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
Dec 09 15:57:05 htpc kernel: cx23885_wakeup: 4 buffers handled (should be 1)
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Force wake wait timed out
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Force wake wait timed out
Dec 09 15:57:05 htpc kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out

I do not always get the same number of error messages, but it is always the last thing before stopping to respond.
cx23885 is related to my TV tuner card. But the behavior is the one described above (problem is gone when disabling HW Accel).

These messages are not on log files after reboot (log file stop earlier).

I have a Core i3 2100 with HD Graphics 2000.
Comment by Cedric Girard (Xdark) - Wednesday, 12 December 2012, 19:22 GMT
I need to do further testing but what seems to be a working workaround is to add a timer before xbmc start. I have created a xbmc.timer with a 50 seconds delay and now it starts without freezing my system.
Comment by Filipp Andjelo (scorp) - Sunday, 23 December 2012, 21:23 GMT
It seems to be an Intel RC6 feature (powermanagement) problem, see https://bugs.freedesktop.org/show_bug.cgi?id=54964
Comment by Artem A Klevtsov (unikum) - Monday, 22 April 2013, 00:40 GMT
  • Field changed: Percent Complete (100% → 0%)
Sorry, but now bug is not fixed:
xbmc 12.1-5
xf86-video-intel 2.21.6-1
xorg-server 1.14.0-2
linux 3.8.7-1
Comment by Jason Ross (binaryjay) - Tuesday, 06 August 2013, 15:31 GMT
I use xf86-video-intel with XBMC on a low power atom based (GL40 chipset) thin client and have not had any issues with crashing. I have tried both accelmethods without problems with either. I currently use sna accelmethod and it's working fine.

Please try enabling sna accelmethod and see if it changes anything for you though. See:

https://wiki.archlinux.org/index.php/Intel_Graphics#Choose_acceleration_method
Comment by Balló György (City-busz) - Tuesday, 10 September 2013, 19:49 GMT
It works fine on my computer, so I'm closing this bug.

Packages:
linux 3.10.10-1
libdrm 2.4.46-2
xf86-video-intel 2.21.15-1
intel-dri 9.2.0-1
xbmc 12.2-5

Hardware:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

Loading...