Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prosavage crashes with MPlayer VIDIX output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Tue Feb 13, 2007 2:17 pm    Post subject: Prosavage crashes with MPlayer VIDIX output Reply with quote

My VIA C3 laptop (Ezra-T) with integrated ProSavage DDR graphics recently (I think ever since I came back to Gentoo after installing Windows) has been crashing on mplayer (1.0 rc1) -vo xvidix or cvidix. On xvidix, it manages to open a window before nothing is displayed and it promptly closes as MPlayer reports a crash in the console.

Here's the output for xvidix:
Code:
vidixlib: '/usr/lib/mplayer/vidix/savage_vid.so'successfully loaded
[VO_SUB_VIDIX] Description: Savage/ProSavage/Twister vidix.
[VO_SUB_VIDIX] Author: Reza Jelveh <reza.jelveh@tuhh.de>.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening 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
mp3lib: using 3DNow! optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 128 kbit Stereo, BPF: 417
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.14rc1
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from yuv420p to yuyv422 using 3DNOW
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: 640x360 -> 640x360
REQ: flags=0x437  req=0x0 
VO: [xvidix] 640x360 => 640x360 Packed YUY2
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
Using colorkey: ff00
[savage_vid] set colorkey 0xff00
[xvidix] dcx: 80 dcy: 120 dx: 0 dy: 0 dw: 640 dh: 360
$#### destination pitch = 1280
vosub_vidix: using 0 buffer(s)



And here's what cvidix says:
Code:
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from yuv420p to yuyv422 using 3DNOW
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: 640x360 -> 640x360
REQ: flags=0x437  req=0x0
VO: [cvidix] 640x360 => 640x360 Packed YUY2
VO: Description: console VIDIX
VO: Author: Sascha Sommer
vo_cvidix: warn: screenwidth and height not set assuming 640x480
$#### destination pitch = 1280
vosub_vidix: using 0 buffer(s)


Does anybody know what's wrong? My CFLAGS are
CFLAGS="-O2 -march=c3 -pipe -mmmx -m3dnow"
I even downloaded MPlayer by myself and compiled it with --enable-debug. It still crashed. Does anybody know how I can solve this? This is the only way I can get smooth 640x360 video scaled to my resolution of 800x450 (800x600 with black bars), otherwise I have to use the software scaler, which on the C3 is slow.
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
bradbeglin
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2006
Posts: 91
Location: Atlanta, Georgia, USA

PostPosted: Tue Feb 13, 2007 5:07 pm    Post subject: Reply with quote

Um, might help if you take a look at the X11 logs in /var/log/. Also, it seems that if you are running Xorg 7.1, then Xv might be the problem. Make sure that you update to the latest version of the savage driver, there were several major bug fixes that happened about the end of September, that are only in the latest testing version of the savage driver.
Back to top
View user's profile Send private message
Motoi-Sakuraba-Milfeuille
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2004
Posts: 125

PostPosted: Wed Feb 14, 2007 9:47 am    Post subject: Reply with quote

Hmm.. there is no difference in my /var/log/Xorg.0.log when mplayer crashes.

BTW, I'm using xvidix, not xv... but I'll try compile a new version of xorg-x11 when I can. Will it help?
_________________
When you are clever, you realize you are stupid; when you are stupid, you realize you are clever.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum