Menú principal

Compiz en Gnome

Publicado por the98, Agosto 01, 2008, 01:21:53

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

the98

Hola a todos, les escribo porque opté por instalar Compiz en mi Debian, y me está trayendo algunas complicaciones que creo no debería tener porque mi máquina no es tan mala para manejar Compiz.
En fin, las que más me molestan son:

- Cuando uso la barra de desplazamiento se alenta todo lo que se desplaza.
- Uso el plugin del cubo y cuando lo giro no aparezco en el escritorio 2, sino que sigo en el mismo escritorio, pero con las ventanas minimizadas. Si eso es lo que hace, entonces es pura coquetería.
- Hay veces en que la ventana activa se me pone en blanco y negro y no puedo hacer nada, es como si se traba.

En fin, por ahora es eso, pero no dudo en que van a aparecer otras cosas con los que los voy a molestar. :P


Saludos.

ZeiterZ

Me suena a problemas de video.

Sería bueno que detalles:

- qué placa de video tienes
- el contenido de  /etc/X11/xorg.conf
- qué módulo (driver) instalaste para el video
- la salida de glxinfo

Saludos.

the98

#2
No dudo en que sea problema de video, de hecho mirá los pixels (que esta se ven sombreados y aparecen tanto en Gnome como en Xfce) que aparecen en el borde superior izquierda de la pantalla (aclaro que no son del monitor, sino que son producidos por software, sino, obviamente, no saldrían en la captura de pantalla):



- Intel 82945G Express Chipset Family

Cita de: xorg.conf# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

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

Section "Device"
Identifier "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
#Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "BenQ FP71G+"
Option "DPMS"
HorizSync 31-83
VertRefresh 56-76
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Monitor "BenQ FP71G+"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

- Nunca instalé ningún módulo, el sistema vino así por defecto.

Cita de: glxinfoname 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_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) 945G 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.0.4
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_compression_s3tc,
    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
0x7c 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon

Pregunta: ¿este comando qué hace? ¿muestra el estado de la aceleración 3D?

Agrego otra inquietud: No puedo hacer que Compiz se inicie con el Escritorio.

ZeiterZ

Sí, muestra las capacidades del módulo (driver) asociado a la placa de video.

Para ver si la mancha negra desaparece, podrías activar la línea #Option "UseFBDev" "true"  (borrando el "#")

La otra es buscar si existe algún otro controlador para tu placa de video. Tal vez alguno que se descargue del sitio de Intel (como sucede con nVidia).

En cuanto al escritorio 3D es necesario tener activadas algunas opciones para que funcione correctamente. Mirá este post (y deberías leer el hilo completo):

http://www.argentop2p.net/index.php?topic=95040.msg729096#msg729096

Saludos.

the98

#4
El FrameBuffer lo desactivé porque me dijeron que no funciona bien con las placas Intel, y la mancha negra igual aparecía antes.
Creo que existe otro driver, pero pensé que ya el sistema lo reconocía bien, así que me fijo.

Saludos y gracias.

Edito con mi nuevo xorg.conf
Citar# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

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

Section "Device"
Identifier "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "BenQ FP71G+"
Option "DPMS"
HorizSync 31-83
VertRefresh 56-76
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Monitor "BenQ FP71G+"
DefaultDepth 24
Option         "AddARGBGLXVisuals" "True"
Option         "RenderAccel" "true"
Option         "DisableGLXRootClipping" "True"
Option         "XAANoOffscreenPixmaps" "true"
Option         "AllowGLXWithComposite" "true"
Option         "UseFBDev" "true"
SubSection "Display"
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option         "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection

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

Y de este sitio saqué una manera de configurar mi placa, pero todo sigue igual: http://debiantotal.blogspot.com/2007/11/instalar-driver-intel-en-debian-etch.html
Se siguen viendo los pixels.

ZeiterZ

He buscado en Internet y no encuentro nada.

Un camino que se me ocurre es eliminar tanto los servidores intel como i810 y reinstalarlos.
Para ello, reemplazá por "vesa" el driver actual en xorg.conf.

