pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox on i386?



>> esp            0xa40f1bbc          0xa40f1bbc
>>
>> which is neither 8- nor 16-byte aligned, and movdqa insists on
>> aligned arguments.
>
> This is usually worked around with -mstackrealign. Firefox sets that in
> CXXFLAGS for i386 but not in CFLAGS. Adding CFLAGS might be worth a shot.
> Could well be in a 3rd party library somewhere else in pkgsrc though.

It was in /usr/pkg/lib/firefox/libxul.so if memory serves, so
should be firefox itself.

I'll try a rebuid with CFLAGS+=-mstackrealign.

>> So...  This appears to be an uphill battle.  Has everyone else
>> abandoned i386 support?
>
> Mozilla still supports it but there is not much coverage in terms
> of pkgsrc users so run-time breakage is to be expected from time to time.
>
> That said tsutsui@ posts screenshots of Firefox on NetBSD/i386 on X
> (fkas Twitter) every other month or so. Most recently firefox-120.0 on
> 10.0_RC1 last month.

OK.

I have the build host for firefox on i386 which has a Xeon E5335
CPU (cpuctl outputs from the build host and the T60 attached
below), and where I can run firefox with a remote display to this
T60 laptop, and firefox will actually run.  However, you only get

libEGL warning: DRI2: could not open /dev/dri/card0 (Operation not supported by device)
ATTENTION: default value of option mesa_glthread overridden by environment.
JavaScript warning: https://assets.adobedtm.com/5b254441120f/d0caf1ebfd60/launch-b156dfdab709.min.js, line 4: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
JavaScript error: https://api.company-target.com/api/v2/ip.json?key=KPoJNUhqFN4BlhMgpIM033sl6wtdnfvyBcHrASKk&callback=Dmdbase_CDC.callback, line 1: ReferenceError: Dmdbase_CDC is not defined

related to WebGL, while the console log when starting firefox
locally on the T60 is chock full of

ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create EGLContext!: 0x3009 (t=1.94111) [GFX1-]: Failed to create EGLContext!: 0x3009
ATTENTION: default value of option mesa_glthread overridden by environment.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create EGLContext!: 0x3009 (t=1.94111) |[1][GFX1-]: Failed to create EGLContext!: 0x3005 (t=1.96107) [GFX1-]: Failed to create EGLContext!: 0x3005
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create EGLContext!: 0x3009 (t=1.94111) |[1][GFX1-]: Failed to create EGLContext!: 0x3005 (t=1.96107) |[2][GFX1-]: Failed GL context creation for hardware WebRender: true (t=1.96241) [GFX1-]: Failed GL context creation for hardware WebRender: true
ATTENTION: default value of option mesa_glthread overridden by environment.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create EGLContext!: 0x3009 (t=1.94111) |[1][GFX1-]: Failed to create EGLContext!: 0x3005 (t=1.96107) |[2][GFX1-]: Failed GL context creation for hardware WebRender: true (t=1.96241) |[3][GFX1-]: Failed to create EGLContext!: 0x3009 (t=1.98584) [GFX1-]: Failed to create EGLContext!: 0x3009

and similar messages.  I wonder: is there something which only
causes the SIMD code to be executed if we're on a local display
and/or with GL enabled?

Regards,

- Håvard
cpu0: highest basic info 0000000a
cpu0: highest extended info 80000008
cpu0: "Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz"
cpu0: Intel Xeon 30xx, 32xx, 51xx, 53xx, 73xx, Core 2 Quad 6xxx, Core 2 Extreme 6xxx, Core 2 Duo 4xxx, 5xxx, 6xxx, 7xxx and Pentium DC (686-class), 1995.13 MHz
cpu0: family 0x6 model 0xf stepping 0xb (id 0x6fb)
cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
cpu0: features 0xbfebfbff<SS,HTT,TM,SBF>
cpu0: features1 0x4e33d<SSE3,DTES64,MONITOR,DS-CPL,VMX,TM2,SSSE3,CX16,xTPR>
cpu0: features1 0x4e33d<PDCM,DCA>
cpu0: features2 0x20100000<XD,EM64T>
cpu0: features3 0x1<LAHF>
cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
cpu0: L2 cache 4MB 64B/line 16-way
cpu0: 64B prefetching
cpu0: ITLB 128 4KB entries 4-way, 8 2M/4 4M entries
cpu0: DTLB 256 4KB entries 4-way, 16 4MB entries 4-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: SMT ID 0
cpu0: MONITOR/MWAIT extensions 0x3<EMX,IBE>
cpu0: monitor-line size 64
cpu0: C1 substates 2
cpu0: C2 substates 2
cpu0: C3 substates 2
cpu0: DSPM-eax 0x1<DTS>
cpu0: DSPM-ecx 0x1<HWF>
cpu0: SEF highest subleaf 00000000
cpu0: Power Management features: 0x0
cpu0: Perfmon-eax 0x7280202<VERSION=0x2,GPCounter=0x2,GPBitwidth=0x28>
cpu0: Perfmon-eax 0x7280202<Vectorlen=0x7>
cpu0: Perfmon-edx 0x503<FixedFunc=0x3,FFBitwidth=0x28>
cpu0: microcode version 0xb4, platform ID 6
cpu0: highest basic info 0000000a
cpu0: highest extended info 80000008
cpu0: "Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz"
cpu0: Intel Xeon 30xx, 32xx, 51xx, 53xx, 73xx, Core 2 Quad 6xxx, Core 2 Extreme 6xxx, Core 2 Duo 4xxx, 5xxx, 6xxx, 7xxx and Pentium DC (686-class), 2160.53 MHz
cpu0: family 0x6 model 0xf stepping 0x6 (id 0x6f6)
cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
cpu0: features 0xbfebfbff<SS,HTT,TM,PBE>
cpu0: features1 0xe3bd<SSE3,DTES64,MONITOR,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR>
cpu0: features1 0xe3bd<PDCM>
cpu0: features2 0x20100000<XD,EM64T>
cpu0: features3 0x1<LAHF>
cpu0: I-cache: 32KB 64B/line 8-way, D-cache: 32KB 64B/line 8-way
cpu0: L2 cache: 4MB 64B/line 16-way
cpu0: 64B prefetching
cpu0: ITLB: 128 4KB entries 4-way, 8 2M & 4 4M entries
cpu0: DTLB: 256 4KB entries 4-way, 16 4MB entries 4-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: SMT ID 0
cpu0: MONITOR/MWAIT extensions 0x3<EMX,IBE>
cpu0: monitor-line size 64
cpu0: C1 substates 2
cpu0: C2 substates 2
cpu0: C3 substates 2
cpu0: C4 substates 2
cpu0: DSPM-eax 0x1<DTS>
cpu0: DSPM-ecx 0x1<HWF,NTDC=0>
cpu0: SEF highest subleaf 00000000
cpu0: Power Management features: 0
cpu0: Perfmon: Ver. 2
cpu0: Perfmon: General: bitwidth 40, 2 counters
cpu0: Perfmon: General: avail 0x7f<CORECYCL,INST,REFCYCL,LLCREF,LLCMISS,BRINST>
cpu0: Perfmon: General: avail 0x7f<BRMISPR>
cpu0: Perfmon: Fixed: bitwidth 0, 0 counters
cpu0: microcode version 0xc7, platform ID 5


Home | Main Index | Thread Index | Old Index