Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-16-2013, 04:41 AM   #1
Registered: Oct 2013
Posts: 91

Rep: Reputation: 45
Problems with kernel 3.10 and intel graphics card


yesterday i put my 14.1 box under heavy stress by playing a resource hungry game. several times the machine would hang for some seconds and one time the system would come to a halt, which forced me to reboot.

syslog reveals following:

Nov 15 12:10:22 fiete kernel: [ 3634.517367] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

google spit out a lot of topics for this issue, for example:

This seems to be a kernel problem with intel graphics cards.

i dont expect anyone here to fix this issue, but i just wanted to let you know about this and i want to ask what i can do about this. the only (workaround) solution i can think of is to install a 14.0 kernel package on my 14.1 system. but i dont like workarounds.

any idea?

Last edited by dederon; 11-16-2013 at 04:44 AM.
Old 11-16-2013, 05:26 AM   #2
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,417
Blog Entries: 15

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Because Intel uses the open source DRI drivers by default, usually problems arise from not having the latest drivers.

You usually can remedy this by updating to the lastest packages for the following:


Sometimes it helps but not always.
Old 11-16-2013, 07:41 AM   #3
Registered: Oct 2013
Posts: 91

Original Poster
Rep: Reputation: 45
thanks for your answer.

by "installing the latest driver/kernel" i guess you are talking about installing this packages by hand (/usr/local/src) instead of using the slackware packages?
Old 11-16-2013, 10:23 AM   #4
jon lee
Registered: Jul 2013
Posts: 111

Rep: Reputation: Disabled
Just as a note, I believe that compiling the intel driver (xf86-video-intel) with clang results in performance increases. I haven't benchmarked it, but I noticed that the projectM visualizations seem to run much better.

It's easy to do this. Simply run:
export CC=clang
export CXX=clang
export CFLAGS="-std=gnu89 -g"

before running ./configure
Old 11-16-2013, 01:46 PM   #5
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 76
I don't know your chipset, but it might help to enable SNA acceleration in Xorg. You can do it as an option in Xorg.conf, or you can compile the behavior into the server. Maybe `man 4 intel` would provide more information. I hadn't done the latter action in a while, but the flags I used were something like --disable-uxa --enable-sna.

The hung/stuck GPU part almost always has to do with hardware acceleration. IOW, it could be due to bad 2D hardware acceleration, but OpenGL stuff can trigger this as well.

There's no guarantee that a newer kernel would help matters overall. 3.12 looks promising.

Should you become stuck, maybe you could file a bug report with the Intel guys. They're decent people over there, and Chris Wilson is awesome and very highly motivated.
Old 11-16-2013, 03:26 PM   #6
Registered: Oct 2013
Posts: 91

Original Poster
Rep: Reputation: 45
hi mlslk31,

lspci -v gives me:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 308c
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915
by checking the xorg log file i can tell you that uxa is used here:

[   295.047] (II) intel(0): [DRI2] Setup complete
[   295.047] (II) intel(0): [DRI2]   DRI driver: i965
[   295.047] (II) intel(0): Allocated new frame buffer 1408x768 stride 5632, tiled
[   295.049] (II) UXA(0): Driver registered support for the following operations:
[   295.049] (II)         solid
[   295.049] (II)         copy
[   295.049] (II)         composite (RENDER acceleration)
[   295.049] (II)         put_image
[   295.049] (II)         get_image

i checked the intel man page and i will give the sna acceleration method a try. the error occures on heavy 3d rendering (minecraft). i dont experience problems anywhere else.

i report back as soon as i have some results.

p.s.: if it wasn't clear by my first post: this failures did not happen in slackware 14.0.

Last edited by dederon; 11-16-2013 at 03:55 PM.
Old 11-16-2013, 05:32 PM   #7
LQ Newbie
Registered: May 2010
Location: Italy
Distribution: Slackw-14.2 x86_64, Slackw-14.2 x86 eeeRouter
Posts: 7

Rep: Reputation: 2
Originally Posted by mlslk31 View Post
There's no guarantee that a newer kernel would help matters overall. 3.12 looks promising.

Yes, Kernel-3.12 works perfectly!

and solves the "black screen" problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Possible Intel graphics card driver problems??? - OpenGL errors dsschanze Linux - Hardware 2 08-19-2012 04:36 PM
Kernel and X on Intel Core i5 with Integrated Graphics + Intel H55 Express Chipset icmp_request Linux - Hardware 2 08-21-2010 12:28 PM
Problem with Slackware 11 Intel 915GM Graphics card with Kernel jmhal Slackware 23 05-03-2007 06:26 PM
problems with intel 85x graphics card and dell 700m... robbymcw Mandriva 3 02-07-2005 02:29 AM
problems with intel 855 graphics card shamz Linux - Hardware 0 11-18-2004 04:06 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration