Did anyone run GLChess succesfully in Debian... anyone?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
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 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.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
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?
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
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.
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.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
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!
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...
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.