Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(CERRADO) [Aceleración grafica] OpenGL y 3D INTEL en Gentoo?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Tue May 01, 2007 12:27 am    Post subject: (CERRADO) [Aceleración grafica] OpenGL y 3D INTEL en Gentoo Reply with quote

Hola buenas a todos, veamos, alguien tiene idea si puedo tener aceleración opengl y 3d en mi portatil en gentoo? la gráfica es una intel, alguien sabe algo?

Espero respuestas, muchisimas gracías.
Saludos.


Last edited by ZaPa on Thu Jul 12, 2007 4:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
achaw
l33t
l33t


Joined: 09 Aug 2006
Posts: 689
Location: Argentina

PostPosted: Tue May 01, 2007 1:05 am    Post subject: Reply with quote

Zapa, una de las normas del foro es leer toda la doc posible y googlear hasta el ultimo extremo antes de postear. Vos no lo estas haciendo. Por cada pequeño y simple problema abris un post, cuando en el handbook o los howto esta claro. Te pido por favor que lo tomes en cuenta, porque me da la sensacion de que no estas haciendo. Asi no se aprende nada. Y calculo que tenes muchas ganas de aprender, como todos nosotros.


Saludos

http://gentoo-wiki.com/HOWTO_Direct_rendering_on_Intel_Extreme_Graphics_%28855GM%29_chipsets
_________________
Usuario GNU/Linux #398133
Fluxbox + ROX
NO al canon!
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue May 01, 2007 2:11 pm    Post subject: Reply with quote

Sip, es bueno acostumbrarse a buscar las cosas antes de abrir hilos a lo loco. Usa la función de búsqueda del foro, o incluso mejor, usa algo como "site:forums.gentoo.org lo que quieres buscar" en google. Así puedes usar google para buscar en estos foros, ya que, desgraciadamente, nuestra función de búsqueda no es muy buena.

También están estos sitios, donde buscar cosas relacionadas con Gentoo:
http://gentoo-wiki.com/Main_Page
http://www.gentoo.org/doc/es/list.xml

Hay muchos más, pero con esto se puede resolver casi todo.

Por supuesto, usa el foro si lo necesitas. Pero antes intenta valerte de la documentación que ya existe, si no, es necesario duplicar la información de forma inútil.
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Tue May 01, 2007 5:53 pm    Post subject: Reply with quote

Despues de numerosos intentos ya he conseguido tener aceleración opengl y 3d en mi querido laptop con gráfica intel.

Pero ahi un problema..... tengo activada la aceleración pero cuando me pongo a jugar a un juego que trabaja con opengl no sobrepasa los 5fps y va a golpes...

Aqui pego la salida de glxinfo:

Code:

direct rendering: Yes


Aqui pego la salida de glxgears:

Code:

4584 frames in 5.0 seconds = 916.756 FPS
4682 frames in 5.0 seconds = 936.293 FPS
4680 frames in 5.0 seconds = 935.974 FPS
4674 frames in 5.0 seconds = 934.611 FPS
4654 frames in 5.0 seconds = 930.502 FPS


Tiene muchisimos fps nosé porqué al intentar jugar no funcióna.
Espero respuestas,saludos.
Saludos.
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Wed May 02, 2007 10:12 am    Post subject: Reply with quote

Me sumo a la duda.

Yo estoy en las mismas y ya emergí el driver correcto a mi targeta grafica (además de estar especificado en el make.conf y recompilado el sistema enterito con la USE correspondiente).

EL glxgears no lo puedo abrir, directamente no lo tengo, aunque con el driver y la USE habrian de bastar, ¿no? Sencillamente no sé que hacer y estoy googleando (no intensivamente) desde hace 2 dias..

EDITO: Ahora estoy emergiendo mesa y mesa-progs. Ya tengo el opengl entre otros...
_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Wed May 02, 2007 10:24 am    Post subject: Reply with quote

Estoy por desdecirme... ya no sé si la tengo o no....

Quote:

sefirot@localhost ~ $ glxgears -info
GL_RENDERER = Mesa GLX Indirect
GL_VERSION = 1.2 (1.5 Mesa 6.5.1)
GL_VENDOR = Mesa project: www.mesa3d.org
GL_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
5160 frames in 5.0 seconds = 1023.010 FPS
5144 frames in 5.0 seconds = 1026.849 FPS
5352 frames in 5.0 seconds = 1063.420 FPS
7978 frames in 5.0 seconds = 1595.600 FPS
7967 frames in 5.1 seconds = 1574.332 FPS
7490 frames in 5.0 seconds = 1492.414 FPS
8559 frames in 5.1 seconds = 1693.485 FPS
8687 frames in 5.1 seconds = 1716.129 FPS
8800 frames in 5.0 seconds = 1743.474 FPS
8687 frames in 5.0 seconds = 1735.248 FPS
8715 frames in 5.0 seconds = 1742.097 FPS
8860 frames in 5.0 seconds = 1755.951 FPS
8785 frames in 5.1 seconds = 1739.203 FPS
8488 frames in 5.0 seconds = 1686.501 FPS
8780 frames in 5.0 seconds = 1742.538 FPS


_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed May 02, 2007 11:40 am    Post subject: Reply with quote

Bueno, @ZaPa, no te fíes de indicador de glxgears, no es un test fiable. Tira más de cpu que otra cosa. Es útil para saber si dri funciona correctamente, pero nada más. En tu caso, no se lo que puede estár provocando la lentitud. ¿Te pasa lo mismo en otros juegos o es solo ese? Intenta probar asegurándote de no tener nada en segundo plano que pida mucha cpu.

Tu dri está activado porque así lo dice glxinfo.

@Sefirotsama, según la salida de glxgears creo que no tienes dri activo, pero puedes comprobarlo usando "glxinfo | grep direct". No tengo experiencia alguna con drivers de Intel, así que no se si se me escapa algo específico de estas tarjetas. Esperemos que alguien con experiencia en estos menesteres acuda.
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Wed May 02, 2007 12:59 pm    Post subject: Reply with quote

De nuevo muchisimas gracías a todos por vuestras respuestas,veamos.

Me pasa lo mismo en todos los juegos.

6thpink, los valores que salen al hacer el test para el opengl son 900fps (como has podido observar en mi anterior mensaje). Pero lo curioso es eso, que cuando un juego tira de opengl no sube de 15fps, un ejemplo por ejemplo es el Counter-Strike 1.6, al abrir el juego (sin empezar a jugar), solamente en los menus de counter-strike 1.6 no sobrepasa de 15 fps, cuando con mi ati en mi ordenador de sobremesa con el mismo juego y la misma versión de wine en los menús del juego (sin empezar a jugar) muestra más de 70 fps y se juega perfectamente.

Y bueno el test sobre la aceleración 3d y opengl también lo he verificado mediante cedega que tiene sus opciones para comprobar si esta la aceleración activa y bueno, dice que esta todo OK. También comprendo que cedega trabaja sobre los comandos en consola (está cláro).

Pero bueno, como digo, según los tests realizados de aceleración yo tengo la aceleración 3d y opengl activada, pero ahún asi parece que no está activada, nosé es algo muy raro.

Espero respuestas.
Saludos.
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Wed May 02, 2007 1:03 pm    Post subject: Reply with quote

Parece que he encontrado algo buscando en google con site.... (como me dijó 6thpink) jeje :D.

Aquí teneis lo que he encontrado:

https://forums.gentoo.org/viewtopic.php?t=221078&start=32

Tiene algo que ver con esto? o ese parche es solo para que este disponible en el kernel tambien la 915?

Espero respuestas,saludos.
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Wed May 02, 2007 2:24 pm    Post subject: Reply with quote

Tienes razón voy a investigarlo:

Quote:
sefirot@localhost ~ $ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Wed May 02, 2007 3:09 pm    Post subject: Reply with quote

Mi xorg.conf "aparentemente" carga el modulo

Code:

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

Section "dri"
  Mode 0666
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
    Identifier  "videocard0"
    Driver      "i810"
    VideoRam    131072
    # Insert Clocks lines here if appropriate
EndSection





(he estado googleando)


en este link: http://www.gentoo.org/doc/en/dri-howto.xml#doc_chap3


En el kernel marca esto: (vigila que aparece bloqueado con -- si tienes activado el intelfb)
Code:

Processor type and features --->
<*> MTRR (Memory Type Range Register) support
Device drivers --->
   Character devices --->
   <*> Intel 440LX/BX/GX, I8xx and E7x05 support
(Enable your chipset instead of the above.)
   <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
               <*>   Intel I810


_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Wed May 02, 2007 3:42 pm    Post subject: Reply with quote

Por cierto es normal que el comando lspci | grep AGP no me devuelve nada. Una salida vacia como si solo hubiese apretado intro. Es normal? Creo que no...


Pues he cometido un error y no me furrula (me respondo yo solo).

En fin he compilado el nucleo y demás.... bla bla bla reinio y voy a emerger x11-base/x11-drm

Primer intento me falla y me pide que recompile el nucleo con las opciones mencionadas anteriormente como [M]odulo o desactivado..

Lo hago reintento y obtengo esto:

Quote:
>>> Emerging (1 of 1) x11-base/x11-drm-20060608 to /
* x11-drm-20060608-gentoo-0.3.tar.bz2 RMD160 ;-) ... [ ok ]
* x11-drm-20060608-gentoo-0.3.tar.bz2 SHA1 ;-) ... [ ok ]
* x11-drm-20060608-gentoo-0.3.tar.bz2 SHA256 ;-) ... [ ok ]
* x11-drm-20060608-gentoo-0.3.tar.bz2 size ;-) ... [ ok ]
* linux-drm-20060608-kernelsource.tar.bz2 RMD160 ;-) ... [ ok ]
* linux-drm-20060608-kernelsource.tar.bz2 SHA1 ;-) ... [ ok ]
* linux-drm-20060608-kernelsource.tar.bz2 SHA256 ;-) ... [ ok ]
* linux-drm-20060608-kernelsource.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking x11-drm-20060608-gentoo-0.3.tar.bz2 ;-) ... [ ok ]
* checking linux-drm-20060608-kernelsource.tar.bz2 ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.20-gentoo-r7/build
* Found sources for kernel version:
* 2.6.20-gentoo-r7
>>> Unpacking source...
>>> Unpacking linux-drm-20060608-kernelsource.tar.bz2 to /var/tmp/portage/x11-base/x11-drm-20060608/work
>>> Unpacking x11-drm-20060608-gentoo-0.3.tar.bz2 to /var/tmp/portage/x11-base/x11-drm-20060608/work
mv: no se puede efectuar `stat' sobre «/var/tmp/portage/x11-base/x11-drm-20060608/work/patch/*kernel-2.4*»: No existe el fichero o el directorio
* Applying various patches (bugfixes/updates) ...
* 001_all_can-2004-1056-lock-checking.patch ... [ ok ]
* 002_all_misc-makefile-fixes.patch ... [ ok ]
* 003_all_undefined-true-false.patch ... [ ok ]
* 004_all_conditional-config-include.patch ... [ ok ]
* Done with patching
* Running eautoreconf in '/var/tmp/portage/x11-base/x11-drm-20060608/work/drm' ...
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: drm
* Applying max_cmd_len-1.5.0.patch ...
* Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-base/x11-drm-20060608/work/drm ...
* Building DRM in /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core...
+ ln -s ../shared-core/drm.h drm.h
+ ln -s ../shared-core/drm_sarea.h drm_sarea.h
+ ln -s ../shared-core/mga_dma.c mga_dma.c
+ ln -s ../shared-core/mga_drm.h mga_drm.h
+ ln -s ../shared-core/mga_drv.h mga_drv.h
+ ln -s ../shared-core/mga_irq.c mga_irq.c
+ ln -s ../shared-core/mga_state.c mga_state.c
+ ln -s ../shared-core/mga_ucode.h mga_ucode.h
+ ln -s ../shared-core/mga_warp.c mga_warp.c
+ ln -s ../shared-core/r128_drv.h r128_drv.h
+ ln -s ../shared-core/r128_drm.h r128_drm.h
+ ln -s ../shared-core/r128_cce.c r128_cce.c
+ ln -s ../shared-core/r128_state.c r128_state.c
+ ln -s ../shared-core/r128_irq.c r128_irq.c
+ ln -s ../shared-core/radeon_drv.h radeon_drv.h
+ ln -s ../shared-core/radeon_drm.h radeon_drm.h
+ ln -s ../shared-core/radeon_cp.c radeon_cp.c
+ ln -s ../shared-core/radeon_irq.c radeon_irq.c
+ ln -s ../shared-core/radeon_mem.c radeon_mem.c
+ ln -s ../shared-core/radeon_state.c radeon_state.c
+ ln -s ../shared-core/r300_cmdbuf.c r300_cmdbuf.c
+ ln -s ../shared-core/r300_reg.h r300_reg.h
+ ln -s ../shared-core/sis_drv.h sis_drv.h
+ ln -s ../shared-core/sis_drm.h sis_drm.h
+ ln -s ../shared-core/tdfx_drv.h tdfx_drv.h
+ ln -s ../shared-core/via_drm.h via_drm.h
+ ln -s ../shared-core/via_drv.h via_drv.h
+ ln -s ../shared-core/via_3d_reg.h via_3d_reg.h
+ ln -s ../shared-core/via_drv.c via_drv.c
+ ln -s ../shared-core/via_irq.c via_irq.c
+ ln -s ../shared-core/via_map.c via_map.c
+ ln -s ../shared-core/via_dma.c via_dma.c
+ ln -s ../shared-core/via_verifier.c via_verifier.c
+ ln -s ../shared-core/via_verifier.h via_verifier.h
+ ln -s ../shared-core/via_video.c via_video.c
+ ln -s ../shared-core/mach64_drv.h mach64_drv.h
+ ln -s ../shared-core/mach64_drm.h mach64_drm.h
+ ln -s ../shared-core/mach64_dma.c mach64_dma.c
+ ln -s ../shared-core/mach64_irq.c mach64_irq.c
+ ln -s ../shared-core/mach64_state.c mach64_state.c
+ ln -s ../shared-core/i915_drv.h i915_drv.h
+ ln -s ../shared-core/i915_drm.h i915_drm.h
+ ln -s ../shared-core/i915_irq.c i915_irq.c
+ ln -s ../shared-core/i915_mem.c i915_mem.c
+ ln -s ../shared-core/i915_dma.c i915_dma.c
+ ln -s ../shared-core/savage_drv.h savage_drv.h
+ ln -s ../shared-core/savage_drm.h savage_drm.h
+ ln -s ../shared-core/savage_bci.c savage_bci.c
+ ln -s ../shared-core/savage_state.c savage_state.c
+ ln -s ../shared-core/nv_drv.h nv_drv.h
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
rm -f linux
ln -s . linux
make -C /usr/src/linux SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: se ingresa al directorio `/usr/src/linux-2.6.20-gentoo-r7'
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_auth.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_bufs.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_context.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_dma.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_drawable.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_drv.o
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_drv.c: En la función 'drm_init':
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_drv.c:304: aviso: se ignora el valor de devolución de 'pci_register_driver', se declaró con el atributo warn_unused_result
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_fops.o
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_fops.c: En la función 'drm_stub_open':
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_fops.c:189: aviso: la asignación descarta los calificadores del tipo del destino del puntero
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_ioctl.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_irq.o
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_irq.c: En la función 'drm_irq_install':
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_irq.c:135: aviso: se pasa el argumento 2 de 'request_irq' desde un tipo de puntero incompatible
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_lock.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_memory.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_proc.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_stub.o
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_stub.c:51: error: el tamaño de la matriz 'type name' es negativo
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_stub.c: En la función 'drm_get_dev':
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_stub.c:216: aviso: se ignora el valor de devolución de 'pci_request_regions', se declaró con el atributo warn_unused_result
/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_stub.c:219: aviso: se ignora el valor de devolución de 'pci_enable_device', se declaró con el atributo warn_unused_result
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core/drm_stub.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux-core] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.20-gentoo-r7'
make: *** [modules] Error 2
* Portage could not build the DRM modules. If you see an ACCESS DENIED error,
* this could mean that you were using an unsupported kernel build system. All
* 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
* are supported.

!!! ERROR: x11-base/x11-drm-20060608 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4658: Called src_compile
x11-drm-20060608.ebuild, line 99: Called die_error
x11-drm-20060608.ebuild, line 224: Called die

!!! Unable to build DRM modules.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-base/x11-drm-20060608/temp/build.log'.




Por supuesto glxinfo | grep rendering me dice que no tengo 3D. Voy a seguir probando hasta dar en el clavo.
_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Wed May 02, 2007 3:49 pm    Post subject: Reply with quote

OOOOOOEEEEEEEEEEEEEEEEEEEEEOEOEOEOE


He vuelto a rehacer lso ultimos pasos (al final no he compilado el x11-drm)
Code:

sefirot@localhost ~ $ glxinfo | grep direct
libGL warning: 3D driver claims to not support visual 0x5b
direct rendering: Yes


Solo aviso que esto "empieza a ir" pero aún queda un largo camino por recorrer... empieza por ir a la biblioteca a estudiar.


XD
_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Fri May 04, 2007 9:29 am    Post subject: Reply with quote

Alguna novedad? alguien sabe algo? yo sigo con mi "supuesta" aceleración opengl y 3d activada, digo supuesta porqué me dice que la tengo activada y cuando juego es como si no estuviera activada.

Espero respuestas,saludos.
Back to top
View user's profile Send private message
Eleazar Anzola
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1318
Location: Caracas / Venezuela

PostPosted: Fri May 04, 2007 1:30 pm    Post subject: Reply with quote

Yo he seguido estos 2 y te aseguro que tengo beryl, ut2004, tribal troube, ppracer, ET full 3D acelerados y sin problemas.

Aquí 1

Aqui 2
_________________
Salu2
Eleazar Anzola
Linux User : # 216232
__________________________________________
Por un foro ordenado y un buscador más útil:
[TEMA] Descripción problema (estado)
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Sat May 05, 2007 3:15 am    Post subject: Reply with quote

Eleazar he estado investigando y al parecer el tema de los fps en los juegos aunque la aceleración este activada sea porqué como estas tarjetas su memoria propia es de solo 8mb y lo demás es compartido con la ram, parece que ser que solo coje los 8mb de tarjeta, como puedo hacer para que comparta con la ram? me muestra que tengo opengl y direct3d activado pero en los juegos no rinde.


Porcierto sefirotsama, he intentado marcar estas opciones en el kernel que tu me has dicho que marque:

Code:

Device drivers --->
   Character devices --->
   <*> Intel 440LX/BX/GX, I8xx and E7x05 support
(Enable your chipset instead of the above.)
   <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
               <*>   Intel I810


Pero no me deja marcarlo ya que esta como "bloqueado" como tu dices, tengo que vigilar que no este activado el intelfb, que es el intelfb? como lo desactivo?

Muchas gracías.
Espero respuestas,saludos.
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Sat May 05, 2007 5:41 pm    Post subject: Reply with quote

Estos debes marcarlos como modulos (mejor que mejor):

Code:

Device drivers --->
   Character devices --->
   <M> Intel 440LX/BX/GX, I8xx and E7x05 support
(Enable your chipset instead of the above.)
   <M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
               <M>   Intel I810



Si te aparecen bloqueados sean seguramente pq tienes activado esto: (DEBES DESACTIVARLO)
Code:
Device Drivers  --->
    Graphics support  --->
               < > Intel 830M/845G/852GM/855GM/865G/915G/945G support (EXPERIMENTAL)


Compila, metelo en el grub, reinicia y escribe esto a ver que te cuenta:

Code:
glxinfo | grep direct


Si te da activado pero te muestra este error libGL warning: 3D driver claims to not support visual 0x5b tranquilo que a mi también me pasa, y no sé como quitarlo (he estado googleando mucho y al parecer no mata).



Lo de los juegos que dices, enseñanos tu xorg.conf.

Ahora ya obtengo estos resultados con el glxgears:
Quote:
sefirot@localhost ~ $ glxgears -info
libGL warning: 3D driver claims to not support visual 0x5b
GL_RENDERER = Mesa DRI Intel(R) 945GM 20050225
GL_VERSION = 1.3 Mesa 6.5.1
GL_VENDOR = Tungsten Graphics, Inc
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow 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_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram 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_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays
5054 frames in 5.0 seconds = 1010.406 FPS
5426 frames in 5.0 seconds = 1085.101 FPS
6235 frames in 5.0 seconds = 1246.931 FPS

_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
achaw
l33t
l33t


Joined: 09 Aug 2006
Posts: 689
Location: Argentina

PostPosted: Sat May 05, 2007 7:01 pm    Post subject: Reply with quote

ZaPa wrote:
Eleazar he estado investigando y al parecer el tema de los fps en los juegos aunque la aceleración este activada sea porqué como estas tarjetas su memoria propia es de solo 8mb y lo demás es compartido con la ram, parece que ser que solo coje los 8mb de tarjeta, como puedo hacer para que comparta con la ram? me muestra que tengo opengl y direct3d activado pero en los juegos no rinde..


Agregale esta linea en tu xorg.conf, en la seccion "Device":



Code:
        VideoRam        16384


O un valor mas alto...vos elegis.


Saludos
_________________
Usuario GNU/Linux #398133
Fluxbox + ROX
NO al canon!
Back to top
View user's profile Send private message
Inodoro_Pereyra
Advocate
Advocate


Joined: 03 Nov 2006
Posts: 2631
Location: En la otra punta del cable

PostPosted: Sat May 05, 2007 7:06 pm    Post subject: Reply with quote

Zapa: No se puede comparar nunca la cantidad de hardware que hace falta para hacer girar dos engranajes en pantalla (si bien irán algunos otros test por debajo) con lo necesario para tirar de un juego completo mucho mas complejo que dos engranajes, lleno de texturas y objetos en 3D... Por ende, de por sí es lógico que si glxgears te da 900fps, un juego te de mucho menos.
Esto dependerá siempre de la complejidad del juego en cuestión.

La cantidad de memoria ram asignada como memoria de video solo hace al tamaño maximo de textura que el GPU podrá procesar, 8Mb es muy poco pero así le pusieras 32 o 64Mb, los resultados de glxgears y del juego serían los mismos.

Si el juego carga es por que con 8Mb de memoria de video basta.

La cantidad de memoria se configura desde el setup de la portatil (a leer el manual de la misma se ha dicho)

Y de paso, dejo un OffTopic: Sefirotsama, desde hace un tiempo ya te leo con todos los caracteres correspondientes a acentos cambiados, Soy yo solamente? (Esto va desde cualquiera de mis pc gentoo, o desde windows, indistintamente)

Algun problemita en locales probablemente.

Saludos!
_________________
Mi Blog.

Si no fuera por C, estaríamos escribiendo programas en BASI, PASAL y OBOL.
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Sun May 06, 2007 11:06 pm    Post subject: Reply with quote

Bueno, esto sigue igual, me dice que tengo la aceleración opengl & direct3d activada y en los juegos no llega ni a los 9 fps en los menús, y cuando empiezas a jugar, 2/3 fps...

Bueno, veamos, aquí pego la salida de lspci de la vga:

Code:

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)


Como pueden ver tengo una grafica Intel 915.

Aquí pego la salida de: glxinfo | grep direct

Code:

direct rendering: Yes


Como pueden ver la aceleración 3d, esta activada.


Ahora aquí pego la salida de glxinfo:

Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
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: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20050225 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.4.2
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_shadow, 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_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array,
    GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_histogram, 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_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage,
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SUN_multi_draw_arrays
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 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow



Y bueno, por último, aquí pego mi xorg.conf:

Code:

Section "ServerLayout"
   Identifier   "X.Org Configured"
   Screen   0   "Screen0" 0 0
   InputDevice   "Keyboard0" "CoreKeyboard"
   InputDevice   "PS/2 Mouse" "AlwaysCore"
# Serial Mouse not detected
   InputDevice   "USB Mouse" "AlwaysCore"
#No Synaptics touchpad found
EndSection

Section "ServerFlags"
   Option   "AllowMouseOpenFail" "true"
   
EndSection

Section "Files"
   FontPath   "/usr/share/fonts/util"
   FontPath   "/usr/share/fonts/encodings"
   FontPath   "/usr/share/fonts/misc"
   FontPath   "/usr/share/fonts/local"
   FontPath   "/usr/share/fonts/terminus"
   FontPath   "/usr/share/fonts/corefonts"
   FontPath   "/usr/local/share/fonts"
   FontPath   "/usr/share/fonts/default"
   FontPath   "/usr/share/fonts/TTF"
   FontPath   "/usr/share/fonts/type1"
   FontPath   "/usr/share/fonts/100dpi"
   FontPath   "/usr/share/fonts/75dpi"
   FontPath   "/usr/share/fonts/arphicfonts"
   FontPath   "/usr/share/fonts/jisx0213"
   FontPath   "/usr/share/fonts/shinonome"
   FontPath   "/usr/share/fonts/baekmuk-fonts"
   FontPath   "/usr/share/fonts/kacst-fonts"
   FontPath   "/usr/share/fonts/sgi-fonts"
   FontPath   "/usr/share/fonts/unfonts"
   FontPath   "/usr/share/fonts/default/ghostscript"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
   Load   "ddc"
   Load   "vbe"
   Load   "GLcore"
   Load   "dbe"
   Load   "dri"
   Load   "extmod"
   Load   "glx"
   Load   "bitmap"
   Load   "type1"
   Load   "freetype"
   Load   "record"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver   "kbd"
   Option   "CoreKeyboard"
   Option   "XkbRules" "xorg"
   Option   "XkbModel" "pc104"
   Option   "XkbOptions" "grp:toggle,grp_led:scroll"
   Option   "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
   Identifier   "Serial Mouse"
   Driver   "mouse"
   Option   "Protocol" "Microsoft"
   Option   "Device" "/dev/ttyS0"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
   Identifier   "PS/2 Mouse"
   Driver   "mouse"
   Option   "Protocol" "IMPS/2"
   Option   "Device" "/dev/misc/psaux"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
   Option   "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier   "USB Mouse"
   Driver   "mouse"
   Option   "Device" "/dev/input/mice"
   Option   "SendCoreEvents" "true"
   Option   "Protocol" "IMPS/2"
   Option   "ZAxisMapping" "4 5"
   Option   "Buttons" "5"
EndSection

Section "InputDevice"
   Identifier   "Synaptics"
   Driver   "synaptics"
   Option   "Protocol" "event"
   Option   "Device" ""
   Option   "LeftEdge" "1900"
   Option   "RightEdge" "5400"
   Option   "TopEdge" "1900"
   Option   "BottomEdge" "4000"
   Option   "FingerLow" "25"
   Option   "FingerHigh" "30"
   Option   "MaxTapTime" "180"
   Option   "MaxTapMove" "220"
   Option   "VertScrollDelta" "100"
   Option   "MinSpeed" "0.02"
   Option   "MaxSpeed" "0.10"
   Option   "AccelFactor" "0.0010"
   Option   "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
   Identifier   "Monitor0"
   HorizSync    28.0 - 96.0
   VertRefresh  50.0 - 75.0
EndSection

Section "Device"
   ### Available Driver options are:-
   # sw_cursor is needed for some ati and radeon cards
   #Option     "sw_cursor"
   #Option     "hw_cursor"
   #Option     "NoAccel"
   #Option     "ShowCache"
   #Option     "ShadowFB"
   #Option     "UseFBDev"
   #Option     "Rotate"
   Identifier  "Card0"
   # The following line is auto-generated by x11-misc/mkxf86config
   Driver      "i810"
   VendorName  "All"
   BoardName   "All"
#   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Card0"
   Monitor   "Monitor0"
   DefaultColorDepth 24
   SubSection "Display"
      Depth   1
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   4
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   8
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   15
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   16
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   24
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   32
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection



No sé que tengo mal, he probado con varias modificaciones de xorg.conf en la section "Device" que he encontrado relacionados con el tema (googleando) y nada.


