Bug 1400610

Summary: Image hangs on gvim fast updates on Xorg-1.19
Product: [Fedora] Fedora Reporter: Vasile Chelban <vchelban>
Component: enlightenmentAssignee: Ben Skeggs <bskeggs>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25CC: airlied, ajax, bskeggs, dchen, i, randy, tcallawa
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-12-12 10:05:12 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:

Description Vasile Chelban 2016-12-01 15:33:09 UTC
Description of problem:
 On update to date FC25 system, fast updates of GTK2 windows (like vim-X11, Firefox, libreoffice) running on Enlightenment window manager, blocks image on screen, but mouse cursor is moving, and even update its form. Switching to virtual terminal (Ctrl-Alt-F2) and going back to X session resumes screen updates, and even shows that while image were blocked, windows actually receive clicks and keyboard input, and change its content. After a while image hangs again.

Version-Release number of selected component (if applicable):
 - xorg-x11-server-Xorg starting from 1.19.0-0.1.20160929.fc25 to 1.19.0-1.fc25
 - xorg-x11-drv-nouveau-1.0.13-1.fc25
 - enlightenment-0.21.3-1.fc25
 - vim-X11-7.4.1989-2.fc25
 - kernel-4.8.10-300.fc25.x86_64

How reproducible:
- Always, in 10-15 seconds using steps bellow
- In my usual workflow, it happens once in 5 to 10 minutes.

Steps to Reproduce:
1. Run dnf upgrade and dnf install enlightenment vim-x11
2. run Enlightenment session from Display Manager
3. open gvim with 6-10 tabs: gvim -p /etc/*.conf
4. press and hold Ctrl-PgDn on keyboard to switch to next open tab.

Actual results:
After 10-15 seconds image stops updating (except still moving mouse cursor).

Expected results:
Image shoud keep updating, with vim changing tabs.

Additional info:
 - Hardware info: NV86
 - Using either two monitor setup or single monitor - does not affect this bug.
 - While using integrated Intel video on G45 chipset with up to date driver - issue can't be reproduced.
 - Downgrading to xorg-x11-server-Xorg-1.18.4-6.fc25.x86_64 and xorg-x11-drv-nouveau-1.0.12-4.fc25.x86_64 - solves this issue.
 - Downgrading to xorg-x11-server-Xorg-1.18.4-6.fc25.x86_64 and xorg-x11-drv-nouveau-1.0.13-1 rebuild for xorg-x11-server 1.18 - solves this issue too.
 - Using XFCE4 window manager - solves this issue.
 - there are no relevant log records for the moment of image hang in either /var/log/Xorg.0.log, journalctl or ~/.xsession-errors files and commanf output.
 - It may be bug with Enlightenment, or Xorg-1.19.
 - sometime it hangs on Firefox page scrolling, looking on running Youtube video, on tooltip popup on web page.

Comment 1 Vasile Chelban 2016-12-02 14:55:43 UTC
More test cases I have performed today - run glxgears and use Radeon hardware:

- On ATI Radeon X550 (RV370) with xorg-x11-drv-ati-7.7.1-1.20160928git3fc839ff.fc25.x86_64 - issue is present.
- On Xorg modesetting driver, and Intel driver - issue is not present.
- Using Enlightenment with Software rendering engine - issue is not present
- Using Enlightenment with OpenGL rendering engine - issue is present
- Using Enlightenment with either Software or OpenGL rendering engine, and running glxgears - issue is present - glxgears output hangs almost immediately. 
- Using XFCE with either disabled or enabled compositing efects, and running glxgears - issue is not present.

Comment 2 Tom "spot" Callaway 2016-12-02 16:27:32 UTC
Okay. I have new efl and enlightenment packages coming soon, so lets have you retest with those first.

Comment 3 Vasile Chelban 2016-12-05 09:08:35 UTC
Just tested with:
 - efl-1.18.3-2.fc25.x86_64.rpm
 - enlightenment-0.21.4-1.fc25.x86_64.rpm
 - enlightenment-data-0.21.4-1.fc25.noarch.rpm
 - terminology-0.9.1-8.20161129git6cc0abd.fc25.x86_64.rpm

OpenGL rendering engine is still broken for non-Intel graphics hardware.

Comment 4 Randy Barlow 2017-10-12 15:31:43 UTC
I've been experiencing some instability issues with enlightenment that I've not been able to pin down a cause for yet. Sometimes I cannot open new windows, and sometimes I cannot see existing windows, though the mouse cursor seems like it is aware when I'm over an "edit" area vs. a "pointing" area. Unlike Vasile, switching to VT and back doesn't seem to fix the drawing.

I am on Intel graphics on F26, so perhaps the issue isn't specific to a graphics stack. It's also possible that my issue isn't identical to what Vasile is reporting, though it sounds very similar.

Comment 5 Randy Barlow 2017-10-12 15:39:00 UTC
I have tried Vasile's gvim reproducer and it does not seem to cause the issue I am seeing so perhaps my issue is unrelated. Or, perhaps there are two issues at play at the same time and I'm only seeing one of them (the disappearing tooltips and disappearing windows).

Comment 6 Randy Barlow 2017-10-12 15:58:59 UTC
I reported a new issue about what I'm seeing since it sounds like it may be different than this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1501487

Comment 7 Fedora End Of Life 2017-11-16 19:11:09 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:05:12 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.