Bug 11949

Summary: composite broken on nv17
Product: xorg Reporter: Matthieu CASTET <castet.matthieu>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: shlomif
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
corrupted avatar in gajim none

Description Matthieu CASTET 2007-08-11 05:49:13 UTC
Hi,

in EXA mode with nv17, composite extension is enabled by default. This result in fifo hang. [1]

The hang happen in the NVComposite function.
Removing composite hook fix the problem.


PS : xv blitter that use the same object (NvScaledImage) works fine.

[1]
[21066.819064] [drm] NV: PGRAPH context switch interrupt channel 1
[21066.819078] [drm] NV: PGRAPH context switch interrupt channel 0 -> 1
[21125.044376] [drm:nouveau_pgraph_irq_handler] *ERROR* NV: PGRAPH error interrupt
[21125.044389] [drm:nouveau_pgraph_irq_handler] *ERROR* nsource:0x00000800     nstatus:0x01000000
[21125.044394] [drm:nouveau_pgraph_irq_handler] *ERROR* instance:0x000011cf
[21125.044400] [drm:nouveau_graph_dump_trap_info] *ERROR* nSource: STATE_INVALID, nStatus: INVALID_STATE
[21125.044409] [drm:nouveau_graph_dump_trap_info] *ERROR* NV: Channel 1/0 (class 0x0089) - Method 0x040c, Data 0x00000000
Comment 1 Arthur Huillet 2007-08-20 16:46:52 UTC
This is the blending that is broken, copying works fine.
Worked around the problem by disabling blending in NVCheckComposite() upstream, and I have a tentative _fix_ (hardware blending works) in my public repository.
Comment 2 Matthieu CASTET 2007-08-21 12:58:46 UTC
Created attachment 11198 [details]
corrupted avatar in gajim

with the last git version (fix with beta1 and beta4), there is some image corruption.

With gajim, avatar with transparent background get corrupted if a another windows is moved over them.
Comment 3 Arthur Huillet 2007-10-05 06:53:13 UTC
This will go away with the new 3D-engine-based EXA implementation for NV10-NV20.
Comment 4 Arthur Huillet 2007-10-05 06:54:54 UTC
*** Bug 12251 has been marked as a duplicate of this bug. ***
Comment 5 Arthur Huillet 2007-11-18 11:16:49 UTC
Fixed with new NV1x EXA.

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.