Y bueno también he probado lo que me ha dicho achaw de ponerle la memoria para la gráfica y sigue igual.

Ya no se me ocurre nada más y nosé que tengo mal, ya qué al intentar jugar (en cualquier juego) me funciona mal, y bueno, de la bios no tengo que tocar nada de la memoria de la gráfica ya qué en windows los mismos juegos van perfectamente.

Espero respuestas,saludos.
Muchisimas gracías por su atención.
Saludos.
Back to top
View user's profile Send private message
Eleazar Anzola
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1318
Location: Caracas / Venezuela

PostPosted: Mon May 07, 2007 4:28 pm    Post subject: Reply with quote

Hola, a to2,

Disculpas mil por no responder antes, pero he tenido algo de trabajo ultimamente y se me dificulta entrar al foro. Por lo que he podido leer en esta parte hay algo que aun no me convence mucho. Mi experiencia personal sin animos de polemizar con ninguno es que si coloco como módulo esta sección, el 3D se joroba y anda con muletas, mientras que si lo coloco embebido en el kernel todo funciona bien, por otro lado hay que acotar que en:
Code:
   <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
               <*>   Intel I810
                <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  ---> 

debes seleccionar esta ultima linea y con un vulgarius enter, te abre un submenu donde le indicas que tu video es 915 y no 810, con eso creo que ya deberia ser más que suficiente para conseguir el 3D a tope.

De no resultar esto deberias revisar las USES con las que has compilado el xorg, ya que quizas le dices al kernel que tienes 3D pero xorg aun no se entera :P .

Te pego mi xorg que como dije funciona al pelo:
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice "TouchPad" "AlwaysCore"
   Option         "AIGLX" "true"
EndSection

Section "Files"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "record"
   Load  "dbe"
#   Load  "GLcore"
   Load  "glx"
   Load  "extmod"
   Load  "dri"
   Load  "xtrap"
   Load  "type1"
   Load  "freetype"
   Load "synaptics"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
        Option "XkbRules"   "xorg"
       Option "XkbModel"   "inspiron"
       Option "XkbLayout"  "es"

EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
   Driver       "synaptics"
   Identifier   "TouchPad"
   Option       "Device"        "/dev/input/mouse1"
   Option       "Protocol"      "auto-dev"
   Option       "LeftEdge"      "1700"
   Option       "RightEdge"     "5300"
   Option       "TopEdge"       "1700"
   Option       "BottomEdge"    "4200"
   Option       "FingerLow"     "25"
   Option       "FingerHigh"    "30"
   Option       "MaxTapTime"    "180"
   Option       "MaxTapMove"    "220"
   Option       "VertScrollDelta" "100"
   Option       "MinSpeed"      "0.09"
   Option       "MaxSpeed"      "0.18"
   Option       "AccelFactor"   "0.0015"
   Option       "SHMConfig"     "on"
EndSection
 
Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   #HorizSync   31.5 - 64.3
   #HorizSync  30-64         # multisync
   #HorizSync  31.5, 35.2    # multiple fixed sync frequencies
       HorizSync  15-25, 30-50  # multiple ranges of sync frequencies
       VertRefresh 50-100

EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "CacheLines"            # <i>
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "NoDDC"                 # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "XvMCSurfaces"          # <i>
        #Option     "PageFlip"              # [<bool>]
   Option      "Clone"             "true"  # [<bool>   
   Option      "MonitorLayout" "CRT,LFP"   # <i>
        Option      "DRI"                   # [<bool>]
   Option      "XAANoOffscreenPixmaps" "true"
   Option      "DevicePresence" "true"   # [<bool>]
        Option      "NoAccel"   "false"           # [<bool>]
   Identifier  "Card0"
   Driver      "i810"
   VendorName  "Intel Corporation"
   BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Extensions"
        Option         "Composite"   "Enable"
EndSection

Section "DRI"
        Mode 0666
EndSection


El # Load "GLcore" esta comentado ya que en la guia de beryl recomiendan hacerlo por algun conflicto que ahora no recuerdo, lo acoto por que he visto tu xorg y esta descomentado.
_________________
Salu2
Eleazar Anzola
Linux User : # 216232
__________________________________________
Por un foro ordenado y un buscador más útil:
[TEMA] Descripción problema (estado)
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Mon May 07, 2007 6:02 pm    Post subject: Reply with quote

Bueno, eleazar, tengo marcadas esto en el kernel:
Code:

<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
               <*>   Intel I810
                <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->


En la última linea me faltaba darle al intro y seleccionar 915, la he seleccionado, he guardado los cambios, he puesto la imagen en el grub y todo el rollo... y bueno decír que ahora al hacer el test me dice que no tengo ni OPENGL ni 3D.

Que ha pasado?

