Capturing screen only returns black when resumed before
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Capturing the screen fullscreen (eg. using the Screenshot application, x11vnc, or the builtin vnc server) does only return black when suspended and back from resume. When switching to a text console (eg. CTRL+ALT+F1) and back to X11 again it suddenly starts working again.
Works fine directly after boot too. Looks like resume does not re enable some stuff on the graphics card.
This has been working fine on the very same machine with Ubuntu 13.04. See this now with 13.10.
The most simple code to reproduce this issue
XImage *img = XGetImage(
returns a black image when resumend and not switched to a text terminal once.
Can be easily reproduced with "gnome-screenshot".
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu5
ProcVersionSign
Uname: Linux 3.11.0-11-generic x86_64
.tmp.unity.
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
Date: Wed Oct 2 15:29:50 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Google, Inc. Device [1ae0:c000]
InstallationDate: Installed on 2013-09-27 (4 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1)
MachineType: GOOGLE Link
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/10/2012
dmi.bios.vendor: coreboot
dmi.chassis.type: 3
dmi.chassis.vendor: GOOGLE
dmi.modalias: dmi:bvncoreboot
dmi.product.name: Link
dmi.product.
dmi.sys.vendor: GOOGLE
version.compiz: compiz 1:0.9.10+
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Wed Oct 2 15:21:16 2013
xserver.configfile: None
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 889
vendor LGD
xserver.version: 2:1.14.
Changed in xserver-xorg-video-intel (Ubuntu): | |
importance: | Undecided → High |
Sounds like:
commit 3fd116782bb1c05 a140f4783e92a8e e6a57143cd
Author: Chris Wilson <email address hidden>
Date: Mon Sep 23 21:03:07 2013 +0100
sna/dri: Clear the clear hint upon applying DRI damage
Otherwise a later call to GetImage will not notice the DRI update if it
was already clear - and so return a blank image. One example is the use
of x11vnc replaying xbmc.
Bugzilla: https:/ /bugs.freedeskt op.org/ show_bug. cgi?id= 69730
Signed-off-by: Chris Wilson <email address hidden>