Re: [osg-users] failed to create osg environment on ubuntu11.10
Jan Jordi, Thank you so much for your support. Yes, just install fglrx correctly and osg works well now [?] On Tue, Nov 13, 2012 at 9:22 PM, Jan Ciger jan.ci...@gmail.com wrote: On Tue, Nov 13, 2012 at 1:38 PM, robotspace.biz robotspace@gmail.comwrote: for Jan's advice, I checked glxinfo and get errors: *glxinfo* name of display: :0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream: 12 Yes, I come close root cause. But what is it? That means you have incorrectly configured X11. Either the OpenGL support (glx) is not loaded at all or you have it incorrectly installed and it fails to load due to some driver/library problem - the log files in /var/log/ should be able to tell you exactly what is wrong. Please, reinstall the drivers using the instructions in my other e-mail and that should fix it. Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 338.gif___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] failed to create osg environment on ubuntu11.10
*I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call display=0x1b67bb0 event=0x7fff7145a6e0 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 *osgviewer OpenSceneGraph-Data-3.0.0/example.osg * Old osgAnimation file format update your data file Old osgAnimation file format update your data file Got an X11ErrorHandling call display=0x1b272e0 event=0x7fffbfaa1230 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 * What's wrong with me?* ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.com wrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call display=0x1b67bb0 event=0x7fff7145a6e0 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 *osgviewer OpenSceneGraph-Data-3.0.0/example.osg * Old osgAnimation file format update your data file Old osgAnimation file format update your data file Got an X11ErrorHandling call display=0x1b272e0 event=0x7fffbfaa1230 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 * What's wrong with me?* ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
hi robert, Thanks for your concern. For my sign name, I will change it to keep same between google+ and osg forums. It's convinient to us all. For your advice, I will load the dependencies and rebuild osg. Could you please give me some more advice about X11 error? It's confusing and hard to conquer. It's necesary for me to create linux environment for osg because I have other projects such as Android and Minix on my laptop. On Tue, Nov 13, 2012 at 5:40 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.com wrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call display=0x1b67bb0 event=0x7fff7145a6e0 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 *osgviewer OpenSceneGraph-Data-3.0.0/example.osg * Old osgAnimation file format update your data file Old osgAnimation file format update your data file Got an X11ErrorHandling call display=0x1b272e0 event=0x7fffbfaa1230 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 * What's wrong with me?* ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. Cheers. 2012/11/13 Li Zhenpeng robotspace@gmail.com hi robert, Thanks for your concern. For my sign name, I will change it to keep same between google+ and osg forums. It's convinient to us all. For your advice, I will load the dependencies and rebuild osg. Could you please give me some more advice about X11 error? It's confusing and hard to conquer. It's necesary for me to create linux environment for osg because I have other projects such as Android and Minix on my laptop. On Tue, Nov 13, 2012 at 5:40 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.com wrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call display=0x1b67bb0 event=0x7fff7145a6e0 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 *osgviewer OpenSceneGraph-Data-3.0.0/example.osg * Old osgAnimation file format update your data file Old osgAnimation file format update your data file Got an X11ErrorHandling call display=0x1b272e0 event=0x7fffbfaa1230 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 * What's wrong with me?* ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
On Tue, Nov 13, 2012 at 12:17 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. That shouldn't be needed, unless the Ubuntu installation is badly broken. In fact, preloading an incorrect version of the library will only give you more problems (e.g. you may lose hw acceleration or even crash X). Run glxinfo and check whether proper driver is enabled - it should be in the 'renderer' string, including whether hw acceleration is on or not. The error above looks like an incorrectly installed graphic driver. I don't know what Ubuntu ships, but you need the AMD 'fglrx' driver, including the matching kernel module for OSG to work properly. Make sure to install it correctly and actually restart the machine after building/installing the kernel module. The X11 error means that the application is trying to do something that isn't supported by the driver. Regards, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
Hi Jan, Yes, preloading an incorrect version of the library will only give you more problems, that's the reason why I said to check the environmet variables. BUT in older versions of Ubuntu and with Mesa drivers there was a bug with the DRI drivers not linking to the libGL library see [1] and [2]. I have experienced the same error on ATI cards. Anyway I agree that it seems like a bad driver installation. Cheers. [2]http://www.xfree86.org/current/DRI11.html [3] http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg01152.html 2012/11/13 Jan Ciger jan.ci...@gmail.com On Tue, Nov 13, 2012 at 12:17 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. That shouldn't be needed, unless the Ubuntu installation is badly broken. In fact, preloading an incorrect version of the library will only give you more problems (e.g. you may lose hw acceleration or even crash X). Run glxinfo and check whether proper driver is enabled - it should be in the 'renderer' string, including whether hw acceleration is on or not. The error above looks like an incorrectly installed graphic driver. I don't know what Ubuntu ships, but you need the AMD 'fglrx' driver, including the matching kernel module for OSG to work properly. Make sure to install it correctly and actually restart the machine after building/installing the kernel module. The X11 error means that the application is trying to do something that isn't supported by the driver. Regards, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
Hi Jordi, That's great. I believe you find the issue I encountered. Following is my check result. *env | grep -in libgl* 14:LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri That means no variable pointing to my libGL drivers. I checked /usr/lib directory and there is no libGL.so file. Is your OS is ubuntu too? Is ligGL.so is a link file or a real lib file? Here is my search command: sudo apt-cache search libgl. It is hard to select correct library from more than twenty libraries to install. BTW, libGL is an runtime lib? Should I re-configure-compile-install osg after I set LD_PRELOAD? On Tue, Nov 13, 2012 at 7:17 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. Cheers. 2012/11/13 Li Zhenpeng robotspace@gmail.com hi robert, Thanks for your concern. For my sign name, I will change it to keep same between google+ and osg forums. It's convinient to us all. For your advice, I will load the dependencies and rebuild osg. Could you please give me some more advice about X11 error? It's confusing and hard to conquer. It's necesary for me to create linux environment for osg because I have other projects such as Android and Minix on my laptop. On Tue, Nov 13, 2012 at 5:40 PM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.com wrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call display=0x1b67bb0 event=0x7fff7145a6e0 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 *osgviewer OpenSceneGraph-Data-3.0.0/example.osg * Old osgAnimation file format update your data file Old osgAnimation file format update your data file Got an X11ErrorHandling call display=0x1b272e0 event=0x7fffbfaa1230 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 * What's wrong with me?* ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es ___ osg-users mailing list osg-users@lists.openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
Hi Li, Have you compiled OSG in 32 or 64 bit? Check if in /usr/lib/fglrx/dri or /usr/lib32/fglrx/dri do exists libGL depending on your target architecture. As Jan said a the output of glxinfo could give some light. libGL is supposed to be installed/replaced with your drivers. Cheers. 2012/11/13 robotspace.biz robotspace@gmail.com Hi Jordi, That's great. I believe you find the issue I encountered. Following is my check result. *env | grep -in libgl* 14:LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri That means no variable pointing to my libGL drivers. I checked /usr/lib directory and there is no libGL.so file. Is your OS is ubuntu too? Is ligGL.so is a link file or a real lib file? Here is my search command: sudo apt-cache search libgl. It is hard to select correct library from more than twenty libraries to install. BTW, libGL is an runtime lib? Should I re-configure-compile-install osg after I set LD_PRELOAD? On Tue, Nov 13, 2012 at 7:17 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. Cheers. 2012/11/13 Li Zhenpeng robotspace@gmail.com hi robert, Thanks for your concern. For my sign name, I will change it to keep same between google+ and osg forums. It's convinient to us all. For your advice, I will load the dependencies and rebuild osg. Could you please give me some more advice about X11 error? It's confusing and hard to conquer. It's necesary for me to create linux environment for osg because I have other projects such as Android and Minix on my laptop. On Tue, Nov 13, 2012 at 5:40 PM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.comwrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call display=0x1b67bb0 event=0x7fff7145a6e0 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 *osgviewer OpenSceneGraph-Data-3.0.0/example.osg * Old osgAnimation file format update your data file Old osgAnimation file format update your data file Got an X11ErrorHandling call display=0x1b272e0 event=0x7fffbfaa1230 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 * What's wrong with me?* ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
Jordi Jan Thanks for your concerns. Your advice is very helpful. In fact my ubuntu is for 64bit target. I checked file attribute as follow: *file /usr/lib/fglrx/libGL.so* /usr/lib/fglrx/libGL.so: symbolic link to `libGL.so.1' *file /usr/lib/fglrx/libGL.so.1* /usr/lib/fglrx/libGL.so.1: symbolic link to `libGL.so.1.2' *file /usr/lib/fglrx/libGL.so.1.2* /usr/lib/fglrx/libGL.so.1.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped It seems that libGL.so is OK. I set LD_PRELOAD to * */usr/lib/fglrx/libGL.so and BadRequest error exist also. for Jan's advice, I checked glxinfo and get errors: *glxinfo* name of display: :0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream: 12 Yes, I come close root cause. But what is it? On Tue, Nov 13, 2012 at 8:16 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Have you compiled OSG in 32 or 64 bit? Check if in /usr/lib/fglrx/dri or /usr/lib32/fglrx/dri do exists libGL depending on your target architecture. As Jan said a the output of glxinfo could give some light. libGL is supposed to be installed/replaced with your drivers. Cheers. 2012/11/13 robotspace.biz robotspace@gmail.com Hi Jordi, That's great. I believe you find the issue I encountered. Following is my check result. *env | grep -in libgl* 14:LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri That means no variable pointing to my libGL drivers. I checked /usr/lib directory and there is no libGL.so file. Is your OS is ubuntu too? Is ligGL.so is a link file or a real lib file? Here is my search command: sudo apt-cache search libgl. It is hard to select correct library from more than twenty libraries to install. BTW, libGL is an runtime lib? Should I re-configure-compile-install osg after I set LD_PRELOAD? On Tue, Nov 13, 2012 at 7:17 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. Cheers. 2012/11/13 Li Zhenpeng robotspace@gmail.com hi robert, Thanks for your concern. For my sign name, I will change it to keep same between google+ and osg forums. It's convinient to us all. For your advice, I will load the dependencies and rebuild osg. Could you please give me some more advice about X11 error? It's confusing and hard to conquer. It's necesary for me to create linux environment for osg because I have other projects such as Android and Minix on my laptop. On Tue, Nov 13, 2012 at 5:40 PM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.comwrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 14 Current serial: 14 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc518e0 *osgviewer OpenSceneGraph-Data-3.0.0/cow.osg* Got an X11ErrorHandling call
Re: [osg-users] failed to create osg environment on ubuntu11.10
It seems like you have a bad installation of your fglrx drivers. Reinstall them. In the other hand I was asking about which was your OSG compilation target. I assume 64 bits. Hope it helps. 2012/11/13 robotspace.biz robotspace@gmail.com Jordi Jan Thanks for your concerns. Your advice is very helpful. In fact my ubuntu is for 64bit target. I checked file attribute as follow: *file /usr/lib/fglrx/libGL.so* /usr/lib/fglrx/libGL.so: symbolic link to `libGL.so.1' *file /usr/lib/fglrx/libGL.so.1* /usr/lib/fglrx/libGL.so.1: symbolic link to `libGL.so.1.2' *file /usr/lib/fglrx/libGL.so.1.2* /usr/lib/fglrx/libGL.so.1.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped It seems that libGL.so is OK. I set LD_PRELOAD to * */usr/lib/fglrx/libGL.so and BadRequest error exist also. for Jan's advice, I checked glxinfo and get errors: *glxinfo* name of display: :0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream: 12 Yes, I come close root cause. But what is it? On Tue, Nov 13, 2012 at 8:16 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Have you compiled OSG in 32 or 64 bit? Check if in /usr/lib/fglrx/dri or /usr/lib32/fglrx/dri do exists libGL depending on your target architecture. As Jan said a the output of glxinfo could give some light. libGL is supposed to be installed/replaced with your drivers. Cheers. 2012/11/13 robotspace.biz robotspace@gmail.com Hi Jordi, That's great. I believe you find the issue I encountered. Following is my check result. *env | grep -in libgl* 14:LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri That means no variable pointing to my libGL drivers. I checked /usr/lib directory and there is no libGL.so file. Is your OS is ubuntu too? Is ligGL.so is a link file or a real lib file? Here is my search command: sudo apt-cache search libgl. It is hard to select correct library from more than twenty libraries to install. BTW, libGL is an runtime lib? Should I re-configure-compile-install osg after I set LD_PRELOAD? On Tue, Nov 13, 2012 at 7:17 PM, Jordi Torres jtorresfa...@gmail.comwrote: Hi Li, Just a long shot... have you tried to set LD_PRELOAD to your libGL.so library. I have had similiar problems in the past with the old ATI drivers as well as the Mesa drivers. Something like export LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your environment variables with the command 'env' to see if there exist any variable pointing to your libGL drivers. Cheers. 2012/11/13 Li Zhenpeng robotspace@gmail.com hi robert, Thanks for your concern. For my sign name, I will change it to keep same between google+ and osg forums. It's convinient to us all. For your advice, I will load the dependencies and rebuild osg. Could you please give me some more advice about X11 error? It's confusing and hard to conquer. It's necesary for me to create linux environment for osg because I have other projects such as Android and Minix on my laptop. On Tue, Nov 13, 2012 at 5:40 PM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Li? Zhenpeng? Could you sign with the name you wished to be address as. Thanks. There looks to be two separate classes of problems - missing dependences (peg and freetype) and the X11 error. To solve the dependencies issues you'll need to pull in the dev packages, a list of the most common dependencies is listed on the page below (you may need to adjust a little for variations between versions of Ubunutu): http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Debian-Dependencies Once you have the dependencies you'll need to rebuild the OSG, to force it to check again for the dependencies remove the OpenSceneGraph/CmakeCache.txt and then re-run the ./configure. The X11 error is something I can't help with. I've used similar AMD hardware before and haven't had problems under Kubuntu. Robert. On 13 November 2012 08:32, Li Zhenpeng robotspace@gmail.comwrote: *I am a newbie on osg. My laptop's OS is ubuntu11.10 with AMD ATI HD6770. I've enabled 3D accellerate driver. I've compiled and installed osg3.01 successfully. Here is result: osglogo* Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. Warning: Could not find plugin to read objects from file fonts/arial.ttf. Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation) Major opcode: 155 Minor opcode: 19 Error code: 1 Request serial: 13 Current serial: 13 ResourceID: 23 Got an X11ErrorHandling call display=0x221f4f0 event=0x7fff4bc51890 BadRequest (invalid request code or no such operation)
Re: [osg-users] failed to create osg environment on ubuntu11.10
Hello, On Tue, Nov 13, 2012 at 1:06 PM, robotspace.biz robotspace@gmail.comwrote: Hi Jordi, That's great. I believe you find the issue I encountered. Following is my check result. *env | grep -in libgl* 14:LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri That means no variable pointing to my libGL drivers. I checked /usr/lib directory and there is no libGL.so file. There isn't supposed to be a variable pointing to the drivers. The LD_PRELOAD is a non-standard hack. The fglrx driver libraries are under /usr/lib/fglrx I think and the actual libGL.so.x.x is probably in one of the sub-directories. Look also in /usr/lib/X11. Is your OS is ubuntu too? Is ligGL.so is a link file or a real lib file? There should be actually both. The versioned libGL.so.x.x and non-versioned symlinks libGL.so pointing to the versioned one. Here is my search command: sudo apt-cache search libgl. It is hard to select correct library from more than twenty libraries to install. BTW, libGL is an runtime lib? Should I re-configure-compile-install osg after I set LD_PRELOAD? OSG wouldn't compile correctly if you didn't have the libraries installed. However, do make sure that you don't have a messed up installation, linking OSG to e.g. the libGL from Mesa (software driver). That wouldn't work right. Please make sure to follow these instructions and install the driver properly: https://help.ubuntu.com/community/BinaryDriverHowto/ATI The part 2. Installation via the Ubuntu repositories should be sufficient. Regards, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] failed to create osg environment on ubuntu11.10
On Tue, Nov 13, 2012 at 1:38 PM, robotspace.biz robotspace@gmail.comwrote: for Jan's advice, I checked glxinfo and get errors: *glxinfo* name of display: :0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream: 12 Yes, I come close root cause. But what is it? That means you have incorrectly configured X11. Either the OpenGL support (glx) is not loaded at all or you have it incorrectly installed and it fails to load due to some driver/library problem - the log files in /var/log/ should be able to tell you exactly what is wrong. Please, reinstall the drivers using the instructions in my other e-mail and that should fix it. Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org