Login  Register

Re: JOGL application on a compositing window manager issue

Posted by Sven Gothel on Oct 09, 2012; 5:21am
URL: https://forum.jogamp.org/JOGL-application-on-a-compositing-window-manager-issue-tp4026446p4026447.html

On 10/09/2012 07:10 AM, gregirvine [via jogamp] wrote:
> Has anyone tried running a GL application with a compositing window manager?
>  (e.g. xcompmgr, metacity, compiz...)?
Yes, KDE here .. actually all the time (kubuntu, Debian wheeze).

I also tried the Ubuntu default, I guess it's using compiz. Works as well.

>
> It's needed to achieve trans(parent/lucent) windows on Linux.
Works flawless w/ setting opaque to false in [GL]Capabilities.
Ofc you should also ask for alpha (alpha bits >= 1)
and dimm it a bit (ClearColor ..), looks in GearsES2.
TestGearsES2NEWT (see commandline) shows you how it works.

>
> I've managed to get xcompmgr running on my RHEL4 machine and it's working - I
> get nice fade in/out of windows opening and closing, however no GL application
> redraws properly - i.e. it renders initiially (<1sec) then no automatic
> refreshing.  It occurs with glxgears as well as my JOGL1.1.1 and JOGL2 ports
> of my application.  The only way to get it to refresh is through forced
> exposure events by moving a window over the canvas.
Sounds like a RHEL4 issue.

>
> I know this isn't specific to JOGL but I assume someone else out there is
> using compositing window managers.

See above.

~Sven


signature.asc (907 bytes) Download Attachment