Announcement

Collapse
No announcement yet.

How do I enable direct rendering?

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

    How do I enable direct rendering?

    I'm using an ATi Radeon X1100, and have installed Compiz Fusion... but it wont run without direct rendering, and I don't know how to turn it on.

    #2
    Re: How do I enable direct rendering?

    I'm not sure if it's possible. In my case, fglrx (the driver) is needed for direct rendering, but doesn't support compositing. Compiz/Beryl requires compositing. The open-source driver supports compositing, but it doesn't support my card.

    Let's see if yours does the same thing. Post (or, preferably, attach) /etc/X11/xorg.conf.
    For external use only.

    Comment


      #3
      Re: How do I enable direct rendering?

      I know someone else at ubuntuforums got Compiz to run on an X1100, but I've gotten no help there.
      Attached Files

      Comment


        #4
        Re: How do I enable direct rendering?

        Umm... You've turned off AIGLX near the top, but lower, in ServerLayout, you've turned it on.

        At the bottom, you have
        Section "Extensions"
        Option "Composite" "Enable"
        Option "Composite" "0"
        EndSection
        ...not sure what's up with that. But, if it works, don't change it. (I just had a round of that myself...) I'm guessing that the later one takes precedence.

        So, for Compiz, you'll need to turn on compositing. Remove the line turning it off. Now, this will also disable DRI (direct rendering infrastructure?), so we can't use fglrx. Go to the driver line (line 99) and change it to "radeon". Reboot. If you get a black screen, switch to a terminal (Ctrl+Alt+F1...F6) and execute "grep WW /var/log/Xorg.0.log && grep EE /var/log/Xorg.0.log". If it talks about an unsupported board, you're out of luck. I don't think you can use Compiz.

        However, if it starts up normally, open up Konsole and execute "glxinfo | grep direct". If it says "yes", go enjoy your wobbly windows. If it says "no" and mentions Mesa, do the "grep WW..." I mentioned above.
        For external use only.

        Comment


          #5
          Re: How do I enable direct rendering?

          Ok, it booted fine, but I got this:

          Code:
          administrator@Hades:~$ glxinfo | grep direct
          Xlib: extension "XFree86-DRI" missing on display ":0.0".
          direct rendering: No
          OpenGL renderer string: Mesa GLX Indirect
          administrator@Hades:~$ grep WW /var/log/Xorg.0.log && grep EE /var/log/Xorg.0.log
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
          (WW) RADEON(0): Unknown DDCType 5 found
          (WW) RADEON(0): LCD DDC Info Table found!
          (WW) RADEON(0): No valid DDCType is given for DDC2, try vbe probing ...
          (WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
          (WW) RADEON(0): Direct rendering disabled
          (WW) RADEON(0): Option "DisableGLXRootClipping" is not used
          (WW) RADEON(0): Option "AddARGBGLXVisuals" is not used
          (WW) RADEON(0): Option "AllowGLXWithComposite" is not used
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (II) Loading extension MIT-SCREEN-SAVER
          (EE) AIGLX: Screen 0 is not DRI capable
          (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
          (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
          (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
          This means I can't use it, doesn't it? =\

          Comment


            #6
            Re: How do I enable direct rendering?

            ?

            Comment


              #7
              Re: How do I enable direct rendering?

              Sorry. I don't usually get a chance to use my computer on Sundays.

              Anyway, I don't know if it's taking effect, but I think it is: line 147, AIGLX is explicitly enabled. Take that line out completely (or just comment it out).
              Option "AIGLX" "true"
              For external use only.

              Comment


                #8
                Re: How do I enable direct rendering?

                Hmm, no change yet... is there any kind of command line to force direct rendering on.

                Comment


                  #9
                  Re: How do I enable direct rendering?

                  Fglrx and AIGLX

                  fglrx doesn't support AIGLX. Maybe someday:
                  http://www.phoronix.com/scan.php?pag...item=782&num=1
                  Moving forward to the 8.39.4 driver released today, we still have no AIGLX or R600 support
                  If you want Compiz Fusion/( Beryl) use:

                  a) AIGLX (using open source ATI driver)

                  b) XGL (using closed-source ATI driver = fglrx)

                  Links:
                  Compiz Fusion
                  HOWTO: ATi(fglrx) and Compiz Fusion on Feisty
                  http://ubuntuforums.org/showthread.php?t=482773

                  This is for Ubuntu. So (if you don't have gnome)--->

                  sudo gedit.. => press Alt+ F2 : kdesu kate...

                  exec gnome-session => exec /etc/X11/Xsession startkde

                  libcompizconfig-backend-gconf => libcompizconfig-backend-kconfig

                  .
                  .
                  .



                  Beryl
                  Topic: i want to install Beryl on Kubuntu 7.04 graphic card is ATI x1400
                  http://kubuntuforums.net/forums/inde...opic=3082628.0


                  Note
                  I tried Compiz Fusion on Kubuntu:
                  Topic: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty
                  http://kubuntuforums.net/forums/inde...opic=3085226.0


                  After you have installed AMD(Ati) drivers

                  From Ubuntu Feisty Installation Guide
                  http://wiki.cchtml.com/index.php/Ubu...allation_Guide
                  Disable Composite Extension

                  In Ubuntu Feisty the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. In order to disable Composite you have to edit the xorg.conf file:

                  and add these lines at the end of the file:
                  File: /etc/X11/xorg.conf

                  Section "Extensions"
                  Option "Composite" "Disable"
                  EndSection

                  Section "ServerFlags"
                  Option "AIGLX" "off"
                  EndSection
                  And remove other composite/AIGLX markings.


                  is there any kind of command line to force direct rendering on.
                  Well - There is something wrong in the xorg.conf (or your computer thinks so). That is the reason why direct rendering:
                  (WW) RADEON(0): Direct rendering disabled

                  How did you install fglrx ?


                  More links
                  BinaryDriverHowto/ATI
                  https://help.ubuntu.com/community/BinaryDriverHowto/ATI

                  Ubuntu Feisty Installation Guide
                  http://wiki.cchtml.com/index.php/Ubu...allation_Guide

                  Topic: how do u install ATI drivers?
                  http://kubuntuforums.net/forums/inde...opic=3084084.0

                  Topic: X Error: BadDevice, invalid or uninitialized input device 168
                  http://kubuntuforums.net/forums/index.php?topic=7964.0

                  Topic: HOWTO : Disaster Recovery and xorg.conf
                  http://kubuntuforums.net/forums/inde...opic=3082808.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


                    #10
                    Re: How do I enable direct rendering?

                    Do you have a file with all these things all typed out to copy-paste into a post, or what?

                    Anyway, you now have the radeon driver, compositing on, and AIGLX off, correct? Hmm. Try turning AIGLX on.

                    At this point, it's mostly "well, try turning this on, and if that doesn't work, try turning this on...".

                    EDIT:
                    Originally posted by Rog131
                    For external use only.

                    Comment

                    Working...
                    X