You are not logged in.

#1 2010-07-31 06:47:01

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

xcompmgr + mplayer fullscreen = lag, flicker

Hello!

What I want to have:
>a (real) transparent terminal in openbox, maybe some nice effects like transparent desktop-menu

What I did:
>installed
extra/xorg-server 1.8.1.902-1
new_xvba/mplayer-vaapi 20100713-3
catalyst/catalyst 10.7-1
aur/xcompmgr-dana 20091025-4

What is the problem:
>in mplayer fullscreen the image framerate gets very slow, it lags, its just not as nice as without xcompmgr
this happens with gl,xv, vaapi output..


Are there any solutions?
I tried cairo-compmgr, but it slows down my whole desktop (just everything, when I switch from x-render to software-render my desktop is destroyed)

Compiz works fine for me, but I cant use it with openbox.. sad

Last edited by cyberius (2010-07-31 06:47:26)

Offline

#2 2010-07-31 07:36:07

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: xcompmgr + mplayer fullscreen = lag, flicker

mplayer (and xine if I remeber right) did not play well with xcompmgr here as well. For some time I did use a short wrapper script  which disabled composition before mplayer was called and restarted xcompmgr later.

But as now I don't use composition any more. wink


To know or not to know ...
... the questions remain forever.

Offline

#3 2010-08-07 06:45:35

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

Re: xcompmgr + mplayer fullscreen = lag, flicker

Hello

what is the newest xcompmgr?
There are xcompmgr-git and xcompmgr-dana avaible..

Last edited by cyberius (2010-08-07 07:54:21)

Offline

#4 2010-08-07 09:44:40

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: xcompmgr + mplayer fullscreen = lag, flicker

have you the hardware 3d support ?

check it with:

glxgears

for five seconds
and

glxinfo | grep direct

and post the output


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#5 2010-08-07 14:46:42

cyberius
Member
From: Germany
Registered: 2008-08-30
Posts: 97

Re: xcompmgr + mplayer fullscreen = lag, flicker

By the way, it is the same with vlc (fullscreen causes flickering)

With Catalyst Setting "Always vertical sync = on" (i think its written in the wiki that this setting is good?)
*****************

[ ~]$ glxgears 
304 frames in 5.0 seconds = 60.766 FPS
300 frames in 5.0 seconds = 59.879 FPS
300 frames in 5.0 seconds = 59.881 FPS
[ ~]$ glxinfo | grep direct
direct rendering: Yes
    GL_EXT_copy_buffer, GL_EXT_copy_texture, GL_EXT_direct_state_access, 


With the setting "always off, unless application desires.."
*****************

~]$ glxgears 
28502 frames in 5.0 seconds = 5700.230 FPS
28478 frames in 5.0 seconds = 5695.472 FPS
~]$ fglrxinfo 
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4800 Series        
OpenGL version string: 3.3.10057 Compatibility Profile Context

Last edited by cyberius (2010-08-07 14:50:29)

Offline

#6 2010-08-07 15:37:38

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: xcompmgr + mplayer fullscreen = lag, flicker

good, with first settings something is broken.... 60fps are too low .... also because you have a HD4800 series...

ok, if you try mplayer in fullscreen with the ''always off...'' settings and report the CPU use


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#7 2010-08-07 16:08:56

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: xcompmgr + mplayer fullscreen = lag, flicker

nTia89 wrote:

good, with first settings something is broken.... 60fps are too low .... also because you have a HD4800 series...

that's because of the vsync, it syncs to the monitor refresh rate, which in this case is 60Hz.

Last edited by Soumyadeep (2010-08-07 16:10:03)

Offline

Board footer

Powered by FluxBB