Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enemy Territory e Skype (per dirne uno)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Thu Mar 10, 2005 10:19 pm    Post subject: Enemy Territory e Skype (per dirne uno) Reply with quote

Raga possibile che Enemy Territory non possa partire in presenza di altre applicazioni che usano l'audio??? 8O
Me ne sono accorto stasera.
Usando Teamspeak, Skype o semplicemente XMMS il gioco non parte perchè non riesce ad inizializzare l'audio :(
Non c'è un modo per risolvere???
Moltissima gente gioca a questo gioco parlando tra membri del proprio team quindi mi sembra assurda come cosa.
Ecco l'output della console.
Quote:
Current search path:
/home/aokmanga/.etwolf/etmain
/opt/enemy-territory/etmain/voilegarde_b3.pk3 (236 files)
/opt/enemy-territory/etmain/venice.pk3 (330 files)
/opt/enemy-territory/etmain/transmitter-beta2.pk3 (105 files)
/opt/enemy-territory/etmain/townsquare_beta2.pk3 (27 files)
/opt/enemy-territory/etmain/temple_final.pk3 (57 files)
/opt/enemy-territory/etmain/tc_base.pk3 (63 files)
/opt/enemy-territory/etmain/svarvadel.pk3 (73 files)
/opt/enemy-territory/etmain/supplydepot2.pk3 (46 files)
/opt/enemy-territory/etmain/summer_palace_b1.pk3 (33 files)
/opt/enemy-territory/etmain/sp_delivery_rc2.pk3 (39 files)
/opt/enemy-territory/etmain/rs_radars.pk3 (207 files)
/opt/enemy-territory/etmain/rommel_final_ETPRO_ONLY.pk3 (2 files)
/opt/enemy-territory/etmain/rommel_final_1107.pk3 (126 files)
/opt/enemy-territory/etmain/reactor_b1_ETPRO_ONLY.pk3 (2 files)
/opt/enemy-territory/etmain/reactor_b1.pk3 (73 files)
/opt/enemy-territory/etmain/password2_final.pk3 (101 files)
/opt/enemy-territory/etmain/pak1.pk3 (10 files)
/opt/enemy-territory/etmain/pak0.pk3 (3725 files)
/opt/enemy-territory/etmain/pacman_v1.pk3 (37 files)
/opt/enemy-territory/etmain/northpole.pk3 (112 files)
/opt/enemy-territory/etmain/mp_tram.pk3 (83 files)
/opt/enemy-territory/etmain/mp_bin.pk3 (4 files)
/opt/enemy-territory/etmain/goldrush2_wx_beta2.pk3 (37 files)
/opt/enemy-territory/etmain/et_ice.pk3 (61 files)
/opt/enemy-territory/etmain/cathedral_b4.pk3 (69 files)
/opt/enemy-territory/etmain/caen.pk3 (82 files)
/opt/enemy-territory/etmain/beach.pk3 (53 files)
/opt/enemy-territory/etmain

----------------------
5793 files in pk3 files
execing default.cfg
couldn't exec language.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 4: 800 600
Using XFree86-VidModeExtension Version 2.2
Xlib: extension "XFree86-DGA" missing on display ":0.0".
Failed to detect XF86DGA Mouse
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: RADEON 9000 DDR Generic
Initializing OpenGL extensions
...using GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...GL_NV_fog_distance not found
XF86 Gamma extension initialized

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: RADEON 9000 DDR Generic
GL_VERSION: 1.3.4769 (X4.3.0-8.8.25)
GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_bufferGL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SUN_multi_draw_arrays
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 6

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 4, 800 x 600 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: enabled
NV distance fog: disabled
Initializing Shaders
----- finished R_Init -----

------- sound initialization -------


E si ferma qua.
Naturalmente se stacco Skype o qualunque altro programma stia usando che occupi la periferica audio il gioco parte.

P.s. Una piccola info dai giocatori del pinguino... Esiste anche su Linux la console in ET??? Grazie 1000 :D
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Mar 10, 2005 10:24 pm    Post subject: Reply with quote

stesso problema con quake, e lo risolvo così:
Code:
        echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
        echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss


Penso che per E.T. la cosa sia analoga

La console esiste: se non te la da con "\" prova con "shift + ^" <---- ERRORE: è "AltGr + ^", ovvero la tilde (~)


Last edited by ProT-0-TypE on Fri Mar 11, 2005 4:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Thu Mar 10, 2005 10:39 pm    Post subject: Reply with quote

purtroppo il problema di sound initializing non si è risolto e non si apre nemmeno la console :cry:
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Mar 11, 2005 12:12 am    Post subject: Reply with quote

ovviamente le righe giuste per ET sono queste eh:

Code:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss


(le altre erano per quake)

La console non si apre perchè ho scritto shift ma in realtà è ALT GR

Per aprire la console "Alt Gr + ^"
Back to top
View user's profile Send private message
Mr.Evolution
Guru
Guru


Joined: 30 Dec 2003
Posts: 346
Location: Padova (Italy)

PostPosted: Fri Mar 11, 2005 8:56 am    Post subject: Reply with quote

Da quello che so SKYPE usa OSS che è il vecchio sistema di gestione delle periferiche audio che è stato sostituito da ALSA che meglio utilizza le risorse e permette il mixing di varie periferiche audio via software (in altra parole potete ascolate MP3, guardare un porno, un video e tutto ciò che volete senza ESD o ARTS o altri demoni in user-space....

Questa guida può esseri utile http://wiki.gentoo-italia.net/index.php/ALSA_soft-mix_aka_dmix
_________________
Niente è impossibile......è solo questione di tempo!

Lo script è quello che dai agli attori. Il programma è quello che dai agli spettarori.
-- Larry Wall, creatore di Perl
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Fri Mar 11, 2005 9:10 am    Post subject: Reply with quote

Mr.Evolution wrote:
http://wiki.gentoo-italia.net/index.php/ALSA_soft-mix_aka_dmix


Bellissima guida. Ma qualcuno è riuscito a farla funzionare anche per skype? Io non ci sono mai riuscito :(.

Si accettano consigli ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Mr.Evolution
Guru
Guru


Joined: 30 Dec 2003
Posts: 346
Location: Padova (Italy)

PostPosted: Fri Mar 11, 2005 9:14 am    Post subject: Reply with quote

purtroppo neanch'io.....a quanto pare è SKYPE che è compilato per usare OSS......

in linea teorica si potrebbe usare l'emulazione OSS di ALSA e poi DMIXAre il tutto ma non ho voluto mai sbattermi un pò.....

se qualcuno ci riesce sono qui....


non so se il gioco sia OSS anche lui....BOH!
_________________
Niente è impossibile......è solo questione di tempo!

Lo script è quello che dai agli attori. Il programma è quello che dai agli spettarori.
-- Larry Wall, creatore di Perl
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Fri Mar 11, 2005 9:21 am    Post subject: Reply with quote

gutter wrote:
Mr.Evolution wrote:
http://wiki.gentoo-italia.net/index.php/ALSA_soft-mix_aka_dmix


Bellissima guida. Ma qualcuno è riuscito a farla funzionare anche per skype? Io non ci sono mai riuscito :(.

Si accettano consigli ;)

a me funziona tranquillamente con tutto.... 8O
in più , rispetto alla guida, ho solo questo all'inizio si /etc/asound.conf
Code:

pcm.snd-via8233 {
   type hw
   card 0
}

ctl.snd-via8233 {
   type hw
   card 0
}

e un paio di opzioni in /etc/modules.d/alsa per la mia scheda:
Code:
alias snd-card-0 snd-via82xx
options snd-via82xx index=0 dxs_support=2


Devo dire che da tempo immemorabile ho dimenticato cosa fanno.... :roll:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Mr.Evolution
Guru
Guru


Joined: 30 Dec 2003
Posts: 346
Location: Padova (Italy)

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

sai se sono solo per VIA o funziano solo anche in i810???

dove hai trovato queste info??
_________________
Niente è impossibile......è solo questione di tempo!

Lo script è quello che dai agli attori. Il programma è quello che dai agli spettarori.
-- Larry Wall, creatore di Perl
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Mar 11, 2005 9:26 am    Post subject: Reply with quote

Cazzantonio wrote:
e un paio di opzioni in /etc/modules.d/alsa per la mia scheda:
Code:
alias snd-card-0 snd-via82xx
options snd-via82xx index=0 dxs_support=2


Devo dire che da tempo immemorabile ho dimenticato cosa fanno.... :roll:


In breve: servono per evitare che la scheda vada a 48k ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
Castoro
n00b
n00b


Joined: 29 Aug 2004
Posts: 25

PostPosted: Fri Mar 11, 2005 10:57 am    Post subject: Reply with quote

Che io sappia, uno dei due modi per utilizzare il soft mixing con OSS è sfruttare l'emulazione OSS di ALSA.
Praticamente, è necessario lanciare l'applicazione usando aoss (Es. aoss mpg123) e configurare ALSA per usare il dmix.
L'altra soluzione è quella di usare un server sonoro (arts, esound, jack...) e sfruttare i plugin dell'applicazione o "forzarla" per farle usare il server.
In teoria, basterebbe lanciare Enemy Territory con "aoss et", ma purtroppo non funziona.
Di recente ho dato un'occhiata alla guida Gentoo-Wiki ma non c'è nulla di nuovo rispetto alla mia configurazione (uso il dmix da circa un anno e in più c'ho messo anche l'upmixing stereo-->5.1). Il problema secondo me (ed è solo un'impressione molto personale) è che non si specifica chiaramente che il dmix si applica solo ad Alsa (e che quindi, l'uso con OSS è frutto di una sorta di "trucchetto").
Se qualcuno invece è riuscito ad ottenere un mixing software "completo" (tra ALSA/OSS e tra OSS/OSS), mi farebbe molto piacere poter dare un'occhiata alla sua configurazione.
Ciao!
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Fri Mar 11, 2005 1:09 pm    Post subject: Reply with quote

Scheda intel8x0, questo il mio /etc/asound.conf ... Mi funziona tutto perfettissimamente, senza bisogno di arts o altri server audio... addirittura riesco a far andare applicazioni arts e non arts insieme...
Code:
/etc/asound.conf:

pcm.asymed {
     type asym
     playback.pcm "dmix"
     capture.pcm "hw:0,0"
}

pcm.!default {
     type plug
     slave.pcm "asymed"
 }

pcm.dsp0 {
     type plug
     slave.pcm "dmix"
}

pcm.!dmix  {
     type dmix
     ipc_key 34543
     slave {
         pcm "hw:0,0"
         period_time 0
         period_size 1024
         buffer_size 8192 # settare a 4096 se ci sono problemi
         rate 48000 # settare a 44100 se ci sono problemi
     }
     bindings {
         0 0
         1 1
     }
 }

ctl.mixer0 {
     type hw
     card 0
}


Sottolineo che la riga "pcm.asymed" è essenziale per far andare i microfoni e le registrazioni in generale...

Ciao
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Fri Mar 11, 2005 1:30 pm    Post subject: Reply with quote

io ho risolto la questione AA + TS adottando un pentium2 con debian come client TS :-/
_________________
Как я рад!
Back to top
View user's profile Send private message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Fri Mar 11, 2005 2:24 pm    Post subject: Reply with quote

Grazie 1000 a tutti ragazzi.
Ora ET funziona anche con Skype acceso e sono riuscito ad aprire la console con

AltGr + ^
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Fri Mar 11, 2005 2:39 pm    Post subject: Reply with quote

Metti il tag [Risolto]
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Mar 11, 2005 3:05 pm    Post subject: Reply with quote

e già che ci sei scrivi come hai fatto :-D
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Mar 11, 2005 3:14 pm    Post subject: Reply with quote

ProT-0-TypE wrote:
ovviamente le righe giuste per ET sono queste eh:

Code:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss



la soluzione di ProT-0-TypE è ottima:
permette di usare Ts+Et simultaneamente senza blocchi
l'ho preferita ad artsdsp -m dato che facendo girare
Ts o Et dietro artsd aumenta la latenza del suono...

GG ProT-0-TypE!

Nota:Ho una sound blaster live 5.1 e uso alsa ovviamente
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Castoro
n00b
n00b


Joined: 29 Aug 2004
Posts: 25

PostPosted: Fri Mar 11, 2005 3:17 pm    Post subject: Reply with quote

Thrain wrote:
Scheda intel8x0, questo il mio /etc/asound.conf ... Mi funziona tutto perfettissimamente, senza bisogno di arts o altri server audio... addirittura riesco a far andare applicazioni arts e non arts insieme...
Code:
/etc/asound.conf:

pcm.asymed {
     type asym
     playback.pcm "dmix"
     capture.pcm "hw:0,0"
}

pcm.!default {
     type plug
     slave.pcm "asymed"
 }

pcm.dsp0 {
     type plug
     slave.pcm "dmix"
}

pcm.!dmix  {
     type dmix
     ipc_key 34543
     slave {
         pcm "hw:0,0"
         period_time 0
         period_size 1024
         buffer_size 8192 # settare a 4096 se ci sono problemi
         rate 48000 # settare a 44100 se ci sono problemi
     }
     bindings {
         0 0
         1 1
     }
 }

ctl.mixer0 {
     type hw
     card 0
}


Sottolineo che la riga "pcm.asymed" è essenziale per far andare i microfoni e le registrazioni in generale...

Ciao


Stesso driver, ho provato con la tua stessa configurazione ma due applicazioni che usano OSS non riescono a convivere (una delle due mi dà il solito "Can't open /dev/dsp!")
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Fri Mar 11, 2005 3:46 pm    Post subject: Reply with quote

@Castoro:
Evidentemente non ho mai avuto a che fare con due applicazioni OSS nello stesso momento :D ... evidentemente è possibile evitarlo ;)

Ciao
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
Castoro
n00b
n00b


Joined: 29 Aug 2004
Posts: 25

PostPosted: Fri Mar 11, 2005 4:01 pm    Post subject: Reply with quote

Thrain wrote:
@Castoro:
Evidentemente non ho mai avuto a che fare con due applicazioni OSS nello stesso momento :D ... evidentemente è possibile evitarlo ;)

Ciao


Ah, ok. Pensavo che anche tu fossi riuscito a far andare Et e Skype insieme :)
(Ciao ciccio :lol: )


@ Aokmanga

Che configurazione hai usato?
Hai provato con il re-direct dell'audio per Et? (echo "et.x86 0 0 direct" > ... bla .. bla ... bla)
Se sì, potresti postare:
- ls /proc/asound/card0
- ls /proc/asound/card0/pcm2p/ ( o pcm1p, dipende da cos'hai)

Grazie, ciao!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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