[Solved] Not able to launch Oolite from the Oolite Icon

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

[Solved] Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

I recently upgraded from Oolite 1.65 to 1.75 using the autopackage update. Since the upgrade I am not able to launch Oolite from the menu icon.
The only way that I can start the game is to open a Terminal window and enter the following command: .oolite --nosplash
This command allows the game to open in a window however, when I select the option to start the game in full screen mode it shuts the game down and returns me to the Terminal window with the following information:

It seems that your operating system does not have a valid timezone name
configured and is using an abbreviation instead. By comparing timezone
file data it is has been possible to find the actual timezone used, but
doing that is a slow process.

You can avoid slowness of this time zone detecting approach
by setting the environment variable TZ='America/Chicago'
Or You can override the timezone name by setting the 'Local Time Zone'
NSUserDefault via the 'defaults' command line utility, a Preferences
application, or some other utility.
eg "defaults write NSGlobalDomain 'Local Time Zone' 'America/Chicago'"

bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

Erk. It looks like Oolite died with an error. When making an error
report, please copy + paste the log above into the report.

(Press Ctrl-C to continue)
:?
---------------------------------------------------------------------WHAT I HAVE DONE TO ADDRESS THIS ISSUE-------------------------------------------------------------
I opened the Control Center, selected Time and Date and selected the appropriate settings.

I would appreciate any information/help.
Thank you in advance for your help.

_______________________________________EDIT______________________________________

I am adding this edit to my above post.
In the post above I stated that I had upgraded from Oolite 1.65 to Oolite 1.75. Actually, it wasn't an upgrade it was a clean install.

After formatting the HD and re-installing Linux Mint 10, I installed Oolite 1.75. from the autopackage. It wasn't an upgrade but a clean install. I apologise for any inconvenience, and for the confusion that my original post caused. I realise now that I should have given the information this way in the first place.
Again, I apologise and I hope that this edit helps to clarify everything.

This REALLY IS The Friendliest Forum this side of Riedquat!! (and anywhere else for that matter!)
Following your advise......
Thanks Getafix.
Last edited by Solar Patriot on Mon Mar 21, 2011 10:15 pm, edited 1 time in total.
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Micha »

Hi Solar Patriot,

Most of those messages are benign.

The important one is this one:

Code: Select all

drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
First of all - did you look at dmesg to see if there was some more information?

Secondly, are you running the latest video drivers for your card?

Thirdly, you mention full-screen mode. Does that mean the game runs fine in a window, and it's only when you switch to full-screen that it crashes?

Cheers,
- Micha.
The glass is twice as big as it needs to be.
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Getafix »

Solar Patriot wrote:
I recently upgraded from Oolite 1.65 to 1.75 using the autopackage update. Since the upgrade I am not able to launch Oolite from the menu icon.
Adding to Micha's reply:

Before installing the oolite autopackage you should have uninstalled Oolite 1.65.
If you haven't done so, then do the following:

Code: Select all

$ sudo package remove oolite
$ sudo apt-get --purge remove oolite oolite-data
The first command will remove the oolite autopackage. The second, will remove oolite 1.65.
Then re-install oolite autopackage.

Since you tried to run oolite in Full Screen Mode and crashed,
if you cannot start oolite anymore edit your ~/GNUstep/Defaults/.GNUstepDefaults file and alter

Code: Select all

	<key>fullscreen</key>
	<string>YES</string>
to show

Code: Select all

	<key>fullscreen</key>
	<string>NO</string>
Please, also post the result of

Code: Select all

$ uname -a
Last edited by Getafix on Sat Mar 19, 2011 4:35 pm, edited 1 time in total.
Reason: Kernel version is needed.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Getafix »

Please, post the result of
$ uname -a

I've googled the error message and it seems that other people with the same issue,
upgraded their kernel and the issue was solved.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

As requested this is the result of "uname -a" .

Linux joseph-desktop 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

