net/lagrange update to 1.3.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

net/lagrange update to 1.3.1

Solene Rapenne
this update lagrange to 1.3.1, I force the software rendering because
I'm hitting an issue with hardware rendering preventing lagrange
to start with an empty profile and upstream can't find why (currently
blaming i915 driver, I can't tell if it's true or not).

I didn't notice performance difference with the software rendering.

Index: Makefile
===================================================================
RCS file: /home/reposync/ports/net/lagrange/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile 14 Mar 2021 13:49:01 -0000 1.15
+++ Makefile 8 Apr 2021 09:36:18 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.15 2021/03/14 13:49:01 solene Exp $
 
 COMMENT = SDL multi protocol navigator
-VERSION = 1.2.3
+VERSION = 1.3.1
 
 DISTNAME = lagrange-${VERSION}
 
@@ -17,6 +17,8 @@ PERMIT_PACKAGE =Yes
 WANTLIB += SDL2 mpg123 pcre unistring
 WANTLIB += c crypto m ssl z pthread
 
+DEBUG_PACKAGES =${BUILD_PACKAGES}
+
 MASTER_SITES = https://git.skyjake.fi/skyjake/lagrange/releases/download/v${VERSION}/
 
 COMPILER = base-clang ports-gcc
@@ -33,7 +35,8 @@ LIB_DEPENDS = audio/mpg123 \
  devel/sdl2
 
 # Don't enable SSE4.1, it fails at runtime on old amd64 machines and i386
-CONFIGURE_ARGS += -DTFDN_ENABLE_SSE41=No
+CONFIGURE_ARGS += -DTFDN_ENABLE_SSE41=No \
+ -DENABLE_X11_SWRENDER=Yes
 
 NO_TEST = Yes
 
Index: distinfo
===================================================================
RCS file: /home/reposync/ports/net/lagrange/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo 14 Mar 2021 13:49:01 -0000 1.12
+++ distinfo 5 Apr 2021 18:12:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (lagrange-1.2.3.tar.gz) = otR57Wi/D4+PEyQfHlt6TZviCXIAxRz8TZp6L22hJUY=
-SIZE (lagrange-1.2.3.tar.gz) = 14356216
+SHA256 (lagrange-1.3.1.tar.gz) = II96LtGZFqTjJTWvS72Ala+c2D7UhqMinDq/rWuOBcQ=
+SIZE (lagrange-1.3.1.tar.gz) = 20938107

Reply | Threaded
Open this post in threaded view
|

Re: net/lagrange update to 1.3.1

Omar Polo-3

Solene Rapenne <[hidden email]> writes:

> this update lagrange to 1.3.1, I force the software rendering because
> I'm hitting an issue with hardware rendering preventing lagrange
> to start with an empty profile and upstream can't find why (currently
> blaming i915 driver, I can't tell if it's true or not).
>
> I didn't notice performance difference with the software rendering.

with this update lagrange always crashes on startup for me, regardless
of hardware rendering; it seems something TLS related:


% egdb `which lagrange` lagrange.core
GNU gdb (GDB) 7.12.1
[...snip...]
Core was generated by `lagrange'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  X509_STORE_get0_objects (xs=0x0) at /usr/src/lib/libcrypto/x509/x509_lu.c:758
758             return xs->objs;
[Current thread is 1 (process 589804)]
(gdb) bt
#0  X509_STORE_get0_objects (xs=0x0) at /usr/src/lib/libcrypto/x509/x509_lu.c:758
#1  0x000005a93e60f51b in X509_verify_cert (ctx=0x5a8d27f3a00) at /usr/src/lib/libcrypto/x509/x509_vfy.c:660
#2  0x000005a68458fb0a in verify_TlsCertificate (d=0x5a8d2800560)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:349
#3  0x000005a6844d736a in checkTrust_GmCerts (d=0x5a959bc2e00, domain=..., cert=0x5a8d2800560)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmcerts.c:414
#4  0x000005a6844e083c in checkServerCertificate_GmRequest_ (d=0x5a94953e100)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmrequest.c:163
#5  0x000005a6844e0688 in processIncomingData_GmRequest_ (d=0x5a94953e100, data=<optimized out>)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmrequest.c:219
#6  0x000005a6844dfccd in readIncoming_GmRequest_ (d=0x5a94953e100, req=<optimized out>)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmrequest.c:240
#7  0x000005a68459118f in checkReadyRead_TlsRequest_ (d=0x5a949579400)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:724
#8  readIncoming_TlsRequest_ (d=0x5a949579400) at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:744
#9  0x000005a684590d88 in run_TlsRequest_ (thread=<optimized out>)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:755
#10 0x000005a68458712b in run_Threads_ (arg=0x5a8f85c0680)
    at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/thread.c:84
#11 0x000005a93e6992f1 in _rthread_start (v=<optimized out>) at /usr/src/lib/librthread/rthread.c:96
#12 0x000005a93712395a in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84
(gdb)


dmesg:

OpenBSD 6.9 (GENERIC.MP) #453: Sun Apr  4 19:37:01 MDT 2021
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16035721216 (15292MB)
avail mem = 15534333952 (14814MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe8980 (56 entries)
bios0: vendor American Megatrends Inc. version "F21" date 02/08/2018
bios0: Gigabyte Technology Co., Ltd. AB350M-DS3H
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT CRAT CDIT SSDT MCFG HPET UEFI IVRS SSDT SSDT SSDT SSDT WSMT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) GPP1(S4) PTXH(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.90 MHz, 17-11-00
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: disabling user TSC (skew=162)
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.27 MHz, 17-11-00
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu3: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 1, core 1, package 0
cpu4 at mainbus0: apid 4 (application processor)
cpu4: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
cpu4: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu4: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu4: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu4: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu4: disabling user TSC (skew=144)
cpu4: smt 0, core 2, package 0
cpu5 at mainbus0: apid 5 (application processor)
cpu5: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
cpu5: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu5: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu5: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu5: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu5: smt 1, core 2, package 0
cpu6 at mainbus0: apid 6 (application processor)
cpu6: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
cpu6: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu6: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu6: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu6: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu6: smt 0, core 3, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
cpu7: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu7: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
cpu7: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu7: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 9 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 10 pa 0xfec01000, version 21, 32 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (GPP0)
acpiprt2 at acpi0: bus -1 (GPP2)
acpiprt3 at acpi0: bus -1 (GPP3)
acpiprt4 at acpi0: bus -1 (GPP4)
acpiprt5 at acpi0: bus -1 (GPP5)
acpiprt6 at acpi0: bus -1 (GPP6)
acpiprt7 at acpi0: bus 8 (GP17)
acpiprt8 at acpi0: bus 9 (GP18)
acpiprt9 at acpi0: bus 1 (GPP1)
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins
"AMDIF030" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu1 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu2 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu3 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu4 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu5 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu6 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu7 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpipwrres0 at acpi0: P0ST, resource for SATA
acpipwrres1 at acpi0: P3ST, resource for SATA
acpivideo0 at acpi0: VGA_
cpu0: 3593 MHz: speeds: 3600 2300 1600 MHz
pci0 at mainbus0 bus 0
ksmn0 at pci0 dev 0 function 0 "AMD 17h/1xh Root Complex" rev 0x00
"AMD 17h/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
pchb0 at pci0 dev 1 function 0 "AMD 17h PCIE" rev 0x00
ppb0 at pci0 dev 1 function 2 "AMD 17h/1xh PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 vendor "AMD", unknown product 0x43b9 rev 0x02: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
ahci0 at pci1 dev 0 function 1 vendor "AMD", unknown product 0x43b5 rev 0x02: msi, AHCI 1.3.1
scsibus1 at ahci0: 32 targets
ppb1 at pci1 dev 0 function 2 vendor "AMD", unknown product 0x43b0 rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "AMD 300 Series PCIE" rev 0x02: msi
pci3 at ppb2 bus 3
ppb3 at pci2 dev 1 function 0 "AMD 300 Series PCIE" rev 0x02: msi
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00), msi, address e0:d5:5e:6b:20:46
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ppb4 at pci2 dev 2 function 0 "AMD 300 Series PCIE" rev 0x02: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 3 function 0 "AMD 300 Series PCIE" rev 0x02: msi
pci6 at ppb5 bus 6
ppb6 at pci2 dev 4 function 0 "AMD 300 Series PCIE" rev 0x02: msi
pci7 at ppb6 bus 7
pchb1 at pci0 dev 8 function 0 "AMD 17h PCIE" rev 0x00
ppb7 at pci0 dev 8 function 1 "AMD 17h/1xh PCIE" rev 0x00
pci8 at ppb7 bus 8
amdgpu0 at pci8 dev 0 function 0 "ATI Radeon Vega" rev 0xc6
drm0 at amdgpu0
amdgpu0: msi
azalia0 at pci8 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi
azalia0: no supported codecs
ccp0 at pci8 dev 0 function 2 "AMD 17h/1xh Crypto" rev 0x00
xhci1 at pci8 dev 0 function 3 "AMD 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
xhci2 at pci8 dev 0 function 4 "AMD 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
azalia1 at pci8 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: apic 10 int 30
azalia1: codecs: Realtek ALC887
audio0 at azalia1
ppb8 at pci0 dev 8 function 2 "AMD 17h/1xh PCIE" rev 0x00
pci9 at ppb8 bus 9
ahci1 at pci9 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1
ahci1: port 1: 6.0Gb/s
scsibus2 at ahci1: 32 targets
sd0 at scsibus2 targ 1 lun 0: <ATA, CT500MX500SSD4, M3CR> naa.500a0751e1436188
sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin
piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 8GB DDR4 SDRAM PC4-19200
spdmem1 at iic0 addr 0x51: 8GB DDR4 SDRAM PC4-19200
iic1 at piixpm0
pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
pchb2 at pci0 dev 24 function 0 "AMD 17h/1xh Data Fabric" rev 0x00
pchb3 at pci0 dev 24 function 1 "AMD 17h/1xh Data Fabric" rev 0x00
pchb4 at pci0 dev 24 function 2 "AMD 17h/1xh Data Fabric" rev 0x00
pchb5 at pci0 dev 24 function 3 "AMD 17h/1xh Data Fabric" rev 0x00
pchb6 at pci0 dev 24 function 4 "AMD 17h/1xh Data Fabric" rev 0x00
pchb7 at pci0 dev 24 function 5 "AMD 17h/1xh Data Fabric" rev 0x00
pchb8 at pci0 dev 24 function 6 "AMD 17h/1xh Data Fabric" rev 0x00
pchb9 at pci0 dev 24 function 7 "AMD 17h/1xh Data Fabric" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: SVM/RVI
uhidev0 at uhub0 port 9 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/54.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 8 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub0 port 10 configuration 1 interface 0 "Lite-On Technology Corp. USB Multimedia Keyboard" rev 1.10/1.17 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev2 at uhub0 port 10 configuration 1 interface 1 "Lite-On Technology Corp. USB Multimedia Keyboard" rev 1.10/1.17 addr 3
uhidev2: iclass 3/0, 3 report ids
uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=3, output=0, feature=0
uhid2 at uhidev2 reportid 3: input=2, output=0, feature=0
umodem0 at uhub0 port 17 configuration 1 interface 1 "SAMSUNG SAMSUNG_Android" rev 2.10/4.00 addr 4
umodem0: data interface 2, has no CM over data, has no break
umodem0: status change notification available
ucom0 at umodem0
ugen0 at uhub0 port 17 configuration 1 "SAMSUNG SAMSUNG_Android" rev 2.10/4.00 addr 4
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd1: 476937MB, 512 bytes/sector, 976767473 sectors
root on sd1a (986fab01b676184e.a) swap on sd1b dump on sd1b
amdgpu0: RAVEN 11 CU rev 0x01
amdgpu0: 1920x1080, 32bpp
wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
ucom0 detached
umodem0 detached
ugen0 detached
urndis0 at uhub0 port 17 configuration 1 interface 0 "SAMSUNG SAMSUNG_Android" rev 2.10/2.32 addr 4
urndis0: using RNDIS, address 02:03:0f:06:63:36
ugen0 at uhub0 port 17 configuration 1 "SAMSUNG SAMSUNG_Android" rev 2.10/2.32 addr 4

Reply | Threaded
Open this post in threaded view
|

Re: net/lagrange update to 1.3.1

Omar Polo-3

Omar Polo <[hidden email]> writes:

> Solene Rapenne <[hidden email]> writes:
>
>> this update lagrange to 1.3.1, I force the software rendering because
>> I'm hitting an issue with hardware rendering preventing lagrange
>> to start with an empty profile and upstream can't find why (currently
>> blaming i915 driver, I can't tell if it's true or not).
>>
>> I didn't notice performance difference with the software rendering.
>
> with this update lagrange always crashes on startup for me, regardless
> of hardware rendering; it seems something TLS related:

sorry, replied too fast.  The problem goes away after I delete
~/.config/lagrange.  I'll see if I can replicate this starting with an
empty profile.

FWIW: the hardware rendering seems to work fine here (amdgpu.)

> % egdb `which lagrange` lagrange.core
> GNU gdb (GDB) 7.12.1
> [...snip...]
> Core was generated by `lagrange'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  X509_STORE_get0_objects (xs=0x0) at /usr/src/lib/libcrypto/x509/x509_lu.c:758
> 758             return xs->objs;
> [Current thread is 1 (process 589804)]
> (gdb) bt
> #0  X509_STORE_get0_objects (xs=0x0) at /usr/src/lib/libcrypto/x509/x509_lu.c:758
> #1  0x000005a93e60f51b in X509_verify_cert (ctx=0x5a8d27f3a00) at /usr/src/lib/libcrypto/x509/x509_vfy.c:660
> #2  0x000005a68458fb0a in verify_TlsCertificate (d=0x5a8d2800560)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:349
> #3  0x000005a6844d736a in checkTrust_GmCerts (d=0x5a959bc2e00, domain=..., cert=0x5a8d2800560)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmcerts.c:414
> #4  0x000005a6844e083c in checkServerCertificate_GmRequest_ (d=0x5a94953e100)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmrequest.c:163
> #5  0x000005a6844e0688 in processIncomingData_GmRequest_ (d=0x5a94953e100, data=<optimized out>)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmrequest.c:219
> #6  0x000005a6844dfccd in readIncoming_GmRequest_ (d=0x5a94953e100, req=<optimized out>)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/src/gmrequest.c:240
> #7  0x000005a68459118f in checkReadyRead_TlsRequest_ (d=0x5a949579400)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:724
> #8  readIncoming_TlsRequest_ (d=0x5a949579400) at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:744
> #9  0x000005a684590d88 in run_TlsRequest_ (thread=<optimized out>)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/tlsrequest.c:755
> #10 0x000005a68458712b in run_Threads_ (arg=0x5a8f85c0680)
>     at /usr/ports/pobj/lagrange-1.3.1/lagrange-1.3.1/lib/the_Foundation/src/thread.c:84
> #11 0x000005a93e6992f1 in _rthread_start (v=<optimized out>) at /usr/src/lib/librthread/rthread.c:96
> #12 0x000005a93712395a in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84
> (gdb)
>
>
> dmesg:
>
> OpenBSD 6.9 (GENERIC.MP) #453: Sun Apr  4 19:37:01 MDT 2021
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16035721216 (15292MB)
> avail mem = 15534333952 (14814MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe8980 (56 entries)
> bios0: vendor American Megatrends Inc. version "F21" date 02/08/2018
> bios0: Gigabyte Technology Co., Ltd. AB350M-DS3H
> acpi0 at bios0: ACPI 6.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT CRAT CDIT SSDT MCFG HPET UEFI IVRS SSDT SSDT SSDT SSDT WSMT
> acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) GPP1(S4) PTXH(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.90 MHz, 17-11-00
> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 24MHz
> cpu0: mwait min=64, max=64, C-substates=1.1, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
> cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
> cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu2: disabling user TSC (skew=162)
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.27 MHz, 17-11-00
> cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu3: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu3: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu3: smt 1, core 1, package 0
> cpu4 at mainbus0: apid 4 (application processor)
> cpu4: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
> cpu4: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu4: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu4: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu4: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu4: disabling user TSC (skew=144)
> cpu4: smt 0, core 2, package 0
> cpu5 at mainbus0: apid 5 (application processor)
> cpu5: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
> cpu5: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu5: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu5: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu5: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu5: smt 1, core 2, package 0
> cpu6 at mainbus0: apid 6 (application processor)
> cpu6: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
> cpu6: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu6: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu6: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu6: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu6: smt 0, core 3, package 0
> cpu7 at mainbus0: apid 7 (application processor)
> cpu7: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.25 MHz, 17-11-00
> cpu7: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu7: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache
> cpu7: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu7: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu7: smt 1, core 3, package 0
> ioapic0 at mainbus0: apid 9 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 10 pa 0xfec01000, version 21, 32 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (GPP0)
> acpiprt2 at acpi0: bus -1 (GPP2)
> acpiprt3 at acpi0: bus -1 (GPP3)
> acpiprt4 at acpi0: bus -1 (GPP4)
> acpiprt5 at acpi0: bus -1 (GPP5)
> acpiprt6 at acpi0: bus -1 (GPP6)
> acpiprt7 at acpi0: bus 8 (GP17)
> acpiprt8 at acpi0: bus 9 (GP18)
> acpiprt9 at acpi0: bus 1 (GPP1)
> acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
> acpicmos0 at acpi0
> acpibtn0 at acpi0: PWRB
> amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins
> "AMDIF030" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu1 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu2 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu3 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu4 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu5 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu6 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpicpu7 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpipwrres0 at acpi0: P0ST, resource for SATA
> acpipwrres1 at acpi0: P3ST, resource for SATA
> acpivideo0 at acpi0: VGA_
> cpu0: 3593 MHz: speeds: 3600 2300 1600 MHz
> pci0 at mainbus0 bus 0
> ksmn0 at pci0 dev 0 function 0 "AMD 17h/1xh Root Complex" rev 0x00
> "AMD 17h/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> pchb0 at pci0 dev 1 function 0 "AMD 17h PCIE" rev 0x00
> ppb0 at pci0 dev 1 function 2 "AMD 17h/1xh PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> xhci0 at pci1 dev 0 function 0 vendor "AMD", unknown product 0x43b9 rev 0x02: msi, xHCI 1.10
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
> ahci0 at pci1 dev 0 function 1 vendor "AMD", unknown product 0x43b5 rev 0x02: msi, AHCI 1.3.1
> scsibus1 at ahci0: 32 targets
> ppb1 at pci1 dev 0 function 2 vendor "AMD", unknown product 0x43b0 rev 0x02
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 0 function 0 "AMD 300 Series PCIE" rev 0x02: msi
> pci3 at ppb2 bus 3
> ppb3 at pci2 dev 1 function 0 "AMD 300 Series PCIE" rev 0x02: msi
> pci4 at ppb3 bus 4
> re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00), msi, address e0:d5:5e:6b:20:46
> rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
> ppb4 at pci2 dev 2 function 0 "AMD 300 Series PCIE" rev 0x02: msi
> pci5 at ppb4 bus 5
> ppb5 at pci2 dev 3 function 0 "AMD 300 Series PCIE" rev 0x02: msi
> pci6 at ppb5 bus 6
> ppb6 at pci2 dev 4 function 0 "AMD 300 Series PCIE" rev 0x02: msi
> pci7 at ppb6 bus 7
> pchb1 at pci0 dev 8 function 0 "AMD 17h PCIE" rev 0x00
> ppb7 at pci0 dev 8 function 1 "AMD 17h/1xh PCIE" rev 0x00
> pci8 at ppb7 bus 8
> amdgpu0 at pci8 dev 0 function 0 "ATI Radeon Vega" rev 0xc6
> drm0 at amdgpu0
> amdgpu0: msi
> azalia0 at pci8 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi
> azalia0: no supported codecs
> ccp0 at pci8 dev 0 function 2 "AMD 17h/1xh Crypto" rev 0x00
> xhci1 at pci8 dev 0 function 3 "AMD 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
> xhci2 at pci8 dev 0 function 4 "AMD 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10
> usb2 at xhci2: USB revision 3.0
> uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
> azalia1 at pci8 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: apic 10 int 30
> azalia1: codecs: Realtek ALC887
> audio0 at azalia1
> ppb8 at pci0 dev 8 function 2 "AMD 17h/1xh PCIE" rev 0x00
> pci9 at ppb8 bus 9
> ahci1 at pci9 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1
> ahci1: port 1: 6.0Gb/s
> scsibus2 at ahci1: 32 targets
> sd0 at scsibus2 targ 1 lun 0: <ATA, CT500MX500SSD4, M3CR> naa.500a0751e1436188
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin
> piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 8GB DDR4 SDRAM PC4-19200
> spdmem1 at iic0 addr 0x51: 8GB DDR4 SDRAM PC4-19200
> iic1 at piixpm0
> pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
> pchb2 at pci0 dev 24 function 0 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb3 at pci0 dev 24 function 1 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb4 at pci0 dev 24 function 2 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb5 at pci0 dev 24 function 3 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb6 at pci0 dev 24 function 4 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb7 at pci0 dev 24 function 5 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb8 at pci0 dev 24 function 6 "AMD 17h/1xh Data Fabric" rev 0x00
> pchb9 at pci0 dev 24 function 7 "AMD 17h/1xh Data Fabric" rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: SVM/RVI
> uhidev0 at uhub0 port 9 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/54.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z and W dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub0 port 10 configuration 1 interface 0 "Lite-On Technology Corp. USB Multimedia Keyboard" rev 1.10/1.17 addr 3
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> uhidev2 at uhub0 port 10 configuration 1 interface 1 "Lite-On Technology Corp. USB Multimedia Keyboard" rev 1.10/1.17 addr 3
> uhidev2: iclass 3/0, 3 report ids
> uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
> uhid1 at uhidev2 reportid 2: input=3, output=0, feature=0
> uhid2 at uhidev2 reportid 3: input=2, output=0, feature=0
> umodem0 at uhub0 port 17 configuration 1 interface 1 "SAMSUNG SAMSUNG_Android" rev 2.10/4.00 addr 4
> umodem0: data interface 2, has no CM over data, has no break
> umodem0: status change notification available
> ucom0 at umodem0
> ugen0 at uhub0 port 17 configuration 1 "SAMSUNG SAMSUNG_Android" rev 2.10/4.00 addr 4
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
> sd1: 476937MB, 512 bytes/sector, 976767473 sectors
> root on sd1a (986fab01b676184e.a) swap on sd1b dump on sd1b
> amdgpu0: RAVEN 11 CU rev 0x01
> amdgpu0: 1920x1080, 32bpp
> wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> ucom0 detached
> umodem0 detached
> ugen0 detached
> urndis0 at uhub0 port 17 configuration 1 interface 0 "SAMSUNG SAMSUNG_Android" rev 2.10/2.32 addr 4
> urndis0: using RNDIS, address 02:03:0f:06:63:36
> ugen0 at uhub0 port 17 configuration 1 "SAMSUNG SAMSUNG_Android" rev 2.10/2.32 addr 4

Reply | Threaded
Open this post in threaded view
|

Re: net/lagrange update to 1.3.1

Omar Polo-3

Omar Polo <[hidden email]> writes:

> Omar Polo <[hidden email]> writes:
>
>> Solene Rapenne <[hidden email]> writes:
>>
>>> this update lagrange to 1.3.1, I force the software rendering because
>>> I'm hitting an issue with hardware rendering preventing lagrange
>>> to start with an empty profile and upstream can't find why (currently
>>> blaming i915 driver, I can't tell if it's true or not).
>>>
>>> I didn't notice performance difference with the software rendering.
>>
>> with this update lagrange always crashes on startup for me, regardless
>> of hardware rendering; it seems something TLS related:
>
> sorry, replied too fast.  The problem goes away after I delete
> ~/.config/lagrange.  I'll see if I can replicate this starting with an
> empty profile.
>
> FWIW: the hardware rendering seems to work fine here (amdgpu.)

I opened an issue and it was quickly fixed.  I'm attaching an updated
patch that includes the fix from upstream, please see

        https://github.com/skyjake/lagrange/issues/243

Are we still in time to include this update for the 6.9?


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/lagrange/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile 14 Mar 2021 13:49:01 -0000 1.15
+++ Makefile 8 Apr 2021 15:50:10 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.15 2021/03/14 13:49:01 solene Exp $
 
 COMMENT = SDL multi protocol navigator
