I think that Ubuntu Edgy Knot 2 is the first Linux distribution that enables the Composite extension by default for X.org. While this is really exciting, unfortunately it seems to negatively affect DRI and 3D acceleration when using ATI’s closed-source drivers, fglrx.

I don’t know exactly the reasons of this, but enabling Composite extensions disables ATI’s driver support for DRI and 3D acceleration. The X.org logs show DRI has been disabled, but they offer no clue on what’s going on, so I eventually found tout he answer while digging on the Ubuntu forums.

To disable Composite extensions, add the following lines to the end of /etc/X11/xorg.conf file:

Section "Extensions"
        Option "Composite" "false"
EndSection

This will bring back support for DRI, 3D acceleration and, thus, OpenGL support.

80 Responses to “Ubuntu Edgy, ATI’s fglrx, DRI, 3D acceleration and X.org Composite extension”

  1. Chris’ Blog » Blog Archive » Edgy DVD Playback Says:

    [...] Google is my friend in times of need, turns out I need to disable the X composite extension for frglx (the ATi binary driver) to work properly. An hour and several reboots later this simple fix fixed it, always they way. [...]

  2. mariuz Says:

    Uhoo , thanks , now i have the acceleration (i thought installing the latest drivers from their site but you saved me )

    fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9550 Generic
    OpenGL version string: 2.0.6011 (8.28.8)

  3. » Re: fglrx won’t initalise DRI - ubuntu.sitebolt.net Says:

    [...] On 9/28/06, Felipe Alfaro Solana wrote: > On 9/28/06, m c wrote: > > Hi all, > > > > The fglrx driver seems to fail on loading the drm module and DRI fails > > to initialise on my ATI X1900. Same result on both Dapper and Edgy… > > > > The errors in Xorg.log are: > > (II) Reloading /usr/lib/xorg/modules/linux/libdrm.so > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is -1, (No such device or address) > > drmOpenDevice: open result is -1, (No such device or address) > > drmOpenDevice: Open failed > > [drm] failed to load kernel module “fglrx” > > (WW) fglrx(0): Failed to open DRM connection > > > > and: > > (II) fglrx(0): Composite extension enabled, disabling direct render > > Seems you’re using the Composite extension. AFAIK, fglrx doesn’t like > Composite extension. > > Take a look at this. I think it may help you: > > http://felipe-alfaro.org/blog/2006/09/06/ubuntu-edgy-ati-fglrx-dri-3d-acceleration-and-xorg-composite-extension/ [...]

  4. » Re: fglrx won’t initalise DRI - ubuntu.sitebolt.net Says:

    [...] http://felipe-alfaro.org/blog/2006/09/06/ubuntu-edgy-ati-fglrx-dri-3d-acceleration-and-xorg-composite-extension/ [...]

  5. luis Says:

    This works great. Thanks!

  6. Tommy Says:

    Hi! I surfed in to you website when searching on fglrx, i to have the same problem on my laptop with a X1300 card. I have added the line to my xorg.conf file, but it still doesnt work :( I run the 8.29.06 ati drivers. Have you got any more ideas? The thread i posted is here http://ubuntuforums.org/showthread.php?t=271752 i would appreciate a answer on email, or on the thread :)

    Regards, Tommy

  7. Felipe Alfaro Solana Says:

    Try the following:

    # mv /etc/modprobe.d/fglrx /tmp
    # reboot

    I had problems with Edgy not loading the fglrx module which turns out causes problems and doesn’t allow DRI to work.

  8. ekasperc Says:

    thx dude, you saved my day ;)

  9. Ted Says:

    Cheers my friend! This worked a treat and I have been slamming my head on a brick wall for ages on this!

  10. john Says:

    excellent tip thanks very much :)

  11. Picking Through the Rubble that is Ubuntu 6.10 « FremLog Says:

    [...] I’ve got a Radeon Xpress 200M card in this Toshiba Satellite notebook, and after upgrading, I was greeted by both a broken boot screen and an X.org server crash. The boot sceeen was resolved with a quick “apt-get install ubuntu-desktop”, but X was a bit trickier to fix. You can get a quick fix by enabling the basic, no-3d-acceleration “ati” driver, but in the time it takes you to do that, you might as well go here and read up on the fix. [...]

  12. Rutger Says:

    Xpress 200M doesn’t work yet! The opensource drivers don’t support acceleration yet, and the proprietary driver doesn’t support compositing yet! So you’re not going to get AIGLX to work

  13. Felipe Alfaro Solana Says:

    Unfortunately, it seems only the nVidia Beta propietary seems to be functional and powerful enough to drive AIGLX.

    I have tried the ATI open-source drivers, but it seems they don’t recognise the MacBook’s Pro ATI graphics card, and ATI’s fglrx doesn’t support GLX_texture_from_pixmap, so I haven’t been able to use AIGLX with that ATI card yet.

  14. Gonçalo Says:

    Hello!
    I’m having problems installing ati on my vaio vgn-s1xp
    whith a radeon 9700.
    In fglrxinfo it gives me this:
    Xlib: extension “XFree86-DRI” missing on display “:0.0″
    When I turn composites off, I thik the dri loads, but I only get a black screen! Have to turn composites on again to be able to use ubunto (6.10).
    Any help would be apreciated!
    Thanks in advance!

  15. NewLinuxUser Says:

    Hi, I am very new to linux (ie less than a couple of days).
    I am using ATI Radeon Express 200M with Ubuntu 6.10.
    When I type fglrxinfo I get the following :
    Xlib: extension “XFree86-DRI” missing on display “:0.0″.
    display: :0.0 screen: 0
    OpenGL vendor string: Mesa project: http://www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

    And when I do what you suggested, it says can’t save file, cause I don’t have permission. When I try to change the file permissions it says that I am not the owner!

    Please help!

  16. Felipe Alfaro Solana Says:

    Hi, NewLinuxUser:

    First of all, I want to take the oportunity to give you a warm welcome to the world of Linux.

    In order to modify the file /etc/X11/xorg.org, you need to elevate your privileges. /etc/X11/xorg.conf is a system configuration. Normally, you log into your Linux box using a normal user account which doesn’t have privileges to edit system files.

    In order to edit /etc/X11/xorg.conf, you will have to temporarily elevate your privileges using the sudo command to invoke your favorite editor. sudo will ask for your password and, if correct, will launch a new shell running with elevated privileges, running as user root, also known as super-user.

    To edit /etc/X11/xorg.conf, you can use a command-line, text-mode editor, like vim or emacs, or a GUI one, like gedit (GNOME Text Editor) or kedit (KDE Text Editor). Since you are new to Linux, you will probably want to use one of the multiple GUI editors available for your desktop environment (GNOME, KDE, XFCE, etc.).

    To invoke vim with elevated privileges in order to edit /etc/X11/xorg.conf, use:

    sudo vim /etc/X11/xorg.conf

    If you want to use a GUI-based text editor, you can run:

    gksudo gedit /etc/X11/xorg.conf

    This will run GNOME Text Editor with elevated privileges (running as user root)and will automatically open the file /etc/X11/xorg.conf. Alternatively, you can omit the filename when invoking gedit and use File -> Open to open that file for editing.

    One advice: please, don’t run commands or log in as root for your day-to-day work. This user has full control over the machine and has no access control restrictions, so it is dangerous to run programs as root, since you can run a command by accident or mistake that deletes critical files from your system, or run untrusted programs that may compromise the security and/or stability of your system.

    Hope this helps. In case it doesn’t, please post a new comment or e-mail me at felipe_alfaro AT linuxmail DOT org.

  17. Oscar Says:

    Thanks dude, this worked for me!

    Sometimes the Option “Disable” or “0″ doesn’t work for all.

  18. pla Says:

    Thanks for that great help!!!!
    Go on blogging! ;-)

  19. pete Says:

    Hi . The trick doesn’t work with me. I have Ati X1600 PCIE and the latest drivers. I added the lines at the xorg.conf file but i can’t get 3d acceleration. what else can i do ??? Are there any other drivers for my VGA to install and have 3d acceleration and Beryl ?

  20. Chirag Says:

    hey guys, im still new to ubuntu and linux in general.. i installed ubuntu edgy, but its a little laggy. i installed the ati drivers, and when i use fglrxinfo it says this:

    chirag@chirag-desktop:~$ fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON X700 PRO Generic
    OpenGL version string: 2.0.6011 (8.28.8)

    i downloaded the newest drivers form the ati website for my card, but the file extension is .run, how to i execute this file? or do i even need to? the only reason i think i would need to is it says the …X700 PRO Generic, so i think i need to use the proprietary ati drivers. any other special drivers i need to install? with windows there’s the special agp to pci bridge drivers, and cpu and motherboard drivers, anything like that in ubuntu? thanks so much!! //chirag

  21. danno Says:

    Chirag,
    use sh, but be sure that you’re running bash and not dash, or you’ll get a ‘bad substitution’ error. Change the /etc/init.d/sh link. On Ubuntu: sudo ln -sf /bin/bash /bin/sh and to change back: sudo ln -sf /bin/dash /bin/sh. Or Google it, it’s all over the place.

    Filipe, you rock. I’ve been fighting this thing all day. I’m a Linux noob setting up my new dev box with Ubuntu, Mono/C#, and VMware for Win32/.NET dev, and this gfx problem was driving me nuts. Couldn’t get decent VM guest resolution.

    Thx again.

  22. Robert Says:

    Hello,

    Also new to Ubuntu Linux. I have been trying to get my ATI 1900 3D work. I still get the error message Xlib: extension “XFree86-DRI” missing on display “:0.0″. I have tried everything you all suggested and still cant get rid of this error. What am I missing. Any help would be valued.

    Thanks Robert

  23. Ilya Says:

    Thanks for the tip, I now have 3D support, all I need to do now is figure out how to get DVI to work…

  24. Galroth Says:

    When I tried to run the “mv /etc/modprobe.d/fglrx /tmp” command, I received this: “No such file or directory”. I have the same problem as NewLinuxUser. Any thoughts?

  25. Scott Says:

    Dude. If you were not a guy I would be all over you.
    Thank you very much for blogging this.

    Kiwi NZ.

  26. Daniel Says:

    Jepp, same for me with my Radeon X1950. I’ll have installed the latest driver (8.33.6) and it should work. i hear the buzz from the graphic card fan but still get the error. Xlib: extension “XFree86-DRI” missing on display “:0.0″.

    I am not sure it can find my card.. in xorg.conf it only has “Identifier “ATI Technologies, Inc. ATI Default Card”"

    well i will have to tweak some more maybe it comes around..

    cheers

  27. R. Benjamin Harris Says:

    What worked for me to get OpenGL running on my ATI Radeon Xpress 200M was to turn off the “Composite” extension in xorg.conf. I’ve running the ATI proprietary drivers version 8.33.6-1 on Ubuntu Edgy 8.10. From what I read, the most recent versions of xorg turn on the Composite feature by default. I added these lines to my xorg.conf:

    Section “Extensions”
    Option “Composite” “Disable”
    EndSection

  28. Mr. Eko Says:

    Felipe, you save my life man. Thanks!

  29. Claudio Says:

    GREEEEEEEEEEEEEAT !!!

    Thanks Felipe. You saved our lives!

  30. ghoti Says:

    PLEASE for the love of the penguins help me

    ok, so I am having an additional problem with x1900
    1) in ubuntu graphics card works ok with opensource drivers, but I am not able to use a better resolution than 1280X1024 even though it shows greater screen resolution support, up to 1680X1050 in xorg.conf.

    However when I scroll using mouse wheel or slide bar in, for instance this page, it skips as opposed to smooth rendering.
    I mention this because when I do install flgrx drivers 2 things happen.

    One, I cannot scroll in a web page at all. Well I can and I can see that it is working, but in order to see the “refreshed” display I have to minimze and maximize the webpage. I have added the composite off section to xorg and rebooted.

    2.) I will also get overlays, AKA if I have two windows open
    and minimize the top one that image will remain in the second window until I min/max.
    Switching tabs in firefox will also refresh the display.
    Also when a warning window pops “start or restore firefox” for instance it doesnt actually appear.
    I can see it in the panel, but it will not draw on the screen until I move my mouse over it at which point it will draw the start/restore boxes independantly on mouse scroll over. and the title bar, but no text.

    xorg also identifies itself as an x1600 after I have installed the drivers as well.
    This is true for both ubuntu and opensuse, I have not been able to get any other distros to work with this graphics card. They all default out upon reboot after the install to a black screen.

    This card has worked. I took my box down for a few days to make some mods (upgrade to 2 GB PC400 ram and 500GB sata HD from 160 ide and 1.5 PC200) and switch to open suse. I was running beryl project when I did this. Now all I can get is the whitescreen of death in the beryl project when I tried to install over this error in either ubuntu or opensuse.

    PLEASE FOR THE LOVE OF THE PENGUINS HELP ME

  31. quick_dudley Says:

    Thanks very much for solving this problem.

  32. cmn Says:

    Dear god, I was tearing my hair out trying to figure this out.

    You win an internet.

  33. Albert Says:

    Hell yeah — thanx a million!

  34. Adam Garrett Says:

    You RULE!!!!

  35. Brebinator Says:

    Hi there,

    Guys, just wanted to post that I am now on linux after 15 years of NT to Vista. Vista made me think about what was going on in the community land.

    All I can say is thank you – it is now a tough learning curve, but worth the effort and the OS is so enjoyable.

    I have ATI driver issues – and i will read and get ti sorted..

    Anyway,

    Hopefully I can contribute at as later date.

    Brebo

  36. 3d scanning Says:

    I love the 3d that you mention

  37. Preabyqueenry Says:

    hey guys i have a Intel® 845G grapics card and i was Playing the computer came World of warcraft and it runs very slow with Very small Fps (frames per second) ive lowerd the quality of the game. and i ahve a 1gig of ram. is there anything else i can do to get my Fps up higher

  38. Graphics Card Says:

    hi buddy… i just wanted to say that my C64 is crashing when I click on the text… are you using some js or something?

  39. tabs for guitar Says:

    great blog! ill be coming back! do you mind if i share this?

  40. eucerin coupons Says:

    Thank you, I have recently been searching for information about this topic for ages and yours is the greatest I have discovered till nowBut, what about the bottom line? Are you sure about the source?

  41. http://emeliesjodahl.com/test/?p=49 Says:

    1. Hi there, just became alert to your blog through Google, and found that it is really informative. I�m going to watch out for brussels. I will be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

  42. Kyle Matsui Says:

    Superb blog by the way! Currently it seems like BlogEngine is the best blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog?

  43. Best Laptops for College Says:

    Awesome site, thanks for sharing the material.

  44. girl london Says:

    Hi there, I discovered your site by way of Google even as looking for a similar matter, your web site came up, it looks great. I’ve bookmarked it in my google bookmarks. London Escorts Paradise, 146 Drury Lane, City of London, WC2B 5TA, 020 3393 0602

  45. Denyse Oulette Says:

    My husband and i ended up being now more than happy when Michael could carry out his basic research with the precious recommendations he gained while using the web page. It is now and again perplexing just to find yourself making a gift of strategies which often some others have been selling. We really understand we need the blog owner to give thanks to for that. The main illustrations you have made, the simple web site navigation, the friendships your site make it possible to promote – it’s most spectacular, and it’s letting our son and our family consider that that concept is awesome, which is certainly wonderfully fundamental. Thanks for the whole lot!

  46. uslugi budowlane Says:

    Thank you for sharing these kinds of wonderful content. In addition, the best travel and also medical insurance approach can often ease those considerations that come with touring abroad. A medical crisis can rapidly become very expensive and that’s absolute to quickly put a financial impediment on the family’s finances. Having in place the perfect travel insurance package deal prior to setting off is well worth the time and effort. Cheers

  47. Men Underwear Blog Says:

    I used to be very happy to search out this net-site.I wished to thanks in your time for this excellent read!! I definitely enjoying each little little bit of it and I’ve you bookmarked to take a look at new stuff you weblog post.

  48. fujifilmcamerafilm Says:

    i love your blog i have it in my rss reader and always like new things coming up from it.

  49. Las Vegas Dentist Says:

    I was very pleased to search out this internet-site.I wanted to thanks for your time for this wonderful read!! I undoubtedly enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post. Las Vegas Dentist

  50. Donetta Woolf Says:

    Hi! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no data backup. Do you have any methods to prevent hackers?

  51. Benefits of Inositol Says:

    Basically;stage.

  52. Jess Condry Says:

    72. I have recently started a web site, the information you offer on this web site has helped me tremendously. Thank you for all of your time & work.

  53. Eulalia Schain Says:

    Not to hijack this thread but I need some reviews on a local company that’s located near me in Tampa but can’t seem to find enough feedback. We only need a basic AC maintanence.They are named – Castellano Air Conditioning, 2206 1/2 N Armenia Ave, Tampa, Fl 33607-3414 -(813)877-6997

  54. Bluray Says:

    I like the way how you demonstrated your language on your post, Felipe Alfaro Solana » Blog Archive » Ubuntu Edgy, ATI’s fglrx, DRI, 3D acceleration and X.org Composite extension.

  55. apple ipad future Says:

    great site, very nise

  56. Evelyne Briones Says:

    I thought the title, “Felipe Alfaro Solana » Blog Archive » Ubuntu Edgy, ATI’s fglrx, DRI, 3D acceleration and X.org Composite extension” was a bit misleading. However, the content did not disappoint!

  57. Siu Mcgaughy Says:

    Good piece.

    Another thing, loving your blog design. I had a similar designed blog to yours before I sold it. I’ve still not got around to putting a custom theme on my new website.

    I have posted this to my mixx profile so that I do not forget to visit again in the future.

  58. Viola Baitner Says:

    What a material of un-ambiguity and preserveness of precious experience regarding unexpected feelings.

  59. Angie Brichetto Says:

    Your article is truly informative. A lot more than that, it??s engaging, compelling and well-written. I would desire to see even a lot more of these types of fantastic writing.

  60. Sheree Kaye Says:

    loving it Here’s some mildly amuzing stuff I found: Thought for the day? : The other day a woman came up to me and said, Didn’t I see you on television? I said, I don’t know. You can’t see out the other way.

  61. coach purses Says:

    choose a coach online store and even soft head wear top in addition to increase a straightforward white-colored organic and natural natural cotton first tee.

  62. Cpop News Says:

    Your place is valueble for me. Thanks!… Dallas SEO

  63. bank of ireland bonds Says:

    An impressive share, I just given this onto a colleague who was doing somewhat analysis on this. And he in reality purchased me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the deal with! However yeah Thnkx for spending the time to debate this, I feel strongly about it and love reading more on this topic. If attainable, as you become experience, would you thoughts updating your blog with extra particulars? It’s extremely useful for me. Big thumb up for this weblog publish! Dallas SEO

  64. unique address labels Says:

    Websites worth visiting…

    [...]here are some links to sites that we link to because we think they are worth visiting[...]……

  65. online voucher Says:

    Howdy very cool site!! Guy .. Beautiful .. Amazing .. I’ll bookmark your blog and take the feeds also…I am satisfied to seek out so many helpful information here in the put up, we need work out extra techniques in this regard, thanks for sharing. . . . . .

  66. folk instruments Says:

    I am typically to running a blog and i actually respect your content. The article has really peaks my interest. I’m going to bookmark your web site and preserve checking for brand spanking new information. Dallas SEO

  67. Rogelio Wine Says:

    Only wanna say that this is invaluable , Thanks for taking your time to write this.

  68. Used Rims Says:

    Can I just say what a relief to search out someone who truly knows what theyre talking about on the internet. You definitely know learn how to bring a problem to mild and make it important. Extra people must learn this and understand this aspect of the story. I cant believe youre no more popular since you undoubtedly have the gift.

  69. used crome cleaner Says:

    There are some fascinating time limits on this article but I don’t know if I see all of them center to heart. There may be some validity however I will take maintain opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as effectively

  70. unmetered Says:

    Can I simply say what a reduction to find someone who truly knows what theyre talking about on the internet. You undoubtedly know methods to deliver an issue to mild and make it important. Extra folks must read this and perceive this side of the story. I cant consider youre not more standard because you definitely have the gift.

  71. Alva Rosser Says:

    Hello. I wanted to ask 1 thing…is this a wordpress web web site as we are preparing to be shifting over to WP. Furthermore did you make this template yourself? Thanks.

  72. Earnest Ropiski Says:

    Hey very cool blog!! Guy .. Excellent .. Superb .. I’ll bookmark your web site and take the feeds additionally…I’m happy to search out so many helpful info here within the submit, we want develop more strategies on this regard, thank you for sharing. . . . . .

  73. Industrial Safety Resource Says:

    An interesting discussion is value comment. I believe that you should write more on this matter, it may not be a taboo topic but typically people are not enough to talk on such topics. To the next. Cheers

  74. Margarito Roan Says:

    I’ve been exploring for a little bit for any high quality articles or weblog posts on this sort of house . Exploring in Yahoo I ultimately stumbled upon this website. Studying this information So i am glad to exhibit that I’ve a very just right uncanny feeling I discovered exactly what I needed. I such a lot surely will make sure to do not put out of your mind this website and provides it a glance regularly.

  75. Ben Says:

    I am frequently to blogging and i also genuinely appreciate your posts. The article has truly peaks my interest. My goal is to bookmark your site and maintain checking choosing details.

  76. Marcelino Lehnherr Says:

    i want to enter and win

  77. tabletki odchudzające Says:

    Hi .The ultimate way for sharing success means with others is to build up loyal readers. That’s exactly what you are doing using this type of useful post.Best regards from Denmark.

  78. motor bike games Says:

    Your post, Felipe Alfaro Solana » Blog Archive » Ubuntu Edgy, ATI’s fglrx, DRI, 3D acceleration and X.org Composite extension was really content rich and straight forward for me to understand.

  79. cat breeds with pictures Says:

    I thought the title, “Felipe Alfaro Solana » Blog Archive » Ubuntu Edgy, ATI’s fglrx, DRI, 3D acceleration and X.org Composite extension” was a bit misleading. However, the content on swiss t gallery did not disappoint!

  80. selling a business Says:

    There are some interesting closing dates in this article however I don’t know if I see all of them center to heart. There is some validity but I will take hold opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as properly

Leave a Reply