Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.4 transparency
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
anarhistu
n00b
n00b


Joined: 11 Mar 2005
Posts: 21
Location: Cluj-N, Romania

PostPosted: Fri Mar 25, 2005 7:44 am    Post subject: KDE 3.4 transparency Reply with quote

I understand that kde 3.4 supports real transparency (not that bitmap simulations that I have seen till now).

Is this true?And has anyone managed to get real transparent windows?

I would like to know what version of x I need for this.

Thanks,
_________________
Any sufficiently advanced technology is insufficiently documented :D
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Fri Mar 25, 2005 7:50 am    Post subject: Reply with quote

IIRC you need x11-misc/xcompmgr, x11-misc/transset, >= xorg-x11-6.8.0 and a section
Code:
Section "extensions"
        Option "Composite"      "enable"
EndSection
in /etc/X11/xorg.conf
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Fri Mar 25, 2005 7:51 am    Post subject: Reply with quote

Works fine here with xorg-x11-6.8.2...

You might like to look at these instructions at the Gentoo-Wiki
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
anarhistu
n00b
n00b


Joined: 11 Mar 2005
Posts: 21
Location: Cluj-N, Romania

PostPosted: Fri Mar 25, 2005 8:47 am    Post subject: Reply with quote

Thanks for the replies, ppl.
I'll look into the wiki for documentation.
_________________
Any sufficiently advanced technology is insufficiently documented :D
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Fri Mar 25, 2005 9:24 am    Post subject: Reply with quote

Earthwings wrote:
IIRC you need x11-misc/xcompmgr, x11-misc/transset, >= xorg-x11-6.8.0 and a section


I think kwin comes with a built in composite manager in 3.4. so just search through kcontrol.
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Fri Mar 25, 2005 12:55 pm    Post subject: Reply with quote

yes... it has a build in composition manager.. and it works great.. the only thing I can't do is running 3d apps having the compmgr running or X will crash... I'm on an nvidia card btw...
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Fri Mar 25, 2005 12:58 pm    Post subject: Reply with quote

nxsty wrote:
Earthwings wrote:
IIRC you need x11-misc/xcompmgr, x11-misc/transset, >= xorg-x11-6.8.0 and a section


I think kwin comes with a built in composite manager in 3.4. so just search through kcontrol.

nxsty is correct, you do not need xcompmgr and/or transset to use kde's built-in transparency manager.

It works here but even 2D screen redraws are awfully slow. Using SiS 300/305 video card.
Back to top
View user's profile Send private message
gregw
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2004
Posts: 106
Location: Warrington, Cheshire, England

PostPosted: Fri Mar 25, 2005 1:00 pm    Post subject: Reply with quote

Earthwings wrote:
IIRC you need x11-misc/xcompmgr, x11-misc/transset, >= xorg-x11-6.8.0 and a section
Code:
Section "extensions"
        Option "Composite"      "enable"
EndSection
in /etc/X11/xorg.conf


I've one system P4/1.4G with this option set and the destop is really slow now. even typing in a konsole is slow. :(
If I remove the settings from xorg.conf it runs fine again.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Fri Mar 25, 2005 1:01 pm    Post subject: Reply with quote

gregw wrote:
I've one system P4/1.4G with this option set and the destop is really slow now. even typing in a konsole is slow. :(
If I remove the settings from xorg.conf it runs fine again.

I disagree here. Maybe you have the "use transparency and shadows" turned on in kcontrol?

I turned that option off in kcontrol, but left my xorg.conf unchanged. And my system is back to normal speed.
Back to top
View user's profile Send private message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Sun Mar 27, 2005 5:04 am    Post subject: Reply with quote

This is what I did :

add this into /etc/X11/xorg.conf

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection

Than enable kde composite manager. It is serious eye candy, now I don't need to buy a mac, but there is still a lacking of good mac expose program in linux. The X composite is quite slow at times, probably will improve in the next update.
_________________
E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo
Back to top
View user's profile Send private message
anarhistu
n00b
n00b


Joined: 11 Mar 2005
Posts: 21
Location: Cluj-N, Romania

PostPosted: Mon Mar 28, 2005 10:15 am    Post subject: Reply with quote

Ok, I couldn't find the kde composite manager.Where do i look for it?

Does it work better with the xorg xorg composite manager?
I mean, xcompmgr and transset....
Or should I use kde's built in??

Is it accelerated by the graphics card?
_________________
Any sufficiently advanced technology is insufficiently documented :D
Back to top
View user's profile Send private message
Levi
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2003
Posts: 107

PostPosted: Mon Mar 28, 2005 10:26 am    Post subject: Reply with quote

You can find it in the kde control center->window behaviour->translucency.
I tried it, but I can't work with it, the system becomes very slow over time.
besides, this adds shadows to gdesklets, superkaramba-themes and osd-displays which looks really stupid...

