2.6.38-rc echo 3 > /proc/sys/vm/drop_caches repairs mplayer distortions
Since the start of the start of 2.6.38-rc I sporadic have problems with mplayer. A mpeg stream sometimes gets distorted when mplayer starts. An example is at http://www.xs4all.nl/~bruinjm/mplayer.png . I do not know how to trigger the behaviour, so bissecting is not possible. Since yesterday however I found a way to 'repair' mplayer:
echo 3 > /proc/sys/vm/drop_caches
This repairs mplayer while it is running. My latop is runs on nfsroot, and the mpegstreams are payed over nfs or http. I can have two instances of mplayer running the same mpeg stream over nfs or http with only one instance distorded.
Signature · 1 line
Hans
linux-mm cc'd
Quoted 9 lines · Hans de Bruin
Since the start of the start of 2.6.38-rc I sporadic have problems with mplayer. A mpeg stream sometimes gets distorted when mplayer starts. An example is at http://www.xs4all.nl/~bruinjm/mplayer.png . I do not know how to trigger the behaviour, so bissecting is not possible. Since yesterday however I found a way to 'repair' mplayer:
echo 3 >
/proc/sys/vm/drop_cachesThis repairs mplayer while it is running.
While echo is running? Or does one cache drop fix the problem until mplayer exits? Could you describe exactly the steps you are going through and the effects they have?
Thanks!
Quoted 12 lines
My latop is runs on nfsroot, and the mpegstreams are payed over nfs or http. I can have two instances of mplayer running the same mpeg stream over nfs or http with only one instance distorded.
Signature · 7 lines
Hans -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Johannes Weiner
linux-mm cc'd
Quoted 6 lines · Hans de Bruin
Since the start of the start of 2.6.38-rc I sporadic have problems with mplayer. A mpeg stream sometimes gets distorted when mplayer starts. An example is at http://www.xs4all.nl/~bruinjm/mplayer.png . I do not know how to trigger the behaviour, so bissecting is not possible. Since yesterday however I found a way to 'repair' mplayer:
Quoted 8 lines
Quoted 3 lines
echo 3>
/proc/sys/vm/drop_cachesThis repairs mplayer while it is running.
While echo is running? Or does one cache drop fix the problem until mplayer exits? Could you describe exactly the steps you are going through and the effects they have?
mplayer either starts with a corrupt screen or not. Without interference
there are no switches from good to bad or the other way around. When I
run echo 3> ... its completes in a blink of an eye and at the same time the mplayer screen switches from bad to good.
In an earlier snapshot I made (http://www.xs4all.nl/~bruinjm/earlier.png) you can see (if you ignore the starship) two mplayers playing the same file. The colors look the same. The contens on the bad window is moving horizontaly.
sometimes restarting mplayer helps, some times not. When its not the corrupt screens are persistent. clearing the cache between running seems mplayer seems to help in these cases (although I only tested this ones).
The 8mbit/s videocapture streams to have a much higher change of going wrong than 1mbit/s streams from other sources.
The first incident was at 26-jan the second at 7-feb. I use mplayer to watch the news 4 times a week. so its not failing often. At 26-jan my tree was at commit 6663050 (I pull and rebuild every day)
only mplayer is misbehaving. My other two favorite programs firefox and thunderbird work fine and I have not seen corrupt files.
Signature · 10 lines
Hans -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>