LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2008, 06:56 PM   #1
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Did anyone run GLChess succesfully in Debian... anyone?


I have been trying for a year or so to get GLChess running on my Debian box running Lenny.

Various errors caused it to crash at startup, a number of those bugs were confirmed. This month this one, the next month that one.

Finally after upgrading to the latest Python-OpenGL, I received another error message in function ShowMoveHints: Assertion failed. When I hacked the assertion out of the code, the board is not shown in 3D, I cannot play against the computer and I cannot enter a setup. I give up.

I would expect that is this phase of Lenny, most programs would simply run. Unfortunately not this one.

Can anyone tell me how he or she got GLChess running on Lenny?

Alternatively, I would be willing to install a different Chess program. I install it on my son's computer and the requirements are:

(1) It must be possible to start with a user-defined setup of the pieces.
(2) 3D display (for my son, remember)
(3) Must be possible to play against the computer
(4) In case of (3), the play level should be CONFIGURABLE. For a youngster it is no fun to play against the best level computer chess program.

I did a comparision and a lot of test installs before I choose GLChess, but each program was lacking one or more features. All together they offered all features, yes, but not all in the same program. Any recommendations?

I am running KDE 3.5, I won't go to KDE 4.

jlinkels
 
Old 12-24-2008, 07:09 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I don't know what to tell you. It was in gnome-games and worked for me the first time, without any problems in Lenny. If there is anything I can check or lookup to help you, please let me know.
 
Old 12-24-2008, 07:59 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Weird. No I can't ask anything, I wouldn't know what question to ask. I assume that Lenny is the same for you and me, especially now Lenny is more or less frozen.

When I experienced the problems, I googled for every bug, and every recommendation in the bug reports I had followed.

Nevertheless, I am happy that it works for you.

BTW, while I was googling for alternatives, I realized that back in 1988 or so I did play a 3D chess game in DOS (!) using a Hercules card on a 80286 PC. Something must be availabel in Linux, right?

jlinkels
 
Old 12-24-2008, 08:28 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I wonder if it's because you're running kde?
 
Old 12-25-2008, 08:33 AM   #5
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Hi

Take a look at Jose:

http://jose-chess.sourceforge.net/

The GUI is Java so you need a java jre installed. It uses chess engines plugins so it playes quite well.

Last edited by Guttorm; 12-25-2008 at 08:48 AM. Reason: Fixed the link
 
Old 12-25-2008, 07:40 PM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Jose looks very good, it is the first time I see it, despite of extensive googling. Now I just have to find a way to cripple the engine so it can play at a reasonable beginner's level.

Thanks
jlinkels
 
Old 12-25-2008, 08:27 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by jlinkels View Post
Now I just have to find a way to cripple the engine so it can play at a reasonable beginner's level.
Heh, this is the problem I have with glchess. There just aren't enough levels. "Easy" is only easy if you have some past experience with chess, but it has no creativity so the games are repetitive. "Normal" is brutal, at least for me.
 
Old 12-25-2008, 11:46 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
hi have you looked at " brutalchess "
https://sourceforge.net/projects/brutalchess/
https://sourceforge.net/svn/?group_id=139550
https://sourceforge.net/project/scre...roup_id=139550
the black background is a bit of a pain in the bu?? ,but an easy fix
edit "brutalchess.cpp" line 63
Code:
glClearColor(0.3f, 0.3f, 0.3f, 0.3f);			// Set the background color to black.
 
Old 12-27-2008, 02:17 PM   #9
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Unhappy

John VV: On my one machine with an NVIDIA card Brutalchess crashes at startup: "Couldn't find matching GLX visual". Other GLX enabled applications like Glxgears and Wings3D run fine. On the target machine with an i810 card, Brutalchess starts, takes up 98% processor time, can't make any move, no menu, no option settings, no error messages nothing. This is Debian Lenny, almost stable.

