“Before installing gnome 3”

Before all else, you need to discover if your graphic card support the 3D property. One fun way to do this is by typing on the terminal, the glxgears command. It will suddenly activate the simulation of the movement of gears. But, I must warn you that this process is not so reliable beacuse the activation of the program might have come from software; not necessarily from hardware. So, the real command  you should use, just to be sure of the 3D property is glxinfo:

yulys@yulys-laptop:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes

direct rendering: Yes  confirm us that 3D acceleration is supported by your pc.

Maybe, you can not remember the glxinfo command or maybe you are in a situation where you are not able to check it on Internet… so there is other way to find out if the 3D acceleration is supported by your graphic card… in Ubuntu distro you can try to install the cairo-dock application, which is an application that shows 3D menu animations in your desktop and it could be installed doing –> system/administration/synaptic package manager

Also you need to configure Applications/Accesorios/GLX-Dock OpenGL to appreciate the 3D menu that cairo-dock offers.

* So, we conclude that it is important to know the type of the graphic card because the 3D property is not supported by all the models in the technology market. I discovered that my lap support 3D, by typing  vi /var/log/Xorg.0.log  I realized the model of the chip of my graphic card:   (–) intel(0): Chipset: “GM45

(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale

Other models of chip that support 3D property are Intel GM965 and 946GZ/GL

Note: Configuring 3D Intel X3100 (GM965) + Debian

1. Check the chipset graphic card, doing–>   # lspci |grep VGA

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

As we see, we have Intel X3100 and the chipset GM965/GL960.

2. Install the driver de Intel on terminal:

# apt-get install xserver-xorg-video-intel

3. Install packages that allow us to work with AIGLX

# apt-get install libdrm2 libgl1-mesa-dri libpng3 libpng12-0 libpng12-dev libxdamage1 libxcomposite1 x11proto-core-dev x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev x11proto-render-dev x11proto-randr-dev libcairo2 libcairo2-dev libcairo-perl libmono-cairo1.0-cil python-cairo libgl1-mesa-dev mesa-common-dev mesa-utils libsvn1 libglitz1 libglitz-glx1 libxfont1 libfontenc1 libwnck-common libwnck22 libsvn1 libglu1-mesa

4.- Finally, we need to edit  the file: xorg.conf de X11

a) Making backup of the file xorg.conf
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig

b) Editing the xorg.conf  –>  See the “Device” Section
# gedit /etc/X11/xorg.conf

#############################################################################

# 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    “Module”
Load    “dbe”
EndSection

Section “InputDevice”
Identifier    “Generic Keyboard”
Driver        “kbd”
Option        “XkbRules”    “xorg”
Option        “XkbModel”    “pc105″
Option        “XkbLayout”    “latam”
EndSection

Section “InputDevice”
Identifier    “Configured Mouse”
Driver        “mouse”
EndSection

Section “Device”
Identifier    “Intel Corporation Mobile 945GM/GMS, 943/GML Express Integrated Graphics Controller”
Driver        “intel”
Option        “XAANoOffscreenPixmaps”     “True”
Option        “RenderAccel”    “true”
Option        “AllowGLXWithComposite”    “true”
Option        “UseFBDev”    “true”
Option        “AccelMethod”    “XAA”
Option        “DRI”    “true”
EndSection

Section “Monitor”
Identifier    “Configured Monitor”
EndSection

Section “Screen”
Identifier    “Default Screen”
Monitor        “Configured Monitor”
Option        “AddARGBGLXVisuals”    “True”
EndSection

Section    “Extensions”
Option    “Composite”    “Enable”
EndSection

#############################################################################

5.- Reboot and verifying the 3D property.

# glxinfo |grep direct
direct rendering: Yes

— See more: http://vallelnx.bligoo.com/content/view/245038/Intel-X3100-GM965-Debian-Lenny.html#comment-1444305

— See also:  Installing Nvidia on SUSE: http://en.opensuse.org/HCL:Nvidia_video_cards

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. HPC researcher, a simple mortal, like you!
This entry was posted in GNOME. Bookmark the permalink.

3 Responses to “Before installing gnome 3”

  1. Emmet Hikory says:

    Take care: some configurations report “direct rendering: Yes” when not capable of accelerating a fairly wide number of tasks. It may be worth also reviewing the output of `glxgears -info` which typically will report “GL_RENDERER = Software Rasterizer” in such situations (or at least for the subset of direct rendering environments where there is insufficient acceleration to support the (limited) needs of glxgears). If you find you have this combination, you may experience significant performance impairment or increased heating/power consumption if you attempt to use a base desktop environment that expects off-CPU 3D rendering acceleration.

    • Julita Inca says:

      Thanks for the comment Emmet, I was trying to do some proofs in order to have 3D. I also installed compiz and Cairo – Dock to see the effects 3D provides.

  2. Faheem says:

    E: Package ‘libmono-cairo1.0-cil’ has no installation candidate
    E: Unable to locate package libglitz1
    E: Unable to locate package libglitz-glx1

    sudo apt-get install libcairo-script-interpreter2 libcairo2-dev libdrm-dev libgl1-mesa-dev libglib2.0-dev libice-dev libkms1 libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libpng3 libsm-dev libxcb-render0-dev libxcb-shm0-dev mesa-common-dev x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev x11proto-randr-dev

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s