You are not logged in.

#1 2008-04-13 01:17:03

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Smplayer and compiz : black window ?

Hi,

I can't play a video with Smplayer under compiz (black window, I only hear the sound). In fact I can play it once, when I want to play it a twice it is a forever black window. I tried with X11 instead of xv and no result.
What is weird is that there is no problem with mplayer...

Am I alone ?

Last edited by Bapman (2008-05-08 14:36:09)

Offline

#2 2008-04-19 02:00:23

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: Smplayer and compiz : black window ?

Bapman wrote:

Hi,

I can't play a video with Smplayer under compiz (black window, I only hear the sound). In fact I can play it once, when I want to play it a twice it is a forever black window. I tried with X11 instead of xv and no result.
What is weird is that there is no problem with mplayer...

Am I alone ?

No, I have this same problem.

Offline

#3 2008-04-30 17:44:16

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: Smplayer and compiz : black window ?

Ok cool !

I have discovered that the video gets back after I minimize SMplayer window and restore it ! I now use SMplayer this way !

Offline

#4 2008-04-30 19:12:21

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: Smplayer and compiz : black window ?

Ok I solved the problem thanks to the developer of the program, see : http://smplayer.berlios.de/forums/viewtopic.php?id=454

Here is my PKGBUILD with the "fix" for compiz (and it is the latest version of SMPlayer) :

# $Id: PKGBUILD,v 1.2 2008/02/03 14:10:11 varun Exp $
# Maintainer: Varun Acharya <varun@archlinux.org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Contributor: shamrok <szamrok@gmail.com>
 
pkgname=smplayer
pkgver=0.6.0rc4
pkgrel=1
pkgdesc="A complete front-end for MPlayer" 
arch=('i686' 'x86_64')
url="http://smplayer.sourceforge.net/" 
license=('GPL')
depends=('qt' 'mplayer')
conflicts=('smplayer-qt4')
replaces=('smplayer-qt4')
provides=('smplayer-qt4')
source=(http://downloads.sourceforge.net/sourceforge/smplayer/$pkgname-$pkgver.tar.bz2) 
install=(smplayer.install)

build() { 
     cd $startdir/src/$pkgname-$pkgver/src

     sed -i 's/NEW_RESIZE_CODE 1/NEW_RESIZE_CODE 0/' guiconfig.h

     cd $startdir/src/$pkgname-$pkgver

     make PREFIX=/usr || return 1 
     make PREFIX=$startdir/pkg/usr install     

     mkdir -p $startdir/pkg/usr/share/pixmaps
     ln -s /usr/share/icons/hicolor/64x64/apps/smplayer.png \
            $startdir/pkg/usr/share/pixmaps/
}

Offline

#5 2008-05-08 14:40:20

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: Smplayer and compiz : black window ?

I posted the issue on Compiz forums, following my discussion with SMPlayer developer.
Compiz devs can't reproduce this problem. For them, everything is doing well... Can people with this issue post their configuration ?

I am running a Geforce 8400 Mobility with proprietary drivers.

Offline

Board footer

Powered by FluxBB