Para la eliminación auxiliate con Synaptic. Los paquetes a borrar (y luego instalarlos de nuevo) son:

xserver-xorg-video-intel
xserver-xorg-video-i810

Si luego de la instalación sigue el problema, probá con darle algunas opciones al driver (en xorg.con):

man intel
man i810

Saludos.

the98

Bueno, el driver VESA ya lo había usado y pasaba lo mismo con eso de los pixels.
Ahora opté por agregarle opciones al xorg.conf gracias al comando man i810 que recomendaste que revise. Los pixels esos siguen ahí (pero no aparecen siempre, eso es lo más raro) sin embargo noto que funciona todo un poco más rápido, así que algo hizo, lo que tengo duda es si coloqué las opciones en el apartado correspondiente. Te dejo cómo me quedó y creo que si le agrego aún más opciones puede que funcione mejor:

CitarSection "Device"
Identifier "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "UseFBDev" "true"
Option         "Tiling" "true"
Option         "DRI" "true"
Option         "XvMCSurfaces" "7"
Option         "Legacy3D" "true"
Option         "AccelMethod" "EXA"
EndSection

Pero fijate algo interesante que me aparece en el manual de i810:

CitarBy  default,  the i810 will use 8 megabytes of system memory for graph‐
       ics.  For the 830M and later, the driver will  automatically  size  its
       memory allocation according to the features it will support.  The Vide‐
       oRam option, which in the past had been necessary to  allow  more  than
       some small amount of memory to be allocated, is now ignored.

Dice que por Default se van a usar 8Mb de memoria para gráficos. Me parece que es muy poco y no sé cuál será la opción para cambiarlo, la busqué, pero no la encontré.

Saludos.

ZeiterZ

Por lo que dice no se puede cambiar, siempre que la placa de video (no el driver) sea la intel 810. Para modelos 830M y posteriores esa memoria se asigna dinámicamente.

Es lo que dice.

En cuanto a lo que dices de los puntos negros, tal vez tengas que esperar a alguna actualización en los drivers xorg o, si te animas, a resinstalar la parte de xserver-xorg completo. Tal vez algo no se instaló bien.

Saludos.

the98

Me animo, pero ¿cómo lo hago?

ZeiterZ

Sales del entorno gráfico y quedas en la pantalla de login (gdm o kdm, el que uses)

Con Ctrl+Alt+Fx  (x = 1 a 6) vas a una consola.
Te loguees como root y desinstalas:

apt-get remove xserver-xorg

Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
  xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd
  xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-all
  xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus
  xserver-xorg-video-cyrix xserver-xorg-video-dummy xserver-xorg-video-fbdev xserver-xorg-video-glint
  xserver-xorg-video-i128 xserver-xorg-video-i740 xserver-xorg-video-i810 xserver-xorg-video-imstt xserver-xorg-video-intel
  xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-newport
  xserver-xorg-video-nsc xserver-xorg-video-nv xserver-xorg-video-r128 xserver-xorg-video-radeon
  xserver-xorg-video-radeonhd xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge
  xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb
  xserver-xorg-video-tdfx xserver-xorg-video-tga xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l
  xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via xserver-xorg-video-vmware xserver-xorg-video-voodoo
0 actualizados, 0 se instalarán, 49 para eliminar y 0 no actualizados.
After this operation, 22,6MB disk space will be freed.
¿Desea continuar [S/n]?


Ahora borras los paquetes de xorg:

rm  /var/cache/apt/archives/xserver-xorg*

Necesitarás tener internet o un CD/DVD actualizado de Lenny para volver a obtener los paquetes borrados.
Seguimos:

aptitude update

aptitude install xserver-xorg

Y por profilaxis haces:

aptitude install gdm (o kdm, el que estés usando) y
aptitude install kde kde-i18n-es  (si estás usando KDE) o
altitude install gnome  (si estás usando Gnome)

Con eso debería descargarse todo xserver-xorg e instalarse de nuevo.

Por las dudas, antes de todo esto hacé una copia de tu actual archivo xorg.conf

cp /etc/X11/xorg.conf  /etc/X11/xorg.conf.resguardo

Saludos.