12e1b [Solved] KDE games do not run - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Window Managers > KDE

KDE The K Desktop Environment

Reply
 
Thread Tools Display Modes
  #1  
Old February 13th, 2012, 09:28
roelof roelof is offline
Member
 
Join Date: Dec 2008
Posts: 263
Thanks: 11
Thanked 2 Times in 2 Posts
Default KDE games do not run

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

Last edited by DutchDaemon; February 13th, 2012 at 14:37.
Reply With Quote
  #2  
Old February 13th, 2012, 11:31
OH OH is offline
Member
 
Join Date: Aug 2009
Location: The Netherlands
Posts: 208
Thanks: 4
Thanked 31 Times in 27 Posts
Default

A workaround is described here
Reply With Quote
  #3  
Old February 13th, 2012, 15:41
roelof roelof is offline
Member
 
Join Date: Dec 2008
Posts: 263
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Thanks,
It worked. Now I hope someone finds a real solution to the problem.
Reply With Quote
  #4  
Old February 13th, 2012, 15:49
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

What makes setting the kern.ipc.shm_allow_removed sysctl to 1 not a real solution?

Adam
Reply With Quote
  #5  
Old February 13th, 2012, 16:28
roelof roelof is offline
Member
 
Join Date: Dec 2008
Posts: 263
Thanks: 11
Thanked 2 Times in 2 Posts
Default

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.

Last edited by DutchDaemon; February 13th, 2012 at 18:10.
Reply With Quote
  #6  
Old February 13th, 2012, 16:46
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

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
Reply With Quote
  #7  
Old February 13th, 2012, 17:03
OH OH is offline
Member
 
Join Date: Aug 2009
Location: The Netherlands
Posts: 208
Thanks: 4
Thanked 31 Times in 27 Posts
Default

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.
Reply With Quote
  #8  
Old March 13th, 2012, 11:34
OH OH is offline
Member
 
Join Date: Aug 2009
Location: The Netherlands
Posts: 208
Thanks: 4
Thanked 31 Times in 27 Posts
Default

A real fix has just been committed (to x11-toolkits/qt4-gui). After installing you can reset your kern.ipc.shm_allow_removed.
Reply With Quote
  #9  
Old March 13th, 2012, 16:35
adripillo adripillo is offline
Member
 
Join Date: Mar 2012
Posts: 172
Thanks: 38
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by OH View Post
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.

Last edited by DutchDaemon; March 14th, 2012 at 00:15. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #10  
Old March 13th, 2012, 19:20
OH OH is offline
Member
 
Join Date: Aug 2009
Location: The Netherlands
Posts: 208
Thanks: 4
Thanked 31 Times in 27 Posts
Default

Quote:
Originally Posted by adripillo View Post
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:
Code:
$ 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.
Reply With Quote
The Following User Says Thank You to OH For This Useful Post:
adripillo (March 14th, 2012)
  #11  
Old March 14th, 2012, 16:57
adripillo adripillo is offline
Member
 
Join Date: Mar 2012
Posts: 172
Thanks: 38
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by OH View Post
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:
Code:
$ 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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running windows apps/games? hassanayoub85 Multimedia 7 December 13th, 2010 22:42
Crossover Games 9.1.0 davetrotteruk Installation and Maintenance of FreeBSD Ports or Packages 11 November 23rd, 2010 18:31
[Solved] games/crack-attack sir_dog Installation and Maintenance of FreeBSD Ports or Packages 1 May 12th, 2010 23:00
How about two news sections ? Games and Blog ? billysponch Feedback 10 April 6th, 2010 04:05
Creating a Games Account Hornpipe2 General 1 November 24th, 2009 08:46


All times are GMT +1. The time now is 03:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0