Bug 72194 - Intel driver SNA causes x11vnc to display black screen when running xbmc (Haswell chip this time)
Summary: Intel driver SNA causes x11vnc to display black screen when running xbmc (Has...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 12:59 UTC by John
Modified: 2013-12-14 22:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description John 2013-12-01 12:59:15 UTC
Background: I am experiencing the very same symptoms as I reported in (https://bugs.freedesktop.org/show_bug.cgi?id=69730) which is now resolved thanks to Chris.  The problem seems to be unique to my new i3-4130T (Haswell using HD graphics 4400).

Problem: Connecting to the vncserver (x11vnc) running on the machine using the i3-4130T (on a motherboard using the H87 chipset) causes a black screen to be displayed on the vncclient but only when xbmc is active.  Exiting xbmc restores the expected vnc behavior.  I see nothing relevant in my Xorg logs to indicate there is a problem.

Linux distro: Arch linux x86_64
Xorg version: 1.14.4

Drivers packages in use (official ARCH packages):
* intel-dri 9.2.4-1
* libva-intel-driver 1.2.1-1
* xf86-video-intel-git version 2.99.906.65.g3dae8b9-1

Command used to start x11vnc on the target box:
/usr/bin/x11vnc -nap -wait 50 -passwd xxx -display :0 -forever -o /var/log/x11vnc.log -bg

It does not matter if I use the -noxdamage switch; the result is the same.
Comment 1 Chris Wilson 2013-12-01 13:02:10 UTC
Can you please attach your Xorg.0.log to rule out the old package?
Comment 2 Chris Wilson 2013-12-03 15:10:18 UTC
commit 23f8802857d64212dc8df39da2c1f6f362f9d053
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Dec 3 15:06:10 2013 +0000

    sna/dri: Always clear the clear hint after pageflipping
    
    commit 3fd116782bb1c05a140f4783e92a8ee6a57143cd
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Mon Sep 23 21:03:07 2013 +0100
    
        sna/dri: Clear the clear hint upon applying DRI damage
    
    missed the short-circuit path for an already all-damaged pixmap - which
    is quite common for the clear pixmaps...
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72194
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 3 John 2013-12-14 22:59:04 UTC
For some reason I was not added to the cc list and did not know you posted to this report until just now.  I can verify your fix works with this hardware/use case.  Thank you again for the rapid bug squashing.  Happy holidays to you and yours!

P.S.  Thoughts as to when this particular commit will get rolled up into an official release?  v2.21.15 exhibited the bug, but building from git (gf350a13) works just fine.


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.