All of lore.kernel.org
 help / color / mirror / Atom feed
* 945gm: xrandr crashes X
@ 2010-05-25  7:38 Vasily Khoruzhick
  2010-05-25  8:10 ` Chris Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Vasily Khoruzhick @ 2010-05-25  7:38 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: Text/Plain, Size: 567 bytes --]

Hi, after upgrade to 2.6.34 kernel I'm unable to configure external VGA 
monitor anymore, any attempt to use xrandr results in X crash with following 
message:

X: intel_bufmgr_gem.c:900: drm_intel_gem_bo_unreference_locked_timed: 
Assertion `((&bo_gem->refcount)->atomic) > 0' failed.

There's a bug entry in gentoo bugzilla, however they blame xorg-server, but 
xorg-server-1.8.x works for me with 2.6.33.x kernel:

http://bugs.gentoo.org/show_bug.cgi?id=318743

Is it known/fixed issue, or should I file a new bug on fd.o bugzilla?

Regards
Vasily

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 945gm: xrandr crashes X
  2010-05-25  7:38 945gm: xrandr crashes X Vasily Khoruzhick
@ 2010-05-25  8:10 ` Chris Wilson
  2010-05-25  9:18   ` Vasily Khoruzhick
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Wilson @ 2010-05-25  8:10 UTC (permalink / raw)
  To: Vasily Khoruzhick, intel-gfx

On Tue, 25 May 2010 10:38:51 +0300, Vasily Khoruzhick <anarsoul@gmail.com> wrote:
> Hi, after upgrade to 2.6.34 kernel I'm unable to configure external VGA 
> monitor anymore, any attempt to use xrandr results in X crash with following 
> message:
> 
> X: intel_bufmgr_gem.c:900: drm_intel_gem_bo_unreference_locked_timed: 
> Assertion `((&bo_gem->refcount)->atomic) > 0' failed.
> 
> There's a bug entry in gentoo bugzilla, however they blame xorg-server, but 
> xorg-server-1.8.x works for me with 2.6.33.x kernel:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=318743
> 
> Is it known/fixed issue, or should I file a new bug on fd.o bugzilla?

commit 9f54107f866a25cf670f81f7c52b8c108728c6a5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 11 14:55:16 2010 +0100

    dri2: Handle reference counting across page flipping

    1. Instead of swapping bos, swap the entire private structure.

    2. If we update the pixmap bo for the Screen, make sure we update the
    reference inside intel->front_buffer so that xrandr still functions.

    Fixes:

      Bug 27922 - i965: Rapidly resizing OpenGL window causes GPU to hang.
      https://bugs.freedesktop.org/show_bug.cgi?id=27922

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 945gm: xrandr crashes X
  2010-05-25  8:10 ` Chris Wilson
@ 2010-05-25  9:18   ` Vasily Khoruzhick
  2010-05-26  2:16     ` Alexander Lam
  0 siblings, 1 reply; 4+ messages in thread
From: Vasily Khoruzhick @ 2010-05-25  9:18 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx


[-- Attachment #1.1: Type: Text/Plain, Size: 1641 bytes --]

В сообщении от 25 мая 2010 11:10:46 автор Chris Wilson написал:
> On Tue, 25 May 2010 10:38:51 +0300, Vasily Khoruzhick <anarsoul@gmail.com> 
wrote:
> > Hi, after upgrade to 2.6.34 kernel I'm unable to configure external VGA
> > monitor anymore, any attempt to use xrandr results in X crash with
> > following message:
> > 
> > X: intel_bufmgr_gem.c:900: drm_intel_gem_bo_unreference_locked_timed:
> > Assertion `((&bo_gem->refcount)->atomic) > 0' failed.
> > 
> > There's a bug entry in gentoo bugzilla, however they blame xorg-server,
> > but xorg-server-1.8.x works for me with 2.6.33.x kernel:
> > 
> > http://bugs.gentoo.org/show_bug.cgi?id=318743
> > 
> > Is it known/fixed issue, or should I file a new bug on fd.o bugzilla?
> 
> commit 9f54107f866a25cf670f81f7c52b8c108728c6a5
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Tue May 11 14:55:16 2010 +0100
> 
>     dri2: Handle reference counting across page flipping
> 
>     1. Instead of swapping bos, swap the entire private structure.
> 
>     2. If we update the pixmap bo for the Screen, make sure we update the
>     reference inside intel->front_buffer so that xrandr still functions.
> 
>     Fixes:
> 
>       Bug 27922 - i965: Rapidly resizing OpenGL window causes GPU to hang.
>       https://bugs.freedesktop.org/show_bug.cgi?id=27922

I've updated my xf86-video-intel and libdrm and this issue gone, but now I hit 
another bug - one with VSYNC on 945GM :( Is there any way to disable vsync 
wait? (It's disabled in driconf, but for some reason it remains enabled in 
apps)

Regards
Vasily

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 945gm: xrandr crashes X
  2010-05-25  9:18   ` Vasily Khoruzhick
@ 2010-05-26  2:16     ` Alexander Lam
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Lam @ 2010-05-26  2:16 UTC (permalink / raw)
  To: Vasily Khoruzhick; +Cc: intel-gfx

On Tue, May 25, 2010 at 5:18 AM, Vasily Khoruzhick <anarsoul@gmail.com> wrote:
>
> I've updated my xf86-video-intel and libdrm and this issue gone, but now I hit
> another bug - one with VSYNC on 945GM :( Is there any way to disable vsync
> wait? (It's disabled in driconf, but for some reason it remains enabled in
> apps)
>
> Regards
> Vasily
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>

Regurgitating something I read on irc:

to disable vsync wait, set env var vblank_mode=0 (or is it 3?)

you need git mesa in order for that to work:
This commit
http://cgit.freedesktop.org/mesa/mesa/commit/?id=45e2b51c853471b79004a954ce3092a253b20b77
enables using that env var.

--
Alexander Lam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-26  2:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25  7:38 945gm: xrandr crashes X Vasily Khoruzhick
2010-05-25  8:10 ` Chris Wilson
2010-05-25  9:18   ` Vasily Khoruzhick
2010-05-26  2:16     ` Alexander Lam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.