XGL-Beryl y nonXgl, !!
Buenas, me gustaría saber varias cosas, he oído hablar de algo de nonxgl para poder ejecutar aplicaciones como enemy territory, y he seguido estos pasos para crear los archivos:
http://ubuntuforums.org/showthread.php?t=176636
pero no obtengo nada en: ps uax | grep Xorg | grep Xgl
así que nose como obtener el display, por otro lado al ejecutar “nonXgl et” me aparece:
ciru@ciru-laptop:~$ nonXgl et
xhost: unable to open display “:93?
ET 2.60 linux-i386 Mar 10 2005
—– FS_Startup —–
Current search path:
/home/ciru/.etwolf/etmain/z_WolfET_Esp.pk3 (71 files)
/home/ciru/.etwolf/etmain/venice.pk3 (330 files)
/home/ciru/.etwolf/etmain/transmitter.pk3 (143 files)
/home/ciru/.etwolf/etmain/temple_final.pk3 (57 files)
/home/ciru/.etwolf/etmain/supplydepot2.pk3 (46 files)
/home/ciru/.etwolf/etmain/saberpeak_final.pk3 (243 files)
/home/ciru/.etwolf/etmain/oct-cib3.pk3 (1 files)
/home/ciru/.etwolf/etmain/mp_sub_rc1.pk3 (155 files)
/home/ciru/.etwolf/etmain/mlb_daybreak.pk3 (158 files)
/home/ciru/.etwolf/etmain/mapas.pk3 (2 files)
/home/ciru/.etwolf/etmain/et_ice.pk3 (61 files)
/home/ciru/.etwolf/etmain/etpub1.pk3 (1 files)
/home/ciru/.etwolf/etmain/el_kef_final.pk3 (38 files)
/home/ciru/.etwolf/etmain/cib-oct21.pk3 (1 files)
/home/ciru/.etwolf/etmain/caen2.pk3 (85 files)
/home/ciru/.etwolf/etmain/braundorf_b4.pk3 (51 files)
/home/ciru/.etwolf/etmain/baserace_b3a.pk3 (139 files)
/home/ciru/.etwolf/etmain
/usr/local/games/enemy-territory/etmain/pak2.pk3 (22 files)
/usr/local/games/enemy-territory/etmain/pak1.pk3 (10 files)
/usr/local/games/enemy-territory/etmain/pak0.pk3 (3725 files)
/usr/local/games/enemy-territory/etmain/mp_bin.pk3 (6 files)
/usr/local/games/enemy-territory/etmain
———————-
5345 files in pk3 files
execing default.cfg
couldn’t exec language.cfg
execing profiles/ciru/etconfig.cfg
couldn’t exec autoexec.cfg
Hunk_Clear: reset the hunk ok
——- Input Initialization ——-
Joystick is not active.
————————————
Bypassing CD checks
—– Client Initialization —–
—– Initializing Renderer —-
——————————-
—– Client Initialization Complete —–
—– R_Init —–
…loading libGL.so.1: Initializing OpenGL display
…setting mode -1: 1280 800
Error couldn’t open the X display
…WARNING: could not set the given mode (-1)
Initializing OpenGL display
…setting mode 3: 640 480
Error couldn’t open the X display
…WARNING: could not set the given mode (3)
—– CL_Shutdown —–
RE_Shutdown( 1 )
———————–
—– CL_Shutdown —–
———————–
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
Que me da que es algo del display, pero ni idea, si lo ejecuto como: “et” funciona perfectamente(en una ventana, no como fullscreen) es raro, por que sin embargo mplayer y totem si que me reproducen fullscreen.
Bueno si teneis alguna idea, gracias
Diego
PD.-Nvidia, widescreen, xgl/beryl, ubuntu.
- Inicie sesión o regístrese para enviar comentarios






Comentarios
Hola, yo tengo mi nonXgl
Hola, yo tengo mi nonXgl asi:
este es mi script /usr/bin/nonXgl
==========================================================================
#!/bin/sh
DISPLAY=":0"
if [ -z "$1" ]; then
echo "Usage: nonXgl "
exit 1
fi
isdisplay=0; isauth=0; for test in $(ps ax | grep "$DISPLAY" | grep Xorg ); do if [ $isauth -eq 1 ]; then export XAUTHORITY="$test"; isauth=0; fi; if [ "$test" = "-auth" ]; then isauth=1; fi; done;
sudo /usr/bin/Xorgallowlocal "$XAUTHORITY" "$DISPLAY"
exec $@
==========================================================================
este es mi script /usr/bin/Xorgallowlocal
==========================================================================
#!/bin/sh
DISPLAY="$2" XAUTHORITY="$1" xhost local:
==========================================================================
Y en /etc/sudoers agregue esta linea: ( reemplza julian por tu usuario )
%julian ALL=NOPASSWD: /usr/bin/Xorgallowlocal
con esto el ET y muchos mas juegos me funcionaron a la perfeccion.
Yo lo hago mucho más facil
Yo lo hago mucho más facil que todo eso. Si quiero jugar por ejemplo al doom 3, desde la consola pongo:
DISPLAY=:0 doom3
y en este caso sería:
DISPLAY=:0 et
Yo tengo el XGL- Beryl, y con eso los juegos me van a la perfección.
Saludos :-)
correr game con Beryl
yo uso lo mismo que elmorber para correr el ut2004
DISPLAY=:0 ./ut2004
Yo uso el XGL- Beryl, y con el juego me van a la perfección.
ahora que le pasa que sigue dando vueltas
Ya he resuelto el problema este(display 0) pero sigue pasandome lo mismo de antes:
Cuando voy a jugar la vista mira al suelo y solo gira, y despues en los menus el raton aparece en el borde de la pantalla(al principio va bien, solo cuando salgo de la partida), como si no pudiese entrar en la ventana(si lo ejecuto como et en beryl funciona bien, pero claro en una ventana).
Esto me pasa desde que instalo xgl con compiz o beryl, este o no usando la sesion de xgl, pensaba que se solucionaría así.
Gracias
Diego
PD.- estaría bien un mini tutorial del nonXgl la página que anteriormente he dicho y añadir que se pueden ejecutar así aplicaciones como java studio creator o netbeans que no van si no es con este script y he visto que hay mucha gente que no sabe que así se puede.
Ciruman
http://ciruman.wordpress.com