OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Internet => Topic started by: karotlopj on April 26, 2016, 04:09:48 pm

Title: Firefox 38 problem
Post by: karotlopj on April 26, 2016, 04:09:48 pm
After a lot of trial and error trying to get the latest Firefox (v38) running, I discovered the '-console' command line parameter which revealed:-

Quote
Video driver is SNAP
Unable to enable DIVE

Killed by sigsegv

What should I do?
Title: Re: Firefox 38 problem
Post by: Dave Yeo on April 26, 2016, 04:38:11 pm
Is that the entire output of redirecting firefox? Firefox 2>&1 | tee firefox.log
Here I get,
Code: [Select]
DIVE is disabled - Panorama's shadow-buffer is enabled
Assertion failed: fcCacheChains[i] == NULL, file fccache.c, line 533

Killed by SIGABRT
pid=0x007d ppid=0x0021 tid=0x0001 slot=0x0102 pri=0x0200 mc=0x0001 ps=0x0017

Note that the sigabrt comes from fontconfig.
Snap should automatically enable DIVE if it passes an sanity check, including using 32 bit colour.
Title: Re: Firefox 38 problem
Post by: Daniel on April 27, 2016, 01:17:45 am
Now that's interesting... so I typed in
Firefox 2>&1 | tee firefox.log
While running Firefox 31.8.0 in 16 million colors and 1920 x 1080 at 60 Hz, ATI Radeon X850 series using SNAP.
And got..

VMI_CMD_SETPTR - rc= 0  ulStatus= 1
Video driver is SNAP - mouse ptr will not be hidden
_init_dive:  _load_dive() succeeded
_init_dive:  hDive= 1  scrn= 0x2a50000  format= BGR4
Changing DIVE from enabled to disabled - 'layers.acceleration.disabled' is TRUE


Isn't BGR4 a four bits per pixel mode?
Title: Re: Firefox 38 problem
Post by: Daniel on April 27, 2016, 01:37:12 am
Ok, it's a 4 bytes per pixel mode. I still don't have a clue why it disables Dive. But that's normal enough.
Title: Re: Firefox 38 problem
Post by: Dave Yeo on April 27, 2016, 04:53:29 am
You have it disabled for some reason,
Quote
Changing DIVE from enabled to disabled - 'layers.acceleration.disabled' is TRUE

Go into about:config, search for layers.acceleration.disabled, right click on it and choose toggle.
Title: Re: Firefox 38 problem
Post by: Daniel on April 27, 2016, 08:23:33 am
That was it. I have no idea what set it to off or why, but thanks.
Title: Re: Firefox 38 problem
Post by: karotlopj on April 27, 2016, 11:37:32 am
You have it disabled for some reason,
Quote
Changing DIVE from enabled to disabled - 'layers.acceleration.disabled' is TRUE

Go into about:config, search for layers.acceleration.disabled, right click on it and choose toggle.

I'm trying to follow this and don't understand what is going on...

Do I have a DIVE setting somewhere? It's not something I have installed.
Title: Re: Firefox 38 problem
Post by: arr531 on April 27, 2016, 12:53:10 pm
I believe he is referring to the configuration page within Firefox - about:config.
Title: Re: Firefox 38 problem
Post by: karotlopj on April 27, 2016, 02:25:46 pm
If Firefox doesn't load up, how do I change this, if it is causing the problem?

Is there a cfg file I can edit?
Title: Re: Firefox 38 problem
Post by: arr531 on April 27, 2016, 03:09:46 pm
Can you try running it in safe mode? I believe the switch is -safe-mode although that might not be the correct syntax. I have not tried starting it from the command line so I am not familiar with the switches.

Okay, I just checked the command line help and it is --safe-mode.
Title: Re: Firefox 38 problem
Post by: Dave Yeo on April 27, 2016, 04:35:42 pm
If Firefox doesn't load up, how do I change this, if it is causing the problem?

It shouldn't stop Firefox from running.
Quote
Is there a cfg file I can edit?

prefs.js in your profile
Title: Re: Firefox 38 problem
Post by: karotlopj on May 06, 2016, 01:56:31 pm
Quote
VMI_CMD_SETPTR - rc= 0  ulStatus= 1
Video driver is SNAP - mouse ptr will not be hidden
_init_dive:  _load_dive() failed
Unable to enable DIVE - it will not be used for this session

Am I unable to load the latest Firefox because DIVE  cannot be enabled?

I can run v31.8.0 without any problems.
Title: Re: Firefox 38 problem
Post by: Pete2 on May 06, 2016, 04:14:24 pm
Hello John. Nice to hear from you again. Have you checked that you have all the required dependencies? PMdll ( http://hobbes.nmsu.edu/download/pub/os2/util/system/pmdll-2.12.zip (http://hobbes.nmsu.edu/download/pub/os2/util/system/pmdll-2.12.zip)) is a good tool for this.
Title: Re: Firefox 38 problem
Post by: karotlopj on May 06, 2016, 04:33:15 pm
Hello John. Nice to hear from you again. Have you checked that you have all the required dependencies? PMdll ( http://hobbes.nmsu.edu/download/pub/os2/util/system/pmdll-2.12.zip (http://hobbes.nmsu.edu/download/pub/os2/util/system/pmdll-2.12.zip)) is a good tool for this.

I have run chkdll32 on firefox.exe  and xul.dll and all the required dll's are available. There are no error msgs displayed. Firefox simply will not load. I'm obviously missing something fundamental since no one else seems to have this problem.
Title: Re: Firefox 38 problem
Post by: Dave Yeo on May 06, 2016, 05:25:19 pm
If it is running long enough to do the DIVE test, it may be a bad fontconfig install or an old DLL, probably gcc*dll, stdcpp*dll or possibly a libc06*.dll that is not a forwarder.
Title: Re: Firefox 38 problem
Post by: karotlopj on May 06, 2016, 07:06:18 pm
According to:-

http://os2news.warpstock.org/Warpzilla.html

I need the following versions:-

ftp://ftp.netlabs.org/pub/gcc/libc-0_6_6-csd6.wpi
ftp://ftp.netlabs.org/pub/gcc/gcc4core-1_3_1.wpi
http://rpm.netlabs.org/release/00/zip/fontconfig-2_11_95-1_oc00.zip
http://os2news.warpstock.org/mozsupport-2016-04-29.zip

I'll try again to install all these and see if it makes any difference.
Title: Re: Firefox 38 problem
Post by: Pete on May 06, 2016, 10:41:57 pm
Hi John

I noticed in your post that mozsupport has been updated recently so downloaded a copy.

The only update in the package for those with mozsupport-2016-03-16.zip installed is the fntcnf1.dll file.

However, for the sake of "completeness" I unzipped all files from mozsupport-2016-04-29.zip overwriting existing files.

Seamonkey then would not start - Sorry, that is incorrect as it appears in the Process List and can be "killed"; it does not appear onscreen and the cpu meters are peaking.

As I had been running Seamonkey merely minutes earlier I guessed the problem may be related to the mozsupport update.

I "backlevelled" fntcnf1.dll to the version from mozsupport-2016-03-16.zip and no problems - I am posting using Seamonkey.

The older mozsupport may still be available here http://os2news.warpstock.org/mozsupport-2016-03-16.zip if you want to give it a try.


Regards

Pete
Title: Re: Firefox 38 problem
Post by: Dave Yeo on May 07, 2016, 04:04:33 am
The danger is having an older DLL on the LIBPATH, including the dot where it can be loaded by another program. One example that bit a few people was having the real libc065.dll in ecs\dll or os2\dll, which only stopped add-ons from working
Assuming you have installed exceptq, are you getting trp files in your program directory?
Are you sure you have fontconfig set up properly.
Personally I hate needing all these DLLs and prefer static linking, which is what I did for a long time and Peter did before. Unluckily the Python shipped with RPM/YUM is the only one that works to build Mozilla and it has become easier to just use the whole environment. I'm also stuck on dial-up that makes it hard for me to upload any builds I do, otherwise I'd do and upload a mostly static build.
Title: Re: Firefox 38 problem
Post by: karotlopj on May 07, 2016, 05:25:14 am
I removed the DLL's I had in my 'c:\usr\lib' and proceeded to add those from the pkgs mentioned in the link, and....

it worked!

Seems I must have had an incompatible DLL in the libpath... although I did notice the mozsupport has been updated since I downloaded it initially, so maybe one of the newer DLL's made the difference.

Anyway It works now, so I'm happy about that.