All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 34567] New: xf86-video-ati git and drm-radeon-testing git: CS checker leads mplayer / vlc to fail with xv
Date: Tue, 22 Feb 2011 05:51:49 -0800 (PST)	[thread overview]
Message-ID: <bug-34567-502@http.bugs.freedesktop.org/> (raw)

https://bugs.freedesktop.org/show_bug.cgi?id=34567

           Summary: xf86-video-ati git and drm-radeon-testing git: CS
                    checker leads mplayer / vlc to fail with xv
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: jb.faq@gmx.de


With xf86-video-ati git and Dave Airlieds drm-radeon-testing branch I get a
black or no image with some videos using mplayer (using xv and not gl). The cs
checker breaks it.

I can reproduce this problem with 1080p (not 720p) HD videos. This problem does
not appear with the 2.6.37 kernel.

This bug was introduced with 7ac3a2e0bcdadff7c7172a9f833f526b526da16b
(I bisected this)

I did the following:

################################

$mplayer -vo xv 1080pvideo.mp4 
MPlayer SVN-r32624-4.4.4 (C) 2000-2010 MPlayer Team

Spiele 1080pvideo.mp4.
libavformat-Dateiformat erkannt!
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  3710.3 kbps (452.9 kbyte/s)
Clip-Info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
==========================================================================
Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family
Ausgewählter Videocodec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Öffne Audiodecoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 15999->176400)
Ausgewählter Audiocodec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starte Wiedergabe...
Film-Aspekt ist 1.78:1 - Vorskalierung zur Korrektur der Seitenverhältnisse.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12 
A:   1.9 V:   1.9 A-V: -0.000 ct:  0.000   0/  0 73%  6%  1.9% 23 0 

Beenden... (Ende)

################################

$tail /var/log/kernel/current 
Feb 22 12:48:02 [kernel] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Feb 22 12:48:02 [kernel] radeon 0000:01:00.0: texture bo too small (960 540 1
2764800 -> 557056 have 3317760)
Feb 22 12:48:02 [kernel] radeon 0000:01:00.0: alignments 1024 256 8 256
Feb 22 12:48:02 [kernel] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Feb 22 12:48:02 [kernel] radeon 0000:01:00.0: texture bo too small (960 540 1
2764800 -> 557056 have 3317760)
Feb 22 12:48:02 [kernel] radeon 0000:01:00.0: alignments 1024 256 8 256
Feb 22 12:48:02 [kernel] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Feb 22 12:48:02 [kernel] radeon 0000:01:00.0: texture bo too small (960 540 1
2764800 -> 557056 have 3317760)
Feb 22 12:48:02 [kernel] radeon 0000:01:00.0: alignments 1024 256 8 256
Feb 22 12:48:02 [kernel] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

################################

7ac3a2e0bcdadff7c7172a9f833f526b526da16b is the first bad commit
commit 7ac3a2e0bcdadff7c7172a9f833f526b526da16b
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Thu Feb 10 14:24:50 2011 -0500

    6xx+: switch to linear aligned rather than linear general

    linear aligned is supposedly more performant, but more
    importantly, linear general only works on the CB without
    slices.  The texture blocks technically don't support
    linear general although, I think linear general gets
    upgraded to linear aligned in the hw which is why it
    currently works.

    Signed-off-by: Alex Deucher <alexdeucher@gmail.com>

:040000 040000 8f830d90157a00f05dc79cd48b4daded8831119a
9fb173e14af75e2a88b2982d0925ab1da2d56671 M      src

################################

$git bisect log

git bisect start
# good: [0a1a0513a61f392580bde39cca4880f2c19abc8d] bump version for release
git bisect good 0a1a0513a61f392580bde39cca4880f2c19abc8d
# bad: [3d10278ce511f5dabb68ed86ee43eaaf43585983] Xv: fix textured video
alignment harder
git bisect bad 3d10278ce511f5dabb68ed86ee43eaaf43585983
# good: [be67ded05621aff9c85525372fd119071d3278ec] 6xx/7xx: consolidate spi
setup
git bisect good be67ded05621aff9c85525372fd119071d3278ec
# bad: [39104c6e8461cf49c1bb03a18858ad75a9d98b46] remove
EVERGREENSetAccelState()
git bisect bad 39104c6e8461cf49c1bb03a18858ad75a9d98b46
# bad: [7ac3a2e0bcdadff7c7172a9f833f526b526da16b] 6xx+: switch to linear
aligned rather than linear general
git bisect bad 7ac3a2e0bcdadff7c7172a9f833f526b526da16b
# good: [e3145801b80fd4be4cf770128876e86e89bda66f] evergreen/NI: consolidate
spi setup
git bisect good e3145801b80fd4be4cf770128876e86e89bda66f

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2011-02-22 13:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 13:51 bugzilla-daemon [this message]
2011-02-22 13:53 ` [Bug 34567] xf86-video-ati git and drm-radeon-testing git: CS checker leads mplayer / vlc to fail with xv bugzilla-daemon
2011-02-22 13:55 ` [Bug 34567] xf86-video-ati git and drm-radeon-testing git: CS checker let " bugzilla-daemon
2011-02-22 15:35 ` bugzilla-daemon
2011-02-22 16:25 ` bugzilla-daemon
2011-02-23  2:33 ` bugzilla-daemon
2011-02-23  2:51 ` bugzilla-daemon
2011-02-23  6:05 ` bugzilla-daemon
2011-02-23 10:28 ` bugzilla-daemon
2011-02-28  4:08 ` bugzilla-daemon
2011-02-28  9:55 ` bugzilla-daemon
2011-02-28 13:30 ` bugzilla-daemon
2011-02-28 16:17 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-34567-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.