Re: [Intel-gfx] 3.16.0: [drm:i915_gem_init] *ERROR* Failed to initialize GPU, declaring it wedged

2014-08-08 Thread Daniel Vetter
Re-adding mailing lists, please don't drop ccs like that.


On Fri, Aug 8, 2014 at 11:45 AM, Luuk van der Duim
luukvanderd...@gmail.com wrote:

 I'll be happy to test your duct-tape. ;)
 What branch do I need  to pull? (what is its git location address?)

git://anongit.freedesktop.org/drm-intel drm-intel-fixes

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 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] 3.16.0: [drm:i915_gem_init] *ERROR* Failed to initialize GPU, declaring it wedged

2014-08-08 Thread Luuk van der Duim
Daniel Vetter schreef op vr 08-08-2014 om 11:47 [+0200]:
 Re-adding mailing lists, please don't drop ccs like that.

I sincerely apologize. I seriously have no idea why I assumed a dance
for two.

 
 
 On Fri, Aug 8, 2014 at 11:45 AM, Luuk van der Duim
 luukvanderd...@gmail.com wrote:
 
  I'll be happy to test your duct-tape. ;)
  What branch do I need  to pull? (what is its git location address?)
 
 git://anongit.freedesktop.org/drm-intel drm-intel-fixes
 
 Cheers, Daniel

Applied it to a fresh clone of Linus' current git-tree. (the bisecting
seems to have altered the tree. git bisect reset did not return a clean
tree(?). I have yet to understand most of gits magic.)

luuk@Uruburu2:~$ uname -a 
Linux Uruburu2 3.16.0-drm-fixes-08720-gbd68988 #1 SMP PREEMPT Fri Aug 8
15:10:52 CEST 2014 x86_64 GNU/Linux
luuk@Uruburu2

luuk@Uruburu2:~$ dmesg | grep i915
[0.621044] i915 :00:02.0: irq 45 for MSI/MSI-X
[0.730160] i915 :00:02.0: fb0: inteldrmfb frame buffer device
[0.730161] i915 :00:02.0: registered panic notifier
[0.733062] [drm] Initialized i915 1.6.0 20140725 for :00:02.0 on
minor 0
[   75.618392] chrome[3488]: segfault at 8 ip 7f16b9a05e73 sp
7fff0b6951e0 error 4 in i915_dri.so[7f16b9772000+4fd000]

As you can see, initialization went fine and, as a consequence, the
desktop zoom works fine too. Good!

The segfault of a chrome, I don't know, I am using xorg-video-intel
driver from the the experimental repository: 2.99.914-1

Thanks!

  Luuk


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


Re: [Intel-gfx] 3.16.0: [drm:i915_gem_init] *ERROR* Failed to initialize GPU, declaring it wedged

2014-08-08 Thread Chris Wilson
On Fri, Aug 08, 2014 at 04:09:30PM +0200, Luuk van der Duim wrote:
 Daniel Vetter schreef op vr 08-08-2014 om 11:47 [+0200]:
  Re-adding mailing lists, please don't drop ccs like that.
 
 I sincerely apologize. I seriously have no idea why I assumed a dance
 for two.
 
  
  
  On Fri, Aug 8, 2014 at 11:45 AM, Luuk van der Duim
  luukvanderd...@gmail.com wrote:
  
   I'll be happy to test your duct-tape. ;)
   What branch do I need  to pull? (what is its git location address?)
  
  git://anongit.freedesktop.org/drm-intel drm-intel-fixes
  
  Cheers, Daniel
 
 Applied it to a fresh clone of Linus' current git-tree. (the bisecting
 seems to have altered the tree. git bisect reset did not return a clean
 tree(?). I have yet to understand most of gits magic.)
 
 luuk@Uruburu2:~$ uname -a 
 Linux Uruburu2 3.16.0-drm-fixes-08720-gbd68988 #1 SMP PREEMPT Fri Aug 8
 15:10:52 CEST 2014 x86_64 GNU/Linux
 luuk@Uruburu2
 
 luuk@Uruburu2:~$ dmesg | grep i915
 [0.621044] i915 :00:02.0: irq 45 for MSI/MSI-X
 [0.730160] i915 :00:02.0: fb0: inteldrmfb frame buffer device
 [0.730161] i915 :00:02.0: registered panic notifier
 [0.733062] [drm] Initialized i915 1.6.0 20140725 for :00:02.0 on
 minor 0
 [   75.618392] chrome[3488]: segfault at 8 ip 7f16b9a05e73 sp
 7fff0b6951e0 error 4 in i915_dri.so[7f16b9772000+4fd000]
 
 As you can see, initialization went fine and, as a consequence, the
 desktop zoom works fine too. Good!
 
 The segfault of a chrome, I don't know, I am using xorg-video-intel
 driver from the the experimental repository: 2.99.914-1

It's i915_dri.so from mesa that is broken. It is trying to use DRI3 and
dies. But the easiest way is probably just to disable DRI3 with

Section Device
  Identifier intel
  Option DRI 2
EndSection

in xorg.conf (or /etc/X11/xorg.conf.d/intel.conf)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx