Autor Tópico: Maldita ATI! Não consigo de jeito nenhum... (resolvido)  (Lida 3118 vezes)

Offline SMS

  • Usuário Ubuntu
  • *
  • Mensagens: 21
    • Ver perfil
Maldita ATI! Não consigo de jeito nenhum... (resolvido)
« Online: 11 de Janeiro de 2007, 11:42 »
Estou a algum tempo tentando instalar corretamente a RADEON 9600 XT no Ubuntu Edgy para usar aceleração 3D.
Já segui vários tutoriais... Google, fóruns nacionais e internacionais e até agora não consegui instalar 100%.

Parece que tudo foi feito corretamente, e está tudo instalado, mas quando digito fglrxinfo:

display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)


Deveria ser ATI e não MESA!

Digitando glxinfo, ainda tenho direct rendering: No:

Código: [Selecionar]
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None

Meu xorg.config está atualmente assim:

Código: [Selecionar]
Section "ServerLayout"
Identifier     "Default Layout"
Screen      0  "Default Screen" 0 0
InputDevice    "Generic Keyboard"
InputDevice    "Configured Mouse"
InputDevice    "stylus" "SendCoreEvents"
InputDevice    "cursor" "SendCoreEvents"
InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

# path to defoma fonts
FontPath     "/usr/share/X11/fonts/misc"
FontPath     "/usr/share/X11/fonts/cyrillic"
FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath     "/usr/share/X11/fonts/Type1"
FontPath     "/usr/share/X11/fonts/100dpi"
FontPath     "/usr/share/X11/fonts/75dpi"
FontPath     "/usr/share/fonts/X11/misc"
FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load  "dbe"
Load  "dri"
SubSection "extmod"
Option     "omit xfree86-dga"
EndSubSection
Load  "glx"
Load  "i2c"
Load  "bitmap"
Load  "ddc"
Load  "extmod"
Load  "freetype"
Load  "int10"
Load  "type1"
Load  "vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver      "kbd"
Option     "CoreKeyboard"
Option     "XkbRules" "xorg"
Option     "XkbModel" "abnt2"
Option     "XkbLayout" "br"
Option     "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver      "mouse"
Option     "CorePointer"
Option     "Device" "/dev/input/mice"
Option     "Protocol" "ExplorerPS/2"
Option     "ZAxisMapping" "4 5"
Option     "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
Identifier  "stylus"
Driver      "wacom"
Option     "Device" "/dev/wacom"          # Change to
Option     "Type" "stylus"
Option     "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
Identifier  "eraser"
Driver      "wacom"
Option     "Device" "/dev/wacom"          # Change to
Option     "Type" "eraser"
Option     "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
Identifier  "cursor"
Driver      "wacom"
Option     "Device" "/dev/wacom"          # Change to
Option     "Type" "cursor"
Option     "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier   "SyncMaster"
HorizSync    30.0 - 61.0
VertRefresh  56.0 - 75.0
Option     "DPMS" "true"
EndSection

Section "Device"
Identifier  "aticonfig-Device[0]"
Driver      "fglrx"
Option     "UseInternalAGPGART" "no"
Option     "VideoOverlay" "on"
Option     "OpenGLOverlay" "off"
Option     "MonitorLayout" "AUTO, AUTO"
EndSection

Section "Screen"
Identifier "Default Screen"
Device     "aticonfig-Device[0]"
Monitor    "SyncMaster"
DefaultDepth     24
SubSection "Display"
Depth     1
Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth     4
Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth     8
Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth     15
Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth     16
Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth     24
Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode         0666
EndSection

Section "Extensions"
Option     "Composite" "Disable"
EndSection

O último tutorial que segui foi este:
http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide#Method_2:_Generating.2FInstalling_Ubuntu_packages_for_the_new_8.32.5_drivers_in_Ubuntu_Edgy_Manually

Está funcionando até o Control Panel da ati, acionado pelo menu principal:



Se alguém puder ajudar agradeço muito.
Obrigado!
« Última modificação: 11 de Janeiro de 2007, 19:06 por SMS »

Offline SMS

  • Usuário Ubuntu
  • *
  • Mensagens: 21
    • Ver perfil
Re: Maldita ATI! Não consigo de jeito nenhum... alguém me dá uma luz, por favor!
« Resposta #1 Online: 11 de Janeiro de 2007, 11:45 »
Ah, quando eu rodo o fgl_glxgears dá o seguinte erro:

Using GLX_SGIX_pbuffer
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  130 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  33
  Current serial number in output stream:  33


Offline Akuhn

  • Usuário Ubuntu
  • *
  • Mensagens: 384
  • Ubuntu 9.04
    • Ver perfil
    • Blog do FAX
Re: Maldita ATI! Não consigo de jeito nenhum... alguém me dá uma luz, por favor!
« Resposta #2 Online: 11 de Janeiro de 2007, 11:51 »
Então meu amigo, funciona assim:

Se você instalou o driver baixando o binário do site da ATI você vai ter que reinstalar ele se tiver feito uma atualização de kernel. Isso vale para drivers da nvidia também.

Eis que aí surge um problema, a versão nova do kernel pode contar algumas features novas que o driver ainda não está preparado para suportar e rodar corretamente.

O que eu recomendo é que você instale o driver pelo repositório do próprio Ubuntu, pois daí quando tiver uma atualização de kernel ele atualiza o módulo junto, porque senão o pacote quebra.

Bem, o que você pode tentar fazer é limpar a instalação do drivers, voltar o driver genérico e depois tente atualizar a partir do repositório...



Citar
sudo aptitude update
sudo aptitude dist-upgrade
sudo aptitude install xorg-driver-fglrx

Tem um tutorial que eu segui para instalar a minha placa ATI, talvez lhe ajude:
http://wiki.ubuntu-it.org/Abilitare3DAti
Aldefax Gilvan Kuhn

Linux User 410689

Offline SMS

  • Usuário Ubuntu
  • *
  • Mensagens: 21
    • Ver perfil
Re: Maldita ATI! Não consigo de jeito nenhum... alguém me dá uma luz, por favor!
« Resposta #3 Online: 11 de Janeiro de 2007, 12:45 »
Akuhn, agradeço muito sua atenção, mas consegui resolver o problema, finalmente!
Peço desculpas por postar essa mensagem, acho que fui precipitado. Faltou-me paciência.

Mas tudo bem, pelo menos deixo a dica para outras pessoas que tenham o mesmo problema.

Consegui assim:
1) Segui o tutorial em:
http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide#Method_2:_Generating.2FInstalling_Ubuntu_packages_for_the_new_8.32.5_drivers_in_Ubuntu_Edgy_Manually
2) Rodei o instalador gráfico da ATI novamente! Fiz a instalação automática por ele.

E pronto! O driver agora está funcionando normalmente aqui.

Digitando fglrxinfo agora aparece:

display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 XT Generic
OpenGL version string: 2.0.6234 (8.32.5)


Como deveria.
Em glxinfo agora tenho um agradável YES na opção direct rendering, e o fgl_glxgears roda sem problemas.

É isso. :P

arlei

  • Visitante
Re: Maldita ATI! Não consigo de jeito nenhum... alguém me dá uma luz, por favor!
« Resposta #4 Online: 11 de Janeiro de 2007, 14:15 »
Beleza SMS,

esta registrado essa sua dica aqui, afinal eu tentei de "todas" as maneiras fazer minha ATI PCIE X1600XT funcionar no Edgy e sempre tive o mesmo problema com o tal Mesa, tanto que acabei desistindo e voltando para o Dapper.
Agora com essa sua dica quem sabe eu me arrisco de novo a colocar o 6.10 aqui no meu desktop.  ;)

T+
Arlei

Offline SMS

  • Usuário Ubuntu
  • *
  • Mensagens: 21
    • Ver perfil
Re: Maldita ATI! Não consigo de jeito nenhum... alguém me dá uma luz, por favor!
« Resposta #5 Online: 11 de Janeiro de 2007, 16:58 »
Beleza SMS,

esta registrado essa sua dica aqui, afinal eu tentei de "todas" as maneiras fazer minha ATI PCIE X1600XT funcionar no Edgy e sempre tive o mesmo problema com o tal Mesa, tanto que acabei desistindo e voltando para o Dapper.
Agora com essa sua dica quem sabe eu me arrisco de novo a colocar o 6.10 aqui no meu desktop.  ;)

T+
Arlei

Poisé cara, mas eu achei meio milagroso esse meu método... pelo menos funcionou.

Quando eu instalava só pelo instalador automático, nem o Ati Control Panel funcionava (pelo menos seu atalho que fica no menu principal da interface gráfica do ubuntu). Com a instalação seguindo aquele tutorial que passei, o Ati Control Panel funcionava, mas ainda ficava com o negocio do mesa lá... Dai, como disse, fiz aquela instalação do tutorial e depois a instalação do automático e deu certo... ???
Estranho não?

As aplicações em OpenGL estão beeeem melhores e mais rápidas! Estou bastante satisfeito... Usava o Ubuntu há uns 4 meses com aquele mesa... Vamos ver agora com o OpenGL de verdade!

Té!

Offline Akuhn

  • Usuário Ubuntu
  • *
  • Mensagens: 384
  • Ubuntu 9.04
    • Ver perfil
    • Blog do FAX
Re: Maldita ATI! Não consigo de jeito nenhum... alguém me dá uma luz, por favor!
« Resposta #6 Online: 11 de Janeiro de 2007, 17:25 »
Coloca um "(Resolvido)" no Tópico, sem as aspas. :P

[ ]'s.
Aldefax Gilvan Kuhn

Linux User 410689

Offline DidiRS

  • Usuário Ubuntu
  • *
  • Mensagens: 27
    • Ver perfil
Re: Maldita ATI! Não consigo de jeito nenhum... (resolvido)
« Resposta #7 Online: 21 de Janeiro de 2007, 03:41 »
Desculpa a ignorancia, mas qual seria a "instalação do automático" citada???