http://bugs.freedesktop.org/show_bug.cgi?id=23106

           Summary: mplayer -vo gl:yuv=6 segfaults
                    r300_state.c:r300SetupTextures()
           Product: Mesa
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=28296)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=28296)
GDB trace of mplayer -vo gl:yuv=6

Using mesa-7.5 on two r300 cards:
- one xpress200 (aka RS380) (IGP)
- one Radeon 9600 (RV350 AP) (PCIe)
I got mplayer segfaulting in r300_state.c:r300SetupTextures() when rendering
though OpenGL.
I tested a lot of files. I tested both gl and gl2 mplayer drivers.
Aka I used the following commands:
mplayer -vo gl:yuv=6 foobar.avi
mplayer -vo gl2:yuv=6 foobar.avi

See attached log.
The interesting bits concerning the used shader are:

OPTION ARB_precision_hint_fastest;TEMP coord, coord2, cdelta, parmx, parmy, a,
b, yuv;TEX yuv.r, fragment.texcoord[0], texture[0], 2D;TEX yuv.g,
fragment.texcoord[1], texture[1], 2D;TEX yuv.b, fragment.texcoord[2],
texture[2], 2D;TEX result.color, yuv, texture[3], 3D;END
[gl] Program statistics:
[gl]   instructions: 5/16384
[gl]   native instructions: 5/128
[gl]   temporaries: 8/256
[gl]   native temporaries: 8/32
[gl]   parameters: 0/64
[gl]   native parameters: 0/16
[gl]   attribs: 0/12
[gl]   native attribs: 0/11
[gl]   ALU instructions: 0/16384
[gl]   TEX instructions: 0/16384
[gl]   TEX indirections: 0/16384
[gl]   native ALU instructions: 0/64
[gl]   native TEX instructions: 0/64
[gl]   native TEX indirections: 0/4


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to