-VERSION = 1.2.3
+VERSION = 1.3.1
 
 DISTNAME = lagrange-${VERSION}
 
@@ -17,6 +17,8 @@ PERMIT_PACKAGE =Yes
 WANTLIB += SDL2 mpg123 pcre unistring
 WANTLIB += c crypto m ssl z pthread
 
+DEBUG_PACKAGES =${BUILD_PACKAGES}
+
 MASTER_SITES = https://git.skyjake.fi/skyjake/lagrange/releases/download/v${VERSION}/
 
 COMPILER = base-clang ports-gcc
@@ -33,7 +35,8 @@ LIB_DEPENDS = audio/mpg123 \
  devel/sdl2
 
 # Don't enable SSE4.1, it fails at runtime on old amd64 machines and i386
-CONFIGURE_ARGS += -DTFDN_ENABLE_SSE41=No
+CONFIGURE_ARGS += -DTFDN_ENABLE_SSE41=No \
+ -DENABLE_X11_SWRENDER=Yes
 
 NO_TEST = Yes
 
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/lagrange/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo 14 Mar 2021 13:49:01 -0000 1.12
+++ distinfo 8 Apr 2021 10:45:38 -0000
@@ -1,2 +1,2 @@
-SHA256 (lagrange-1.2.3.tar.gz) = otR57Wi/D4+PEyQfHlt6TZviCXIAxRz8TZp6L22hJUY=
-SIZE (lagrange-1.2.3.tar.gz) = 14356216
+SHA256 (lagrange-1.3.1.tar.gz) = II96LtGZFqTjJTWvS72Ala+c2D7UhqMinDq/rWuOBcQ=
+SIZE (lagrange-1.3.1.tar.gz) = 20938107
Index: patches/patch-src_app_c
===================================================================
RCS file: patches/patch-src_app_c
diff -N patches/patch-src_app_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_app_c 8 Apr 2021 15:50:51 -0000
@@ -0,0 +1,37 @@
+$OpenBSD$
+
+backport of commit 42691b66514e903396d708e13721b9d457be5d03 to fix
+OpenSSL validation.
+
+see https://github.com/skyjake/lagrange/issues/243
+
+Index: src/app.c
+--- src/app.c.orig
++++ src/app.c
+@@ -302,6 +302,7 @@ static const iString *prefsFileName_(void) {
+
+ static void loadPrefs_App_(iApp *d) {
+     iUnused(d);
++    iBool haveCA = iFalse;
+     /* Create the data dir if it doesn't exist yet. */
+     makeDirs_Path(collectNewCStr_String(dataDir_App_()));
+     iFile *f = new_File(prefsFileName_());
+@@ -326,6 +327,7 @@ static void loadPrefs_App_(iApp *d) {
+                 /* Background requests may be started before these commands would get
+                    handled via the event loop. */
+                 handleCommand_App(cmd);
++                haveCA = iTrue;
+             }
+             else if (equal_Command(cmd, "customframe")) {
+                 d->prefs.customFrame = arg_Command(cmd);
+@@ -347,8 +349,8 @@ static void loadPrefs_App_(iApp *d) {
+         }
+         delete_String(str);
+     }
+-    else {
+-        /* default preference values */
++    if (!haveCA) {
++        /* Default CA setup. */
+         setCACertificates_TlsRequest(&d->prefs.caFile, &d->prefs.caPath);
+     }
+ #if !defined (LAGRANGE_CUSTOM_FRAME)