Bug 99544

Summary: GL and VDPAU hangs on r600 (HD7650M)
Product: Mesa Reporter: Dmitry Eremin-Solenikov <dbaryshkov>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: 13.0   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: GL application backtrace (Shenzhen I/O)
VDPAU application backtrace (MPlayer)

Description Dmitry Eremin-Solenikov 2017-01-26 02:21:43 UTC
Created attachment 129155 [details]
GL application backtrace (Shenzhen I/O)

I'm observing random GL and VDPAU hangs on my HD7650M card. The application will hang in graphics thread, but otherwise system stability is not impaired. Suck lockups happen both in windowed mode (e.g. google chrome) and in fullscreen mode (games). Lockups are more frequent when app is running with higher resolution.
dmesg doesn't contain any messages from GPU. According to backtraces (see attachments) both GL and VDPAU hang in dri2 code (DRI2GetBuffersWithFormat and vl_dri2_screen_texture_from_drawable).

uname -a

Linux forlindon 4.9.0-1-amd64 #1 SMP Debian 4.9.2-2 (2017-01-12) x86_64 GNU/Linux

$ dpkg -l | grep libgl1
ii  libgl1-mesa-dev:amd64                                            13.0.3-1                             amd64        free implementation of the OpenGL API -- GLX development files
ii  libgl1-mesa-dri:amd64                                            13.0.3-1                             amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                                             13.0.3-1                             i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri-dbgsym:amd64                                     13.0.3-1                             amd64        Debug symbols for libgl1-mesa-dri
ii  libgl1-mesa-dri-dbgsym:i386                                      13.0.3-1                             i386         Debug symbols for libgl1-mesa-dri
ii  libgl1-mesa-glx:amd64                                            13.0.3-1                             amd64        free implementation of the OpenGL API -- GLX runtime
ii  libgl1-mesa-glx:i386                                             13.0.3-1                             i386         free implementation of the OpenGL API -- GLX runtime
ii  libgl1-mesa-glx-dbgsym:amd64                                     13.0.3-1                             amd64        Debug symbols for libgl1-mesa-glx
ii  libgl1-mesa-glx-dbgsym:i386                                      13.0.3-1                             i386         Debug symbols for libgl1-mesa-glx
Comment 1 Dmitry Eremin-Solenikov 2017-01-26 02:22:15 UTC
Created attachment 129156 [details]
VDPAU application backtrace (MPlayer)
Comment 2 Michel Dänzer 2017-01-26 02:31:57 UTC
Sounds like bug 99333. Make sure your xserver-xorg-core package is version 2:1.19.1-1 or newer.
Comment 3 Dmitry Eremin-Solenikov 2017-01-26 03:55:03 UTC
Indeed, updating xserver-xorg-common fixed the issue. Thank you. Closing as duplicate

*** This bug has been marked as a duplicate of bug 99333 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.