Announcement

Collapse
No announcement yet.

compiz fusion Nvidia?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    compiz fusion Nvidia?

    Hello all,

    I tried Beryl etc. a while back and could not get it to function. Did not spend much time on it though. So I thought I would give it another try with compiz fusion.

    I followed several tutorials from this forum. ubuntuforums and one from softpedia and it just won't start. I keep getting an error message that kde window decorator has crashed and I am back to where I started(w/kwin).

    I have a Nvidia GForce4 Ti 4200 agp 8x 64mb video card. I believe this should be more than enough to run compiz? I used Envy to get the driver for it and assume it's the correct one.

    Where to go from here?

    Her is my xorg.conf

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Apr 16 20:37:13 PDT 2007
    
    # /etc/X11/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(5) 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 "ServerLayout"
      Identifier   "Default Layout"
      Screen   0 "Default Screen" 0 0
      InputDevice  "Generic Keyboard"
      InputDevice  "Configured Mouse"
      InputDevice  "stylus" "SendCoreEvents"
      InputDevice  "cursor" "SendCoreEvents"
      InputDevice  "eraser" "SendCoreEvents"
    EndSection
    
    Section "Files"
    
     # path to defoma fonts
      FontPath    "/usr/share/fonts/X11/misc"
      FontPath    "/usr/share/fonts/X11/cyrillic"
      FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
      FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
      FontPath    "/usr/share/fonts/X11/Type1"
      FontPath    "/usr/share/fonts/X11/100dpi"
      FontPath    "/usr/share/fonts/X11/75dpi"
      FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
      Load      "i2c"
      Load      "bitmap"
      Load      "ddc"
      Load      "extmod"
      Load      "freetype"
      Load      "int10"
      Load      "vbe"
      Load      "glx"
      Load      "v4l"
    EndSection
    
    Section "InputDevice"
      Identifier   "Generic Keyboard"
      Driver     "kbd"
      Option     "CoreKeyboard"
      Option     "XkbRules" "xorg"
      Option     "XkbModel" "pc105"
      Option     "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
      Identifier   "Configured Mouse"
      Driver     "mouse"
      Option     "CorePointer"
      Option     "Device" "/dev/input/mice"
      Option     "Protocol" "ImPS/2"
      Option     "ZAxisMapping" "4 5"
      Option     "Emulate3Buttons" "true"
    EndSection
    
    Section "InputDevice"
      Identifier   "stylus"
      Driver     "wacom"
      Option     "Device" "/dev/input/wacom"
      Option     "Type" "stylus"
      Option     "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
      Identifier   "eraser"
      Driver     "wacom"
      Option     "Device" "/dev/input/wacom"
      Option     "Type" "eraser"
      Option     "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
      Identifier   "cursor"
      Driver     "wacom"
      Option     "Device" "/dev/input/wacom"
      Option     "Type" "cursor"
      Option     "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection
    
    Section "Monitor"
      Identifier   "Generic Monitor"
      VendorName   "NEC"
      ModelName   "NEC MultiSync LCD1550V"
      HorizSync    31.0 - 60.0
      VertRefresh   55.0 - 75.0
      Gamma      1.08 1.07 1.09
      ModeLine    "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
      ModeLine    "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
      ModeLine    "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
      ModeLine    "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
      ModeLine    "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
      ModeLine    "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
      ModeLine    "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
      ModeLine    "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
      ModeLine    "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
      ModeLine    "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
      ModeLine    "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
      ModeLine    "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    EndSection
    
    Section "Monitor"
      Identifier   "monitor1"
      VendorName   "Plug 'n' Play"
      ModelName   "Plug 'n' Play"
      Gamma      1
      ModeLine    "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    EndSection
    
    Section "Device"
      Identifier   "Generic Video Card"
      Driver     "nvidia"
      VendorName   "NVIDIA"
      BoardName   "NVIDIA GeForce4 (generic)"
      BusID     "PCI:1:0:0"
      Screen     0
    EndSection
    
    Section "Device"
      Identifier   "device1"
      Driver     "nv"
      VendorName   "NVIDIA"
      BoardName   "NVIDIA GeForce4 (generic)"
      BusID     "PCI:1:0:0"
      Screen     1
    EndSection
    
    Section "Screen"
      Identifier   "Default Screen"
      Device     "Generic Video Card"
      Monitor    "Generic Monitor"
      DefaultDepth  24
      Option     "AddARGBGLXVisuals" "True"
      SubSection   "Display"
        Virtual   1280 960
        Depth    24
        Modes   "1024x768@60" "1280x960@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
      EndSubSection
    EndSection
    
    Section "Screen"
    
     # 
      Identifier   "screen1"
      Device     "device1"
      Monitor    "monitor1"
      DefaultDepth  24
      SubSection   "Display"
        Depth    24
        Modes   "640x480@60"
      EndSubSection
    EndSection
    
    Section "Extensions"
      Option     "Composite" "Enable"
    EndSection
    Any suggestion would be greatly appreciated.
    Thanks

    eriefisher
    ~$sudo make me a sandwich

    #2
    Re: compiz fusion Nvidia?

    Are you running two monitors? The "Default Screen" and "Generic Video Card" stanzas look like they should run Beryl OK with the proprietary driver, but the other device (nv) and screen1 (640 x 480) probably won't.

    Did you run
    Code:
    beryl-manager
    in the console and let it scan your system -- what did it report?

    I haven't got up courage to launch compiz yet - I figure I'll need a few spare hours for that ... :P

    Comment


      #3
      Re: compiz fusion Nvidia?

      The second two are for the TV out(dvi) and not connected to anything at the moment.

      However(there is always one of these isn't there):

      Before going down this road again I uninstalled everything to do with beryl and compiz for a fresh start. I had read that there would be some conflicts with some earlier packages from ubuntu repos.

      Do I still need the beryl packages for this to work. I thought with the "fusion" everything would be there?
      ~$sudo make me a sandwich

      Comment


        #4
        Re: compiz fusion Nvidia?

        Well, if the command is "compiz", just do "compiz --replace" and post the output.
        For external use only.

        Comment


          #5
          Re: compiz fusion Nvidia?

          Originally posted by eriefisher

          Do I still need the beryl packages for this to work. I thought with the "fusion" everything would be there?
          Beryl is still working perfectly on my rig, so AFAIK you can simply install Beryl, fiddle with Beryl Manager to get your Emerald or Aquamarine window decorators working, and have a great 3D experience.

          As I said, I have not attempted the "compiz fusion" thing yet - smells a little early to me, especially when Beryl is working so well.

          Here's one thing to do before you install either of these -- in a konsole window run
          Code:
          glxgears
          and make sure the frames per second (FPS) rate figure is at least 3 digits.

          Comment


            #6
            Re: compiz fusion Nvidia?

            From:
            How To: Compiz Fusion on Ubuntu 7.04
            http://ubuntuforums.org/showthread.php?t=481314

            If you have trouble getting your window decorations working, and use beryl

            alt+F2
            compiz --replace -c emerald &

            Note #1: You don't need Beryl. But you can use emerald (and emerald-themes) for window decorations.

            I'm using:
            Code:
            ~$ compiz --replace -c emerald & killall kwin
            This starts compiz with emerald decorations and kills kwin
            More at
            Easy way to enable/disable Compiz Fusion (KDE)
            http://ubuntuforums.org/showthread.php?p=3030945

            Note #2
            Mostly the Ubuntuforum tutorials are for Ubuntu
            So note that Ubuntu (gnome) use:
            • compiz-gnome
            • libcompizconfig-backend-gconf


            But Kubuntu (kde) use:
            • compiz-kde
            • libcompizconfig-backend-kconfig


            Note #3
            Compiz Fusion is a very exciting new advancement in Desktop Effects. Be that as it may, Compiz Fuzion is NOT for Beginners. It is in development now, and is not stable.


            Links
            How To: Compiz Fusion on Ubuntu 7.04
            http://ubuntuforums.org/showthread.php?t=481314

            How to Install Compiz Fusion on Ubuntu - For GNOME and KDE users
            http://news.softpedia.com/news/How-t...tu-58113.shtml

            Topic: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty
            http://kubuntuforums.net/forums/inde...opic=3085226.0
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: compiz fusion Nvidia?

              Ok, I tried this in ALT-F2

              Code:
              compiz --replace -c emerald & killall kwin
              It tried to start then reverted back to normal desktop. I then tried it again in konsole to see what/if error messages. The new desktop started, wobble windows, the cube, etc...

              Now when it started I noticed that the desktop pager went from 4 to 16? After trying out the cube and all, I clicked onto another desktop and then back and the apps that were open there were gone. They were listed in the taskbar though. Bug?? I had to restart X to get out. It did look pretty impressive though.

              Out of curiosity I downloaded Beryl to see if I could get it working. No go,

              Well I just tried compiz again to get the output and it started but everything is a little screwed up. Restart kwin to get back, still a little screwed.

              I will restart to clear everything up and recheck.
              ~$sudo make me a sandwich

              Comment


                #8
                Re: compiz fusion Nvidia?

                If you use --replace, you don't need to kill kwin outright. (I'm also assuming where you typed & you meant &&; what you have there is bad syntax.) Best command would be "compiz --replace -c emerald || kwin --replace", so that it uses Compiz, but if that hits an error, it brings kwin up again.

                Anyway, the other problems you saw were probably caused by an unclean use. Should work fine next time (and if not, poking around in the configuration should be illuminating).
                For external use only.

                Comment

                Working...
                X