He pensado que seria cosa de xorg.. pues he puesto el tuyo tal cual copiar y pegar, y bueno, sigue, igual, ahora me dice que no ahi ni 3d ni OPENGL, esto es muy raro.

Que más puedo hacer? esque ahora si que me dice que no tengo aceleración por ningún lado.

Espero respuestas.
Muchas gracías.
Saludos.
Back to top
View user's profile Send private message
sefirotsama
l33t
l33t


Joined: 11 Apr 2006
Posts: 791
Location: sefirot@catalunya # cd ~

PostPosted: Mon May 07, 2007 6:36 pm    Post subject: Reply with quote

A mi esas mismas opciones dentro del nucleo me daban error, por eso las compilé como modulos.... Cada vez que cambio de kernel algo me pasa que no acaba de ir todo finito (ahora uso el 2.6.20 y va de maravilla).

A ver ZaPa, en tu make.conf tienes puesta esta variable?

make.conf wrote:
VIDEO_CARDS="i810"


La tenias cuando emergistes el xserver? Si no es el caso te tocaria hacer algo un pelín bestia...

Esto huele a chamusquina y existe una solución algo bestia ^^

Escribe las linias de configuración al milimetro "tal y como deberian ir". Sobretodo mira te las variables use que utilizas y quieres tener activadas.

Una vez hecho todo con el nuevo nucleo compilado haz esto:
Quote:
emerge --sync && time emerge -aeuD --newuse --color y world


Después de esto vete a dar un laaaaaaaaaaargo paseo, cuando acabes el paseo ducha te, cena, llama el/la novio/a ves a dormir y al dia siguiente haz vida normal (ves a trabajr, estudiar lo que sea) y cuando vuelvas mira te el ordenador a ver si ha acabado.

Reinicia la maquina y mira de nuevo a ver si va. Si no va pues... que sepas que habrás recompilado todo tu sistema!


xDDD

Supongo que alguien te recomendará que mejor solo reemerjas el servidor X y seguramente también funcione... pero si lo haces con todo el sistema pues eso que te llevas, xDDDD
_________________
Linux User #415604

GnuPG Key: 185F CF01 0FEE D196 D076 65E2 E3EE 52E7 7AA5 4FEB
«Dios no juega a los dados, usa /dev/random.»
Back to top
View user's profile Send private message
ZaPa
l33t
l33t


Joined: 13 Feb 2007
Posts: 822

PostPosted: Mon May 07, 2007 9:01 pm    Post subject: Reply with quote

Veamos, yo en ningún momento he emergido el servidorx.

Es necesario para la aceleración grafíca?

Tampoco tenia puesta esa variable en el make.conf, ya la he añadido.

Ahora para que surga efecto tengo que re-emerger el servidorx?
Como seria? emerge xserver tal cual?
O como?


Espero respuestas.
Muchisimas gracías por su atención.
Saludos.
Back to top
View user's profile Send private message
Eleazar Anzola
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1318
Location: Caracas / Venezuela

PostPosted: Tue May 08, 2007 3:35 pm    Post subject: Reply with quote

Opsss disculpa pero se me ha ido un lapsus, es de comentar que algunos Juegos no van a furular con el dri, un caso comun es el UT2004 que algunas veces va y otras le da igual correr como tortuga, por lo que lo he solucionado en la configuración del juego seleccionando el opengl en vez del direc rendering :P . despues de eso va a todo tren.

En cuanto a que no tienes 3D suena a que no has echo el eselect opengl set xorg-x11. Has de recordar que estas tarjetas gráficas no tienen un buen reconocimiento como el de nvidia y han de trabajar con algo de lentitud, para beryl y todo eso ha de usarse con aixgl y olvidate de xgl.

Para que te des una idea observas los test de glxinfo y glxgears
Code:
 glxinfo
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x64
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.5.2
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_shadow, 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_texture_rectangle, GL_ARB_transpose_matrix,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_histogram, 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_filter_anisotropic,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
    GL_APPLE_client_storage, GL_APPLE_packed_pixels,
    GL_ATI_blend_equation_separate, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
    GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1,
    GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SUN_multi_draw_arrays

   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 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x64 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon

###################################
eleazar@Dell-1300 ~ $ glxgears
libGL warning: 3D driver claims to not support visual 0x64
4246 frames in 5.0 seconds = 849.170 FPS
4392 frames in 5.0 seconds = 878.245 FPS
4408 frames in 5.0 seconds = 881.549 FPS
4418 frames in 5.0 seconds = 883.444 FPS
4376 frames in 5.0 seconds = 875.068 FPS
4334 frames in 5.0 seconds = 866.658 FPS

_________________
Salu2
Eleazar Anzola
Linux User : # 216232
__________________________________________
Por un foro ordenado y un buscador más útil:
[TEMA] Descripción problema (estado)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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