Wesnoth and Mac OS X Lion

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Gambit » July 13th, 2011, 12:34 pm

Did that fix the problem Elrond?

ozean
Posts: 90
Joined: September 27th, 2005, 5:19 pm
Location: Norway
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by ozean » July 14th, 2011, 10:31 am

Gambit, I only post this to be on the safe side: you are asking Elrond if he was able to start Wesnoth once again after switching from full screen to windowed mode right? I.e. you are not presuming that the crashing issues themselves would be fixed? (I just want to make sure that nobody things the crashing bugs in Lion are only of a random / individual nature…)

User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Gambit » July 14th, 2011, 11:40 am

Well I was hoping it at least helped this:
The crashes in Lion happen always when one starts in full screen mode [...]

ozean
Posts: 90
Joined: September 27th, 2005, 5:19 pm
Location: Norway
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by ozean » July 14th, 2011, 11:45 am

Then we share similar hopes :D

User avatar
Alarantalara
Art Contributor
Posts: 782
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Alarantalara » July 22nd, 2011, 2:30 pm

This may have something to do with it:
http://bugzilla.libsdl.org/show_bug.cgi?id=1215

I would guess that Wesnoth will not be able to run on Lion in full screen until that's fixed.

ozean
Posts: 90
Joined: September 27th, 2005, 5:19 pm
Location: Norway
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by ozean » July 22nd, 2011, 3:57 pm

Alarantalara wrote:This may have something to do with it:
http://bugzilla.libsdl.org/show_bug.cgi?id=1215

I would guess that Wesnoth will not be able to run on Lion in full screen until that's fixed.
Yes, that looks like it might be the culprit…

Sebi
Posts: 8
Joined: December 2nd, 2010, 9:34 pm

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Sebi » July 22nd, 2011, 7:06 pm

First of all, I hit similar issues. Although I have not been active in the forums for quite a long time, I never could cease playing Wesnoth 8) . I'll try the solution with full screen mode and report the result.
No, I don't wanna play again, I lost for the umptieth time. - Five minutes later - Oh, I'm gonna try once again, only once.

User avatar
Alarantalara
Art Contributor
Posts: 782
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Alarantalara » August 27th, 2011, 4:47 pm

Here is a possible fix for people running on Lion:
Download the attached file, and unarchive it.
Select your copy of Wesnoth (any version of Wesnoth should work), Show Package Contents, and navigate to Contents/Frameworks.
Replace the SDL.framework that you find there with the unarchived attachment (you may want to keep the old one in case of problems).

I haven't been able to test this since I do not have Lion, so please tell me if this allows you to play in full screen (other issues will likely not be fixed).

Unfortunately, SDL has dropped PPC support, so I'm not sure when or if I'll be able to get this into the standard releases.

Edit: Removed file since it causes a crash when displaying the objectives dialog (mentioned later in thread)

Jensen
Posts: 10
Joined: October 12th, 2010, 5:50 pm

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Jensen » August 27th, 2011, 5:28 pm

Alarantalara wrote:Here is a possible fix for people running on Lion:
Download the attached file, and unarchive it.
Select your copy of Wesnoth (any version of Wesnoth should work), Show Package Contents, and navigate to Contents/Frameworks.
Replace the SDL.framework that you find there with the unarchived attachment (you may want to keep the old one in case of problems).

I haven't been able to test this since I do not have Lion, so please tell me if this allows you to play in full screen (other issues will likely not be fixed).

Unfortunately, SDL has dropped PPC support, so I'm not sure when or if I'll be able to get this into the standard releases.
Thanks. Has anyone tried this? I am not quite brave enough to muck around with my install of Wesnoth, but would be very interested to know if anyone has tried the above successfully in OS 10.7.1 and also (from the developer) when this will be integrated officially into a Wesnoth patch.

MathiasB
Posts: 6
Joined: March 28th, 2009, 12:15 pm

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by MathiasB » August 27th, 2011, 5:48 pm

Thank you Alarantalara, I tested it on my MacBook with Lion and it works!

ozean
Posts: 90
Joined: September 27th, 2005, 5:19 pm
Location: Norway
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by ozean » August 27th, 2011, 9:27 pm

Yay! Works for me too, using 1.9.8.

I haven’t done heavy testing, just switching to full screen and back. This used to crash 1.9.8 100%. With the new framework I haven’t experienced a crash. Thanks a lot!

WaveBreaker
Posts: 7
Joined: April 14th, 2009, 4:37 pm

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by WaveBreaker » October 10th, 2011, 2:54 pm

Did fix the general issue for me too, but now I have bad performance in the game itself. Before scrolling, starting fights and moving units the game lags for close to a second.
The crash seems gone but its still not much fun playing. Before it was nigh impossible though, because even in windowed mode the game crashed very frequently.

I run 10.7.1 on a MBP and am happy to test new fixes and have no problem fiddling around with the libraries.

ozean
Posts: 90
Joined: September 27th, 2005, 5:19 pm
Location: Norway
Contact:

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by ozean » November 9th, 2011, 10:49 am

Since 1.9.10 still shows this crash :( I wanted to ask if it would make sense to do a newer build of the SDL framework to fix the issue reported by Simon Forsyth:
Testing snapshot with OS X 10.6 and Wesnoth 1.9.9 shows that the snapshot is failing is_neutral_surface assertion when trying to blur the background for the objectives dialog.
Am not sure of cause, but it does mean that the snapshot mentioned below will not make it into 1.9.9.
See the bug report on gna: https://gna.org/bugs/?18319

Alarantalara, thanks a lot for providing this work around for us poor souls! :)

WaveBreaker
Posts: 7
Joined: April 14th, 2009, 4:37 pm

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by WaveBreaker » November 9th, 2011, 1:01 pm

:? I thought I read someplace that some compile time parameter should have been deactivated in 1.9.10 so that supposedly this problem would not reaccur. But maybe that was an imagination on my part or it just did not solve anything.

That said I also still have the crash problem - and the very laggy workaround.
Alarantalara - how did you come across the patched SDL-Framework version and how was that built?
When I follow the gna! link and into the bug report for SDL there is a comment, that the supposedly rooted bug is fixed in the current development src. I think about preparing for my own build of SDL as I don't know how long the next binary release for OS X is going to be in the future... propably years!?

User avatar
Alarantalara
Art Contributor
Posts: 782
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Wesnoth 1.8.6 anc Mac OS X Lion

Post by Alarantalara » November 9th, 2011, 1:18 pm

Right now, the newer build of SDL causes crashes for me on Snow Leopard, whether full screen or not. Until I can get it to work on older versions of the Mac OS as well, I'm unwilling to just replace it. Sadly, I've had less time than I might like to investigate just why this is happening, thus the unpatched release. I do hope to have it solved before 1.10, though.

WaveBreaker: I got the patched version from the SDL development tree and built it myself. The most recent versions of SDL have dropped support for PPC processors, which Wesnoth still supports, which means there is a very narrow window of revisions that can be used directly. It also means that even if a new version of SDL is released, Wesnoth won't be able to use it. You can certainly build your own from there if you're interested.

Post Reply