project-navigation
Personal tools

Author Topic: OSX installers  (Read 161516 times)

Offline Rowanas

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: OSX installers
« Reply #60 on: May 15, 2010, 10:38:37 am »
Hmm.. I've been having the exact opposite problem from one of the other users here. It's the geoscape... it... it's dark. not just nighttime dark, but so dark that I can't see the outlines of the countries without turning on the illumination, and then I can't see anything but masses of obscuring colour where the countries should be, making it impossible to find my base or UFOs or anything. This pops up whether it's day or night, in act, daytime doesn't really seem to make a difference at all.

I've fiddled with gammas, contrast, screen brightness, but nothing lifts it from the ever-present gloom. I'm going to go away and try the new version before sending in all the complex details. Here's hoping it doesn't happen.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #61 on: May 15, 2010, 10:43:58 am »
try to disable shaders - what is your graphic card?

Offline Rowanas

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: OSX installers
« Reply #62 on: May 15, 2010, 12:49:01 pm »
 Chipset Model:   GMA X3100
  Type:   Display
  Bus:   Built-In
  VRAM (Total):   144 MB
  Vendor:   Intel (0x8086)
  Device ID:   0x2a02
  Revision ID:   0x0003

When I turned off the shaders I got even less. No lights, nothing. On the bright side, 2d geoscape works beautifully, just like it used to.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #63 on: May 15, 2010, 01:36:06 pm »
can you maybe attach your ufoconsole.log?

Offline smlacc

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: OSX installers
« Reply #64 on: May 15, 2010, 11:05:51 pm »
I have the same problem - no light on the 3d worldscape, have tried turning off shaders etc but its still dark.  I have a macbook pro with a geforce 8600M GT gpu.

Also, I have no sound at all, anywhere in the game. 

And also, the game dies every time I go into a battle with a segfault.  Console log from startup of game to the crash plus some console output not captured by my "afoai > ufoai.txt" output redirect, plus the apple crash report are all attached.

Smlacc.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #65 on: May 15, 2010, 11:31:04 pm »
do you have gdb installed? if yes, please run ufo in a debugger session and post a full backtrace (see wiki -> debugging)

Offline smlacc

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: OSX installers
« Reply #66 on: May 16, 2010, 04:52:54 am »
strangely, it doesnt seem to crash when i run it via gdb, but it crashes every single time I run it without.  Go figure. :)

Also, when I do get into the mission, I hear one sound, and one sound only - the sound of glass breaking.

Do you want me to send you the output of gdb without the crash to trace the dark world map and lack of most music/sounds problems?

Smlacc.

Offline smlacc

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: OSX installers
« Reply #67 on: May 16, 2010, 08:10:23 pm »
OK I have an update. I've tried playing with the startup of ufoai, and am able to produce a crash 100% of the time given certain conditions.  Common elements in all methods are:

- 3d world map is always dark, in night and in day.  It is basically useless in this lighting, as you cant see anything at all.
- no sound at all either in the menus or on missions, except for the sound of glass breaking.  So sound is working (othewise I wouldent hear the breaking glass sound) but there is a problem with playing all sounds except for breaking glass.

Specific cases:
1. start up the game without gdb, play in windowed mode = works ok.
2. start up the game in windowed mode, switch to full screen = game crashed back to the os at start of mission with an apple crash report.
3. start up the game in gdb in windowed mode, play in windowed mode(run +set vid_fullscreen 0 +set vid_grabmouse) game runs fine
4. start up the game in gdb in windowed mode, switch to fullscreen, game crashes on mission startup, locking up OS requiring a hard reset - resulting in no gdb log.
5. start up the game in gdb in fullscreen mode (run +set vid_fullscreen 1 +set vid_grabmouse), game runs fine without crashing.
6. start up the game in gdb in fullscreen mode, switch to windowed mode, game crashes with following message seen in gdb console:
-----------
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x254a602c
0x0014c4fe in R_FillArrayData ()
-----------

These crashes are 100% reproducible on my laptop, they happen every time.  I have attached a backtrace for the only mode I still had access to the OS after a crash, which was (6).  I used "force quit" to kill ufoi, then ran bt full in the gdb console to get this output.

Smlacc.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #68 on: May 16, 2010, 09:41:08 pm »
did you compile the game yourself? or are you using my uploaded dmg? i'm asking because the binary you are using there was compiled without full debugging symbols. so we don't get a line number and stuff like that.

Offline smlacc

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: OSX installers
« Reply #69 on: May 16, 2010, 11:06:20 pm »
No, I used the most recently uploaded .dmg.  When i run "gdb ufo", I get a ton of messages like this:

warning: Could not find object file "/Users/mattn/dev/ufoai/trunk/debug-darwin-i386/client/ports/macosx/osx_main.o" - no debug information available for "src/ports/macosx/osx_main.m".

Smlacc

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #70 on: May 17, 2010, 07:26:36 am »
ok, i will upload a new installer with debugging symbols in the evening.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: OSX installers
« Reply #71 on: May 18, 2010, 02:54:24 am »
Will map-get work properly now on a PPC mac?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #72 on: May 18, 2010, 08:19:03 am »
you are invited to try it and report back ;)

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: OSX installers
« Reply #73 on: May 18, 2010, 08:44:50 am »
Alright, a stock, unmodified version of 2.3

stbmac:trunk Michael$ svn info
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2.3
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 30045
Node Kind: directory
Schedule: normal
Last Changed Author: bayo-fr
Last Changed Rev: 30035
Last Changed Date: 2010-05-17 00:26:15 -0700 (Mon, 17 May 2010)


Configure run as
stbmac:trunk Michael$ ./configure --enable-universal --disable-uforadiant

"make" ran without error.
"make macinstaller" then gave this (at the end):

downloading http://static.ufo.ludwigf.org/maps/base/maps/village/vil_s07.bsp.gz
base/maps/village/vil_s07.bsp - updated
downloading http://static.ufo.ludwigf.org/maps/base/maps/village/vil_s08.bsp.gz
base/maps/village/vil_s08.bsp - updated
downloading http://static.ufo.ludwigf.org/maps/base/maps/village/vil_s15.bsp.gz
base/maps/village/vil_s15.bsp - updated
downloading http://static.ufo.ludwigf.org/maps/base/maps/wilderness.bsp.gz
base/maps/wilderness.bsp - updated
493 upgraded, 10 version mismatched, 0 already up to date
./ufomodel -mdx -overwrite -v  -s 0.5 -f models/aircraft/craft_arm_plate/plating.md2
---- ufomodel 0.2 ----

---- filesystem initialization -----
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: /Users/Michael/Documents/UFOAI-2.3-dev/base
Adding game dir: ./base
Added packfile ./base/0base.pk3 (8 files)
Added packfile ./base/0maps.pk3 (428 files)
Added packfile ./base/0materials.pk3 (39 files)
Added packfile ./base/0media.pk3 (10 files)
Added packfile ./base/0models.pk3 (1560 files)
Added packfile ./base/0music.pk3 (40 files)
Added packfile ./base/0pics.pk3 (2364 files)
Added packfile ./base/0shaders.pk3 (12 files)
Added packfile ./base/0snd.pk3 (212 files)
Added packfile ./base/0ufos.pk3 (96 files)
Added packfile ./base/0videos.pk3 (1 files)
using ./base for writing
- model 'models/aircraft/craft_arm_plate/plating.md2'
Error: R_ModForName: unknown fileid for models/aircraft/craft_arm_plate/plating.md2
make: *** [base/models/aircraft/craft_arm_plate/plating.mdx] Error 1
stbmac:trunk Michael$

No idea where to start looking.

Offline Excalibolg

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: OSX installers
« Reply #74 on: June 19, 2010, 07:04:41 pm »
Im getting the same no sound or music problem as smlacc. Im using the 2.3 release version on a mbp.