[Bug 304056] Re: X Server hangs in drmWaitVBlank()
** Changed in: xorg-server Importance: Unknown = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/304056 Title: X Server hangs in drmWaitVBlank() -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
** Changed in: xorg-server Importance: High = Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/304056 Title: X Server hangs in drmWaitVBlank() -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
** Changed in: xorg-server Importance: Unknown = High -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
libdrm 2.4.4 is now uploaded, should hit the archive later today. ** Changed in: libdrm (Ubuntu) Status: Confirmed = Fix Released -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
** Changed in: xorg-server Status: Confirmed = Fix Released -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
I probably just saw the same issue. I hadn't touched the laptop for a couple of minutes when it triggered, but it drew my attention because I saw something flicker in the corner of my eye, then I discovered that xorg did not respond anymore. Nothing additional is printed in the Xorg.0.log. This is on a jaunty kde desktop with libdrm-2.4.1. This is the gdb backtrace of one occurence (mine apparently has line numbers, which should help): (gdb) bt #0 0xb8090430 in __kernel_vsyscall () #1 0xb7d18c29 in ioctl () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7b333ef in drmIoctl (fd=14, request=399706, arg=0xbfdae4bc) at #xf86drm.c:183 #3 0xb7b33928 in drmWaitVBlank (fd=14, vbl=0xbfdae4bc) at xf86drm.c:1895 #4 0xa75a19fd in ?? () from /usr/lib/dri/i965_dri.so #5 0xa75a1c8b in driWaitForVBlank () from /usr/lib/dri/i965_dri.so #6 0xa75a9f07 in intelSwapBuffers () from /usr/lib/dri/i965_dri.so #7 0xa75a1e8e in ?? () from /usr/lib/dri/i965_dri.so #8 0xb7b9cbe4 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so #9 0xb7b8f4ce in ?? () from /usr/lib/xorg/modules/extensions//libglx.so #10 0xb7b92e6a in ?? () from /usr/lib/xorg/modules/extensions//libglx.so #11 0x0808cdbf in Dispatch () #12 0x08071aad in main () (gdb) And at least equally interesting is the flood of SIGALRM's in the 'strace -p'. Process 5904 attached - interrupt to quit ioctl(14, 0xc010643a, 0xbfdae4bc) = -1 EINTR (Interrupted system call) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() = ? (mask now []) ioctl(14, 0xc010643a, 0xbfdae4bc) = -1 EINTR (Interrupted system call) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() = ? (mask now []) ioctl(14, 0xc010643a, 0xbfdae4bc) = -1 EINTR (Interrupted system call) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() = ? (mask now []) ioctl(14, 0xc010643a, 0xbfdae4bc) = -1 EINTR (Interrupted system call) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() = ? (mask now []) So it looks like the infinite loop is either triggered by, or causes SIGALRM's in the ioctl. At least it stays in the loop. Given the information from the reporter, maybe what is going on is that the blank is turned off first (display off), followed by a call to WaitForVBlank, which, of course, never exits if there are no more vblanks... -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
Ah, and there it triggered again. I again hadn't touched the laptop, but I tried to start a 'konsole' and while it was showing the bouncing icon it triggered. Same backtrace, but I did a more extensive strace, showing that it typically stays in the ioctl for about 0.019 seconds before exiting (50hz). $ sudo strace -Ttttip 9029 Process 9029 attached - interrupt to quit 1231209790.265059 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.008417 1231209790.273530 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.273594 [b804a408] sigreturn() = ? (mask now []) 0.08 1231209790.273660 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019822 1231209790.293506 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.293553 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.293610 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019874 1231209790.313510 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.313560 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.313618 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019863 1231209790.333506 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.333553 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.333612 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019870 1231209790.353506 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.353553 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.353610 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019874 1231209790.373508 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.373554 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.373611 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019873 1231209790.393508 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.393554 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.393611 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019873 1231209790.413508 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.413554 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.413611 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019874 1231209790.433509 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.433555 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.433612 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019873 1231209790.453508 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- 1231209790.453554 [b804a408] sigreturn() = ? (mask now []) 0.07 1231209790.453611 [b804a430] ioctl(14, 0xc010643a, 0xbff65e7c) = -1 EINTR (Interrupted system call) 0.019870 1231209790.473505 [b804a430] --- SIGALRM (Alarm clock) @ 0 (0) --- -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
** Changed in: libdrm (Ubuntu) Sourcepackagename: xorg = libdrm Status: Incomplete = Confirmed ** Bug watch added: freedesktop.org Bugzilla #18041 https://bugs.freedesktop.org/show_bug.cgi?id=18041 ** Also affects: xorg-server via https://bugs.freedesktop.org/show_bug.cgi?id=18041 Importance: Unknown Status: Unknown -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
** Changed in: xorg-server Status: Unknown = Confirmed -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 304056] Re: X Server hangs in drmWaitVBlank()
[This is an automated message] Hi timw, Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well. ** Changed in: xorg (Ubuntu) Status: New = Incomplete -- X Server hangs in drmWaitVBlank() https://bugs.launchpad.net/bugs/304056 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs