3D applications produce "open of shared memory object failed" error message
This information applies to the following system configurations:
- AMD Proprietary Linux Driver version 3.14.6 and later
The following may occur when trying to run certain 3D applications:
- 3D image appears corrupt or blank
- missing textures
- system performance drops sharply
The following error message may also appear numerous times:
FGLTexMgr: open of shared memory object failed (Function not implemented)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
The display driver requires POSIX Shared Memory to be enabled on the system in order to run these applications correctly. This feature should be enabled by default on most current Linux distributions, but may be disabled intentionally by some system administrators or not included in older distributions.
To enable POSIX Shared Memory on your system, perform the following as root:
Add the following line to /etc/fstab (if it isn't there already):
tmpfs /dev/shm tmpfs defaults 0 0
Mount shared memory as follows:
mount /dev/shm
Issue the following command to check that it mounted properly:
mount | grep "shm"
-
If the mount was successful, then the following output (or similar) should appear:
tmpfs on /dev/shm type tmpfs (rw)
At this point, POSIX Shared Memory is enabled. Your 3D applications should run properly and the error message above should no longer occur.
If the output from this commnd is blank, then the mount failed.
If /dev/shm fails to mount, then this feature may not be turned on in your Linux kernel. In this case we recommend upgrading to a more recent Linux kernel, or contacting your Linux Distribution vendor for more information on enabling POSIX Shared Memory.
|