Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No transparancy/alpha channel in X
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
dirk.dierckx
n00b
n00b


Joined: 24 Jun 2003
Posts: 18
Location: Belgium

PostPosted: Mon Nov 17, 2003 7:21 pm    Post subject: No transparancy/alpha channel in X Reply with quote

all things that need an alpha channel (e.g. a window frame with rounded corners, the icons used for drag and drop, the default theme for gkrellm, etc.) aren't transparent but contain random pixels in those areas of the window

i tried to find some info on the web, but the only thing that i've found about this subject is that it needs the RENDER extension, which is running on my X server

can somebody help me out?

many thanx in advance,
dirk
Back to top
View user's profile Send private message
Verteron
Apprentice
Apprentice


Joined: 23 Jul 2003
Posts: 189

PostPosted: Mon Nov 17, 2003 8:18 pm    Post subject: Reply with quote

XRender only works inside windows, it's what's used to do font antialiasing. There is currently no way to do true alpha channel compositing in X Windows.

You either need to check out alternatives like XDirectFB (not great), wait for Xouvert to get its act together, use a system that fakes it (like QT) or wait until FreeDesktop.org gets their XServer extensions sorted out (don't know when this will be).
Back to top
View user's profile Send private message
epx
n00b
n00b


Joined: 30 Apr 2003
Posts: 68

PostPosted: Mon Nov 17, 2003 11:15 pm    Post subject: Reply with quote

You can get a working version from there website (via cvs) right now. There was a story about it on slashdot.
Back to top
View user's profile Send private message
mackstann
n00b
n00b


Joined: 12 Jun 2003
Posts: 50
Location: Iowa, US

PostPosted: Mon Nov 17, 2003 11:29 pm    Post subject: Reply with quote

Your problems sound related to the shape extension. That's what lets windows be shapes other than rectangles. As Verteron said, there is no alpha channel in XFree, those pixels are basically just chopped off of the windows by the shape extension.
Back to top
View user's profile Send private message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Tue Nov 18, 2003 6:49 am    Post subject: Reply with quote

*trumpet* doo duh doo! Stu to the rescue! Click they eye candy link in my sig. There's an ebuild on the forums, search for it.
_________________
old outdated sig
Back to top
View user's profile Send private message
dirk.dierckx
n00b
n00b


Joined: 24 Jun 2003
Posts: 18
Location: Belgium

PostPosted: Tue Nov 18, 2003 8:12 am    Post subject: Reply with quote

... and how can one tell x to load this SHAPE extension?

regards,
dirk
Back to top
View user's profile Send private message
dmitchell
Veteran
Veteran


Joined: 17 May 2003
Posts: 1159
Location: Austin, Texas

PostPosted: Tue Nov 18, 2003 8:21 am    Post subject: Reply with quote

From the XF86Config manpage,

Quote:
It is recommended that at very least the "extmod" extension module be loaded. If it isn't some commonly used server extensions (like the SHAPE extension) will not be available.

_________________
Your argument is invalid.
Back to top
View user's profile Send private message
dirk.dierckx
n00b
n00b


Joined: 24 Jun 2003
Posts: 18
Location: Belgium

PostPosted: Tue Nov 18, 2003 9:21 am    Post subject: Reply with quote

i don't have access to the system where i've the SHAPE problems right now but i suppose my XF86Config file needs to include the SubSection "extmod" in Section "Module", i'll try it as soon as i'm back home

many thanks for all the help :)
dirk
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