public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] fglrx and posix shared mem
@ 2007-07-17  4:06 Iain Buchanan
  2007-07-17  6:22 ` [gentoo-user] " Xav'
  0 siblings, 1 reply; 5+ messages in thread
From: Iain Buchanan @ 2007-07-17  4:06 UTC (permalink / raw
  To: gentoo-user

Hi,

for a while I've been seeing errors like this:

fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!

on the screen when running screensavers, specifically "mirrorblob".  I
found an ubuntu link[1] which led me to an ATI link[2] which said it is
because posix shared memory isn't enabled.

Essentially it led me to `mount | grep "shm"`

"If the mount was successful, then the following output (or similar)
should appear:

tmpfs on /dev/shm type tmpfs (rw)"

and of course, this is already enabled.  So why am I seeing the error?
Has anyone else fixed this issue?  I don't know where to go next, google
only showed 1 match!

I am running ati-drivers-8.37.6-r1

[1] http://ubuntuforums.org/showthread.php?p=1691647
[2] http://www2.ati.com/drivers/linux/linux_8.16.20.html#176878

thanks for the help,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Good day for overcoming obstacles.  Try a steeplechase.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: fglrx and posix shared mem
  2007-07-17  4:06 [gentoo-user] fglrx and posix shared mem Iain Buchanan
@ 2007-07-17  6:22 ` Xav'
  2007-07-17 17:33   ` Daniel da Veiga
  2007-07-17 23:09   ` Iain Buchanan
  0 siblings, 2 replies; 5+ messages in thread
From: Xav' @ 2007-07-17  6:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

Iain Buchanan wrote :
> Hi,
> 
> for a while I've been seeing errors like this:
> 
> fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!
> 
> on the screen when running screensavers, specifically "mirrorblob".  I
> found an ubuntu link[1] which led me to an ATI link[2] which said it is
> because posix shared memory isn't enabled.
> 
> Essentially it led me to `mount | grep "shm"`
> 
> "If the mount was successful, then the following output (or similar)
> should appear:
> 
> tmpfs on /dev/shm type tmpfs (rw)"
> 
> and of course, this is already enabled.  So why am I seeing the error?
You have to check if in the /dev/shm directory there is no files.
If there is ones, check their permissions and you have to be able to write on
them. If not, login as root and delete it, the issue will be normally fixed.
This is because ati drivers allocate shm but don't remove them all the time.
> Has anyone else fixed this issue?  I don't know where to go next, google
> only showed 1 match!
> 
> I am running ati-drivers-8.37.6-r1
> 
> [1] http://ubuntuforums.org/showthread.php?p=1691647
> [2] http://www2.ati.com/drivers/linux/linux_8.16.20.html#176878
> 
> thanks for the help,

Regards,
Xavier Parizet

--
http://www.linuxant.fr/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: fglrx and posix shared mem
  2007-07-17  6:22 ` [gentoo-user] " Xav'
@ 2007-07-17 17:33   ` Daniel da Veiga
  2007-07-17 23:11     ` Iain Buchanan
  2007-07-17 23:09   ` Iain Buchanan
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel da Veiga @ 2007-07-17 17:33 UTC (permalink / raw
  To: gentoo-user

On 7/17/07, Xav' <blackhawk@linuxant.fr> wrote:
> Iain Buchanan wrote :
> > Hi,
> >
> > for a while I've been seeing errors like this:
> >
> > fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!
> >
> > on the screen when running screensavers, specifically "mirrorblob".  I
> > found an ubuntu link[1] which led me to an ATI link[2] which said it is
> > because posix shared memory isn't enabled.
> >
> > Essentially it led me to `mount | grep "shm"`
> >
> > "If the mount was successful, then the following output (or similar)
> > should appear:
> >
> > tmpfs on /dev/shm type tmpfs (rw)"
> >
> > and of course, this is already enabled.  So why am I seeing the error?
> You have to check if in the /dev/shm directory there is no files.
> If there is ones, check their permissions and you have to be able to write on
> them. If not, login as root and delete it, the issue will be normally fixed.
> This is because ati drivers allocate shm but don't remove them all the time.
> > Has anyone else fixed this issue?  I don't know where to go next, google
> > only showed 1 match!
> >

I had this problem because the way shm was mounted, changed it from:

shm /dev/shm tmpfs defaults 0 0

to

tmpfs /dev/shm tmpfs defaults 0 0 #from gentoo ati drivers wiki

At /etc/fstab, then umounted and mounted it again, and it worked.
Don't ask me why, lol.


-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: fglrx and posix shared mem
  2007-07-17  6:22 ` [gentoo-user] " Xav'
  2007-07-17 17:33   ` Daniel da Veiga
@ 2007-07-17 23:09   ` Iain Buchanan
  1 sibling, 0 replies; 5+ messages in thread
From: Iain Buchanan @ 2007-07-17 23:09 UTC (permalink / raw
  To: gentoo-user

On Tue, 2007-07-17 at 08:22 +0200, Xav' wrote:
> Iain Buchanan wrote :
> > Hi,
> > 
> > for a while I've been seeing errors like this:
> > 
> > fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!
[snip]
> > Essentially it led me to `mount | grep "shm"`
[snip]
> > and of course, this is already enabled.  So why am I seeing the error?

> You have to check if in the /dev/shm directory there is no files.
> If there is ones, check their permissions and you have to be able to write on
> them. If not, login as root and delete it, the issue will be normally fixed.
> This is because ati drivers allocate shm but don't remove them all the time.

hm, there was one file called ATISHM00, owned by me.  The directory is
writable by everyone:

$ ls -al /dev/shm/
total 16
drwxrwxrwt  2 root root       60 2007-07-18 08:33 .
drwxr-xr-x 16 root root    14200 2007-07-18 08:22 ..
-rw-rw-rw-  1 iain users 1048576 2007-07-18 08:33 ATISHM00

just to make sure I deleted the file and remounted the directory, but I
still get the errors...

any more ideas?  thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Brian Griffin:  Seriously, who buys a novelty fire extinguisher? 
Peter Griffin:  I'll tell you who: someone who cares enough about
physical comedy to put his entire family into serious danger, that's
who.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: fglrx and posix shared mem
  2007-07-17 17:33   ` Daniel da Veiga
@ 2007-07-17 23:11     ` Iain Buchanan
  0 siblings, 0 replies; 5+ messages in thread
From: Iain Buchanan @ 2007-07-17 23:11 UTC (permalink / raw
  To: gentoo-user

On Tue, 2007-07-17 at 14:33 -0300, Daniel da Veiga wrote:
> On 7/17/07, Xav' <blackhawk@linuxant.fr> wrote:
> > Iain Buchanan wrote :
> > > Hi,
> > >
> > > for a while I've been seeing errors like this:
> > >
> > > fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!

> I had this problem because the way shm was mounted, changed it from:
> 
> shm /dev/shm tmpfs defaults 0 0
> 
> to
> 
> tmpfs /dev/shm tmpfs defaults 0 0 #from gentoo ati drivers wiki
> 
> At /etc/fstab, then umounted and mounted it again, and it worked.
> Don't ask me why, lol.

thanks, I had "none", so I changed it to "tmpfs", but no change to the
error!  AFAIK this field doesn't have any effect for non-partition based
filesystems.  Perhaps it worked for you because it purged /dev/shm, and
you had some non-writable files in there (as per the other suggestion)?

thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

It were not best that we should all think alike; it is difference of opinion
that makes horse-races.
		-- Mark Twain, "Pudd'nhead Wilson's Calendar"

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-17 23:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17  4:06 [gentoo-user] fglrx and posix shared mem Iain Buchanan
2007-07-17  6:22 ` [gentoo-user] " Xav'
2007-07-17 17:33   ` Daniel da Veiga
2007-07-17 23:11     ` Iain Buchanan
2007-07-17 23:09   ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox