View previous topic :: View next topic |
Author |
Message |
Instinct n00b
Joined: 02 Aug 2002 Posts: 74
|
Posted: Wed Dec 18, 2002 9:41 pm Post subject: Never can get Mplayer stable |
|
|
As much as I like it, I have yet to have a trouble-free install of it, and after 6 months of gentoo it's the only program that's ever crashed the X server for me, and it's done it multiple times.
After the recent announcement of all the new supported codecs I emerged the latest version. As it was compiling I noticed gcc was using -O4 which seemed kind of odd. It finished compiling, I selected a file to play and before I knew it was I looking at my gdm login screen again. So I edited the ebuild to remove the unset cflags statement and changed my make.conf to relfect -O2 instead of -O3. It compiled this time as expected with -O2, yet the movie window will just freeze randomly at some point when playing. If run from a terminal I see that it's still playing (I think) but the video is frozen and there is no sound. I have tried different -vo and -ao options with the same results.
I'd like to get this working within phoenix w/ plugger but not until it can be stable enough to run on it's own. Suggestions? Is there some magic USE flag I need set? Video card is nvidia, and I've heard that their drivers may be the cause of problems, but this is my only unstable app. This seems to occur on multiple movie formats... |
|
Back to top |
|
|
xcable Guru
Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Thu Dec 19, 2002 4:02 pm Post subject: more info |
|
|
I have used mplayer (several versions) and have come accross many problems (all solved), but i need more info on you system.
video dirver :
gui (kde, gnome, windowmaker, etc..) :
sound system (alsa, arts, kernel modules, etc..) :
X11 version :
video output (vx, X11, etc...):
gcc flags (from make.conf) :
gcc version :
mplayer version (stable of unmasked) : |
|
Back to top |
|
|
Instinct n00b
Joined: 02 Aug 2002 Posts: 74
|
Posted: Fri Dec 20, 2002 1:49 am Post subject: Re: more info |
|
|
xcable wrote: | I have used mplayer (several versions) and have come accross many problems (all solved), but i need more info on you system.
|
video dirver : nvidia 4191
gui : waimea
sound system : ALSA sb16pnp (yeah I know)
X11 version : 4.2.0
video output (vx, X11, etc...): Normaly xv, tried gl2
gcc flags (from make.conf) : built last with: -march=i686 -O1 -pipe
gcc version : 2.95.3
mplayer version (stable of unmasked) : .90-RC1
I've tried building it with different -O settings... 0 won't compile, 1-4 seem to all be the same in terms of unstability. The gui is currently unusable because it will crash X.. as for the lockups while playing they happen with any -ao output, including null, and for -vo I've used xv, gl2, x11, sdl all lock up the same. |
|
Back to top |
|
|
xcable Guru
Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Fri Dec 20, 2002 3:59 am Post subject: upgrade gcc |
|
|
You probably need to upgrade to gcc 3.2.1. Some programs had to change to make them compatable with gcc 3. Gcc 2 and Gcc 3 are different (the API changed quite a bit). This may fix it. Also gcc 3.2.1 does a better job of compile code, and you get more options of optimization.
cable |
|
Back to top |
|
|
mmealman Guru
Joined: 02 Nov 2002 Posts: 348 Location: Florida
|
Posted: Fri Dec 20, 2002 5:28 am Post subject: |
|
|
Could be be that a lib mplayer was using was compiled with -O4 and is what is causing the instability? |
|
Back to top |
|
|
Warriors Prayer n00b
Joined: 11 Nov 2002 Posts: 30 Location: http://localhost
|
Posted: Sun Dec 22, 2002 2:31 pm Post subject: |
|
|
hi,
-O4 does not exist, -O3 ist the highest level. Read man gcc for details. _________________ Abit KT7A RAID, Athlon 1333, 384 MB RAM
Geforce 4, SB Live, Realtek 8139, DAWI 2976 UW
2x Maxtor 34098 H4 RAID0
WD 1000 BB hda
Plextor 1610A ATAPI, Pioneer DVD 303S SCSI
1.4 RC2, Gnome2.2, German |
|
Back to top |
|
|
hhaamu Apprentice
Joined: 23 Aug 2002 Posts: 253 Location: Finland
|
Posted: Sun Dec 22, 2002 3:22 pm Post subject: |
|
|
Warriors Prayer wrote: |
-O4 does not exist, -O3 ist the highest level. Read man gcc for details. |
-O4 does exist. You can even compile programs with -O9, and it optimizes like hell. The problem with higher-than-O3 is that the code may stop doing what it's supposed to do due to the high optimizations.
-O2 and -O3 are mostly safe for everything |
|
Back to top |
|
|
Warriors Prayer n00b
Joined: 11 Nov 2002 Posts: 30 Location: http://localhost
|
Posted: Mon Dec 23, 2002 7:14 pm Post subject: |
|
|
hi,
ok, so if -O9 does exist, which additional flags does it contain? _________________ Abit KT7A RAID, Athlon 1333, 384 MB RAM
Geforce 4, SB Live, Realtek 8139, DAWI 2976 UW
2x Maxtor 34098 H4 RAID0
WD 1000 BB hda
Plextor 1610A ATAPI, Pioneer DVD 303S SCSI
1.4 RC2, Gnome2.2, German |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Wed Dec 25, 2002 9:44 am Post subject: |
|
|
well, he's right. I assume -O4 would just disable the optimisations...
GCC Man Page wrote: | Code: |
Optimization Options
-falign-functions=n -falign-jumps=n -falign-labels=n -falign-loops=n -fbounds-check -fbranch-probabilities -fcaller-saves -fcprop-registers -fcse-follow-jumps -fcse-skip-blocks -fdata-sections -fdelayed-branch -fdelete-null-pointer-checks -fexpensive-optimizations -ffast-math -ffloat-store -fforce-addr -fforce-mem -ffunction-sections -fgcse -fgcse-lm -fgcse-sm -finline-functions -finline-limit=n -fkeep-inline-functions -fkeep-static-consts -fmerge-constants -fmerge-all-constants -fmove-all-movables -fno-branch-count-reg -fno-default-inline -fno-defer-pop -fno-function-cse -fno-guess-branch-probability -fno-inline -fno-math-errno -fno-peephole -fno-peephole2 -funsafe-math-optimizations -fno-trapping-math -fomit-frame-pointer -foptimize-register-move -foptimize-sibling-calls -fprefetch-loop-arrays -freduce-all-givs -fregmove -frename-registers -frerun-cse-after-loop -frerun-loop-opt -fschedule-insns -fschedule-insns2 -fno-sched-interblock -fno-sched-spec -fsched-spec-load -fsched-spec load-dangerous -fsingle-precision-constant -fssa -fssa-ccp -fssa-dce -fstrength-reduce -fstrict-aliasing -fthread-jumps -ftrapv -funroll-all-loops -funroll-loops --param name=value -O -O0 -O1 -O2 -O3 -Os |
|
*shrug* maybe it works on the 2.95.5. compiler... |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
|
Back to top |
|
|
|