Skip to contentSkip to conversation

New: XCloseDisplay() takes one minute around nouveau_dri.so, freezing Firefox startup

Bug 75279 [email protected] 1 participant 2 messages Feb 20, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 75279
Assignee: [email protected]
Summary: XCloseDisplay() takes one minute around
nouveau_dri.so, freezing Firefox startup
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=973192
Hardware: x86-64 (AMD64)
Status: NEW
Version: XOrg CVS
Component: DRM/other
Product: DRI

Hi, I'm just forwarding to you a bug report originally made against Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=973192

The symptom is Firefox freezing on startup. The cause (see around comment 39--42 on that bug) is that a XCloseDisplay() call takes about one minute to return.

The original reporter of the bug has recorded a profile which shows time spent in nouveau_dri.so (see comments 50, 51 on the mozilla bug)

If you want to see what the application code triggering this bug looks like, it's all self-contained in this file:

http://hg.mozilla.org/mozilla-central/file/tip/toolkit/xre/glxtest.cpp

   228   glXMakeCurrent(dpy, None, nullptr);
   229   glXDestroyContext(dpy, context);
   230   XDestroyWindow(dpy, window);
   231   XFreeColormap(dpy, swa.colormap);
   232   XCloseDisplay(dpy);  // <--- this XCloseDisplay call takes 1 minute
   233   dlclose(libgl);

Is there some more information that you need, that isn't already on the mozilla bug?

Is this application code doing something evil here?

Is this a known issue? Do you have a guess as to whether it might affect many users (i.e., should we try working around it)?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 75279] XCloseDisplay() takes one minute around nouveau_dri.so, freezing Firefox startup

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

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected]
                   |.org                        |rg
         QA Contact|                            |[email protected]
            Product|DRI                         |xorg
            Version|XOrg CVS                    |unspecified
          Component|DRM/other                   |Driver/nouveau
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel