Bug 34246 - Black artifacts in some wine programs using Intel graphics
Summary: Black artifacts in some wine programs using Intel graphics
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.5 (2009.10)
Hardware: Other Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-02-13 23:15 UTC by Igor Tarasov
Modified: 2011-07-02 04:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Igor Tarasov 2011-02-13 23:15:01 UTC
Here is a bug report on bugs.winehq.org:
http://bugs.winehq.org/show_bug.cgi?id=24998

This issue is experienced on Ubuntu Lucid, Ubuntu Maverick, Gentoo amd64 only with Intel graphics driver (using latest available in PPA, version 2.14. Issue still exists with compoziting disabled.

Affected chipsets: Intel Mobile GM965/GL960, 82865G. Maybe some others, I can't test that.

Sorry for not providing any dumps, I no longer have access to the machine with Intel graphics card. But I'll try to provide it later.

The issue is that under certain circumstances some words get highlighted not with blue, but with black, making these unreadable, also some elements in GUI are also black. The issue with highligh appears only if two highlighted words are on the same line. I think it is related to some kind of optimizations that play in such situations.
Comment 1 Jordan Bradley 2011-02-14 08:38:25 UTC
I am experiencing this bug. According to lspci I have the following intel chipset:

00:02.0 VGA compatible controller: Intel Corporation Arrandale Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Device 036d
	Flags: bus master, fast devsel, latency 0, IRQ 40
	Memory at b0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at a0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 3050 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915

I will provide extra information as requested at http://intellinuxgraphics.org/how_to_report_bug.html
Comment 2 Jordan Bradley 2011-02-14 12:43:25 UTC
$uname -a
Linux JORDAN-LAPTOP 2.6.36-zen1 #3 ZEN SMP PREEMPT Sat Dec 18 21:54:36 EST 2010 x86_64 Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz GenuineIntel GNU/Linux

$emerge -pv xorg-server xf86-video-intel libdrm mesa
x11-libs/libdrm-2.4.23
media-libs/mesa-7.9.1
x11-base/xorg-server-1.9.4
x11-drivers/xf86-video-intel-2.13.0 (I can install 2.14.0 but it's broken, unrelated problem)

Running Gentoo Linux on an Acer Aspire 5741
Comment 3 Igor Tarasov 2011-05-22 23:16:00 UTC
There's an update to winehq bug. As it came out, it is reproducible with a built-in wine utility, winecfg. Just run it and switch to graphics tab. You'll see all black slider there.
Comment 4 Eric Anholt 2011-06-05 21:21:44 UTC
Please retest with 2D driver as of:

commit e0066e77e026b0dd0daa0c3765473c7d63aa6753
Author: Eric Anholt <eric@anholt.net>
Date:   Tue May 31 23:17:16 2011 -0700

    uxa: Simplify Composite solid acceleration for spans by only clipping once.
    
    Unlike the previous commit removing this style of code, the code in
    this one was originally wrong, and would fail to clip in the second
    pass of clipping when y was > pbox->y2.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37233
    Reviewed-by: Keith Packard <keithp@keithp.com>
Comment 5 Chris Wilson 2011-06-05 22:19:12 UTC
Btw, all of these bugs were fixed in sna.
Comment 6 Chris Wilson 2011-07-02 04:08:07 UTC
Fixed in sna, reverted in uxa:

commit 855ced5a4eb67e287001ae22cb6489639c548cfa
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jun 16 13:24:14 2011 +0100

    uxa: Remove the attempt to use the 3D pipeline for core rendering
    
    The attempt was still ridden with bugs, such as
    
    http://bugs.freedesktop.org/show_bug.cgi?id=28768
    http://bugs.freedesktop.org/show_bug.cgi?id=28798
    http://bugs.freedesktop.org/show_bug.cgi?id=28908
    http://bugs.freedesktop.org/show_bug.cgi?id=29401
    
    A fresh approach was taken with SNA, but in the mean time before that
    can be enabled downstream, restore correct behaviour.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.