LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   compiz failing, GLcore.so failing to load (https://www.linuxquestions.org/questions/linux-desktop-74/compiz-failing-glcore-so-failing-to-load-516186/)

Schrambo 01-04-2007 05:20 AM

compiz failing, GLcore.so failing to load
 
Evening fellow peeps.

this evening i decided to give Compiz a whirl on my desktop but i'm having a little trouble getting it to load.

my system is Debian Sid x86_64 AMD Athlon 4200 x2 (smp support)
nvidia 3D accel drivers installed and working.
running xorg 7.1.1
geforce 7800GTX 256mb

I have followed the instructions from this page http://wiki.debian.org/Compiz

but when running the command either as normal user and as sudo i find that the screen will lock up and all just about all the menu and window borders disapear, you can still move the mouse about but can't click on anything.

restarting x agian is fine till I execute the same commmand.
so I had a look at my /var/log/Xorg.0.log and came accross this interesting part
Code:

(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: _glapi_Dispatch
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(II) UnloadModule: "GLcore"
(EE) Failed to load module "GLcore" (loader failed, 7)

(WW) NVIDIA(0): Option "XAANoOffscreenPixmaps" is not used

the wiki page suggests that i make sure AIGLX is being started but running the command

Code:

cat /var/log/Xorg.0.log | grep "AIGLX" >> new.txt
yields no results.

xorg config
Code:


Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "vbe"
#        Load        "GLcore"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ExplorerPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "Buttons"                "7"
        #Option                "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier        "NVIDIA GEFORCE 7800GTX "
        Driver                "nvidia"
        BusID                "PCI:3:0:0"
        Option                "UseFBDev"                "true"
        Option                "AllowGLXWithComposite" "true"
#        Option                "XAANoOffscreenPixmaps" "true"
        Option "TwinView" 
        Option "MetaModes"  "1280x1024,1280x1024; 1024x768,1024x768"
          Option "SecondMonitorHorizSync"  " 31.5-79"
          Option "SecondMonitorVertRefresh" "50-90"
        Option "HorizSync"                " 31.5-79"
        Option "VertRefresh"            "50-90"
        Option "TwinViewOrientation"      "RightOf"
EndSection

Section "Monitor"
        Identifier        "L90D+ DVI 1"
        Option                "DPMS"
        HorizSync        31.5-79
        VertRefresh        50-90
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "NVIDIA GEFORCE 7800GTX "
        Monitor                "L90D+ DVI 1"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection

        Option "NoLogo" "true"
        Option "HWCursor" "true"
        Option "CursorShadow" "true"
        Option "CursorShadowAlpha" "64"  # must be betwee 0-255, default 64
        Option "CursorShadowXOffset" "10" # default 4
        Option "CursorShadowYOffset" "6" # default 2
        Option "AddARGBGLXVisuals" "True"
EndSection

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

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection

I tried doing a google on the libGLcore.so but could not find too much helpful info.

any help would be greatly appreciated

thanks

- schrambo

pda_h4x0r 01-05-2007 01:00 AM

In my experience, Beryl works better than Compiz--it uses less memory AND its not maintained by Novell. It also has more features. You can get it by adding this to your /etc/apt/sources.list

deb http://download.tuxfamily.org/3v1deb debian-unstable beryl-svn

As for the libGLcore issue, don't use Debian's nvidia-kernel-source or nvidia-glx packages; download the latest stable drivers (1.0.9746) from nvidia.com and install them instead. Also, add

Option "RENDER" "true"
Option "DAMAGE" "true"

to your /etc/X11/xorg.conf under the Extensions section, and

Option "AIGLX" "true"

to your ServerLayout section.

Schrambo 01-05-2007 03:05 AM

G'day and thanks for the reply :)

Quote:

Originally Posted by pda_h4x0r
As for the libGLcore issue, don't use Debian's nvidia-kernel-source or nvidia-glx packages; download the latest stable drivers (1.0.9746) from nvidia.com and install them instead.

WHy is this? does the GLcore libary not provided in the debian package?

Anyways I think i'm out of luck for installing the nvidia drivers

Code:

schrambo@schrambo:~$ ./NVIDIA-Linux-ia64-1.0-5336-pkg1.run

ERROR: this .run file is intended for the
Linux-ia64 platform, but you appear to be
running on Linux-x86_64.  Aborting installation.

Starting to regret using x86_64 :/

pda_h4x0r 01-05-2007 11:15 PM

libGLcore is provided by Debian's packages, but the NVIDIA installer may not work properly if nvidia-glx and nvidia-kernel-source are installed (i.e. they provide init scripts that destroy the symlinks the NVIDIA installer creates to the drivers it installs, which makes the driver unusable). Usually, you will want NVIDIA's latest instead of Debian's latest. And in my experience, the two just don't play nicely :\

You may be able to use 32-bit drivers on your 64-bit platform--have you tried just using the plain x86 drivers?

Eldon Rosenberg 02-23-2008 06:13 PM

ia64 means Itanium
 
Hi Schrambo,

Just in case you haven't worked it out by now, since your last post in this thread was nearly a year ago, you apparently downloaded the wrong NVIDIA driver package for your architecture.

"ia64" in the filename means it's for the Itanium CPU (see the Wikipedia entry for ia64), a quite different architecture to x86_64.

There is an x86_64 NVIDIA driver package, I know, since I use it on my desktop system at work, which has an Intel Core2 Duo CPU.

Since it offers to compile the module for you, I suppose you may get something working with the ia64 package, but I would imagine that downloading the x86_64 specific one would give better results.

Hope this helps you and/or somebody else!

Regards
Eldon


All times are GMT -5. The time now is 05:12 PM.