LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Desktop Effects Fail [Fedora 11] (https://www.linuxquestions.org/questions/linux-desktop-74/desktop-effects-fail-%5Bfedora-11%5D-762885/)

CamoAnimal 10-19-2009 01:04 AM

Desktop Effects Fail [Fedora 11]
 
I have been using Compiz-Fusion for the last couple months or so, but about 2 weeks ago Compiz stopped working without a reason. I have tried reinstalling the graphics card drivers (Nvidia) and reinstalling all the Compiz related packages, but without any progress. Everytime I try to enable Desktop Effects it fails. The Terminal readout looks like this:

Code:

[XXXXX@XXXXX-laptop ~]$ desktop-effects --replace

(desktop-effects:2671): Gtk-WARNING **: Theme directory  of theme Azenis Icons has no size field

Error: glXCreateContext failed
Error: glXCreateContext failed
Error: glXCreateContext failed
/usr/bin/compiz-gtk: line 23: [: ==: unary operator expected
Window manager warning: Log level 16: Theme directory  of theme Azenis Icons has no size field

Window manager warning: Log level 16: Theme directory  of theme Azenis Icons has no size field

I would appreciate any help or advice in resolving this problem. Any guesses?

rylan76 10-19-2009 02:42 AM

Hmm do you have auto-updates turned on for your system?

The fact that it stopped working "by itself" is usually an indication of an auto-update that went wrong - you did not install any new apps or change any libraries or something, did you?

THIS is why I NEVER use auto-updates - not with Linux, not with Windows. It sooner or later WILL cause you to hurt. It is much better to always work with auto-updates OFF and if you really need an update, do it by hand - after first checking exactly what a new version does or what it will change.

You already did everything that is logical to solve your problem, the next extreme step might be to reformat and reinstall your entire system. Sacrilege for a Linux system (of course - usually only Windows needs this type of radical treatment) but it might be your only way out. If it was an auto-update that corrupted things, it is often well-nigh impossible to discover where and why something went wrong (since it happened automatically!)

John VV 10-19-2009 03:12 AM

fedora IS AN ALWAYS beta version of Linux so updates can AND DO break things .
a few questions

How did you install the driver ? using yum ( yum install kmod-nvidia)
"F11, F10 & F9 Nvidia driver guides"
http://forums.fedoraforum.org/showthread.php?t=204752
or the nvidia.run driver ?

WHAT it your 3d card a mobil built in chip or a FULL 3d card ? and what version ?

How did you install compiz-fusion ?
"compiz-0.8.3 repo for F9, F10 & F11 + guide for the official fedora packages "
http://forums.fedoraforum.org/showthread.php?t=173317

from your error this is MISSING " Azenis Icons"
" Theme directory of theme Azenis Icons has no size field "

CamoAnimal 10-19-2009 09:37 AM

Thanks, both of ya' for your help so far. I have formatted a distro more than once now to fix this problem... And I don't use auto-update, however I do usually just do a quick review and the accept 'em all. I see so many that it is not normally worth my time to read them all.

Also I installed both packages via YUM, and the were taken from the RepoFusion site. I am not sure how this would affect my system though.

If possible I want to aviod reinstalling Fedora due to the high amount of internet traffic on my limited home network (sloooowwww!) And it is just a pill in general to have to back everything up and then transfer it, especially when you are just using a collection of thumbdrives. Regardless of my own gripes, if there are any other suggestions on a possible fix I would appreciate them.

John VV 10-19-2009 02:40 PM

again
what is your 3d card ? built in chip or a full card ? and the version ?


and from your last post i take it you installed the " kmod-nvidia " driver

was there a kernel update in the last updates you did ?

CamoAnimal 10-19-2009 06:28 PM

It is a NVidia 7400 Go, full card. I am using Kmod and my the latest kernel I used is 2.6.30.8-64.fc11.586. Is this all the info you need?

John VV 10-19-2009 07:00 PM

and this is what you reinstalled for compiz-fusion ?
Code:

yum  reinstall compiz-gnome fusion-icon-gtk compiz-bcop ccsm emerald-themes compizconfig-backend-gconf compiz-plugins-unsupported compiz-plugins-extra
what dose the compiz-check utility say?
download and run
Code:

wget http://blogage.de/files/9124/download -O compiz-check
chmod +x compiz-check
./compiz-check

and have you fixed this missing icons ?
Quote:

from your error this is MISSING " Azenis Icons"
" Theme directory of theme Azenis Icons has no size field "

CamoAnimal 10-19-2009 08:14 PM

Now we are getting somewhere. I went through the first step and had all the packages, but they were due for an update. Updated them and continued to use the Compiz-check tool. Here is its readout:

Code:

Distribution:          Fedora release 11 (Leonidas)
 Desktop environment:  GNOME
 Graphics chip:        nVidia Corporation G72M [GeForce Go 7400] (rev a1)
 Driver in use:        nvidia
 Rendering method:      Nvidia

Checking if it's possible to run Compiz on your system...

 Checking for texture_from_pixmap...              [FAIL]
 Checking for non power of two support...          [FAIL]
 Checking for composite extension...              [ OK ]
 Checking for FBConfig...                          [ OK ]
 Checking for hardware/setup problems...          [SKIP]

At least one check had to be skipped:
 Error: Unable to detect maximum 3D texture size

I am going to start by doing some Googling, but I will also wait to see what you have to say.

John VV 10-19-2009 10:46 PM

from the nvidia driver install instructions page
Is this in your xorg.conf file ??
Code:

Section "Files"
    ModulePath  "/usr/lib/xorg/modules/extensions/nvidia"
    ModulePath  "/usr/lib/xorg/modules/drivers"
    ModulePath  "/usr/lib/xorg/modules"
EndSection

and also this ( in red )
Quote:

Section "Screen"
... options ---

Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "true"




EndSection

CamoAnimal 10-19-2009 11:58 PM

Nope, different... Here is the whole thing. I will patch it then let you know the outcome.

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:54:58 PDT 2009

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"
    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from data in "/etc/sysconfig/keyboard"
    Identifier    "Keyboard0"
    Driver        "kbd"
    Option        "XkbLayout" "us"
    Option        "XkbModel" "pc105"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Unknown"
    HorizSync      28.0 - 33.0
    VertRefresh    43.0 - 72.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection


CamoAnimal 10-20-2009 01:17 AM

Ok, just finished patching the /etc/X11/xorg.conf file and after rebooting everything works great! I looked through the Nvidia installation documents and couldn't find those points in there but I am very grateful for your help and time.

anshu_pg 11-04-2009 02:17 AM

Quote:

Originally Posted by CamoAnimal (Post 3725682)
Ok, just finished patching the /etc/X11/xorg.conf file and after rebooting everything works great! I looked through the Nvidia installation documents and couldn't find those points in there but I am very grateful for your help and time.

Can you help me get X with 3d Running, I got exact same card and this is Fresh Fedora 12 beta install.

=============================
[admin@localhost ~]$ ./compiz-check

Gathering information about your system...

Distribution: Fedora release 11.92 (Rawhide)
Desktop environment: GNOME
Graphics chip: nVidia Corporation G72M [GeForce Go 7400] (rev a1)
Driver in use: nouveau
Rendering method: AIGLX

Checking if it's possible to run Compiz on your system...

Checking for texture_from_pixmap... [ OK ]
Checking for non power of two support... [ OK ]
Checking for composite extension... [ OK ]
Checking for FBConfig... [ OK ]
Checking for hardware/setup problems... [FAIL]

There has been (at least) one error detected with your setup:
Error: Software Rasterizer in use

[admin@localhost ~]$
===============================

What exact steps to go through to get Nvidia 3d running here.

CamoAnimal 11-05-2009 11:43 PM

Hey,

Sorry for taking a while to reply... ^_^

1. I uninstalled all the compiz related files via YUM.
2. Installed all Compiz, Compiz-Fusion, and Emerald (don't forget to reinstall ccsm) packages in Add/Remove
3. Also, install the kernel-devel package. This will become a lifeline from here on out! Everytime you update your kernel you will need this package to update your graphics driver...
4. Downloaded the Nvidia Linux driver from the Nvidia site. I would suggest renaming it something like "nvidia-driver.run".
5. If you currently have X running, which if your are reading this then the is a "Yes", the open Terminal and type:
Code:

su
nano /etc/inittab

6. In the file change
Code:

id:5:initdefault:
to
id:3:initdefault:

then "ctrl+O" and hit "enter"
7. Reboot
8. Once the computer has rebooted, you will be in shell mode. Login.
9. Next
Code:

su
cd /location/of/driver
./nvidia-drive.run

10. It will ask you a series of questions, just Agree to all. It will also try to connect to the Nvidia website for a kernel code, but will fail, this is where kernel-devel comes in! It will then say that is trying make a driver using the kernel source. At the end it will ask if you would like to run the X auto-update, choose Yes/Agree.
11. Once back in the basic shell type
Code:

nano /etc/inittab
12. Change
Code:

id:3:initdefault:
back to
id:5:initdefault:

"ctrl+O" then "enter", then "ctrl+X"
13. Type
Code:

reboot
14. During bootup you should see the Nvidia logo flash on the screen, right before the login screen. This means that the driver is active.
15. Once you have logged go to 'System/Preferences/Desktop Effects and hit "Enable Desktop Effects". If all has gone right, then it will ask you to keep the changes. Choose yes. Finally, check both of the boxes bellow to enable Cube and Wobbly Windows.

YOUR DONE!


All times are GMT -5. The time now is 07:21 PM.