Bug 1401479

Summary: Something cause videoplaying applications to hang
Product: [Fedora] Fedora Reporter: Vlad <krnlbg>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: ofourdan, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-26 12:57:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vlad 2016-12-05 12:03:55 UTC
Description of problem:
May be it's not a right component but I don't have better idea where to put this bug.

Something cause media applications to hand during rendering. For now I found three 100% affected programs: firefox(HW_COMPOSITING is enabled), chromium and mpv. Once I noticed steam hanged the same way. 

Application windows become unresponsive and nothing is drawing in it after some time when you play any video in one of these programs. Sound can still be playing during some time. The process is in "futex_wait_queue_me" status and can only be killed.

My main DE is Mate but it also happens in Gnome with Wayland however more rarely in my opinion.

One thing I noticed: starting mpv with --vo=x11 solves the problem. (default is --vo=opengl).

Started to happen to me after upgrade to 25 beta. Reinstall Fedora to 25 release didn't solve the problem. Cleaning browser profiles didn't solve the problem either.

I think I found similar behaviour bugs: 
https://bugzilla.redhat.com/show_bug.cgi?id=1399267
https://bugzilla.redhat.com/show_bug.cgi?id=1367955

There are no any errors in journalctl or Xorg.0.log but the problem definitely exits. I also tested my hardware with memtest and some opengl games - everything is working fine.

Also I was affected with https://bugzilla.redhat.com/show_bug.cgi?id=1382444

As I said may be xorg-x11-server is not the reason but I don't know how to locate the problem more precise so if someone could help me I will change the component.

Version-Release number of selected component (if applicable):
Fedora 25

How reproducible:
100% for me

Steps to Reproduce:
1. Open some vide with mpv or chromium or firefox
2. Wait for some time (from 1 to 30 min)
3. Window becomes unresposive

Some Hardware info: 
AMD Phenom(tm) II X4 975 Processor
AMD Radeon 6850 GPU with r600g driver

Comment 2 Vlad 2017-01-03 14:24:23 UTC
I just tested my installation on another pc(intel CPU and intel GPU) and it worked okay.
So it looks like the video driver could be a problem.

Comment 3 Vlad 2017-01-26 12:57:23 UTC
Somehow it has been fixed with updates.