Re: KMS with Xorg on G45 failing

2009-01-16 Thread Jesse Barnes
On Tuesday, January 6, 2009 5:41 pm Mike Lothian wrote:
 2009/1/7 Mike Lothian m...@fireburn.co.uk:
  2009/1/7 Jesse Barnes jbar...@virtuousgeek.org:
  On Tuesday, January 6, 2009 3:53 pm Mike Lothian wrote:
  2009/1/6 Jesse Barnes jbar...@virtuousgeek.org:
   On Tuesday, January 6, 2009 2:35 pm Mike Lothian wrote:
   Hi there
  
   Thought I'd send in some info about Xorg with a KMS kernel, libdrm
   and xf86-video-intel
  
   I've attached my dmesg and Xorg.0.log
  
   The only outputs are LVDS 15 screen an a disconnected VGA out and
   HDMI connectors
  
   I'll quite happily submit a bug but thought the code was a little
   too new to harp on about especially if this is a known issue
  
   Let me know if I can help further
  
   Looks like the 3D driver init failed... Maybe you need to rebuild
   your DRI driver as well against the same libdrm?
 
  I rebuild libdrm mesa and xf86-video-intel each time is there
  something else I'm missing?
 
  This one looks like a Mesa mismatch somehow, so try rebuilding that too.
 
  --
  Jesse Barnes, Intel Open Source Technology Center
 
  OK I've recompiled libdrm mesa and xf86-video-intel using their master
  tree's and recompiled the head drm-intel-next branch of the kernel the
  versions I were using before were only a few hours old
 
  Good news X starts, bad news is the screen goes black once KDE starts
  to load, pretty sure it's when the compositing is started
 
  Another strange things happened, normally with KMS all my VTs are at
  the laptops native resolution now they're in the top left corner at
  what looks like 800x600 but not streched
 
  Also when booting from a non-KMS but regular GEM kernel UXA doesn't
  work now. I've had to switch back to EXA
 
  I'm attaching my dmesg and Xorg log from the KMS retry
 
  Could any of the problems be caused by:
 
  [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for
  disabled pipe 0
 
 
  Cheers
 
  Mike

 Oh yes and when X started is went back to the native resolution

The 800x600 but not stretched issue sounds like it could be related to the 
initial_config bug I fixed this week.  Can you give Dave's latest drm-next 
tree a try?  It fixes that bug (among others).  Also the 2D driver needs a 
few fixes we're still working on.  The intel-...@lists.freedesktop.org is a 
good place to watch for those.


-- 
Jesse Barnes, Intel Open Source Technology Center
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: KMS with Xorg on G45 failing

2009-01-06 Thread Jesse Barnes
On Tuesday, January 6, 2009 2:35 pm Mike Lothian wrote:
 Hi there

 Thought I'd send in some info about Xorg with a KMS kernel, libdrm and
 xf86-video-intel

 I've attached my dmesg and Xorg.0.log

 The only outputs are LVDS 15 screen an a disconnected VGA out and
 HDMI connectors

 I'll quite happily submit a bug but thought the code was a little too
 new to harp on about especially if this is a known issue

 Let me know if I can help further

Looks like the 3D driver init failed... Maybe you need to rebuild your DRI 
driver as well against the same libdrm?

-- 
Jesse Barnes, Intel Open Source Technology Center
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: KMS with Xorg on G45 failing

2009-01-06 Thread Mike Lothian
2009/1/6 Jesse Barnes jbar...@virtuousgeek.org:
 On Tuesday, January 6, 2009 2:35 pm Mike Lothian wrote:
 Hi there

 Thought I'd send in some info about Xorg with a KMS kernel, libdrm and
 xf86-video-intel

 I've attached my dmesg and Xorg.0.log

 The only outputs are LVDS 15 screen an a disconnected VGA out and
 HDMI connectors

 I'll quite happily submit a bug but thought the code was a little too
 new to harp on about especially if this is a known issue

 Let me know if I can help further

 Looks like the 3D driver init failed... Maybe you need to rebuild your DRI
 driver as well against the same libdrm?


I rebuild libdrm mesa and xf86-video-intel each time is there
something else I'm missing?
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: KMS with Xorg on G45 failing

2009-01-06 Thread Eric Anholt
On Tue, 2009-01-06 at 22:35 +, Mike Lothian wrote:
 Hi there
 
 Thought I'd send in some info about Xorg with a KMS kernel, libdrm and
 xf86-video-intel
 
 I've attached my dmesg and Xorg.0.log
 
 The only outputs are LVDS 15 screen an a disconnected VGA out and
 HDMI connectors
 
 I'll quite happily submit a bug but thought the code was a little too
 new to harp on about especially if this is a known issue

The segfault should be fixed as of:
commit 342120be0956bfc12822d1ffbfbd8aaabf3e922f
Author: Eric Anholt e...@anholt.net
Date:   Mon Jan 5 23:21:07 2009 -0800

Fix pin leakage with EXA GTT-mapping shortcut, and crash with UXA on KMS.

-- 
Eric Anholt
e...@anholt.net eric.anh...@intel.com




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

Re: KMS with Xorg on G45 failing

2009-01-06 Thread Jesse Barnes
On Tuesday, January 6, 2009 3:53 pm Mike Lothian wrote:
 2009/1/6 Jesse Barnes jbar...@virtuousgeek.org:
  On Tuesday, January 6, 2009 2:35 pm Mike Lothian wrote:
  Hi there
 
  Thought I'd send in some info about Xorg with a KMS kernel, libdrm and
  xf86-video-intel
 
  I've attached my dmesg and Xorg.0.log
 
  The only outputs are LVDS 15 screen an a disconnected VGA out and
  HDMI connectors
 
  I'll quite happily submit a bug but thought the code was a little too
  new to harp on about especially if this is a known issue
 
  Let me know if I can help further
 
  Looks like the 3D driver init failed... Maybe you need to rebuild your
  DRI driver as well against the same libdrm?

 I rebuild libdrm mesa and xf86-video-intel each time is there
 something else I'm missing?

This one looks like a Mesa mismatch somehow, so try rebuilding that too.

-- 
Jesse Barnes, Intel Open Source Technology Center
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg