Error: Cannot install nvidia 195.* driver on Lucid
Some lucid kernels loads kernel module fbcon on start up, causing custom nvidia driver installation to error out. Following excerpts from ubuntu forum prevents fbcon from being loaded on startup, allowing user to install custom nvidia driver successfully:
... Re: Cannot install NVIDIA 195.x drivers - installer crashes found this and fixed most of my problems.. now I have static on one tuner though.. New Steps: Startup your system and either get to a console from the GRUB menu or boot to Ubuntu in low graphics mode and open a terminal once it's up. Once up, type the following command sudo pico /etc/default/grub Once inside of the file, search for this line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" right before the last ", put vmalloc=256M, so that the line looks like: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vmalloc=256M" Then, hit CTRL+O and ENTER, and then CTRL+X. This will bring you back to the terminal. At this point, we need the startup system to reconfigure itself, so we type the following command sudo update-grub Now, reboot the system **NOTICE** If this doesn't work, try putting 192M instead of 256M. This has been reported to help as well. ...
Error: Gazebo dies on boot with ogre singleton error
gazebo: ../../../OgreMain/include/OgreSingleton.h:66: Ogre::Singleton<T>::Singleton() [with T = Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
Solution:
rm `~/.gazeborc`
Then restart gazebo.
Error: Gazebo dies when resizing GUI window
Solution:
- Try turning off compiz in Ubuntu
Error: failed to allocate semaphore, permission denied.
Note: this should not happen anymore <<Ticket(ros-pkg,3982)>>
failed to allocate semaphore, permission denied.
orsemctl failed.
orgazebo_model: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = boost::signals::detail::signal_base_impl]: Assertion `px != 0' failed. [pr2_gazebo_model-3] process has died [pid 14190, exit code -6].
Solution:
- Need root access,
sudo ipcs
and here's an example output:abl:~> sudo ipcs ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 110526464 root 777 139264 1 0x00000000 110559233 gdm 600 393216 2 dest 0x00000000 93749308 root 777 139264 0 0x00000000 94142535 root 777 4096 0 0x00000000 94175304 root 777 4096 0 0x00000000 94208073 root 777 4096 0 ------ Semaphore Arrays -------- key semid owner perms nsems 0x3d03e16c 163840 pantofaru 600 1 0xf43c70fb 98305 dmunoz 600 1 0xce2f6066 196610 tashana 600 1 0x75cedc1d 294915 kwc 600 1 0x67bdc7ba 327684 gunter 600 1 0x135135f0 425991 isucan 700 1 0x4d18a185 458760 gunter 600 8 ------ Message Queues -------- key msqid owner perms used-bytes messages abl:~>
- Remove semaphores
sudo ipcrm -s 163840 sudo ipcrm -s 98305 sudo ipcrm -s 196610 sudo ipcrm -s 294915 sudo ipcrm -s 327684 sudo ipcrm -s 425991 sudo ipcrm -s 458760
- Viciously-fast bash way:
sudo ipcs -s | tail -n+4 | cut -f2 -d' ' | sudo xargs -n1 ipcrm -s
- Restart Gazebo
Error: Gazebo segmentation fault
Solution:
Error: Gazebo Compile Error
Solution:
If one of the gazebo dependencies (use rospack depends1) has moved, you can manually remove CMakeCache.txt and recompile, or
roscd gazebo make clean make
Error: Gazebo Dependency Ogre Runtime Error
Error
Failed to initialize Ogre: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library RenderSystem_GL. System Error: RenderSystem_GL.so: cannot open shared object file: No such file or directory in DynLib::load at OgreDynLib.cpp (line 80)
Solution
- Make sure all previous versions of ogre are uninstalled.