← Back to team overview

touch-packages team mailing list archive

[Bug 1364867] Re: glxgears and other full screen OpenGL applications freeze after a couple of minutes of running

 

[Expired for xorg (Ubuntu) because there has been no activity for 60
days.]

** Changed in: xorg (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1364867

Title:
  glxgears and other full screen OpenGL applications freeze after a
  couple of minutes of running

Status in xorg package in Ubuntu:
  Expired

Bug description:
  OpenGL applications started in full screen mode freeze after a couple,
  mostly within 5 minutes of running, rarely after hours.

  With my configuration, the bug is easily reproducible, especially with kernel version linux-image-3.8.0-44-generic (3.8.0-44.66~precise1), the following command has to be issued after starting the machine:
  glxgears -fullscreen -info &

  After a couple of minutes, the following symptoms occur:
  * glxgears freezes in the _xcb_conn_wait() method in libxcb (see the attached backtrace) waiting for some message it never receives
  * glxgears cannot be closed by pressing the escape key
  * xorg itself does not totally freeze, new, non-opengl applications can be started
  * 'killall glxgears' kill the glxgears process itself, but the screen is not updated until I open a new window
  * restarting 'glxgears -fullscreen' results in a blank screen
  * restarting 'glxgears', without the '-fullscreen' switch, glxgears starts and seems to be working normally
  * xorg cannot be killed without switching to a text mode terminal
     * issuing a 'killall Xorg' command results xorg to 'D' process state:
  root@machine:~# ps aux | grep X
  root       1234  0.5  0.3  23288  6864 tty8     Ds+  14:35   0:12 X :0
  * xorg can be restarted by first switching to a text VT by pressing e. g. Ctrl+Alt+F1, then issuing 'killall Xorg', then issuing 'startx'
     * after such a restart, the freeze did not occur within 2 hours of running glxgears

  xorg.conf is generally not present on the system, is only created for
  testing some options to attempt to work around the bug.

  The freeze did not occur within a 24 hour of testing under the following circumstances:
  * with SwapBuffersWait=false option specified in xorg.conf, independently of the used kernel
  * with linux-image-3.13.0-29-generic, independently of the value of the SwapBuffersWait option in xorg.conf

  This looks like a race condition occurring in the interaction of the
  kernel, i915 kernel module, the xorg server and the OpenGL xorg client
  applications.

  Many other bug reports can be found by searching for _xcb_conn_wait and xcb_wait_for_reply method names, such as these:
  https://bugs.launchpad.net/ubuntu/+source/libxcb/+bug/1211274
  https://bugs.launchpad.net/ubuntu/+source/libxcb/+bug/1064772
  https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1244754

  As reproducibility strongly depends on the kernel version, It is not
  necessarily a bug in libxcb.

  Output of 'lsb_release -rd':
  Description:    Ubuntu 12.04.3 LTS
  Release:        12.04

  Output of apt-cache-policy commands:

  Kernel:

  user@machine:~$ apt-cache policy linux-image-$(uname -r)
  linux-image-3.8.0-44-generic:
    Installed: 3.8.0-44.66~precise1
    Candidate: 3.8.0-44.66~precise1
    Version table:
   *** 3.8.0-44.66~precise1 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
          500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
          100 /var/lib/dpkg/status

  Xorg:

  user@machine:~$ apt-cache policy xserver-xorg
  xserver-xorg:
    Installed: 1:7.6+12ubuntu2
    Candidate: 1:7.6+12ubuntu2
    Version table:
   *** 1:7.6+12ubuntu2 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
          100 /var/lib/dpkg/status
       1:7.6+12ubuntu1 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

  libxcb:

  user@machine:~$ apt-cache policy libxcb1
  libxcb1:
    Installed: 1.8.1-1ubuntu0.2
    Candidate: 1.8.1-1ubuntu0.2
    Version table:
   *** 1.8.1-1ubuntu0.2 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
          500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
          100 /var/lib/dpkg/status
       1.8.1-1 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

  Xorg Intel driver:

  user@machine:~$ apt-cache policy xserver-xorg-video-intel
  xserver-xorg-video-intel:
    Installed: 2:2.17.0-1ubuntu4.4
    Candidate: 2:2.17.0-1ubuntu4.4
    Version table:
   *** 2:2.17.0-1ubuntu4.4 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2:2.17.0-1ubuntu4 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1364867/+subscriptions


References