This forum has been archived. All content is frozen. Please use KDE Discuss instead.

all kgames windows are empty

Tags: None
(comma "," separated)
gfim
Registered Member
Posts
4
Karma
0
OS

all kgames windows are empty

Fri Jan 27, 2012 3:35 am
Hi all,

I'm running KDE 4 under FreeBSD 9-stable (installed via the kde4 meta-port). Everything was working fine until I had an O/S crash and some files were deleted during the fsck afterwards. Most things still work, but not any of the KDE games. They all come up with a completely empty window. For example, KPatience has a title bar saying KPatience and with the usual border and decorations, but otherwise completely empty. The same thing happens for all the other KDE games I've tried (KSudoku, KSquares, KSnake etc.). I've tried reinstalling the kgames port and I've reinstalled all of kde4. I've tried creating a new user, logging on as them, and running the games - same thing.

If I run kpat from the command line, I get:
Code: Select all
QPixmap::handle(): Pixmap is not an X11 class pixmap
QPixmap::handle(): Pixmap is not an X11 class pixmap
X Error: BadAccess (attempt to access private resource denied) 10
  Extension:    140 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id:  0x10a
X Error: BadShmSeg (invalid shared segment parameter) 147
  Extension:    140 (MIT-SHM)
  Minor opcode: 3 (X_ShmPutImage)
  Resource id:  0x5000014
X Error: BadShmSeg (invalid shared segment parameter) 147
  Extension:    140 (MIT-SHM)
  Minor opcode: 3 (X_ShmPutImage)
  Resource id:  0x5000014
The last four lines get repeated a hundred or so times.

Does anybody please have any suggestions.

Thanks,
Graham
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: all kgames windows are empty

Sun Jan 29, 2012 8:39 am
It is probable that essential *ui.rc or SVG based themes (or any of their components) have been deleted from your system. It is probably best to fully reinstall KDE Games at this point to ensure a fully consistent installation.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
gfim
Registered Member
Posts
4
Karma
0
OS

Re: all kgames windows are empty

Tue Jan 31, 2012 7:58 pm
Thanks for replying. I've already tried reinstalling kdegames. In fact I've tried reinstalling all of KDE. I'll start looking for the files you mentioned.

Thanks,
Graham
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: all kgames windows are empty

Wed Feb 01, 2012 10:27 pm
Another thing to try reinstalling would be kde-runtime and kdelibs. I guess you use other KDE Applications and they are unaffected however?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: all kgames windows are empty

Sun Mar 11, 2012 10:35 pm
I got the same errors, this thread viewtopic.php?f=21&t=100392&p=216309#p216309 can be merge?

I think *ui.rc were there, located at /usr/local/kde4/share/apps, and I just been force to reinstall everything using portupgrade -aR (after the upgrade then those games did'nt work). Do you think I need to reinstall all KDE4 again :( ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: all kgames windows are empty

Mon Mar 12, 2012 8:17 am
Given that Knights uses the same similar infrastructure, they are probably related, especially given that you both use FreeBSD...

Please continue the discussion on the other thread.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
gfim
Registered Member
Posts
4
Karma
0
OS

Re: all kgames windows are empty  Topic is solved

Thu Mar 15, 2012 10:21 am
I just found the solution- it's a FreeBSD MIT-SHM problem. It must have been purely coincidental that it happened when I had the crash. It's now (as of 2012-03-13) fixed in 9-Stable. Alternatively, you can do "sysctl kern.ipc.shm_allow_removed=1" in older versions.

Graham
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: all kgames windows are empty

Thu Mar 15, 2012 2:20 pm
Yes I confirmed it was fixed in both 8.2 AMD64 release stable and 9.0 AMD64 release after I upgraded ports 3 days back.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: all kgames windows are empty

Fri Mar 16, 2012 8:22 am
I've marked this as solved. Odd how that could have caused the breakage... it explains the X Errors though (I am surprised that KSharedDataCache wasn't complaining as well)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]