Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL (Part 4)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 31, 32, 33 ... 38, 39, 40  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Fri May 26, 2006 2:53 am    Post subject: Reply with quote

younker wrote:
Just a curious, when will compiz support application mode, I enabled trailfocus plugin, but when I use gimp, when I open an effective dialog, the main editor window will be set transparent, I can't view the preview clearly.

So is there a plan to support application mode in compiz?

Trailfocus isn't part of vanilla compiz, it's one of the plugins added by the QuinnStorm devs. So you might put in a request for this at the compiz forums as I don't recall seeing it discussed there.

Another question is, should compiz try to figure this out, or should the application be compiz-aware and request that its different types of windows be treated in specific ways?
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Fri May 26, 2006 3:16 am    Post subject: Reply with quote

younker wrote:
Just a curious, when will compiz support application mode, I enabled trailfocus plugin, but when I use gimp, when I open an effective dialog, the main editor window will be set transparent, I can't view the preview clearly.

So is there a plan to support application mode in compiz?


I added "Gimp" to the exclude list in trailfocus and none of the Gimp
windows become transparent any longer.

/apps/compiz/plugins/trailfocus/screen0/options/exclude

Make sure to add it with upper case "G"

Also when working with an app, and don't want to deal with adding it
to the exclude, you can use the the Alt + mouse wheel to adjust opacity
and it will stay at that setting till you close that app and reopen it.
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Fri May 26, 2006 4:10 am    Post subject: Reply with quote

Jupiter1TX wrote:
I added "Gimp" to the exclude list in trailfocus and none of the Gimp
windows become transparent any longer.


Hey Jupiter1TX,

I think this is only a workaround, not what I think younker was asking for. You could still want Gimp as a whole to become transparent when you have some other application active. Trailfocus's strength is making a clear, even dramatic distinction between the active window and others so putting major apps in the exclude list reduces its functionality.

But it can get complicated -- you want Gimp treated this way because all those little toolbars and other windows need to be clearly visible while you're working, but do you want multiple web browser windows treated the same way? Or multiple OpenOffice documents? At some point this gets addressed by Xgl/AIGLX-aware apps, but in the meantime it would be nice to have a choice for all of an application's windows to be treated as a single entity.
Back to top
View user's profile Send private message
younker
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 280
Location: China

PostPosted: Fri May 26, 2006 4:21 am    Post subject: Reply with quote

sternklang wrote:
Jupiter1TX wrote:
I added "Gimp" to the exclude list in trailfocus and none of the Gimp
windows become transparent any longer.


Hey Jupiter1TX,

I think this is only a workaround, not what I think younker was asking for. You could still want Gimp as a whole to become transparent when you have some other application active. Trailfocus's strength is making a clear, even dramatic distinction between the active window and others so putting major apps in the exclude list reduces its functionality.

But it can get complicated -- you want Gimp treated this way because all those little toolbars and other windows need to be clearly visible while you're working, but do you want multiple web browser windows treated the same way? Or multiple OpenOffice documents? At some point this gets addressed by Xgl/AIGLX-aware apps, but in the meantime it would be nice to have a choice for all of an application's windows to be treated as a single entity.


Yes, that is what I want, I noticed that metacity has this option through gconf, but currently it is not implemented.
so I think compiz should support this feature.
Back to top
View user's profile Send private message
faugusztin
n00b
n00b


Joined: 15 May 2005
Posts: 47

PostPosted: Fri May 26, 2006 7:24 am    Post subject: Re: Swing ? Reply with quote

faugusztin wrote:
Maybe i overseen something, but is there a solution for Swing applications in Xgl ? I use few of them and all have problems displaying their contents (ie i get a window with background color of app, but without controls, menu etc). Of course i can start them in Xnest, where they run fine, but Xnest is too much unstable for me (it crashes for example when i move to another "desktop" via Ctrl+Alt+Left or Right - not allways, but often).


Reply to myself - sun-jdk-1.4 works, sun-jdk-1.5 doesn't.
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Fri May 26, 2006 1:35 pm    Post subject: Reply with quote

sternklang wrote:
Jupiter1TX wrote:
I added "Gimp" to the exclude list in trailfocus and none of the Gimp
windows become transparent any longer.


Hey Jupiter1TX,

I think this is only a workaround, not what I think younker was asking for. You could still want Gimp as a whole to become transparent when you have some other application active. Trailfocus's strength is making a clear, even dramatic distinction between the active window and others so putting major apps in the exclude list reduces its functionality.

But it can get complicated -- you want Gimp treated this way because all those little toolbars and other windows need to be clearly visible while you're working, but do you want multiple web browser windows treated the same way? Or multiple OpenOffice documents? At some point this gets addressed by Xgl/AIGLX-aware apps, but in the meantime it would be nice to have a choice for all of an application's windows to be treated as a single entity.


Thanks sternklang for the excellant explanation.
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Fri May 26, 2006 1:55 pm    Post subject: Re: Swing ? Reply with quote

faugusztin wrote:
faugusztin wrote:
Maybe i overseen something, but is there a solution for Swing applications in Xgl ? I use few of them and all have problems displaying their contents (ie i get a window with background color of app, but without controls, menu etc). Of course i can start them in Xnest, where they run fine, but Xnest is too much unstable for me (it crashes for example when i move to another "desktop" via Ctrl+Alt+Left or Right - not allways, but often).


Reply to myself - sun-jdk-1.4 works, sun-jdk-1.5 doesn't.


As does Blackdown JRE.
Back to top
View user's profile Send private message
enzobelmont
Guru
Guru


Joined: 06 Apr 2004
Posts: 345
Location: Chiapas, Mexico

PostPosted: Fri May 26, 2006 9:57 pm    Post subject: Reply with quote

why my tvtime looks wreid in xgl???

i've bt878 based tv card

sorry my english... :wink:
_________________
Mens sana in corpore sano... Gentoo laetificat cor hominis
Back to top
View user's profile Send private message
reflex
n00b
n00b


Joined: 07 Jul 2005
Posts: 38

PostPosted: Sat May 27, 2006 6:44 am    Post subject: Reply with quote

i get the following after launching mplayer with a video (with any -vo):
Code:
Xlib: extension "XFree86-DRI" missing on display ":1.0".
compiz: stack smashing attack in function handleEvent()


however this may be due to some compile issues, i think i should change my use flags.
Back to top
View user's profile Send private message
ashtophet
Guru
Guru


Joined: 08 Aug 2004
Posts: 397

PostPosted: Sat May 27, 2006 8:35 am    Post subject: Reply with quote

enzobelmont wrote:
why my tvtime looks wreid in xgl???

i've bt878 based tv card

sorry my english... :wink:


http://gentoo-wiki.com/HOWTO_XGL/Troubleshooting#TV_programs_display_corrupted_images

Salud
Back to top
View user's profile Send private message
enzobelmont
Guru
Guru


Joined: 06 Apr 2004
Posts: 345
Location: Chiapas, Mexico

PostPosted: Sat May 27, 2006 4:00 pm    Post subject: Reply with quote

ashtophet wrote:
enzobelmont wrote:
why my tvtime looks wreid in xgl???

i've bt878 based tv card

sorry my english... :wink:


http://gentoo-wiki.com/HOWTO_XGL/Troubleshooting#TV_programs_display_corrupted_images

Salud


thanks xdtv works fine here...

sorry my english... :wink:
_________________
Mens sana in corpore sano... Gentoo laetificat cor hominis
Back to top
View user's profile Send private message
menetto
n00b
n00b


Joined: 05 Aug 2004
Posts: 18
Location: Belgium

PostPosted: Sun May 28, 2006 9:40 am    Post subject: Reply with quote

There are some problems with the current svn revision (r224):

- kdelibs-3.5.2-r6 is now stable on x86 in the regular tree, maybe handy to bump it in the svn too
- dependency of compiz-vanilla uses a '=' instead of '>=' on mesa, which conflicts with the dependency of xgl on mesa
Back to top
View user's profile Send private message
BlackBelt
Guru
Guru


Joined: 27 Nov 2004
Posts: 369
Location: Messina/Pisa

PostPosted: Sun May 28, 2006 1:14 pm    Post subject: Reply with quote

Hi guys.

I'm running xgl by last revision on amd64 and nvidia gf go 5650. I had installed, of course, compiz-quinnstorm but I haven't any decoration (gnome-window-decorator is running and I have decoration plugin loaded).

Any Idea?

thanks in advance
_________________
"Sulla strada per l'inferno c'e' sempre un sacco di gente,
ma è comunque una via che si percorre in solitudine."

Charles Bukowski
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun May 28, 2006 3:59 pm    Post subject: Reply with quote

menetto wrote:
There are some problems with the current svn revision (r224):

- kdelibs-3.5.2-r6 is now stable on x86 in the regular tree, maybe handy to bump it in the svn too
- dependency of compiz-vanilla uses a '=' instead of '>=' on mesa, which conflicts with the dependency of xgl on mesa


Both are now fixed.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Sun May 28, 2006 5:09 pm    Post subject: Reply with quote

nesl247 wrote:
menetto wrote:
There are some problems with the current svn revision (r224):

- kdelibs-3.5.2-r6 is now stable on x86 in the regular tree, maybe handy to bump it in the svn too
- dependency of compiz-vanilla uses a '=' instead of '>=' on mesa, which conflicts with the dependency of xgl on mesa


Both are now fixed.


I had put kdelibs-3.5.2-r6 in a few days ago, so it should have been there already. Was there a problem with the committ?
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun May 28, 2006 5:12 pm    Post subject: Reply with quote

roderick, it was made stable on x86, ppc64, and amd64.. I only removed the ~ from those, and updated the Header
Back to top
View user's profile Send private message
akb
Guru
Guru


Joined: 25 Jan 2003
Posts: 314
Location: Wolfenbüttel/Germany

PostPosted: Sun May 28, 2006 5:45 pm    Post subject: Reply with quote

one quick question... i think you all know of this variable XLIB_SKIP_ARGB_VISUALS=1 which has to be set for rdesktop and sdl games to display properly. well, the problem is i dont want to write a wrapper for every single application, since i even cannot simply set this parameter in a gnome or kde menu to start it like "XLIB_SKIP_ARGB_VISUALS=1 myapp" from console... so is it good or bad to export this variable for the whole desktop? i'm thinking of compiz not working properly with some apps or so, because it makes the app ignore somewhat composite enhancements... but on the other hand when i start a game with this variable, it displays correctly... even with the windows drop shadow and so on. [edit: and yes, compiz' transparency works too, checked it by setting a transparency when moving a window]

so... whats the best way to handle this?

and yes, i know the question isnt that short like i thought at the beginning of this posting :D
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun May 28, 2006 5:50 pm    Post subject: Reply with quote

You could make a file like:

xglappfix:
#!/bin/bash
# ${1} is the executable we want to run

echo "Running ${1}..."
XLIB_SKIP_ARGB_VISUALS=1 ${1}


Then just: xglappfix executable
Back to top
View user's profile Send private message
akb
Guru
Guru


Joined: 25 Jan 2003
Posts: 314
Location: Wolfenbüttel/Germany

PostPosted: Sun May 28, 2006 6:49 pm    Post subject: Reply with quote

why didnt i think of this? *lol* thx for the tipp

but theres still the question: what if i export this globally? will it work?
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun May 28, 2006 6:55 pm    Post subject: Reply with quote

You mean if you do export ...? If so, every app you start will start with that line.. (compiz, xgl, etc)
Back to top
View user's profile Send private message
akb
Guru
Guru


Joined: 25 Jan 2003
Posts: 314
Location: Wolfenbüttel/Germany

PostPosted: Sun May 28, 2006 7:11 pm    Post subject: Reply with quote

yes... sure... *lol* but "will it work"? or will it cause compiz to do strange things?

edit: well... after some testing i got it working without a wrapper :-) you have to give this variable within your xgl startscript to the kde/gnome-loader-call. so for example the following works for me:

Quote:

#!/bin/bash

eval `dbus-launch --sh-syntax --exit-with-session`
export DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_PID

echo ">Starting XGL at Display: $1"
echo "========= XGL ============"
Xgl :$1 -ac -accel xv -accel glx:pbuffer &
sleep 10

