Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: avatarscape on November 22, 2011, 05:34:56 pm

Title: [OSX] Crash
Post by: avatarscape on November 22, 2011, 05:34:56 pm
There is a crash in OSX revision 263.
This was resolved by compiling SDL framework and adding it to Noggit 3.app/Contents/Frameworks
The cause of it was because the SDL framework included was more of a dummy/structure, and didn't have anything in the folders.

After doing this, I encountered a problem. Here is a pastebin with the details from Console.
http://pastebin.com/CBrzDecJ (http://pastebin.com/CBrzDecJ" onclick="window.open(this.href);return false;)
Title: Re: [OSX] Crash
Post by: schlumpf on November 22, 2011, 07:34:54 pm
Is this the whole log?

Please also provide the log.txt.

There is null-pointer inside Model::draw, which indicates that either the model loaded is corrupt / failed loading, or the GPU can't handle the drawing, which can be the case on old hardware, like a white 2007 MacBook. That's happening for me as well.
Title: Re: [OSX] Crash
Post by: avatarscape on November 22, 2011, 08:06:08 pm
5151 - (Liquid.cpp:508): [Error] Unable to open water shader "shaderswater.ps".
5151 - (Liquid.cpp:547): [Error] Unable to open water shader "shaders/waterfog.ps".
5151 - (Noggit.cpp:370): [Debug] Creating Menu
That appears to be it.
http://pastebin.com/WZqpBHMt (http://pastebin.com/WZqpBHMt" onclick="window.open(this.href);return false;)  :: Entire log
Title: Re: [OSX] Crash
Post by: schlumpf on November 22, 2011, 08:08:05 pm
> Intel GMA 950 OpenGL Engine
As said: Integrated GPU, can't handle it. Sorry.
Title: Re: [OSX] Crash
Post by: avatarscape on November 22, 2011, 08:20:27 pm
Ok.. I'm now loading the windows version on vmware. Why is it that this works but the mac one doesn't on the same mac?

EDIT: I just found something out.
The reason why it's working is because vmware emulates the GPU instead of using the hardware one. So with effect, using the ram instead of the graphics card. Is it not possible to do this natively in mac? but atleast now I have an alternative solution.
Title: Re: [OSX] Crash
Post by: schlumpf on November 22, 2011, 08:31:48 pm
It is possible. Apple even has a software GPU for integrated GPUs. Noggit just can't use that as of now. (And may never will.)
Title: Re: [OSX] Crash
Post by: Steff on November 23, 2011, 10:26:11 am
That could be the driver. If the mac driver U use have poor openGL support i wont work. If you run VMWare the driver there could do work better. Just try if there is an up to date driver. Dont know if you get third party drivers on macs. I had this issue often on PC. Noggit runt here after the isntallation of an newer driver for the GFX board.
Title: Re: [OSX] Crash
Post by: schlumpf on November 23, 2011, 10:32:43 am
Quote from: "Steff"
That could be the driver. If the mac driver U use have poor openGL support i wont work. If you run VMWare the driver there could do work better. Just try if there is an up to date driver. Dont know if you get third party drivers on macs. I had this issue often on PC. Noggit runt here after the isntallation of an newer driver for the GFX board.

There are no third party drivers. This is not anything you'd want as customer.

Point is: There is a good driver available and it supports software rendering. Noggit does not use it.

There is no way to change this except for emulation via a virtual machine or changing stuff in Noggit.
Title: Re: [OSX] Crash
Post by: Steff on November 23, 2011, 10:34:25 am
I love third party drivers. So i can use my scanner now from win 95 to win 7 :)
Title: Re: [OSX] Crash
Post by: schlumpf on November 23, 2011, 10:36:46 am
Quote from: "Steff"
I love third party drivers. So i can use my scanner now from win 95 to win 7 :)
A scanner, just as a printer, should not need any driver. If it does, it seems to be bad.
Title: Re: [OSX] Crash
Post by: Steff on November 23, 2011, 10:42:40 am
manufacturer functions like calibration of the printer, or scanners with dia function. You need always drivers that know the device to use all functions of it. For the basic like scan an image or print a document its enough :)
Title: Re: [OSX] Crash
Post by: schlumpf on November 23, 2011, 10:46:05 am
Quote from: "Steff"
manufacturer functions like calibration of the printer, or scanners with dia function. You need always drivers that know the device to use all functions of it. For the basic like scan an image or print a document its enough :)

I don't see why that should not be standardized. Dia scanning should be the same normal scanning. It should be a on-device application doing that stuff, not the attached computer. Calibration should be possible to be done on device as well. As often, functionality, that should be at A is transfered to B while it should not be on B and will complicate stuff.
Title: Re: [OSX] Crash
Post by: Steff on November 23, 2011, 10:50:04 am
That depends on how the manufactur build the device.A dia scanner needs other focusing, turn light on behind the scan area and control the scanner to scan the right areas to get the single Dia´s

 If it would be easy to force hundeds of engineers to a standart the world whould be easyer :)
But it is not.
Title: Re: [OSX] Crash
Post by: schlumpf on November 23, 2011, 10:58:07 am
Quote from: "Steff"
That depends on how the manufactur build the device.A dia scanner needs other focusing, turn light on behind the scan area and control the scanner to scan the right areas to get the single Dia´s

That's all stuff on the device, that don't even need to be known on the computer. I don't see any reason why this should be in a driver.
Title: Re: [OSX] Crash
Post by: Steff on November 23, 2011, 11:13:34 am
The driver must give the user the posibillitys to access this features. Adjust the light intensity to get better scan results on darken or bright dias. Set DPI and what the hell the device offers else.
Title: Re: [OSX] Crash
Post by: avatarscape on November 23, 2011, 09:12:50 pm
Back on the topic: Why don't you make it a plan to make a boot flag for software / hardware rendering? I think that'd be a good idea for people with ok ram (4gb) but shit graphics cards (GMA 950 FFFUUUUU)
Good idea?
Title: Re: [OSX] Crash
Post by: schlumpf on November 23, 2011, 10:22:15 pm
Quote from: "avatarscape"
Back on the topic: Why don't you make it a plan to make a boot flag for software / hardware rendering? I think that'd be a good idea for people with ok ram (4gb) but shit graphics cards (GMA 950 FFFUUUUU)
Good idea?

Of course, using the software renderer is wanted. It's not just adding a flag though.

And if I'd implement it, I'd go by automatic detection, if it is needed, not a flag.

You may want to open a ticket in the tracker.
Title: Re: [OSX] Crash
Post by: thlmobile on December 28, 2012, 04:35:50 am
it still says noggit.exe has stopped working. And not responding and such heres new log after i deleted the custom patch:
Title: Re: [OSX] Crash
Post by: Steff on December 28, 2012, 06:54:01 pm
And where is new log :)