Publicada por Marcelo_Reis em 20/06/2007 - 21:15h:
* Marcelo_Reis usa Slackware

Problemas com aceleração da placa de video

Hello World!
Tenho uma placa de video "ATIRadeon 9200se" 128Mb
instalei os drivers do fabricante.
habilitei os modulos da ATI no Kernel 2.6.18
Uso o Slackware11
...
pois bem, depois de tudo instalado o meu "xorg.conf" é esse:

---------------------------------------------------------------------

Section "ServerLayout"
Identifier "Simple Layout"
   Screen 0 "aticonfig-Screen[0]" 0 0
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
   FontPath "/usr/X11R6/lib/X11/fonts/local/"
   FontPath "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
   FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "Module"

Load "dbe"    # Double buffer extension
   SubSection "extmod"
      Option    "omit xfree86-dga" # don't initialise the DGA extension
   EndSubSection
   Load "type1"
   Load "freetype"
#Load "speedo"
   Load "glx"
   Load "dri"
EndSection

Section "InputDevice"

Identifier "Keyboard1"
   Driver "kbd"
   Option    "XkbRules" "xorg"
   Option    "XkbModel" "abnt2"
   Option    "XkbLayout" "br"
   Option    "XkbVariant" "abnt2"
   Option    "XkbOptions" "abnt2"

EndSection

Section "InputDevice"

Identifier "Mouse1"
   Driver "mouse"
   Option    "Device" "/dev/psaux"
   Option    "Protocol" "IMPS/2"
   Option    "Buttons" "5"
   Option    "ZAxisMapping" "4 5"

EndSection

Section "Monitor"

Identifier "My Monitor"
   HorizSync 31.5 - 50.0
   VertRefresh 40.0 - 90.0
EndSection

Section "Monitor"
   Identifier "aticonfig-Monitor[0]"
   Option    "VendorName" "ATI Proprietary Driver"
   Option    "ModelName" "Generic Autodetecting Monitor"
   Option    "DPMS" "true"
EndSection

Section "Device"

Identifier "VESA Framebuffer"
   Driver "vesa"
EndSection

Section "Device"
   Identifier "aticonfig-Device[0]"
   Driver "fglrx"
EndSection

Section "Screen"

Identifier "Screen 1"
   Device "VESA Framebuffer"
   Monitor "My Monitor"
   DefaultDepth 24
   SubSection "Display"
# "1024x768" "800x600" "640x480"
      Depth 32
      Modes "1280x960"
   EndSubSection
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]"
   Device "aticonfig-Device[0]"
   Monitor "aticonfig-Monitor[0]"
   DefaultDepth 24
   SubSection "Display"
      Viewport 0 0
      Depth 24
   EndSubSection
EndSection

-------------------------------------------------------------------------------------

Pois bem, quando rodo o comando "fglrxconfig" ele me reporta isso:

-------------------------------------------------------------------------------------

marcelo@marcelo:~$ 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.4.1)


--------------------------------------------------------------------------------------

como root não é possivel executar esse comando, o q eu acho estranho.

Tentei rodar o jogo, "Castle Wolfenstein - Enemy Territory"

aod digitar $et

eu tenho como resposta:

__________________________________________________________

ET 2.60 linux-i386 Mar 10 2005
----- FS_Startup -----
Current search path:
/home/marcelo/.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

----------------------
3763 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, 16 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XFree86-VidModeExtension Activated at 640x480
Received signal 11, exiting...
___________________________________________________________

não sei mais o q fazer, me KDE está com a configuração 1600x1200 e se eu reduzir, simplesmente ele começa a dar falha em varias aplicações a começar pelo terminal que não abre.
quando está iniciando o Linux, aquela tela preta com os moduls sendo carregados está com as letras enormes, estou com medo de ter um choque termico por cauda da grande variação de pixels... =oD


soh para finalizar!
placa mãe Asus A7N8X-XE
chipset Nvidia

AMD Athlon XP 3000+
1Gb ram

