Gentoo Archives: gentoo-user

From: Daniel da Veiga <danieldaveiga@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: fglrx and posix shared mem
Date: Tue, 17 Jul 2007 17:40:47
Message-Id: 342e1090707171033q4feffb53j4f55bc16a65eb566@mail.gmail.com
In Reply to: [gentoo-user] Re: fglrx and posix shared mem by Xav'
1 On 7/17/07, Xav' <blackhawk@××××××××.fr> wrote:
2 > Iain Buchanan wrote :
3 > > Hi,
4 > >
5 > > for a while I've been seeing errors like this:
6 > >
7 > > fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!
8 > >
9 > > on the screen when running screensavers, specifically "mirrorblob". I
10 > > found an ubuntu link[1] which led me to an ATI link[2] which said it is
11 > > because posix shared memory isn't enabled.
12 > >
13 > > Essentially it led me to `mount | grep "shm"`
14 > >
15 > > "If the mount was successful, then the following output (or similar)
16 > > should appear:
17 > >
18 > > tmpfs on /dev/shm type tmpfs (rw)"
19 > >
20 > > and of course, this is already enabled. So why am I seeing the error?
21 > You have to check if in the /dev/shm directory there is no files.
22 > If there is ones, check their permissions and you have to be able to write on
23 > them. If not, login as root and delete it, the issue will be normally fixed.
24 > This is because ati drivers allocate shm but don't remove them all the time.
25 > > Has anyone else fixed this issue? I don't know where to go next, google
26 > > only showed 1 match!
27 > >
28
29 I had this problem because the way shm was mounted, changed it from:
30
31 shm /dev/shm tmpfs defaults 0 0
32
33 to
34
35 tmpfs /dev/shm tmpfs defaults 0 0 #from gentoo ati drivers wiki
36
37 At /etc/fstab, then umounted and mounted it again, and it worked.
38 Don't ask me why, lol.
39
40
41 --
42 Daniel da Veiga
43 Computer Operator - RS - Brazil
44 -----BEGIN GEEK CODE BLOCK-----
45 Version: 3.1
46 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
47 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
48 ------END GEEK CODE BLOCK------
49 --
50 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: fglrx and posix shared mem Iain Buchanan <iaindb@××××××××××××.au>