echo "======= COMPIZ ==========="
DISPLAY=:$1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
sleep 15

echo "====== DECORATIONS ======="
DISPLAY=:$1 gnome-window-decorator &

echo "======= WM/DE ============"
XLIB_SKIP_ARGB_VISUALS=1 DISPLAY=:$1 startkde

#echo "======= LOGOUT ============"
killall Xgl


or by using a session file. i added a session file to load a kde+compiz session from within kdm. i have to change ServerCmd to use xgl instead of x globally, but this doesnt really matter, since Xgl works fine as a "normal" x server, so without compiz but using *box, kwin, metacity too.

here are the changes that i have made to my /usr/kde/3.5/share/config/kdm/kdmrc:

/usr/kde/3.5/share/config/kdm/kdmrc wrote:

[X-:*-Core]
[...]
ServerCmd=/usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv
ServerTimeout=30


here's for example my session file:

/usr/share/xsessions/KDE_Compiz.desktop wrote:

[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/etc/X11/Sessions/KDE_Compiz
TryExec=/etc/X11/Sessions/KDE_Compiz
Name=KDE 3.5 + Compiz

Comment=The K Desktop Environment. A powerful Open Source graphical desktop environme
nt running Compiz


As you see my startscript that is called from this xsession file is located at /etc/X11/Sessions/. I'm not sure if it's the right place, but I was working at this location when I wrote that session file, so I just took it right from that place. Here it is:

/etc/X11/Sessions/KDE_Compiz wrote:

#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib compiz --replace gconf decoration wobbly
fade minimize cube rotate zoom scale move resize place switcher &
sleep 3
exec gnome-window-decorator &
XLIB_SKIP_ARGB_VISUALS=1 /usr/kde/3.5/bin/startkde



Well, thats it. Now I can use kdm for general use without harming un-3d-d sessions _and_ start sdl games and rdesktop from within kde without having that transparency problem. i hope this helps others too :-)
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Mon May 29, 2006 1:27 am    Post subject: Reply with quote

nesl247 wrote:
roderick, it was made stable on x86, ppc64, and amd64.. I only removed the ~ from those, and updated the Header


Hmm.. Ok. I copied the ebuild from portage and modded it and committed. Guess it changed from the time I copied it :)

Thanks for updating.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Mon May 29, 2006 6:14 am    Post subject: Reply with quote

Or you could chuck the following in ~/.bash_profile
Code:
export XLIB_SKIP_ARGB_VISUALS=1

_________________
What are you, stupid?
Back to top
View user's profile Send private message
mikkoloo
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 159
Location: .se and .nl

PostPosted: Mon May 29, 2006 10:14 am    Post subject: Reply with quote

I still have the binding textures issue on a GeForce 4 Go 64Mb. From what I recall a lot of people with those low end cards had the same problem a while back, but then it suddenly worked with a fix or whatever, but now it seems to be back to not working. Not sure if it was the same error message. Anyways, I got it working on my new computer with a GF 7900GT, without any problems at all, completely flawless instructions by the wiki and the effects added are really nice.
_________________
----
AMD 64 4000+, nforce4 mobo, 2GB RAM, 200Gb SATA HDD, xfx Geforce 7900GT XE
----
HP pavilion zv5470EA: AMD 64 3400+, 512 Mb RAM, 80 Gb HDD, nvidia GeForce4 440 Go 64M, Cabletron RoamAbout 802.11 DS (orinoco gold) WiFi. Creative Webcam Pro (ov511)
Back to top
View user's profile Send private message
akb
Guru
Guru


Joined: 25 Jan 2003
Posts: 314
Location: Wolfenbüttel/Germany

PostPosted: Mon May 29, 2006 11:55 am    Post subject: Reply with quote

Archangel1 wrote:
Or you could chuck the following in ~/.bash_profile
Code:
export XLIB_SKIP_ARGB_VISUALS=1


i tried this, but Xgl and compiz can not be started with this variable set, as the window deco is missing then. you have to wait with setting this until you start your desktop environment session. believe me, i tested several combinations, the one i told above is really the best :-)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 31, 32, 33 ... 38, 39, 40  Next
Page 32 of 40

 
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