_ Does this mean, it's now to run possible to run properly an opengl app inside XGL? Or did I misunderstood:
_ Do you launch the game on the same DISPLAY where Xgl is?
_ If so, are you able to make use of the 'extra-keys' of your keyboard?
_ Why 93 in "DISPLAY=:93 ppracer", does XGL on DISPLAY 93? I know the Xorg.93.log, but don't really know anything else?
_ If it's not on the same on the same Display, then, is there a similar trick for 'normal' xorg ?

If it's on the same DISPLAY then, I don't see the point of using xlaunch, otherwise it may be possible to modify xlaunch so that it also works for ATI users a few more questions then:

Assuming the user is using only Xgl right now (since I don't know yet the answer of my previous questions )
Is this correct:

If Xgl was started with the xorgAc the only thing needed to run 'program' is to launch it with

Code:

DISPLAY=:93 program

else we need to launch it with

Code:

LD_PRELOAD=/usr/lib/libGL.so.1.2 program

(but this last trick doesn't work so well, so warn the user of the other trick)
right

Or is it just when you start a game(with DISPLAY=:93 game) ?
I can see the -terminate option for Xorg:

man xserver wrote:

-terminate
causes the server to terminate at server reset, instead of continuing to run

but I just want to be sure I understand:
_ When you exit the game, is the xorg process still running? If so do you have something special to do to go back to your desktop ?
_ Can you switch from inside the game to your desktop? if so, how? ctrl-alt-f7 and ctrl-alt-f(93+7)
_ Are you using xbindkeys for your multimedia keys or somethings else?

Even if I don't own an ATI card, I suppose I'll can answer some of these questions once I'll get home, but, it's in approximately 2 weeks, and I'm just curious

thanks again;)

Last edited by truc on Wed Aug 09, 2006 8:49 am; edited 1 time in total

But.. Remember that at this time Xgl runs on another Xorg server (that usually is :93, but can be another too...) So you can safetly start applications on :93, when they're not supported by Xgl. Just remember three things:

1. Start Xgl with the -xorgAc parameter. This will allow network access (but also remember that this can be unsafe in a non-local network)

So This means (correct me if I'm wrong) that Xgl runs on top of Xorg. Starting Xgl with the -xorgAc parameter makes you able to start apps on the Xorg running underneat Xgl.
If you look in your /var/log/, you will notice that, as an xgl user, you don't use Xorg.0.log but something like Xorg.93.log or Xorg.94.log (look at your modified time of the file of Xorg.0.log). I use myself Xorg.94.log but I don't know why it's not rather Xorg.93.log.
So I use

Code:

DISPLAY=:94 googleearth

and it works very well. Ppracer works very well also using this tip. But I get a segfault with doom3-demo. Right now, I don't use a window manager with this, but by if I quit, for example, Googleearth, I just return to my desktop._________________Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche

and then inside this term you run the same command it would give you 94 right?

Yes: ":94.0"

Quote:

When you're 'inside' googleearth, is it fullscreen? Can you go back to your desktop without 'quitting' googleearth ? If so how?

Googleearth appears in a window over the desktop. If, previously, by starting Googleearth in Xgl, I set my window size to something smaller than my screen, I will see some part of my Xgl desktop underneat. But I can not bring a window started with xgl in front of the window started with DISPLAY:94._________________Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche

just an idea: let the user choose his own name for the link? so that you can xlaunch ut, if "ut" is the name that the user chooses for the link to /home/blacktiger/games/ut2004/System/ut2004-bin-linux-amd64

Also like this idea because xut2004-bin-linux-amd64 is still much text to write To choose an own command would be great so f.e just xut and game starts *yipie*

Hi again:)

As suggested, you can now with version=20060808 of xlaunch (grab it here ) , you can now chose the name you want xlaunch to use when creating links for a program that doesn't appear in your PATH

(actually, you can even chose a name for a program that does appear in your path, to achieve this you just need to give the (full|relative)path to the program as an argument to xlaunch when creating links, for example:

Code:

xlaunch --addlink ~/scripts /usr/bin/xterm
We are now going to create 2 links for /usr/bin/xterm, the first will be :

/home/truc/scripts/xterm --> /usr/bin/xterm
And the second will be:
/home/truc/scripts/xxterm --> /home/scripts/xlaunch

But you can change 'xterm' to be whatever you want, just enter the name
you would like to use to launch your program (/usr/bin/xterm ).
Leave blank to use default one
blahblah

And then chose a decent name (ut ) and you're done
or xlaunch --addlink path/to/writable/directory /home/blacktiger/games/ut2004/System/ut2004-bin-linux-amd64 if you don't have write permission on the directory where xlaunch is stored. (I'm sure you do have it, but eh.. that's an example.. )

If you find something wrong, please tell me!

======

And for ATI users, I'm not sure what to do, it should work now for you with the latest ATI driver, but it seems it doesn't work for everybody. I'm a bit lost, I'll try to look all this more deeply later.

I have a suggestion: Running a fullscreen app (ie. stepmania) in a dual monitor machine, the image appears between the two screens. I think it'd be great if xlaunch disables xinerama when it's enabled or, even better, place the window on the correct position.

I tried adding "-xinerama" to the X server's parameters but it appears the following message after a time:

I have a suggestion: Running a fullscreen app (ie. stepmania) in a dual monitor machine, the image appears between the two screens. I think it'd be great if xlaunch disables xinerama when it's enabled or, even better, place the window on the correct position.

I tried adding "-xinerama" to the X server's parameters but it appears the following message after a time:

Note : it looks like you're trying to use the XPLAYER feature, for your information, you don't need to su to xplayer before running ./xlaunch stepmania: run it as your normal user ( katanagari ? ), xlaunch will use sudo to launch it as $XPLAYER (see III) d) Using XPLAYER)

There's an option for xauth to bypass 'Xauthority lock'. but I'd like to know how you 'start x'
if you're not using a login manager (xdm, kdm and so on), do you log in as root then su to katanagari, or do you log in directly as katanagari
In both case, once you're katanagari, can you post the result of :

Code:

echo "$HOME --- $XAUTHORITY"

and

Code:

ps aux | grep -i x

and also:

Code:

ps aux | grep -i dm

And for xinerama:

How do you disable xinerama?
Assuming I disabled it, on which display/screen()? the application is now supposed to run on?
EDIT: if we don't disable xinerama, I think it's possible to chose to display weither on screen 0 (eg: DISPLAY:1.0) or on the second screen 1 with DISPLAY=:1.1 ) (or the third screen and so on..)
This needs a little thinking.
I will probably have other questions. but that's enough for now

katanagari wrote:

However, after pressing Ctrl+C, it works. Is there a better way to do what I want?

could you also give me the results of:

Code:

ls -l $HOME/.Xauthority
# and
xauth list

I would be glad if you answered as many questions as you can, thanks again

@CoffeBuzz
Thanks, but for latter versions I suppose I can just pm you?

now, when launching xlaunch as katanagari, you no longer have the "timout in locking authority" right?
And if you add -xinerama the serverargs, then it kinda works, but you can't choose on which screen you want stepamania to run on, right?

assming you've just started stepania with xlaunch, and with the -xineram option, the game now runs on only one screen? (no longer in the middle of nowhere, :/ )

question: what do you have on the others screen? your desktop? a black screen? ;.

I think I can add the -xinerama option as a default server option, what do you think?_________________The End of the Internet!

now, when launching xlaunch as katanagari, you no longer have the "timout in locking authority" right?

right

truc wrote:

And if you add -xinerama the serverargs, then it kinda works, but you can't choose on which screen you want stepamania to run on, right?
assming you've just started stepania with xlaunch, and with the -xineram option, the game now runs on only one screen? (no longer in the middle of nowhere, :/ )

Yea, all of that was right The game appears on the first monitor.

truc wrote:

question: what do you have on the others screen? your desktop? a black screen? ;.

On the other monitor. the screen turns black.. moreover, the "No signal" dialog appears, so the monitor gets disconnected.
Edit: I noticed that the second screen disconnects only if the app is running in fullscreen mode. However, running a non fullscreen app (ie. xterm), both screens works as usual.

truc wrote:

I think I can add the -xinerama option as a default server option, what do you think?

I don't know if this option affects single screen users in some way. If not, I suppose that it'd be OK.

Edit (again): Now It would be cool if we can choose which screen to use... I have to investigate about that (any recommended doc but xorg's manpages?)

Last edited by katanagari on Mon Aug 21, 2006 3:42 pm; edited 2 times in total

question: what do you have on the others screen? your desktop? a black screen? ;.

On the other monitor. the screen turns black.. moreover, the "No signal" dialog appears, so the monitor gets disconnected.
Edit: I noticed that the second screen disconnects only if the app is running in fullscreen mode. However, running a non fullscreen app (ie. xterm), both screens works as usual.

My point, with this script, was also to have my multimedia keys working inside a fullscreen game. If you remember, in III) c) Making your multimedia keys working , I said since you don't start any window manager on this new DISPLAY, you can put set your game not to be fullscreen (window mode) and it'll look like it's fullscreen.
I suppose you can do the same, and then you won't have anymore your other screen turning off (and you'll also have your fun keys working )

katanagari wrote:

truc wrote:

I think I can add the -xinerama option as a default server option, what do you think?

I don't know if this option affects single screen users in some way. If not, I suppose that it'd be OK.

I tried adding -xinerama to my default server arguments, and I didn't notice any differences. So I think I will keep it inside for the next release (unless someone tells me why I shouldn't )

katanagari wrote:

Edit (again): Now It would be cool if we can choose which screen to use... I have to investigate about that (any recommended doc but xorg's manpages?)

That would be great! But I have no good doc in mind right now

@nnd

Do you have any specific configuration I should be aware of?
How do you 'startx' , with the good'ol startx command, or with a Display manager like xdm, gdm, kdm (...) ?

Does

Code:

xinit /home/nnd/ut2004/System/ut2004-bin-linux-amd64 -- :1

work?
(assuming DISPLAY=:1 is free, if it's not, try with :2 and so on..)
If it doesn't can you copy and paste the output?(run it in a terminal..)

Sorry, it was a stupid question... solved it with ln -s /usr/lib64/libSDL-1.2.so.0 ~/ut2004/System/libSDL-1.2.so.0

But now i have the following issue:
I run ut with the xut îê xlaunch /home/nnd/ut2004/System/ut2004-bin-linux-amd64 command.
It opens me a window in the _same_ tty whith the Xglx heading, shows splash and dies with the same output:

I try to check back here from time to time but I'm fairly busy these days. Thanks for the work on this script. The ebuild I whipped up is fairly basic, not sure if you've used it but if you have and think something should be changed in the way the package is installed, let me know as well._________________HP Pavilion zd7260us
Xgl Overlay: http://svn.xgl-coffee.org/xgl-coffee/trunk
Xgl Forums: http://forums.xgl-coffee.org