Since I have compiz running, I can't scale videos in mplayer anymore. Some slight scaling up to ~120% is possible, but some few % too much and the framerate immediately drops to almost nothing. I use the gl2 output. Without compiz same videos remain scalable. I don't know whether its compiz or mplayer or the combination of it. Reproducible: Always Steps to Reproduce: 1. have compiz running 2. start mplayer with gl2 video output 3. go to fullscreen / scale window Actual Results: framerate drops < 1 fps Expected Results: smooth video decoding mplayer/compiz use flags: [ebuild R ] media-video/mplayer-1.0_rc2_p28058-r1 USE="3dnow 3dnowext X a52 aac alsa arts ass dts dvd encode gif gtk iconv jpeg mad mmx mmxext mp3 opengl png quicktime sdl sse sse2 theora truetype unicode vorbis win32codecs x264 xscreensaver xv xvid xvmc -aalib (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -dirac -directfb -doc -dv -dvb (-dvdnav) -dxr3 -enca -esd -fbcon -ftp -ggi -ipv6 -jack -joystick -ladspa -libcaca -lirc -live -lzo -md5sum -mng -mp2 -musepack -nas -nemesi -openal -oss -pnm -pulseaudio -pvr -radio -rar (-real) -rtc -samba -schroedinger -speex -ssse3 -svga -teletext -tga -v4l -v4l2 -vidix -xanim -xinerama -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB [ebuild R ] x11-wm/compiz-0.6.2 USE="dbus svg -debug -gnome -kde" 1,743 kB emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r7-i686-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.0 Timestamp of tree: Sun, 01 Feb 2009 15:45:01 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d /usr/share/X11/xkb" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" FEATURES="autoclean distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE" LC_ALL="de_DE" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/mnt/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa arts berkdb bluetooth bzip2 cairo cli cracklib crypt cups cupsddk dbus diskio divx dmi dri dts dvd dvdr dvdread encode exif ffmpeg firefox fortran gcj gdbm gif gimp glitz gphoto2 gpm gtk gtk2 hal hbci hou iconv imagemagick irmc isdnlog java java5 javascript jikes jpeg jpeg2k kipi libnotify lm_sensors logrotate midi mikmod mjpeg mmx mmxext mp3 mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ofx ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection rle scanner sdl session snmp sou sound spl sse sse2 ssl startup-notification svg sysfs syslog tcpd tiff timidity tk truetype type1 unicode usb visualization vorbis win32codecs wma wmf wmp x264 x86 xcomposite xfce xorg xulrunner xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Expletives won't help.
What if you use another vo?
I'm not a compiz user, though there has been some talk about it on the nvidia forums. Seems you need to use some Nvidia/OpenGL/Compiz specific VBlank Syncing settings, described at: http://www.nvnews.net/vbulletin/showpost.php?p=1724807&postcount=16 referenced by http://www.nvnews.net/vbulletin/showpost.php?p=1914816&postcount=6. Could you try those out, test a bit around, see if it helps?
> Seems you need to use some Nvidia/OpenGL/Compiz specific VBlank Syncing > settings, described at: > http://www.nvnews.net/vbulletin/showpost.php?p=1724807&postcount=16 > > Could you try those out, test a bit around, see if it helps? Tried it out and it actually did help. Thanks for pointing me in the right direction. Following the steps on the referenced page I simply added "nvidia-settings -l" to my compiz startup script and now it works with gl and gl2 output drivers.