[Bug 100162] New: X server hang when toggling fullscreen in media player

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 11 21:56:31 UTC 2017


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

            Bug ID: 100162
           Summary: X server hang when toggling fullscreen in media player
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/intel
          Assignee: chris at chris-wilson.co.uk
          Reporter: thomas.lindroth at gmail.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org

The X server always hangs when I toggle fullscreen mode in the mpv media
player. When it hang I can still move the mouse and hear sound but inputs
doesn't work and the screen is frozen. Switching to framebuffer terminal is not
possible.

The hang only occurs when using SNA acceleration with TearFree. UXA works fine
and SNA without TearFree also work. I have a Haswell (i7-4790K) cpu and connect
monitors to all 3 connectors (hdmi, dp, dvi). All 3 monitors have the same
resolution 1920x1200. If I have several monitors active at the same time in a
dual head setup the hang doesn't occur. It only hangs if a single head it
active when I toggle fullscreen. The resolution and type of the video doesn't
matter.

I'm using an xfce desktop without compositing enabled. Mpv use the opengl
output (profile=opengl-hq) without any hardware accelerated video decoding.

I'm using xorg-server-1.19.2 kernel-4.4.52 xf86-video-intel-git
media-libs/mesa-13.0.5 on a gentoo system.

My xorg.conf only contains:

Section "ServerFlags"
    Option      "LogVerbose" "10"
EndSection

Section "Device"
    Identifier "IGP"
    Driver     "intel"
    Option     "TearFree" "true"
    Option     "DRI" "3"
EndSection

There are no errors or other output in dmesg or Xorg.0.log as a result of the
hang.

I ran "thread apply all bt full" in gdb on the X process after the hang. I only
had debug symbols on xf86-video-intel and I can provide a better backtrace if
needed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170311/5f5d93e8/attachment-0001.html>


More information about the intel-gfx-bugs mailing list