Announcement

Collapse
No announcement yet.

Trying Beryl, almost there ...

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

    Trying Beryl, almost there ...

    It kinda-sorta is working -- still trying to figure out the hidden steps to get the aquamarine window border/decorations working. But, here is the error when I run beryl:

    desktop:~$ beryl
    XGL Absent, checking for NVIDIA
    Nvidia Present
    Relaunching beryl with __GL_YIELD="NOTHING"
    XGL Absent, checking for NVIDIA
    Nvidia Present

    ** (process:6368): WARNING **: get_setting_is_integrated not found in backend ini

    ** (process:6368): WARNING **: get_setting_is_read_only not found in backend ini

    ** (process:6368): WARNING **: get_setting_is_integrated not found in backend ini

    ** (process:6368): WARNING **: get_setting_is_read_only not found in backend ini
    Initiating splash
    Reloading all options.
    I searched both here and at Ubuntu, but can't find a prior example. Ideas?

    #2
    Re: Trying Beryl, almost there ...

    Dibl,

    I have Beryl running without installing XGL. I installed the nvidia drivers from the nvidia website. I then used the nvidia-settings with the driver to set screen resolution etc. I then added some things to xorg.cof to get AIGLX to work. Here is my xorg.conf so you can compare with yours.

    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 1.0 (buildmeister@builder3) Thu Nov 9 17:56:12 PST 2006

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

    Section "Files"
    RgbPath "/usr/lib/X11/rgb"
    FontPath "/usr/local/share/fonts"
    EndSection

    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
    EndSection

    Section "ServerFlags"
    Option "Xinerama" "0"
    EndSection

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

    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Samsung SyncMaster"
    HorizSync 30.0 - 81.0
    VertRefresh 56.0 - 75.0
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 6600"
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "TripleBuffer" "true"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "metamodes" "1440x900_60 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection "Display"
    Depth 24
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    # Enable 32-bit ARGB GLX Visuals
    Option "AddARGBGLXVisuals" "True"

    # If you are using an older version of compiz that
    # does not support rendering into the Composite
    # Overlay Window, you will need to disable clipping
    # of GLX rendering to the X Root window with this
    # option, or you will get a blank screen after
    # starting compiz:
    Option "DisableGLXRootClipping" "True"
    EndSection

    Section "Extensions"
    Option "Composite" "Enable"
    EndSection

    I do not remember all of the places I retrieved the info to get this, therefore I don't fully understand what each thing does.

    The one thing I did not like about XGL is that you cannot switch users.

    Mike
    http://monte48lowes.blogspot.com

    Comment


      #3
      Re: Trying Beryl, almost there ...

      Thank you very much for sharing that, Monte!

      I studied your xorg file carefully, and compared it my own. Eventually I was tempted to try to hack mine to look more like yours. Soon thereafter, I got to practice my backup restoration technique, from the console!

      One problem I clearly have is some lack of "composite" functionality. Upon first running startx, when the KDE/Beryl desktop appears, an error message informs me that "The composite manager has crashed twice in one minute and therefore is being disabled for this session" (hard to remember it exactly while using the browser!). The red Beryl gem is on my taskbar, the Beryl menu items appear generally functional, except for "Reload Window Decorator" and "Select Window Decorator", which are grayed out. Under "Select Window Manager", it has selected KDE, apparently due to some broken aspect of Beryl. When I change it to Beryl, I get a couple of interesting screen bounces, and then the "Composite Manager crashed twice .... " message again. My nVidia driver is fully functional, including overclocking capability.

      Here is the main part of my (much hacked-on) xorg.conf file:

      Section "ServerLayout"

      # InputDevice "stylus" "SendCoreEvents"
      # InputDevice "cursor" "SendCoreEvents"
      # InputDevice "eraser" "SendCoreEvents"
      Identifier "Default Layout"
      Screen 0 "Default Screen" 0 0
      InputDevice "Generic Keyboard"
      InputDevice "Configured Mouse"
      EndSection

      Section "Files"

      # path to defoma fonts
      FontPath "/usr/share/X11/fonts/misc"
      FontPath "/usr/share/X11/fonts/cyrillic"
      FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
      FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
      FontPath "/usr/share/X11/fonts/Type1"
      FontPath "/usr/share/X11/fonts/100dpi"
      FontPath "/usr/share/X11/fonts/75dpi"
      FontPath "/usr/share/fonts/X11/misc"
      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 "type1"
      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"
      Option "XkbOptions" "lv3:ralt_switch"
      EndSection

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

      Section "Monitor"
      Identifier "Generic Monitor"
      VendorName "Samsung"
      ModelName "Samsung SyncMaster 1100DF/2100DF/CD210C"
      HorizSync 30.0 - 121.0
      VertRefresh 50.0 - 160.0
      Gamma 1.12
      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 "640x480@85" 36.0 640 696 752 832 480 481 484 509 -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@85" 56.3 800 832 896 1048 600 601 604 631 +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@85" 94.5 1024 1072 1168 1376 768 769 772 808 +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 "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
      ModeLine "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
      ModeLine "1152x768@54" 65.0 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
      ModeLine "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
      ModeLine "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
      ModeLine "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
      ModeLine "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
      ModeLine "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
      ModeLine "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
      ModeLine "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
      ModeLine "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
      ModeLine "1400x1050@75" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
      ModeLine "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
      ModeLine "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
      ModeLine "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
      ModeLine "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
      ModeLine "1600x1200@85" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
      ModeLine "1792x1344@75" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
      ModeLine "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
      ModeLine "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
      ModeLine "1856x1392@75" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
      ModeLine "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
      ModeLine "1920x1440@75" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
      ModeLine "2048x1536@60" 266.9 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync
      ModeLine "2048x1536@75" 340.5 2048 2216 2440 2832 1536 1537 1540 1603 -hsync +vsync
      EndSection

      Section "Device"
      Identifier "NVIDIA Corporation NVIDIA Default Card"
      Driver "nvidia"
      BoardName "nv"
      Screen 0
      EndSection

      Section "Screen"
      Identifier "Default Screen"
      Device "NVIDIA Corporation NVIDIA Default Card"
      Monitor "Generic Monitor"
      DefaultDepth 24
      Option "Coolbits" "1"
      SubSection "Display"
      Virtual 2048 1536
      Depth 24
      Modes "1600x1200@85" "1792x1344@75" "1600x1200@70" "1792x1344@60" "1600x1200@75" "1856x1392@60" "1600x1200@60" "1856x1392@75" "1600x1200@65" "1920x1440@60" "1400x1050@75" "1920x1440@75" "1400x1050@60" "2048x1536@60" "1280x960@75" "2048x1536@75" "1280x1024@60" "1280x1024@85" "1280x960@85" "1280x960@60" "1280x1024@75" "1280x854" "1152x768@54" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
      EndSubSection
      EndSection

      Section "Extensions"
      Option "Composite" "Enable"
      EndSection

      Comment


        #4
        Re: Trying Beryl, almost there ...

        dibl..

        From the Gentoo - wiki... http://gentoo-wiki.com/HOWTO_AIGLX

        Section "Screen"
        Identifier "Screen0"
        Device "Videocard0"
        Monitor "Monitor0"
        DefaultDepth 24
        Option "metamodes" "1440x900_60 +0+0; 800x600 +0+0; 640x480 +0+0"
        SubSection "Display"
        Depth 24
        Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        # Enable 32-bit ARGB GLX Visuals
        Option "AddARGBGLXVisuals" "True"
        The last line needs to be added to the 'screen' section. Try that and see if it works.

        Mike
        http://monte48lowes.blogspot.com

        Comment


          #5
          Re: Trying Beryl, almost there ...

          Thank you very much Mike. That by itself didn't make the difference, but I followed that thread to other suggestions, and I'll post the xorg.conf section that is now working, more or less. It feels like the combination of Edgy/KDE + nVidia's very latest (unstable) driver + Beryl is pushing beyond the limit of stability, even on my brand new hardware. With this xorg.conf section, I have eliminated the "Composite Manager has crashed ..." error, so much of Beryl is functional. Now I can click "Beryl" in the Beryl "Select Window Manager" menu, and actually get Beryl (again). But, guess what -- no window decorations (again). In this mode, I can only close windows with "File, Close" from each window's menu, as there is no border with an "x" box in the upper right corner. If I click "Select Window Decorations" from the Beryl menu, it's a "good news/bad news" result. I get windows borders (yay!), and most of the task bar, including the applets that I put there goes bye-bye (boo-hoo!). So, what we have here, I believe, is the conjunction of a shaky new nVidia driver and shaky Beryl version, which can't do everything together.

          That's OK -- that's what I bargained for when I installed the latest of everything! After I push "save" on this post, I'm going to select "Aquamarine" as the Window Decorator from the Beryl menu, expecting to see my screen do a disappearing act ....



          Here's the tail end of my current xorg.conf:

          Section "Device"
          Identifier "NVIDIA Corporation NVIDIA Default Card"
          Driver "nvidia"
          BoardName "GeForce 7900GS"
          Screen 0
          Option "XAANoOffscreenPixmaps" "true"
          Option "BackingStore" "true"
          Option "RenderAccel" "true"
          Option "AllowGLXWithComposite" "true"
          EndSection

          Section "Screen"
          Identifier "Default Screen"
          Device "NVIDIA Corporation NVIDIA Default Card"
          Monitor "Generic Monitor"
          DefaultDepth 24
          Option "Coolbits" "1"
          SubSection "Display"
          Virtual 2048 1536
          Depth 24
          Modes "1600x1200@85" "1792x1344@75" "1600x1200@70" "1792x1344@60" "1600x1200@75" "1856x1392@60" "1600x1200@60" "1856x1392@75" "1600x1200@65" "1920x1440@60" "1400x1050@75" "1920x1440@75" "1400x1050@60" "2048x1536@60" "1280x960@75" "2048x1536@75" "1280x1024@60" "1280x1024@85" "1280x960@85" "1280x960@60" "1280x1024@75" "1280x854" "1152x768@54" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
          EndSubSection
          # Enable 32-bit ARGB GLX Visuals
          Option "AddARGBGLXVisuals" "True"
          Option "DisableGLXRootClipping" "True"
          EndSection

          Section "Extensions"
          Option "Composite" "Enable"
          EndSection

          Comment


            #6
            Re: Trying Beryl, almost there ... Ooops, one more thing!

            The last thing I did before the "Composite Manager has crashed ..." messages disappeared was to go into System Settings>Window Behavior, and un-check "Translucency" -- I'm pretty sure that was what was really screwing with Beryl and Aquamarine. Further testing in progress ...

            Comment


              #7
              Re: Trying Beryl, almost there ...

              dibl,

              I just did a test using the information on http://en.opensuse.org/Beryl

              using the "Beryl with nVidia drivers - no Xgl/AIGLX" section. It works. One thing I did different than the other forum was to use the nVidia X-server settings from the menu. I configured the settings for my monitor and used the save xorg.conf file to save it to my /home directory. Then ran the nvidia-xconfig entries and saved it to the xorg.conf in my home directory. Once I completed all of the nvidia-xconfig entries I copied the xorg.conf from my /home directory to /etc/X11/xorg.conf and restarted x-server.....

              No manual edits of xorg.conf were required.

              Mike
              http://monte48lowes.blogspot.com

              Comment


                #8
                Re: Trying Beryl, almost there ...

                Good catch with the Translucency.

                Mike
                http://monte48lowes.blogspot.com

                Comment


                  #9
                  Re: Trying Beryl, almost there ...

                  OK, I've beat on it pretty hard. Here's the deal, at least with my nVidia 7900GS setup:

                  With System Setting>Translucency un-checked, and the xorg.conf as I last posted it, I've got the full Beryl functionality, except for Aquamarine. In other words, as long as I stick with the Standard Window Decorator (Emerald), things seem reasonably solid. If I try Acquamarine Decorations, it breaks and defaults back to KDE Window Manager (but at least it doesn't crash). I've done a bunch of xserver reloads and window-banging, and it appears to be good to go. Nvidia driver (9746), including overclocking, is working except for the "autodetect" function, which I already reported to Alberto. But as soon as I choose the Aquamarine decorator, I lose the window borders and some or all of my taskbar, before it switches back to KDE Window Manager. So, I'm going to call it a job on Beryl and move on to break something else ...

                  Comment


                    #10
                    Re: Trying Beryl, almost there ...

                    I tried Aquamarine as well...and met the same results.

                    I have not read much about aquamarine and beryl so I will stay with emerald as well.

                    Mike
                    http://monte48lowes.blogspot.com

                    Comment


                      #11
                      Re: Trying Beryl, almost there ...

                      Mike, I tried your method of saving the nVidia xserver settings, from the nVidia-settings utility, to xorg.conf. Interestingly, it did not change anything in the file, as far as I can tell by comparison. Perhaps it only adds missing items, and does not delete extraneous ones, because I'm pretty sure that some of the lines I added, such as the Option "BackingStore" are irrelevant to Beryl functionality.

                      Comment

                      Working...
                      X