Btw.: you can get glx support with composite enabled by adding
Option "AllowGLXWithComposite" "true"
to the device-section of your graphic card. At least for my nvidia-card this works.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Mon Mar 28, 2005 11:31 am    Post subject: Reply with quote

Levi wrote:
besides, this adds shadows to gdesklets, superkaramba-themes and osd-displays which looks really stupid...

You can turn off the shadows. There is an entire sub-tab devoted to that!
Levi wrote:
Btw.: you can get glx support with composite enabled by adding
Option "AllowGLXWithComposite" "true"
to the device-section of your graphic card. At least for my nvidia-card this works.

Does it accelerate the translucency somewhat?
Back to top
View user's profile Send private message
Levi
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2003
Posts: 107

PostPosted: Mon Mar 28, 2005 11:42 am    Post subject: Reply with quote

kimchi_sg wrote:
You can turn off the shadows. There is an entire sub-tab devoted to that!


Yes, of course I can, but only for all windows, not for single windows individually.

kimchi_sg wrote:
Does it accelerate the translucency somewhat?


Nope, not that I noticed, afaik its only there so you can use the glx- and composite-extensions at the same time.
Back to top
View user's profile Send private message
jfb3
Apprentice
Apprentice


Joined: 01 Feb 2003
Posts: 242

PostPosted: Tue Mar 29, 2005 5:28 am    Post subject: Reply with quote

lenk wrote:
...but there is still a lacking of good mac expose program in linux.


Have your tried kompose?
Code:
kde-misc/kompose-0.5.1


I've used it for quite some time now and really like it.
Back to top
View user's profile Send private message
nbkolchin
Apprentice
Apprentice


Joined: 07 Feb 2004
Posts: 290
Location: Russia, Saint-Petersburg

PostPosted: Tue Mar 29, 2005 7:00 am    Post subject: Reply with quote

My experience with KDE kompmgr (xcompmgr is same bullshit):

  • Most 3D applications crash kompmgr/xcompmgr.
  • Some SDL applications (wesnoth) crash kompmgr/xcompmgr.
  • wmdock applets work strange: random color background.
  • Blender/Maya work, but parts of desktop rise on top the window at random time.
  • X11 can go in hard freeze at any time.
  • mplayer XV output don't work.


So, "Composite" is unusable at present time.

Hardware:
Quote:

xorg-x11-6.8.2-r1 nvidia-kernel-1.0.7167-r1 nvidia-glx-1.0.7167-r1 kde-meta-3.4.0,
nForce2 chipset,
GeForce4 Ti 4200
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Tue Mar 29, 2005 7:21 am    Post subject: Reply with quote

kompmgr is a fork of xcompmgr with some patches to make it work better/have more configuration options. xcompmgr hasn't been modified in a while, so it's almost certainly better to use kompmgr if you're using KDE.

Both kompmgr and xcompmgr are relatively slow on all but some of the fastest cards today. I have a GeForce3, which should have enough horsepower to draw transparent windows, but moving anything bigger than a terminal tends to lag. Render acceleration just isn't up to snuff for this stuff, even with nVidia's drivers.

There was recently a story on dot.kde.org about a guy going to work for Trolltech specifically to work on interesting new graphical technologies for Qt and KDE. Hopefully he or someone else will lead to a better composite manager being included in KDE in the future. I'd really like to see something like Luminocity on the KDE end, where the composite manager is embedded in the window manager (prevents needless duplication of information and communication issues between the cm and wm), and which uses OpenGL for the drawing (way faster on almost everything, and allows for more visually pleasing effects; of course, nVidia will have to solve the freezes caused by using glx and composite together before I can actually use such a beast).

Unfortunately, I don't have the skills to hack up something like that right now. :)
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
Tlaloc
Guru
Guru


Joined: 21 Feb 2005
Posts: 451
Location: Europe - Alps - Tyrol

PostPosted: Tue Mar 29, 2005 7:27 am    Post subject: Reply with quote

For me at the moment it has also too much quirks. It is also quite slow and the screen sometimes isn't redrawn properly, or maximized windows are not shown totally. What are your expriences with memory usage? For me after a bit of work it goes from my normally used 120 to over 300 MByte. But I suppose that translucency and shadows inherenty are memory hungry technologies.
Nethertheless I am eager to see further evolutions of this in KDE and Xorg as I really could like it 8) and if it wasn't for the momentary slowlyness translucency for me are a plus also in usability somehow, not only eye candy.

Bye, Valentin.
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Tue Mar 29, 2005 7:13 pm    Post subject: Reply with quote

Grrr, got translucency working fine on my other laptop with a nvidia graphics card, but the one with an ati card keeps crashing compmngr on loading up KDE and thus it gets disabled. I also get an error "no damage extension". What ever that means?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum