[MPlayer-users] radeon vidix pink output
kal at www.linsystems.ca
kal at www.linsystems.ca
Sun Dec 1 18:19:05 CET 2002
distribution : Red Hat 8.0
kernel : 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
libc : /lib/libc.so.6 -> libc-2.2.93.so
X11 : XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72)
gcc : Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
ld : GNU ld version 2.13.90.0.2 20020802
as : GNU assembler 2.13.90.0.2 20020802
CPU : Intel(R) Pentium(R) 4 CPU 1.60GHz
video card : ATI Radeon 8500LE 128M (Found chip: Radeon QL)
sound card : CMedia on board sound
The radeon vidix driver in MPlayer-0.90pre10.tar.bz2 produces all pink output
on my particular Radeon 8500 card. I tried the latest CVS. Same thing.
Recalling that this used to work, I checked out an older versions of the
radeon_vid.c file from CVS and found that undoing this change worked:
1040,1042c1040,1042
< OUTREG(OV0_COLOUR_CNTL, (((besr.brightness*64)/1000) & 0x7f) |
< (((besr.saturation*31+31000)/2000) << 8) |
< (((besr.saturation*31+31000)/2000) << 16));
---
> OUTREG(OV0_COLOUR_CNTL, (besr.brightness & 0x7f) |
> (besr.saturation << 8) |
> (besr.saturation << 16));
In the mail archives, this person seems to have the same problem as I did:
http://www.mplayerhq.hu/pipermail/mplayer-users/2002-June/017441.html
Here's my mplayer -v -vo xvidix output:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer 0.90pre10-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Intel (Family: 8, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Reading /root/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: 44 audio & 110 video codecs
CommandLine: '-v' '-vo' 'xvidix' 'random.mpg'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz)
get_path('input.conf') -> '/root/.mplayer/input.conf'
Playing random.mpg
Not an URL!
File size is 39869 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x83ae598
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83ae598
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83ae598
Checking for MOV
DEMUXER: freeing demuxer at 0x83ae598
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x83ae598
Checking for REAL
DEMUXER: freeing demuxer at 0x83ae598
DEMUXER: freeing demuxer at 0x83ae598
DEMUXER: freeing demuxer at 0x83ae598
DEMUXER: freeing demuxer at 0x83ae598
DEMUXER: freeing demuxer at 0x83ae598
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x83ae598
DEMUXER: freeing demuxer at 0x83aee00
Checking for PVA
DEMUXER: freeing demuxer at 0x83aee00
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 27 p101: 27 PES: 0 MP3: 0
Detected MPEG-ES file format!
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO: MPEG1 320x240 (aspect 1) 30.00 fps 131071.5 kbps (16383.9 kbyte/s)
[V] filefmt:1 fourcc:0x10000001 size:320x240 fps:30.00 ftime:=0.0333
get_path('sub/') -> '/root/.mplayer/sub/'
No vidix driver name provided, probing available ones!
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display)
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mach64_vid.so
[mach64] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] found 6 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] found 6 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/pm3_vid.so
[pm3] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
Radeon_vid: Found chip: Radeon QL
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: 0x4008eefe
Radeon_vid: Video memory = 128Mb
Radeon_vid: Set write-combining type of video memory
vidixlib: '/usr/local/lib/mplayer/vidix/radeon_vid.so'successfully loaded
VIDIX: Description: BES driver for radeon cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 320x240 => 320x240 Planar YV12
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
[xvidix] dcx: 480 dcy: 384 dx: 0 dy: 0 dw: 320 dh: 240
vosub_vidix: using 1 buffer(s)
[xvidix] window properties: pos: 480x384, size: 320x240
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
V: 0.0 1 0% 0% 0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xvidix] dcx: 480 dcy: 384 dx: 0 dy: 0 dw: 320 dh: 240
[xvidix] window properties: pos: 480x384, size: 320x240
V: 0.1 2 0% 0% 0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xvidix] dcx: 480 dcy: 384 dx: 0 dy: 0 dw: 320 dh: 240
[xvidix] window properties: pos: 480x384, size: 320x240
V: 0.1 3 0% 0% 0.0% 0 0 0%
V: 0.1 4 0% 0% 0.0% 0 0 0%
V: 0.2 5 0% 0% 0.0% 0 0 0%
V: 0.2 6 0% 0% 0.0% 0 0 0%
V: 0.2 7 0% 0% 0.0% 0 0 0%
V: 0.3 8 0% 0% 0.0% 0 0 0%
V: 0.3 9 0% 0% 0.0% 0 0 0%
V: 0.3 10 0% 0% 0.0% 0 0 0%
V: 0.4 11 0% 0% 0.0% 0 0 0%
V: 0.4 12 0% 0% 0.0% 0 0 0%
V: 0.4 13 0% 0% 0.0% 0 0 0%
V: 0.5 14 0% 0% 0.0% 0 0 0%
V: 0.5 15 0% 0% 0.0% 0 0 0%
V: 0.5 16 0% 0% 0.0% 0 0 0%
V: 0.6 17 3% 0% 0.0% 0 0 0%
V: 0.6 18 3% 0% 0.0% 0 0 0%
V: 0.6 19 3% 0% 0.0% 0 0 0%
V: 0.7 20 3% 0% 0.0% 0 0 0%
V: 0.7 21 3% 0% 0.0% 0 0 0%
V: 0.7 22 3% 0% 0.0% 0 0 0%
V: 0.8 23 3% 0% 0.0% 0 0 0%
V: 0.8 24 3% 0% 0.0% 0 0 0%
V: 0.8 25 3% 0% 0.0% 0 0 0%
V: 0.9 26 3% 0% 0.0% 0 0 0%
V: 0.9 27 3% 0% 0.0% 0 0 0%
V: 0.9 28 3% 0% 0.0% 0 0 0%
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
V: 0.9 28 3% 0% 0.0% 0 0 0%
EOF code: 1
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x83b1670
DEMUXER: freeing sh_video at 0x83ace28
vo: uninit ...
Exiting... (End of file)
More information about the MPlayer-users
mailing list