[MPlayer-users] Re: [PATCH] Getting Rage128 cards to work with xvidix again. :))

Rémi Guyomarch rguyom at pobox.com
Wed May 1 17:20:02 CEST 2002


On Wed, May 01, 2002 at 04:30:20PM +0200, Rémi Guyomarch wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Wed, May 01, 2002 at 03:34:03PM +0200, Daniel Moreno wrote:
> ..
> > Latest working revision of radeon_vid.c is 1.36. 1.37 draws a nice pink 
> > screen. And some revisions later it doesn't even show a window. So I 
> > started looking at the differences between 1.36 and 1.37, making some 
> > testing/debuging... and, accidentaly, I got a way to get the latest 
> > revision of radeon_vid.c working for Rage128 cards. (at least for my card)
> 
> 1.46 draws a pink screen for me too, on a Radeon VE QY.

After a few cvs update / compile / test cycles :

1.35: works
1.36: works
1.37: works
1.38: works
1.39: works
1.40: pink screen
1.41: works
1.42: no red or green (only blue & gray)
1.43: no red or green (only blue & gray)
1.44: works
1.45: pink screen
1.46: pink screen

Every revision I tested didn't synced properly the output, where -vo
xv is perfectly synced. Adding "-double" fix the sync problem.

According to XFree86 4.2.0, I have an :

(--) PCI:*(1:0:0) ATI Radeon VE QY rev 0, Mem @ 0xd8000000/27, 0xe5000000/16, I/O @ 0xd000/8
(--) Chipset ATI Radeon VE QY (AGP) found

And according to mplayer :

Radeon_vid: Found chip: Radeon VE QY
Radeon_vid: Video memory = 32Mb
vosub_vidix: Using: BES driver for radeon cards by Nick Kurshev

Btw, it's on FreeBSD 4.5. I'm attaching a complete "mplayer -v" output
done with radeon_vid.c rev 1.44.

-- 
Rémi
-------------- next part --------------


MPlayer CVS-020430-20:05-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX 3DNow
Reading /home/rguyom/.mplayer/codecs.conf: 34 audio & 91 video codecs
CommandLine: '-v' '-double' '-ss' '15:00' '-vo' 'xvidix' '/home/rguyom/eDonkey-non-shared/joe black CD1 2 dix4 2pass bvix FR EN by desof.avi'
get_path('font/font.desc') -> '/home/rguyom/.mplayer/font/font.desc'
Font /home/rguyom/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/rguyom/.mplayer/input.conf'
Can't open input config file /home/rguyom/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /home/rguyom/eDonkey-non-shared/joe black CD1 2 dix4 2pass bvix FR EN by desof.avi
Not an URL!
File size is 736514048 bytes
Detected AVI file format!
list_end=0x3324
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 127713   initial: 0
streams: 3
Suggested BufferSize: 0
Size:  720 x 384
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 1000000/41708 = 23.976
Start: 0   Len: 127713
Suggested BufferSize: 61870
Quality -1
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 384
  biPlanes 1
  biBitCount 16
  biCompression 1482049860='DIVX'
  biSizeImage 829440
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38.281
Start: 0   Len: 203910
Suggested BufferSize: 1044
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 17053
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=445
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x3218
==> Found audio stream: 2
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38.281
Start: 0   Len: 203910
Suggested BufferSize: 1044
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15440
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=403
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x3324
list_end=0x3348
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1200  (id=JUNK)
list_end=0x2B638A78
Found movie at 0x380C - 0x2B638A78
Reading INDEX block, 535533 chunks for 127713 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 535533 chunks for 127713 frames
AVI index offset: 0x3808 (movi=0x380C idx0=0x4 idx1=0x1AE)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=723441286
VIDEO:  [DIVX]  720x384  16bpp  23.98 fps  1086.5 kbps (132.6 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:720x384  fps:23.98  ftime:=0.0417
Clip info: 
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/rguyom/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow! optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
Radeon_vid: Found chip: Radeon VE QY
vidixlib: /usr/local/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0x285ed73c
Radeon_vid: Video memory = 32Mb
vidixlib: '/usr/local/lib/mplayer/vidix/radeon_vid.so'successfully loaded
vosub_vidix: Using: BES driver for radeon cards by Nick Kurshev
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  64/64  (2048 bytes/frag)  free: 131072
Start playing...
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo config request - 720 x 384, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x433 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(720x384->720x384,flags=1,'MPlayer',0x32315659)
VO: [xvidix] 720x384 => 720x384 Planar YV12 fs 
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local display)
[xvidix] image properties: 720x384 depth: 12
[xvidix-fs] dcx: 0 dcy: 111 dx: 0 dy: 111 dw: 1024 dh: 546
vosub_vidix: using 49 buffers
[xvidix] window properties: pos: 0x111, size: 1024x546
Disabling DPMS
stat: 1
*** [vo] Exporting mp_image_t, 720x384x12bpp YUV planar, 414720 bytes
[xvidix-fs] dcx: 0 dcy: 111 dx: 0 dy: 111 dw: 1024 dh: 546
[xvidix] window properties: pos: 0x111, size: 1024x546
SEEK: idx=90601  (a:90601 v:90654)  v.skip=12  a.skip=0/0.000  
XXX initial  v_pts=0.000  a_pos=10021 (0.588) 
SEEK: A: 901.930  V: 901.310  A-V: 0.620   
A: 901.9  V: 901.3  A-V:  0.000  ct: ?   
*** free_stream() called ***
Successfully enabled DPMS

Exiting... (Quit)


More information about the MPlayer-users mailing list