About josé-chess: I still like it, except for the chess engine. Standard is Toga II, but that one has a ELO rating of 2800+. When I tried to reduce the thinking time to 2 seconds, it was still thinking after 2:30 minutes, analyzing 5.5 million moves. Yeah, it put me mate in 5 moves.

I have tried to use Phalanx because that one claims that it can be really stupid. Unfortunately it doesn't interface well with José: after the first move of the machine it claims "Illegal move" and stops.

The other chess engines I am currently looking at did not convince me that there is a novice level available. Strange uh, it seems as chess engines developers try to build as strong engines as possible (understandable) but forget to implement options to set beginner's levels. Not everyone is a son of Gasparov!

jlinkels
 
Old 12-27-2008, 06:57 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
hi jlinkels did you use the nvidia.run driver if so did you also reinstall/rebuild mesa
on fedora i need to reinstall ' mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel'
or build it from the source.The nvidia driver replaces mesa with nvidia's own version of it( a diff."glext.h gl.h glxext.h glx.h") .99% of the time it is not a problem but sometimes...
 
Old 12-28-2008, 08:08 PM   #11
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Yes, I installed the .RUN from NVIDIA, and no, I did not re-install the mesa stuff. Could give that a try though.

jlinkels
 
Old 12-29-2008, 08:01 AM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Lenny also has dreamchess in the repositories.. Looks nice.. runs horrible on this non-accelerated machine I am currently on.

aptitude search chess
 
Old 12-29-2008, 06:02 PM   #13
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Tried it...

First received the dreaded "Couldn't find matching GLX visual" error. Did not google for the error, but for GLX Visual. It turned out that these errors can be caused by a color depth which might not be recognized by the application. (Very stupid, 16 bit depth ought to be enough). Fixed that by switching to 24-bit depth.

Yes, DreamChess runs, although I loathe waving menu entries when you hover over them. On the lowest level I was able to beat the computer, and that is very good, I haven't played chess in 35 years.

What misses is the ability to enter a random setup which has to be finished, you know like you find in the text books and newspapers. There are numerous of those learning examples in the chess text books. I know DreamChess imports PGN, but I haven't found a way yet to enter a setup in PGN.

I also notice that DreamChess takes up 99% processor resources as soon as the game is started (not when the program is started, but when the game is started). Even when killing the chess engine, the application keeps hogging the processor. That might explain the slow performance on your computer.

Thanks

A follow up on jose-chess: It is a very nice program, very nice to use with all the information is gives and the options it has. However it lacks a setting to lower the strength of the chess engine. I wanted to add that to the program, it is quite easy to tell the chess engine what you want.

The program source is in Java, and there is is *no* makefile or build instructions, while the source tree is (for me) complicated, 3 levels deep and chock full with circular import references. The project seems to be abandoned and the developer doesn't respond anymore. For the moment this witholds me from compiling. If someone else wants to try or give me a hand: the source can be found here: http://downloads.sourceforge.net/jos...5&big_mirror=1
I don't have a problem with issues like CLASSPATH or JARs etc, I understand that.

jlinkels
 
Old 12-29-2008, 09:21 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
jlinkels just an idea .Check your xorg.conf and see if your module paths are correct
-- for fedora --- yours will be different --
Code:
...
Section "Files"
    ModulePath      "/usr/lib/xorg/modules/extensions"
    ModulePath      "/usr/lib/xorg/modules"
EndSection
...
you are looking for
libglx.so
/usr/lib/xorg/modules/extensions/libglx.so
 
Old 12-30-2008, 04:47 AM   #15
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
John, I wrote the GLX issue was resolved by setting a different depth.

Thanks anyway

jlinkels
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot install glchess pedofil Slackware 1 10-25-2008 09:18 AM
glChess of Gnome-games, How to start it by line command? ponganthony Linux - Desktop 1 08-26-2008 07:41 PM
glchess on Slack 11? slackergeek Slackware 2 12-09-2006 04:58 AM
Need a config file for glchess kram Linux - Software 2 03-02-2005 02:46 PM
Cannot blank CD-RW succesfully. Tommi Linux - Newbie 4 06-20-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration