LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   new Intel driver is crashing X (http://www.linuxquestions.org/questions/slackware-14/new-intel-driver-is-crashing-x-875638/)

brixtoncalling 04-18-2011 09:18 AM

new Intel driver is crashing X
 
Has anyone had problems with the new Intel driver (2.15)? I've been using it since it was put on current and have been having X crash on me repeatedly or getting a black screen from which I can only recover by a hard reboot. This is happening under a couple of different WMs without compositing (so this isn't the same issue that I was having with KDE and xscreensaver).

I'm using the i915 driver with stock 2.6.37.6, but I also tried a 2.6.38.2 kernel but had the same problem with both.

Here's a backtrace (for what it is worth):
Code:

[ 10161.149] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a02d8]
[ 10161.150] 1: /usr/bin/X (0x400000+0x60fc9) [0x460fc9]
[ 10161.150] 2: /lib64/libc.so.6 (0x7fd25616a000+0x340b0) [0x7fd25619e0b0]
[ 10161.150] 3: /usr/lib64/libdrm_intel.so.1 (drm_intel_bo_emit_reloc+0x0) [0x7fd254a2eb90]
[ 10161.150] 4: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x2235c) [0x7fd254c5a35c]
[ 10161.150] 5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x27edf) [0x7fd254c5fedf]
[ 10161.150] 6: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x2a2bf) [0x7fd254c622bf]
[ 10161.150] 7: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x27af9) [0x7fd254c5faf9]
[ 10161.150] 8: /usr/bin/X (0x400000+0xd845d) [0x4d845d]
[ 10161.150] 9: /usr/bin/X (0x400000+0x2a0af) [0x42a0af]
[ 10161.150] 10: /usr/bin/X (0x400000+0x2def1) [0x42def1]
[ 10161.150] 11: /usr/bin/X (0x400000+0x21ffe) [0x421ffe]
[ 10161.150] 12: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fd256188e5d]
[ 10161.150] 13: /usr/bin/X (0x400000+0x21bb9) [0x421bb9]
[ 10161.150] Segmentation fault at address 0x79000022
[ 10161.150]
Fatal server error:
[ 10161.150] Caught signal 11 (Segmentation fault). Server aborting


willysr 04-18-2011 09:23 AM

Have you tried upgrading libdrm also (in /testing) ?
Also try using Mesa 7.10.x instead of 7.9.x

rfernandez 04-18-2011 09:24 AM

Here it's working just fine, with xf86-video-intel-2.1.5 and libdrm-2.4.25 from testing/, both at x86_64 arch, kernel 2.6.38.3 and i915 module, as well. Custom kernel compiled, though.

Darth Vader 04-18-2011 10:02 AM

Quote:

Originally Posted by brixtoncalling (Post 4328036)
Has anyone had problems with the new Intel driver (2.15)? I've been using it since it was put on current and have been having X crash on me repeatedly or getting a black screen from which I can only recover by a hard reboot. This is happening under a couple of different WMs without compositing (so this isn't the same issue that I was having with KDE and xscreensaver).

I'm using the i915 driver with stock 2.6.37.6, but I also tried a 2.6.38.2 kernel but had the same problem with both.

Here's a backtrace (for what it is worth):
Code:

[ 10161.149] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a02d8]
[ 10161.150] 1: /usr/bin/X (0x400000+0x60fc9) [0x460fc9]
[ 10161.150] 2: /lib64/libc.so.6 (0x7fd25616a000+0x340b0) [0x7fd25619e0b0]
[ 10161.150] 3: /usr/lib64/libdrm_intel.so.1 (drm_intel_bo_emit_reloc+0x0) [0x7fd254a2eb90]
[ 10161.150] 4: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x2235c) [0x7fd254c5a35c]
[ 10161.150] 5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x27edf) [0x7fd254c5fedf]
[ 10161.150] 6: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x2a2bf) [0x7fd254c622bf]
[ 10161.150] 7: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fd254c38000+0x27af9) [0x7fd254c5faf9]
[ 10161.150] 8: /usr/bin/X (0x400000+0xd845d) [0x4d845d]
[ 10161.150] 9: /usr/bin/X (0x400000+0x2a0af) [0x42a0af]
[ 10161.150] 10: /usr/bin/X (0x400000+0x2def1) [0x42def1]
[ 10161.150] 11: /usr/bin/X (0x400000+0x21ffe) [0x421ffe]
[ 10161.150] 12: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fd256188e5d]
[ 10161.150] 13: /usr/bin/X (0x400000+0x21bb9) [0x421bb9]
[ 10161.150] Segmentation fault at address 0x79000022
[ 10161.150]
Fatal server error:
[ 10161.150] Caught signal 11 (Segmentation fault). Server aborting


