Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002624 | Dwarf Fortress | Technical -- Rendering | public | 2010-07-11 06:17 | 2016-06-29 18:24 |
|
Reporter | CyberSkull | |
Assigned To | lethosor | |
Priority | normal | Severity | block | Reproducibility | always |
Status | confirmed | Resolution | reopened | |
Platform | PowerPC | OS | Mac OS X | OS Version | 10.5.8 |
Product Version | 0.31.10 | |
Target Version | | Fixed in Version | | |
|
Summary | 0002624: Bundled SDL version uses NSQuickDrawView on OS X; deprecated/unavailable in newer versions of OS X |
Description | The second message issued by DF is "2010-07-11 06:10:00.438 dwarfort.exe[25904:10b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz."
QuickDraw should not be used in Mac OS X. It is not a native API and is there for legacy support only. Quartz is the main drawing and windowing system. It also supports hardware accelleration, something that QuickDraw does not. |
Steps To Reproduce | Launch Dwarf Fortress. The warning is issued right when it starts to use graphics. |
Additional Information | (lethosor:) This only affects 2D and related print modes, and is fixed in SDL 1.2.15
Manager's note: Suggested fix: update SDL to SDL 1.2.15
1. Download SDL-1.2.15.dmg from https://www.libsdl.org/download-1.2.php [^] (under Mac OS X). Direct link as of May 2016: https://www.libsdl.org/release/SDL-1.2.15.dmg [^]
2. Open the downloaded .dmg file
3. Replace SDL.framework (possibly displayed as "SDL") in the libs folder in your DF folder with the downloaded version of SDL.framework
|
Tags | Fixed in 0.43.05?, Probable Quick Fix, SDL |
Relationships | related to | 0007389 | confirmed | lethosor | freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF | has duplicate | 0006641 | resolved | lethosor | Deprecated Function and Library Warning | has duplicate | 0006108 | resolved | lethosor | SDL Framework version uses [highly] depreciated Quicktime rather than Quartz. | has duplicate | 0009098 | resolved | lethosor | Game crash (window disappears) during launch following upgrade to Mac OS X El Capitan (10.11) in PRINT_MODE:2D | has duplicate | 0009166 | resolved | lethosor | Game Crashes at startup | has duplicate | 0009158 | resolved | lethosor | Crash on Startup | has duplicate | 0009238 | resolved | lethosor | Crash on launch | has duplicate | 0009555 | resolved | lethosor | Vanilla game simply will not start on MacOS ElCapitan | has duplicate | 0009680 | resolved | lethosor | Cannot open the df executable. | related to | 0005260 | resolved | Toady One | Can't play fullscreen on Mac OS X Lion (bug in outdated SDL) | related to | 0009431 | resolved | lethosor | Mac launch script does not launch DF |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-07-11 06:17 | CyberSkull | New Issue | |
2010-07-11 10:30 | Footkerchief | Issue Monitored: Baughn | |
2010-07-11 10:30 | Footkerchief | Note Added: 0009943 | |
2010-07-11 16:13 | Baughn | Note Added: 0009968 | |
2010-07-11 16:45 | Footkerchief | Note Added: 0009972 | |
2010-07-11 16:45 | Footkerchief | Status | new => resolved |
2010-07-11 16:45 | Footkerchief | Resolution | open => not fixable |
2010-07-11 16:45 | Footkerchief | Assigned To | => Footkerchief |
2014-07-08 09:01 | lethosor | Relationship added | has duplicate 0006641 |
2014-11-14 13:59 | lethosor | Relationship added | has duplicate 0006108 |
2014-11-14 14:01 | lethosor | Assigned To | Footkerchief => lethosor |
2014-11-14 14:01 | lethosor | Note Added: 0030990 | |
2014-11-14 14:01 | lethosor | Status | resolved => needs feedback |
2014-11-14 14:01 | lethosor | Resolution | not fixable => reopened |
2015-08-25 19:46 | lethosor | Note Added: 0033000 | |
2015-08-25 19:46 | lethosor | Status | needs feedback => confirmed |
2015-08-25 19:46 | lethosor | Tag Attached: Probable Quick Fix | |
2015-08-25 19:46 | lethosor | Note Edited: 0033000 | bug_revision_view_page.php?bugnote_id=0033000#r13281 |
2015-08-28 08:04 | lethosor | Tag Attached: SDL | |
2015-10-14 13:01 | lethosor | Note Added: 0033110 | |
2015-10-14 13:01 | lethosor | Severity | minor => block |
2015-10-17 18:58 | lethosor | Summary | NSQuickDrawView used by DF => Bundled SDL version uses QuickDraw on OS X; deprecated/unavailable in newer versions of OS X |
2015-10-17 19:03 | lethosor | Relationship added | has duplicate 0009098 |
2015-10-18 08:27 | fricy | Issue Monitored: fricy | |
2015-10-18 09:55 | lethosor | Additional Information Updated | bug_revision_view_page.php?rev_id=13333#r13333 |
2015-10-18 10:46 | lethosor | Note Edited: 0033110 | bug_revision_view_page.php?bugnote_id=0033110#r13335 |
2015-10-18 10:46 | lethosor | Note Edited: 0033110 | bug_revision_view_page.php?bugnote_id=0033110#r13336 |
2015-10-18 10:54 | lethosor | Relationship added | related to 0005260 |
2015-10-18 10:54 | lethosor | Relationship added | related to 0007389 |
2015-10-18 17:31 | Zapperier | Note Added: 0033120 | |
2015-12-02 20:10 | lethosor | Relationship added | has duplicate 0009166 |
2015-12-02 20:10 | lethosor | Relationship added | has duplicate 0009158 |
2015-12-05 13:49 | lethosor | Relationship added | has duplicate 0009238 |
2015-12-28 06:44 | lethosor | Relationship added | related to 0009431 |
2016-01-20 10:25 | tabacco | Note Added: 0034490 | |
2016-01-26 15:40 | lethosor | Additional Information Updated | bug_revision_view_page.php?rev_id=13924#r13924 |
2016-02-06 05:53 | fraveydank | Note Added: 0034610 | |
2016-02-06 08:16 | lethosor | Note Added: 0034611 | |
2016-04-04 13:40 | lethosor | Summary | Bundled SDL version uses QuickDraw on OS X; deprecated/unavailable in newer versions of OS X => Bundled SDL version uses NSQuickDrawView on OS X; deprecated/unavailable in newer versions of OS X |
2016-04-04 13:41 | lethosor | Relationship added | has duplicate 0009555 |
2016-04-05 10:05 | lethosor | Relationship added | has duplicate 0009680 |
2016-05-17 16:52 | lethosor | Additional Information Updated | bug_revision_view_page.php?rev_id=14195#r14195 |
2016-06-29 18:23 | lethosor | Tag Attached: Fixed in 0.43.05? | |
2016-06-29 18:24 | lethosor | Note Added: 0035525 | |
2016-09-30 11:44 | lethosor | Note Edited: 0035525 | bug_revision_view_page.php?bugnote_id=0035525#r14483 |
Notes |
|
|
Reminder sent to: Baughn Hey Baughn, not sure what you want to do with this one. |
|
|
(0009968)
|
Baughn
|
2010-07-11 16:13
|
|
DF does not use QuickDraw.. It uses SDL, which uses quckdraw.
There's nothing I can do, really, but a future SDL version might fix this. |
|
|
|
Thanks for your input. Sounds like, for our purposes, it's not fixable. |
|
|
|
|
|
|
This issue is not present in SDL 1.2.15 (which can replace the SDL version DF uses without recompiling DF).
|
|
|
(0033110)
|
lethosor
|
2015-10-14 13:01
(edited on: 2015-10-18 10:46) |
|
Quickdraw seems to have been removed entirely in OS X 10.11, which causes DF to hang or crash on startup with print modes like 2D (the default). crowder reports that updating to SDL 1.2.15 fixes this.
Instructions: Download SDL 1.2.15+ from https://www.libsdl.org/download-1.2.php [^] (direct link: https://www.libsdl.org/release/SDL-1.2.15.dmg [^]), and replace <DF>/libs/SDL.framework with the downloaded version of SDL.framework.
|
|
|
|
Replacing SDL.framework with version 1.2.15 as well as SDL_ttf.framework with version 2.0.11 in the /libs folder did indeed resolve the problem on OS X 10.11. |
|
|
|
I can confirm that updating the bundled SDL.framework to 1.2.15 fixes a startup crash in OS X 10.11.3 |
|
|
|
I can promise you that Quickdraw has not been removed entirely in 10.11. I am working on a port of a vintage Mac game that relies heavily on a lot of Quickdraw features through Carbon and it still works reasonably well. NSQuickdrawView, however, may have been removed (or may have broken) since Apple is trying to convince people to get away from Quickdraw (which my porting project will as soon as something is stable enough for an initial release).
I can confirm that just replacing SDL.framework does work; no need to replace SDL_ttf.framework.
I should note that it still grumbles about Carbon Component Manager usage for the Audio units, which may lead to the same issue further down the road. |
|
|
|
Replacing SDL_ttf is necessary for 0007389, which isn't an issue if you've installed XQuartz (or freetype). |
|
|
(0035525)
|
lethosor
|
2016-06-29 18:24
(edited on: 2016-09-30 11:44) |
|
May be fixed in 0.43.05, since Toady reports that he is using SDL 1.2.15 now.
Edit: Just in the 64-bit version, it seems.
|
|