All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 42131] New: Problem with resizing OpenGL windows when using XCB
@ 2011-10-23 17:40 bugzilla-daemon
  2012-01-03 15:05 ` [Bug 42131] " bugzilla-daemon
  2012-01-03 15:09 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2011-10-23 17:40 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=42131

             Bug #: 42131
           Summary: Problem with resizing OpenGL windows when using XCB
    Classification: Unclassified
           Product: Mesa
           Version: 7.11
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: nilschrbrause@googlemail.com


Created attachment 52651
  --> https://bugs.freedesktop.org/attachment.cgi?id=52651
Test program demonstrating the problem

The attached program creates a window using XCB and draws a rectangle inside it
using OpenGL. When using indirect software rendering (LIBGL_ALWAYS_INDIRECT=1),
everything works as expected. But when using the R600 Gallium3D driver, the
OpenGL view port doesn't seem to get resized properly and the window contents
get screwed up.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 42131] Problem with resizing OpenGL windows when using XCB
  2011-10-23 17:40 [Bug 42131] New: Problem with resizing OpenGL windows when using XCB bugzilla-daemon
@ 2012-01-03 15:05 ` bugzilla-daemon
  2012-01-03 15:09 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2012-01-03 15:05 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=42131

--- Comment #1 from ikrabbe.ask@gmail.com 2012-01-03 07:05:34 PST ---
I can confirm this bug. It seems that there are some internal events, forwarded
to the DRI(2) module that get lost, as xcb doesn't use XEvents. That's why it
works, when you use the Xlib Event Loop { if (XPending(D)) XNextEvent(D,&E); }
with XSetEventQueueOwner(Xlib...);

When you use the xcb event loop mechanism, mesa does not detect the events,
that need to be reacted on by the DRI module.

So after all, this problem has to be solved within mesa, not within xcb.
Obviously there where some experiments that care about xcb and mesa, but I
haven't found a good development branch yet.

What I do about this problem now is to create a glXCreateWindow (overlay) at
full screen size and render my scene into the visible part of the window, by
translation and scaling.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 42131] Problem with resizing OpenGL windows when using XCB
  2011-10-23 17:40 [Bug 42131] New: Problem with resizing OpenGL windows when using XCB bugzilla-daemon
  2012-01-03 15:05 ` [Bug 42131] " bugzilla-daemon
@ 2012-01-03 15:09 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2012-01-03 15:09 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=42131

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org
          Component|Drivers/Gallium/r600        |Mesa core

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2012-01-03 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-23 17:40 [Bug 42131] New: Problem with resizing OpenGL windows when using XCB bugzilla-daemon
2012-01-03 15:05 ` [Bug 42131] " bugzilla-daemon
2012-01-03 15:09 ` bugzilla-daemon

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.