quem puder ajudar eu agradeço!
valew

  
 
Resposta de nicolo em 21/06/2007 - 09:45h:
* nicolo usa Ubuntu
* nicolo tem conceito: 9.6
 


Joereis51
Não uso a placa ATI. Vai a tentativa de ajudar.
O driver do fabricante normalmente carrega módulos externos que saem na configuração como DDD=m.
Habilitar as coisas no Kernel manualmente, geralmente não é preciso.
O driver ATI parece não ter instalado corretamente. O Screen0 não está compeltamente definido. Parece estar carregando o: VESA Framebuffer.
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
DefaultDepth 24
SubSection "Display"
# "1024x768" "800x600" "640x480"
Depth 32
Modes "1280x960"
EndSubSection
EndSection

Aparentemente está carregando com o drive VESAframe buffer que é o coringa. Quando você chama o configurador ATI dá erro, porque o screen0 não é o de boot.

Tentativa que eu faria se fosse comigo-Mas não sei se funciona.
Salve o arquivo original Xorg.conf de maneira a recompor em modo texto se algo der errado.

Remova a definição do vesaframebuffer colocando # no ínicio de cada linha

Se não der certo copie o arquivo salvo no lugar original.

Significa que o driver ATI não instalou legal.
Reinstale o driver da ATI.

Talvez isso de uma pista.
Boa sorte


 
Resposta de Marcelo_Reis em 21/06/2007 - 12:08h:
* Marcelo_Reis usa Slackware
* Marcelo_Reis tem conceito: nenhum voto.
 


Olá Nicolo

Acho que não funcionou!
O meu xorg.conf ficou assim:

---------------------------------------------------
Section "Monitor"
   Identifier "aticonfig-Monitor[0]"
   Option    "VendorName" "ATI Proprietary Driver"
   Option    "ModelName" "Generic Autodetecting Monitor"
   Option    "DPMS" "true"
EndSection

#Section "Device"

# VideoRam 4096
# Insert Clocks lines here if appropriate
#   Identifier "VESA Framebuffer"
#   Driver "vesa"
#EndSection

Section "Device"
   Identifier "aticonfig-Device[0]"
   Driver "fglrx"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]"
   Device "aticonfig-Device[0]"
   Monitor "aticonfig-Monitor[0]"
   DefaultDepth 24
   SubSection "Display"
      Viewport 0 0
      Depth 24
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection

-----------------------------------------------------------------

Mas aparentemente não mudou nada, parece q o curinga continua sendo usado, mas como?
é estranho...
pelo comando "glxinfo" notei que a linha "direct rendering" esta marcada como "No", quando deveria estar em "Yes", veja:

------------------------------------------------------------------

$ glxinfo
name of display: :0.0
display: :0 screen: 0
c
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_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
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 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.4.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


-------------------------------------------------------------------------------------

Será que isso tem saída, ou vou tre que reinstalar o slackware de novo, meu kde, está com problemas, se eu altero a resolução de video, ele trava algumas funções, e as letras no modo texto estão supergrandes.

-----------------------------------------------------------------------------
$ glxgears
926 frames in 5.0 seconds = 185.198 FPS
936 frames in 5.0 seconds = 187.004 FPS
948 frames in 5.0 seconds = 189.558 FPS
914 frames in 5.0 seconds = 182.440 FPS
935 frames in 5.0 seconds = 186.649 FPS
--------------------------------------------------------------------------------------

Valew pela ajuda!
abs

  


ATENÇÃO: Antes de contribuir com uma resposta, leia o artigo Qualidade de respostas e certifique-se de que esteja realmente contribuindo com a comunidade. Muitas vezes o ímpeto de contribuir nos leva a atrapalhar ao invés de ajudar.

Contribuir com resposta



CAPTCHA
[ Recarregar imagem ]

Digite o código acima:

  
* Nota: só é possível enviar respostas usuário que possui conta e esteja logado com ela, caso contrário sua mensagem será perdida.



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts