Bug 19121

Summary: [i965]Text insanity with xf86-video-intel git/2.5.99.1 with non-GEM kernel
Product: xorg Reporter: Ari Entlich <lmage11>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high Keywords: regression
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 18858    
Attachments:
Description Flags
X log
none
Picture of the insanity none

Description Ari Entlich 2008-12-16 16:59:40 UTC
Created attachment 21223 [details]
X log

When running either xf86-video-intel git master or the recently release 2.5.99.1 on a non-GEM non-KMS kernel (2.6.26, specifically), I get what I think can pretty accurate be called text insanity. Some text doesn't appear, some text is the wrong color, and some text gets fixed when various things are done to it (like selecting it). Insanity abounds.
Comment 1 Wang Zhenyu 2008-12-16 17:45:12 UTC
Possible to git bisect where the badness happen?
Comment 2 Ari Entlich 2008-12-16 17:51:59 UTC
I'll see what I can do.
Comment 3 Ari Entlich 2008-12-16 19:02:12 UTC
Behold, the guilty party:

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=e8b95efbf5d9c3a5b75b2bb8b5b51844b5fcdfbc

Dontcha hate it when it's a performance fix. :-/
Comment 4 Ari Entlich 2008-12-18 17:26:32 UTC
Created attachment 21288 [details]
Picture of the insanity

Here's a picture. As you can see, a lot of text is missing, and Firefox's title bar text is the wrong color (white instead of black, most of the color mixups are white/black mixups).
Comment 5 Wang Zhenyu 2008-12-28 21:28:13 UTC
Fixed in current master. Tested on T61 with 2.6.26 kernel.

commit cfaaf6af777ad8e56da5a077bdc01f4f2d7bc4d6
Author: Zhenyu Wang <zhenyu.z.wang@intel.com>
Date:   Mon Dec 29 21:17:44 2008 +0800

    Don't count vertex buffer in second aperture size check
    
    With batch flush notify vertex buffer will be unreferenced,
    so don't count it in later aperture check. Also adding
    uninitialized vertex buffer check in batch flush notify.
Comment 6 Ari Entlich 2008-12-31 20:23:38 UTC
Confirmed, issue is not reproducible with current git master. Thanks!

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.