16 Replies Latest reply on Feb 22, 2010 5:17 AM by Temar

    IEGD Linux 10.1 on i945GSE

    Green Belt
      Hi, I am new to IEGD and would like to get some clarification about iegd_dri.so module. I have the driver (10.1) working fine with Xorg-xserver-1.6. However the GLX extension tries to load iegd_dri.so (I copied it to /usr/lib/dri/ as per UM) and it fails because of: (EE) AIGLX error: iegd exports no extensions (/usr/lib/dri/iegd_dri.so: undefined symbol: __driDriverExtensions) (EE) AIGLX: reverting to software rendering Then it falls back to swrast_dri.so, if installed. From the other hand glxinfo reports: name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 ... client glx vendor string: Intel(r) Embedded Graphics Driver client glx version string: 1.3 - 10.1 Build 1418 ... OpenGL vendor string: Intel(r) Embedded Graphics Driver OpenGL renderer string: Intel 945GM OpenGL version string: 1.4.0 - Build 1418 Provided the output from glxinfo, I assume that direct rendering is enabled and is using the HW renderer from libGLgn3.so. What confuses me is that GLX extension has loaded and initialized DRISWRAST as GL provider. So which renderer has been used SW or HW? If swrast_dri.so is not installed, applications like glxinfo, glxgears will fail to run because of: name of display: :0.0 Xlib: extension "GLX" missing on display ":0.0". It is not very clear from the User Manual if iegd_dri.so module is required for i945 or it is only for U15. Any help or information is much appreciated. Thanks, Stefan.
        • Re: IEGD Linux 10.1 on i945GSE
          Felix_M BlackBelt

          Hi StefanS:

           

          Welcome to the Intel® Embedded Community.   

           

          Since you are using the Mobile Intel 945GSE Express Chipset, I want to make you aware of a special place to go with your technical questions.  The Intel e-Help desk is staffed by Intel representatives dedicated to answering embedded Intel® architecture product, design and development questions for select Intel processors, including 945GSE.  

           

          The Intel e-Help desk is only available to registered private users.  Before you can access e-Help, you will first have to upgrade your community membership to private status.  Private account status also allows you to access special documents and tools at the Intel® Embedded Design Center.    Note that it usually takes a few days for the approval process, and it normally requires that your company has a Non-Disclosure Agreement (NDA) with Intel.  If you are interested, Click here to go to your ‘My Account’ page and request registered private access. 

           

          In the meantime, let's see if someone in the community can help answer your question.

           

          Thanks

          Felix

          • Re: IEGD Linux 10.1 on i945GSE
            Green Belt

            (EE) AIGLX error: iegd exports no extensions (/usr/lib/dri/iegd_dri.so: undefined symbol: __driDriverExtensions)

             

            I have the exact same problem with version 10.2.2 using Moblin 2.1. From reading other posts, it seems that it is either the kernel module or a problem with the GL lib.

             

            Did you find a solution?

              • Re: IEGD Linux 10.1 on i945GSE
                Green Belt

                No, unfortunately ...

                 

                I am about to try the new 10.3 to see if it has the same problem.

                  • Re: IEGD Linux 10.1 on i945GSE
                    Green Belt

                    A new 10.3 version? Where did you get it? Do you have URL?

                     

                    I can only find version 10.2.2 in the IEGD download center.

                     

                     

                    I read a bit more about this problem. It seems that it should work if one could disable AIGLX in xserver 1.6 and make it use GLX only. Unfortunately the entry...

                     

                    option "AIGLX" "false"

                     

                    ...is not enough. I'm still not giving up. I let you know if I find a solution.

                     

                      • Re: IEGD Linux 10.1 on i945GSE
                        Green Belt

                        I have got the 10.3 via Intel's Premier Support Web Site, but you need to register first. My company already had NDA with Intel so it was easy.

                         

                        I recompiled the X server with AIGLX disabled (not needed it in our setup), but that disabled the entire GLX support. Maybe I did not configured it properly ...

                        That problem seems to have something to do with MESA API. It has changed between versions, but I can't remember the details.

                        At the time I did not have time to dig deeper, so I left it.

                         

                        BTW: No body from Intel actually explained why is that.

                         

                        Pease let me know if you dig more info on that problem.

                         

                        Thanks,

                        Stefan.

                          • Re: IEGD Linux 10.1 on i945GSE
                            Green Belt

                            Ok, I found the 10.3 driver on a server of the Moblin project. Unfortunately it does not change much. Still no AIGLX support.

                             

                            On the other hand it seems to be a lot faster. Using glxgears I got ~250 fps with the old 10.2.2 driver. Now I get about 350 fps. This supports your theory, that GLX is actually working. There is just no AIGLX support.

                             

                            Unfortunately I still can't get Moblin to work without crashes. The driver is as unstable as the old one. It seems there is a problem with the DRICreateInfoRec() in iegd_drv.so.

                             

                             

                              • Re: IEGD Linux 10.1 on i945GSE
                                Green Belt

                                Thanks a lot for the info!

                                 

                                I use 10.1 with custom OE Angstrom distribution, and the driver appear to work well. I have some problems switching back and forth to virtual consoles (text), but are rare.

                                 

                                Cheers,

                                Stefan.

                                  • Re: IEGD Linux 10.1 on i945GSE
                                    Green Belt

                                    I have some more Info for you. If you set "AIGLX" to "false" in xorg.conf, then Software Rendering is used (Driver 10.3beta). If you use the default setting "true", then hardware rendering is used.

                                     

                                    It least it seems that way. I'm using Moblin which renders its Desktop using OpenGL. If I set AIGLX to "false" I get a constant CPU usage of 100\%. If I don't set the AIGLX option I get a cpu usage of 3\%.

                                     

                                    I had problems with switching back and forth to virtual consoles, too. I figured out that the driver runs much more stable if you only set options in xorg.conf which are absolutely required. There are a lots of options like "Accel" or "FBBlend", etc. If you let the driver figure it out itself, you can switch between consoles without crashes.

                                     

                                    Temar

                                     

                                      • Re: IEGD Linux 10.1 on i945GSE
                                        Green Belt

                                        Thanks a lot for the info!

                                         

                                        Cheers,

                                        Stefan.

                                          • Re: IEGD Linux 10.1 on i945GSE
                                            Green Belt

                                            I justed tested the official 10.3 driver, which they released today. No change for me at all. Even though they claim it supports Moblin 2.1 it does not work with my device (PCI-ID: 8108). I came to the conclusion that this will never work out. Intel is working on these drivers for more then a year now and still that's the best they can come up with. The linux eco-system changes too fast for a binary blob that is as ill maintained as this one. Nvidia is the only vendor which manages to offer a fully working binary blob - but they put a lot of effort in it and release updates regulary.

                                             

                                            So that's it for me. I'll send my device back to Amazon. I whish you all the best and hope you have better luck with yours.

                                             

                                              • Re: IEGD Linux 10.1 on i945GSE
                                                Green Belt

                                                Thanks!

                                                 

                                                Stefan.

                                                  • Re: IEGD Linux 10.1 on i945GSE
                                                    Kirk Brown Belt

                                                    945GSE is indeed supported and has been for quite a while.

                                                     

                                                    Moblin 2.1 is also supported but we are focused on the IVI version, not the MID or other distributions so there may be some odd X server options or features in the other Moblin distros that are causing trouble.

                                                     

                                                    We do a lot of stability testing and we have found that a lot of graphics friver instability blamed on the graphics is really things in all of the millions of different distros of Linux out there that we have not possibly been able to test or understand the infinite number of permutations avaiable.  There is supposed to be an Open Source driver avaialble (the 945GSE is basically a 945GM as far tas the graphics) but it does use all the internal IP that the chip has as we are not willing to release that IP into GPL.  That is why we have a good Open Source version and a better binary blob.

                                                     

                                                    It is correct that we do not directly support AIGLX extensions, however, that mostly can be ignored.

                                                     

                                                    The best thing to do is to follow the install directions provided in the USers Guide in the Linux section to get your platform up.  The IKM step is critical to getting your DRM working properly to allow us to hardware accelerate stabily.

                                                     

                                                    Hope this help.  

                                                      • Re: IEGD Linux 10.1 on i945GSE
                                                        Brown Belt

                                                        What is the exact issue you're seeing when you say the IEGD is not working with Moblin.

                                                         

                                                        As Kirk said, you need to make sure that you're using the Moblin-IVI build (as instructed in the IEGD User Guide).

                                                         

                                                        If you're having installation issues then you can download the Moblin 2.1 + IEGD 10.2 integrated image from http://moblin.org/projects/2.1-ivi-fc-release

                                                         

                                                        A Moblin 2.1 + IEGD 10.3 integrated image will be available at this site by next week.

                                                         

                                                        Also, if you're using a LVDS panel then you may want to connect an external VGA display as you're installing the image. To use the LVDS, you'll need to edit the xorg.conf so it works w/ your display.

                                                         

                                                        Hope this helps.

                                                          • Re: IEGD Linux 10.1 on i945GSE
                                                            Green Belt

                                                            [quote]

                                                            945GSE is indeed supported and has been for quite a while.

                                                            [/quote]

                                                             

                                                            I do not have a 945GSE - my device (Archos9 internet tablet) has a GMA500 (PCI-ID: 8086:8108). I think StefanS has a 945GSE but he does not seem to use Moblin.

                                                             

                                                             

                                                            [quote]

                                                            We do a lot of stability testing and we have found that a lot of graphics friver instability blamed on the graphics is really things in all of the millions of different distros of Linux out there that we have not possibly been able to test or understand the infinite number of permutations avaiable.  There is supposed to be an Open Source driver avaialble (the 945GSE is basically a 945GM as far tas the graphics) but it does use all the internal IP that the chip has as we are not willing to release that IP into GPL.  That is why we have a good Open Source version and a better binary blob.

                                                            [/quote]

                                                             

                                                            I understand your problem and I don't blame you. As I'm a software developer myself I know which problems you are facing. You guys just don't have enough manpower to do all the testing. But that is exactly the reason why I think that this driver will never really work out. Your employer already showed that he is not willing to hire more devs to fix this problem and as you can not open-source the driver, the state of the driver will pretty much always be like it is today. The Linux api just changes too often, you have XAA, EXA, UXA, DRI, DRI2, GLX, AIGLX, Gallium3D, KMS - and all this within a few years.

                                                             

                                                            [quote]

                                                            What is the exact issue you're seeing when you say the IEGD is not working with Moblin.

                                                            [/quote]

                                                             

                                                            This is my problem:

                                                            http://lists.moblin.org/pipermail/dev/2010-February/008012.html

                                                             

                                                            [quote]

                                                            As Kirk said, you need to make sure that you're using the Moblin-IVI build (as instructed in the IEGD User Guide).

                                                            [/quote]

                                                             

                                                            I tried both. The Moblin 2.1 IVI distribution and the Standard Moblin 2.1 distribution with an IVI kernel (to get the iegd module). I even compiled and tried the official IKM module which is distributed with the 10.2.2 driver.

                                                             

                                                             

                                                            [quote]

                                                            If you're having installation issues then you can download the Moblin 2.1 + IEGD 10.2 integrated image from http://moblin.org/projects/2.1-ivi-fc-release

                                                            [/quote]

                                                             

                                                            I tested all images I could get my hands on - none of them booted out of the box. I had to create a custom xorg.conf, otherwise the driver would crash immediately. To get it to boot at all I had to boot the image in virtualbox and copy over my xorg.conf.

                                                             

                                                            [quote]

                                                            Also, if you're using a LVDS panel then you may want to connect an external VGA display as you're installing the image. To use the LVDS, you'll need to edit the xorg.conf so it works w/ your display.

                                                            [/quote]

                                                             

                                                            Hehe, yep. My device did not have an external monitor connector. It is LVDS only.

                                                              • Re: IEGD Linux 10.1 on i945GSE
                                                                Brown Belt

                                                                I looked at the problem details you mentioned at the moblin.org mail list. Here are a few comments:

                                                                 

                                                                - You don't want to use Moblin-Netbook UX with IEGD, its not recommended/supported and known to have issues

                                                                 

                                                                - You shouldn't be seeing any stability issues when you use IEGD with Moblin-IVI. The desktop is pretty plain GNOME or QFCE (depending on whether you're using an image before or after Oct'09) but its validated/supported

                                                                 

                                                                - If you've modified your xorg.conf and confirmed that it works then can you please describe your problem again w/ Moblin-IVI image

                                                                 

                                                                - We need to figure out if the problem is w/ xorg.conf, IEGD, Moblin, X server........