Recently I have updated my video drivers and at last was able to run mplayer with vo=gl2 on compiz. The problem is: there is no text in mplayer at all! No OSD, no subtitles, nothing. What I've tried so far to solve this:
1. Rolled back to vo=xv. OSD and subs are there, but video flickers awfully when I'm trying to move mplayer window, change desktop, etc.
2. Played with ccsm "Render text to texture" and "Video" options. No effect.
3. Used vdpau for vo. Hmm, text is there, but mplayer does not respect -subfont-osd-scale and -subfont-text-scale options in config file. Text though is HUGE. Also, "subcp=enca:ru:en" entry in the config file is ignored completely. But, when I launch mplayer with vo=vdpau AND -subfont-osd-scale 2 -subfont-text-scale=2 -subcp enca:ru:en from the console, it is magically working.
4. Activated -ass switch (my subtitles are in srt format). Oh, now I can see subtitles (which are ugly yellow), but NOT the OSD.
So, my only solution so far is to create alias for mplayer in bash, which is just temporary, because not all video codecs in mplayer are supporting vdpau.
Any help will be appreciated. I've googled for an hour with keywords "mplayer compiz text osd" without any result.