@Getafix
Just looked at the link you posted, "other people with the same issue" (http://forums.linuxmint.com/viewtopic.php?f=59&t=64213) and if I follow your thought, upgrading the kernel my resolve this issue?
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Getafix »

Updating your kernel is not to be taken for granted. If something goes wrong you could mess up your system. :!:
Mint Updater doesn't apply that kind of updates by default, since, Kernel updates are considered as high risk.

Furthermore, some S/W binded to the kernel (e.g. video drivers, vmware, vbox, google earth etc.) may need recompiling.
Usually all such S/W have instructions on what to do in case of kernel upgrade.
For example, if you have VirtualBox installed you should run: $ sudo /etc/rc.d/init.d/vboxdrv setup
following the reboot after a kernel upgrade.
For video drivers (at least for the proprietary ones), you will most probably need to reinstall them, following a kernel upgrade.

Make sure you investigate BEFORE you upgrade your kernel. :!:

Anyhow, since Grub gives you a choice of at least 1 previous kernel,
if you have any problems with the new kernel just reboot and choose the previous kernel which worked.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

That's good advise mate.
I am currently investigating the kernel upgrade now. Including the Risks and Benefits, beyond the apparent advantages where Oolite is concerned.
I think that if a kernel upgrade will fix this issue with Oolite, Oolite is worth the risk.
I will post my results.

One more question. If I do upgrade my kernel and something does go wrong, can I simply backup my Oolite folder to....say, a separate drive and then restore it once I have made the change to the kernel?

My current status is Dangerous (661). It has taken me more than a few attempts to reach this status and I am not encouraged at the thought of having to start over.

Thank you Getafix
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Getafix »

Solar Patriot wrote:
I think that if a kernel upgrade will fix this issue with Oolite, Oolite is worth the risk.
Ladies and Gents we have a serious case of alcOOlism here! :lol:

OK, man... Presuming that you have put all your OXPs in the $HOME/.Oolite/AddOns/ folder:

Code: Select all

$ cd $HOME
$ tar zcvf oolite-status-backup.tar.gz GNUstep/ .Oolite/ oolite-saves/
To restore

Code: Select all

$ cd $HOME
$ tar zxvf oolite-status-backup.tar.gz
Last edited by Getafix on Wed Mar 23, 2011 12:31 am, edited 1 time in total.
Reason: Added restore command
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

Getafix.
Just wanted to update you on the progress of this post.
First, sorry about the length of time between posts. Busy! Busy! Busy!
I haven't upgraded the kernel yet and I am hoping that it won't be necessary.
On a hunch I went into the /AddOns folder and found a trainload of .Oxp's that didn't exist. The folders were there but they were as empty as a Politician's promise.
I don't remember exactly how many there were but it would be conservative to say more than a dozen. I don't know what happened but I am now checking to see if the .oxp data is actually in the folder after extracting the download instead of assuming that the extraction went a it should.
I have removed all of the empty .oxp folders and so far I haven't had a single crash in the game.

I will keep you updated.
As always, thank you again for your help.
Kudos to you and Micha for your help.
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Micha »

Hey Solar Patriot,

Glad you may be onto something which gets Oolite running for you.

But, if it really does turn out to be a corrupted or bad OXP folder set, could you please keep a record of what causes things to crash? That way we can look at the underlying cause and hopefully fix it.

Thanks,
Micha.
The glass is twice as big as it needs to be.
Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

Gooday Micha.
It's funny you should suggest that.
I played Oolite last night for 2 hours straight and not a single problem.
Well, except for the issue with that group of pirates that blew my Python and it's cargo into oblivion just short of landing at my destination. (Should have hit "TAB" a little sooner.) :x poop!!
I am keeping a journal of my "in game" experience and so far there hasn't been anything to enter into the journal except, "No Problems!" :D

Will keep you informed of any "nefarious" little Trolls that reek havoc with my game play.
Outside of that which is expected of course.
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Micha »

:)
Sorry if I was unclear - I didn't mean for you to keep a manual log (although that could be useful if you do come across another crash)...

I meant, is it possible for you to re-create the crashing situation you had with those empty or corrupted OXP folders? If so, we'd be very interested in those folders and any save-game which can reliably cause the crash to happen.
The glass is twice as big as it needs to be.
Solar Patriot
Average
Average
Posts: 14
Joined: Thu Feb 24, 2011 5:57 pm
Location: USA
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Solar Patriot »

Just to update what's going on with this post.
I have tried to reproduce the problem and so far I have not been able to. I have downloaded several OXP's (OXP's that I had before and new ones as well) and installed them the same way that I did before but even with the empty .oxp folders in the AddOns directory, I am unable to reproduce the same error.
At this point I don't know if this problem was caused by a corrupt .oxp, a empty .oxp folder or a video driver issue.

However, I am leaning in the direction of the Radeon X300 video card being the problem. From everything that I read on the Linux Forum, I am certain that I have the latest drivers installed but, that doesn't seem to solve the problem.
As it stands right now I still cannot start Oolite from the Menu Icon. The only way that I am able to launch the game is from the Terminal Console and I am still getting the same error.
I am able to run the game in either Windowed mode or Full Screen but when I switch from one to the other the game still crashes and needs to be restarted.
I am going to install a different video card and see if that fixes the problem.

I will update this post as soon as I have more info.

Thanks
Solar Patriot
Fear is a powerful advocate of action, however, there is one even greater -- Hope.
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: Not able to launch Oolite from the Oolite Icon

Post by Getafix »

Hi Solar Patriot.

Trying to troubleshoot the oolite menu issue I need you to post the result of the following:

Code: Select all

$ cd /
$ for i in `sudo find . -name oolite*desktop -print 2> /dev/null`   # Press <Enter>
> do   # Press <Enter>
> echo $i   # Press <Enter>
> cat $i   # Press <Enter>
> done   # Press <Enter>
[sudo] password for <user>:   # Type your password and press <Enter>
What I need, is to see the contents of all oolite.desktop occurrences.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Post Reply