Autor Tópico: Problemas para instalar o StepMania  (Lida 8909 vezes)

Offline Smosher

  • Usuário Ubuntu
  • *
  • Mensagens: 52
  • Texto Pessoal
    • Ver perfil
Problemas para instalar o StepMania
« Online: 31 de Dezembro de 2006, 18:45 »
Galera, fiz igual a este "tutorial": http://www.ubuntugames.org/stepmania
Mas quando tento entrar no jogo aparece uma mensagem dizendo que o arquivo não foi encontrado.
« Última modificação: 31 de Dezembro de 2006, 18:58 por Smosher »

Offline Kamei Hyoga

  • Usuário Ubuntu
  • *
  • Mensagens: 1.095
  • Ubuntu 11.04
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #1 Online: 31 de Dezembro de 2006, 21:00 »
Que arquivo?

Offline Smosher

  • Usuário Ubuntu
  • *
  • Mensagens: 52
  • Texto Pessoal
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #2 Online: 13 de Janeiro de 2007, 15:55 »
É o seguinte, tentei instalar pelo Ubuntu Games mas não consigo, toda vez que marco a opção e clico 'ok' pra instalar volta pra lista de jogos. Depois tentei pelo tutorial, aparece a barrinha iniciando o jogo, a tela fica preta e depois fecha. Então tentei abrir pelo terminal, dei um 'startx' e resultou no seguinte:

Código: [Selecionar]
' Fatal server error: Server is already active for display 0. If this server
is no longer running, remove /tmp/ .XO-lock and start again'.

Então removi o arquivo .X0-lock e tentei iniciar novamente, a mesma coisa ocorreu. Tentei pelo terminal novamente atravez do 'startx' e resultou no seguinte:

