Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Debian, fgl_glxgears: Using GLX_SGIX_pbuffer… Segmentation fault

    1st October 2008

    If you get Segmentation fault when trying to run fgl_glxgears in your Debian desktop environment, most often this would mean that 3D acceleration isn’t enabled.

    For the case of ATI (and ATI Mobility) Radeon series, the easiest procedure would be (doing all as root, or prepending sudo to all commands):

    1. aptitude update, to ensure you’ve got the list of latest packages
    2. aptitude install fglrx-driver fglrx-control fglrx-kernel-src, for the actual driver; I also installed fglrx-atieventsd and fglrx-glx (these are driver-recommended packages)
    3. aptitude install module-assistant, required for building the kernel module
    4. module-assistant prepare, to verify that you have everything needed for the module build procedure
    5. module-assistant update
    6. module-assistant auto-install fglrx, to build and install the fglrx kernel module
    7. depmod -a
    8. modprobe fglrx, to load the fglrx kernel module
    9. aticonfig ––initial, to configure ATI’s device section in /etc/X11/xorg.conf (for more options, see aticonfig ––help)
    10. reboot


    That should make your ATI hardware work as expected, and make fgl_glxgears show gears again.

    If everything went fine, then your movies will play smoother ;), and the output of fglrxinfo will look similar to

    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: ATI MOBILITY RADEON X600
    OpenGL version string: 2.1.7769 Release

    This procedure should be also possible for the latest ATI-provided installer-generated Debian packages (as described elsewhere), but I decided to stick to the repository version – this requires no extra tweaking.

    For much more information, see the ATI Debian Installation Guide.

    This post is based on the iwanabeguru’s response at Linux Forums.

    Share

    5 Responses to “Debian, fgl_glxgears: Using GLX_SGIX_pbuffer… Segmentation fault”

    1. user Says:

      Couldn’t find any package whose name or description matched “module-assisstant”

    2. Bogdan Says:

      Have you tried copy-pasting

      sudo aptitude install module-assistant

      ?

      Because at least in your comment you have an extra s in the word assistant.

    3. Slobo Says:

      Hi Bogdan, seems like the extra s is from your post above (item 3)

    4. Bogdan Says:

      oops :)

      So the fault is all mine, after all :)

      Now fixed, thanks for reporting.

    5. Bogdan Says:

      I guess this post is less than half-correct now – dkms should be automatically building the kernel module in recent Debian versions.

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>