If you suspect to be something wrong with your graphics stack, try these unofficial (GIT HEAD) packages, together with 2.8.38.3 from testing:

http://ftp.darkstarlinux.ro/slackware/xdrivers/

If they works in your system, you can stay here, or try to go back into official packages.

Your options:

Intel video driver: 2.15.0 and 2.14.0 from pasture.
libdrm: 2.4.23 and 2.4.25 from testing.
Mesa: 7.9.2 and 7.10.2 from testing.


BTW. Someone noticed that GLIBC is compiled against 2.6.37.5 and the current kernel-headers package is 2.6.37.6?

volkerdi 04-18-2011 10:22 AM

Quote:

Originally Posted by Darth Vader (Post 4328076)
BTW. Someone noticed that GLIBC is compiled against 2.6.37.5 and the current kernel-headers package is 2.6.37.6?

That makes no difference in the case of 2.6.37.5 -> 2.6.37.6, as the kernel headers did not change in any way that glibc would care about.

brixtoncalling 04-18-2011 10:49 AM

Thank for the replies. I will be trying the testing packages and I'm compiling my own 2.6.38.3 kernel to test out as well.

Darth Vader 04-18-2011 11:12 AM

Quote:

Originally Posted by brixtoncalling (Post 4328122)
... I'm compiling my own 2.6.38.3 kernel to test out as well.

You already have the 2.6.38.3 kernel packages into /testing. ;)

brixtoncalling 04-18-2011 11:15 AM

Yeah, but I want to add a couple of things ;)

andrew.46 04-18-2011 04:58 PM

The 2.15.0 intel driver was not kind on my hardware with very slow redraw on many screens and a few black screens from Firefox. No X crash though. After doing an intel/drm/mesa dance as suggested I have settled with the 2.14.0 driver from /pasture and so far so good :).

brixtoncalling 04-18-2011 05:42 PM

It looks like this might be the problem: i915GM: GPU hangup. I have yet to test myself to see if this is the case.

Quote:

Originally Posted by andrew.46 (Post 4328561)
The 2.15.0 intel driver was not kind on my hardware with very slow redraw on many screens and a few black screens from Firefox. No X crash though. After doing an intel/drm/mesa dance as suggested I have settled with the 2.14.0 driver from /pasture and so far so good :).

What is your hardware, Andrew?

andrew.46 04-18-2011 06:31 PM

Quote:

Originally Posted by brixtoncalling (Post 4328599)
What is your hardware, Andrew?

Intel 945GM Chipset

volkerdi 04-18-2011 06:41 PM

Quote:

Originally Posted by andrew.46 (Post 4328646)
Intel 945GM Chipset

Odd that I have two of those that work fine. I thought that was the unaffected chipset. :)

Darth Vader 04-18-2011 06:55 PM

Quote:

Originally Posted by brixtoncalling (Post 4328599)
It looks like this might be the problem: i915GM: GPU hangup. I have yet to test myself to see if this is the case.

The 'relaxed-fencing' is off by default on 2.15.0, if this make you happy ... ;)

Another is the problem! Give me the used versions of libdrm and for those using KDE(4), for Mesa too. Please!

andrew.46 04-18-2011 07:42 PM

Quote:

Originally Posted by volkerdi (Post 4328657)
Odd that I have two of those that work fine. I thought that was the unaffected chipset. :)

Hmmm.... very odd. I will reinstall the newer Intel driver and have a closer look at the problem.

Edit: Sigh..... I cannot reproduce the problem after reinstalling 2.15.0... my apologies for the noise :(.

Re-Edit: I spoke too early, a complete X crash has meant I am retreating to the older intel driver...

brixtoncalling 04-18-2011 08:51 PM

Quote:

Originally Posted by Darth Vader (Post 4328676)
The 'relaxed-fencing' is off by default on 2.15.0, if this make you happy ... ;)

A little ;)

I'm trying the new libdrm and mesa under 2.6.38.3 right now. Let's see if it helps.


All times are GMT -5. The time now is 12:58 PM.