PDA

View Full Version : [Solved] KDE games do not run


roelof
February 13th, 2012, 09:28
Hello,

No KDE game will run on my machine.
For more information. See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164742

Roelof

OH
February 13th, 2012, 11:31
A workaround is described here (http://mail.kde.org/pipermail/kde-freebsd/2011-November/012199.html)

roelof
February 13th, 2012, 15:41
Thanks,
It worked. Now I hope someone finds a real solution to the problem.

adamk
February 13th, 2012, 15:49
What makes setting the kern.ipc.shm_allow_removed sysctl to 1 not a real solution?

Adam

roelof
February 13th, 2012, 16:28
Hello,

Because OH speeks about a work-around and im my opinion a work around is never a real solution but a temporarily solution until a real solution is found.

adamk
February 13th, 2012, 16:46
I'm still not sure why that's considered a "workaround" in the first place. It fixes the problem. Seems like a solution to me.

Adam

OH
February 13th, 2012, 17:03
Setting kern.ipc.shm_allow_removed to 1 is iirc a security risk and a performance gain. Users should be able to set it based upon their own performance / security needs, not because a game (or other piece of KDE4-software) requires it.

If you're the only user on the (desktop)-machine (which is a safe assumption if it's running games/kdegames4) the security risk is negligable.

OH
March 13th, 2012, 11:34
A real fix has just been committed (to x11-toolkits/qt4-gui). After installing you can reset your kern.ipc.shm_allow_removed.

adripillo
March 13th, 2012, 16:35
A real fix has just been committed (to x11-toolkits/qt4-gui). After installing you can reset your kern.ipc.shm_allow_removed.

Hello, I just installed (re-installed it) and it does not work for me. But I don't get it when you say reset your "kern.ipc.shm_allow_removed". Can you explain that a little more please. Thanks.

OH
March 13th, 2012, 19:20
Hello, i just installed (re-installed it) and it does not work for me. But i dont get it when you say reset your "kern.ipc.shm_allow_removed".
Can you explain that a little more please. Thanks.

Please double-check you have
qt4-gui-4.7.4_1 and not
qt4-gui-4.7.4

Setting kern.ipc.shm_allow_removed to 1 one was suggested as a workaround to get the games (and astro/marble) to work (see the link in the second post in this thread).

You can check wether you are affected by this particular problem by doing the following in a terminal:

$ su
# sysctl kern.ipc.shm_allow_removed=1


If the games then work for you, this problem is more persistent than we thought. If the games still won't work for you, then your problem is something else entirely.

adripillo
March 14th, 2012, 16:57
Please double-check you have
qt4-gui-4.7.4_1 and not
qt4-gui-4.7.4

Setting kern.ipc.shm_allow_removed to 1 one was suggested as a workaround to get the games (and astro/marble) to work (see the link in the second post in this thread).

You can check wether you are affected by this particular problem by doing the following in a terminal:

$ su
# sysctl kern.ipc.shm_allow_removed=1


If the games then work for you, this problem is more persistent than we thought. If the games still won't work for you, then your problem is something else entirely.


Thanks a lot, is fixed now.