Código: [Selecionar]
xauth:  creating new authority file /root/.serverauth.6814


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.15.7 i686
Current Operating System: Linux Otacilio 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
Build Date: 07 July 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 13 14:48:25 2007
(==) Using config file: "/etc/X11/xorg.conf"
(EE) AIGLX: Screen 0 is not DRI capable
error opening security policy file /usr/lib/xserver/SecurityPolicy
    xkb_keycodes             { include "xfree86(abnt2)+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc104)+br+level3(ralt_switch)" };
    xkb_geometry             { include "pc(abnt2)" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
        No such file or directory.
Error opening /dev/wacom : Success
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
xterm:  bad command line option "xterm"

usage:  xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
    [-b number] [-/+bc] [-bcf milliseconds] [-bcn milliseconds] [-bd color]
    [-/+bdc] [-bg color] [-bw number] [-/+cb] [-cc classrange] [-/+cjk_width]
    [-class string] [-/+cm] [-/+cn] [-cr color] [-/+**] [-/+dc]
    [-display displayname] [-e command args ...] [-fa pattern] [-fb fontname]
    [-/+fbb] [-/+fbx] [-fd pattern] [-fg color] [-fi fontname] [-fn fontname]
    [-fs size] [-fw fontname] [-fwb fontname] [-fx fontname] [%geom] [#geom]
    [-geometry geom] [-hc color] [-help] [-/+hold] [-iconic] [-/+ie] [-/+im]
    [-into windowId] [-/+j] [-/+k8] [-kt keyboardtype] [-/+l] [-leftbar]
    [-lf filename] [-/+ls] [-/+mb] [-mc milliseconds] [-/+mesg] [-/+mk_width]
    [-ms color] [-n string] [-name string] [-nb number] [-/+nul] [-/+pc]
    [-/+pob] [-rightbar] [-/+rv] [-/+rvc] [-/+rw] [-/+s] [-/+samename] [-/+sb]
    [-/+sf] [-/+si] [-/+sk] [-sl number] [-/+sm] [-/+sp] [-/+t] [-ti termid]
    [-title string] [-tm string] [-tn name] [-/+u8] [-/+ulc] [-/+ulit] [-/+ut]
    [-/+vb] [-version] [-/+wc] [-/+wf] [-xrm resourcestring]
    [-ziconbeep percent]

Type xterm -help for a full description.


waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.

Alguem sabe como resolver?

Offline Kamei Hyoga

  • Usuário Ubuntu
  • *
  • Mensagens: 1.095
  • Ubuntu 11.04
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #3 Online: 13 de Janeiro de 2007, 19:48 »
startx??? vc tem que dar um ./stepmania.

Offline Smosher

  • Usuário Ubuntu
  • *
  • Mensagens: 52
  • Texto Pessoal
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #4 Online: 13 de Janeiro de 2007, 20:20 »
Me falaram pra testar usando esse comanto. Sou iniciante com linux ainda. Bom, usei o './stepmania' dessa vez e resultou nisso:

Código: [Selecionar]
StepMania 3.9
Log starting 2007-01-13 20:19:00
Loading window: gtk
OS: Linux ver 020617
Crash backtrace component: x86 custom backtrace
Crash lookup component: dladdr
Crash demangle component: cxa_demangle
Runtime library: glibc 2.4
Threads library: NPTL 2.4
TLS is available
ALSA: Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ALSA Driver: 0: SiS SI7012 [SI7012], device 0: Intel ICH [SiS SI7012], 1/1 subdevices avail
Couldn't load driver ALSA: Not enough substreams for hardware mixing, using software mixing
ALSA: Software mixing at 48000hz
Sound driver: ALSA-sw

(stepmania:21665): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
Video renderers: 'opengl'
SDL version: 1.2.10
Got 24 bpp (8880), 16 depth, 0 stencil
Paletted textures disabled: GL_EXT_paletted_texture missing.
OGL Vendor: Mesa project: www.mesa3d.org
OGL Renderer: Mesa GLX Indirect
OGL Version: 1.2 (1.5 Mesa 6.5.1)
OGL Extensions: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp 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_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATIX_texture_env_combine3 GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays
OGL Max texture size: 2048
GLU Version: 1.3
Display: :0.0 (screen 0)
Direct rendering: no
X server vendor: The X.Org Foundation [7.1.1.0]
Server GLX vendor: SGI [1.2]
Client GLX vendor: SGI [1.4]
Mixing 511.157720 ahead in 4508 Mix() calls
Language: english
Current renderer: OpenGL
Theme: default
Error: There was an error while initializing your video card.

   PLEASE DO NOT FILE THIS ERROR AS A BUG!

Video Driver: OpenGL

Initializing OpenGL...
Your system is reporting that direct rendering is not available.  Please obtain an updated driver from your video card manufacturer.

Vendo o erro acima se descobre que o erro é com o video. Minha placa é onboard SiS 741GX com 64Mb compartilhado.
« Última modificação: 13 de Janeiro de 2007, 20:23 por Smosher »

Offline Kamei Hyoga

  • Usuário Ubuntu
  • *
  • Mensagens: 1.095
  • Ubuntu 11.04
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #5 Online: 16 de Janeiro de 2007, 14:48 »
Os drivers dessa sua placa estão instalados corretamente? Esse erro ocorre quando uma placa 3d não está usando o "direct redering". Eu tenho uma Gforce 2 64MB e não consigo rodar o stepmania aqui, pq eu ainda não instalei o drive no Linux (pura praguiça). Eu já joguei muito no Ubuntu (vou até montar uma máquina separada só pra isso). No meu caso é só instalar o drive que ele roda perfeitamente.

A solução mais rápida seria você comprar uma Gforce (que ajudaria em outros jogos, pq ela é melhor suportada no Linux). Mas se você não puder, você tem que instalar o drive correto e ativar o direct rendering.

Abraço.

Offline Smosher

  • Usuário Ubuntu
  • *
  • Mensagens: 52
  • Texto Pessoal
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #6 Online: 16 de Janeiro de 2007, 18:38 »
Bom, antes não funcionava praticamente nada aqui. Então achei um driver na net (http://www.vivaolinux.com.br/artigos/verArtigo.php?codigo=1920#). Instalei ele, e os videos e alguns recursos gráficos passaram a funcionar. Qual driver devo instalar? Minha 'placa' é melhor que o requerimento mínimo que o jogo pede.

Falta de esforço meu não foi, estou tentando faz bastante tempo, mas a SiS não disponibiliza drivers pra Linux, ai fica difícil.
« Última modificação: 16 de Janeiro de 2007, 18:40 por Smosher »

Offline Kamei Hyoga

  • Usuário Ubuntu
  • *
  • Mensagens: 1.095
  • Ubuntu 11.04
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #7 Online: 17 de Janeiro de 2007, 03:50 »
Se vc instalou e algumas funções passaram a funcionar, então provavelmente vc instalou corretamente, mas o direct redering não está ativo. Para isso, vc deve editar seu xorg.conf (faça uma cópia de segurança primeiro). Procure por Section "Device" e adicione:

Option          "RenderAccel"           "true"

Salve seu xorg.conf e reinicie o X (Ctrl+Alt+Backspace) e depois de logado, rode o seguinte comando no terminal: glxinfo | grep rendering

Se retornar um yes é pq deu tudo certo.

Offline Kamei Hyoga

  • Usuário Ubuntu
  • *
  • Mensagens: 1.095
  • Ubuntu 11.04
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #8 Online: 17 de Janeiro de 2007, 19:12 »
Acabei de instalar os drivers de minha gforce e não precisei ativar nada. O Direct Redering está funcionando normalmente. Eu acho que esse [Option          "RenderAccel"           "true"] é exclusivo da gforce. Você tem certeza que sua placa de vídeo onbord tem recursos 3d?

Offline Smosher

  • Usuário Ubuntu
  • *
  • Mensagens: 52
  • Texto Pessoal
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #9 Online: 18 de Janeiro de 2007, 00:51 »
Vou tentar a dica. Recursos 3D ela tem, quando usava o windows jogava muitos jogos 3D, e esse jogo funcionava normalmente.

EDIT: Não deu certo. O acrescimo feito não aparenta nenhuma mudança.

E agora, como posso achar uma solução? Queria abrir o jogo, mesmo que fique lento.
« Última modificação: 21 de Janeiro de 2007, 20:50 por Smosher »

Offline Smosher

  • Usuário Ubuntu
  • *
  • Mensagens: 52
  • Texto Pessoal
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #10 Online: 22 de Janeiro de 2007, 23:37 »
Tem algum tipo de programa para linux similar ao directx?

Offline Lamego

  • Usuário Ubuntu
  • *
  • Mensagens: 1.943
    • Ver perfil
Re: Problemas para instalar o StepMania
« Resposta #11 Online: 23 de Janeiro de 2007, 20:54 »
Smosher,
em linux é usado o OpenGL que é uma biblioteca utilizada para 3D.
Este biblioteca utiliza aceleração gráfica se o driver grafico o suportar...
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu