From: Byron Campbell - WA4GEG Subject: Re: VLC; 7.6-beta AMD64 Sept. 17th To: ports@openbsd.org Date: Wed, 18 Sep 2024 09:38:57 -0400 On 9/18/24 9:04 AM, Stuart Henderson wrote: > On 2024/09/18 08:58, Byron Campbell - WA4GEG wrote: >> VLC 3.0.20p4 >> >> Problem: VLC will not play the video of an MP4 and shows only a black >> screen, however the audio of the MP4 plays just fine. > > Works fine here on latest amd64 snapshot (base and packages all updated) > with a randomly chosen mp4 file. > >> Problem: VLC will immediately crash when attempting to play a DVD. > > I have no way to test that. "Will immediately crash" isn't very helpful, > at least show the output (start vlc from a console and copy and paste > the lot), get a backtrace if there's a coredump. > > Are you using any of the va-api stuff? > > What display adapter? dmesg wouldn't hurt. > Tnx Stuart, dmesg below at bottom. This machine was upgraded from 7.4, then 7.5, and now 7.6-beta. Nothing special, bare install with x, mate, and a few packages; Geany, FireFox, Thunderbird, libre-office. Probably time to start again with clean slate / fresh install. Okay, launched VLC from terminal. Here's the output when attempting to play an MP4, and audio plays but not the video portion: $ vlc VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b) [00000d0660d53220] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00000d0660d64ca0] main playlist: playlist is empty libva info: VA-API version 1.22.0 libva info: Trying to open /usr/X11R6/lib/modules/dri/r600_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 [00000d06e842d060] avcodec decoder: Using Mesa Gallium driver 23.3.6 for AMD CEDAR (DRM 2.50.0 / 7.6, LLVM 16.0.6) for hardware decoding bsd$ Launched VLC from terminal. Here's the output when attempting to play a DVD; seg-faults: $ vlc VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b) [000007a0a6f13680] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000007a076d3a060] main playlist: playlist is empty [000007a02a5b9360] dvdnav demux: DVD Title: EFV1 INTRO NTSC [000007a02a5b9360] dvdnav demux: DVD Serial Number: 529049f1f1bbe9C [000007a02a5b9360] dvdnav demux: DVD Title (Alternative): [000007a02a5b9360] dvdnav demux: DVD disk reports itself with Region mask 0x00000000. Regions: 01 02 03 04 05 06 07 08 [000007a02a5b9360] dvdnav demux: Attempting to retrieve all CSS keys [000007a02a5b9360] dvdnav demux: This can take a _long_ time, please be patient [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG [000007a02a5b9360] dvdnav demux error: Unable to read invalid PCG libva info: VA-API version 1.22.0 libva info: Trying to open /usr/X11R6/lib/modules/dri/r600_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 [0000079fed6aaae0] avcodec decoder: Using Mesa Gallium driver 23.3.6 for AMD CEDAR (DRM 2.50.0 / 7.6, LLVM 16.0.6) for hardware decoding Segmentation fault (core dumped) $ =============================== dmesg ================================== OpenBSD 7.6 (GENERIC.MP) #317: Tue Sep 17 09:26:21 MDT 2024 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 34246139904 (32659MB) avail mem = 33184604160 (31647MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xcb6d1000 (76 entries) bios0: vendor Hewlett-Packard version "M60 v02.50" date 11/07/2019 bios0: Hewlett-Packard HP Z440 Workstation efi0 at bios0: UEFI 2.3.1 efi0: Hewlett-Packard BIOS ID: rev 0x20032 acpi0 at bios0: ACPI 4.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP TCPA SSDT SSDT UEFI CELI BDAT WSMT HPET APIC MCFG WDDT SSDT NITR DMAR ASF! BGRT acpi0: wakeup devices PWRB(S4) BR1A(S4) BR1B(S4) BR2A(S4) BR3A(S4) XHCI(S3) GBEM(S4) EHC2(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3491.96 MHz, 06-3f-02, patch 00000049 cpu0: cpuid 1 edx=bfebfbff ecx=77fefbff cpu0: cpuid 6 eax=77 ecx=9 cpu0: cpuid 7.0 ebx=37ab edx=9c000400 cpu0: cpuid a vers=3, gp=4, gpwidth=48, ff=3, ffwidth=48 cpu0: cpuid d.1 eax=1 cpu0: cpuid 80000001 edx=2c100800 ecx=21 cpu0: cpuid 80000007 edx=100 cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3491.98 MHz, 06-3f-02, patch 00000049 cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 8 (application processor) cpu2: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3491.97 MHz, 06-3f-02, patch 00000049 cpu2: smt 0, core 4, package 0 cpu3 at mainbus0: apid 10 (application processor) cpu3: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3492.05 MHz, 06-3f-02, patch 00000049 cpu3: smt 0, core 5, package 0 cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3492.18 MHz, 06-3f-02, patch 00000049 cpu4: smt 1, core 0, package 0 cpu5 at mainbus0: apid 3 (application processor) cpu5: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3492.06 MHz, 06-3f-02, patch 00000049 cpu5: smt 1, core 1, package 0 cpu6 at mainbus0: apid 9 (application processor) cpu6: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3492.24 MHz, 06-3f-02, patch 00000049 cpu6: smt 1, core 4, package 0 cpu7 at mainbus0: apid 11 (application processor) cpu7: Intel(R) Xeon(R) CPU E5-2637 v3 @ 3.50GHz, 3492.09 MHz, 06-3f-02, patch 00000049 cpu7: smt 1, core 5, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins ioapic1 at mainbus0: apid 9 pa 0xfec01000, version 20, 24 pins acpimadt0: unknown apic structure type 7f acpimadt0: unknown apic structure type 7f acpimadt0: unknown apic structure type 7f acpimcfg0 at acpi0 acpimcfg0: addr 0xd0000000, bus 0-255 acpiprt0 at acpi0: bus 255 (UNC0) acpiprt1 at acpi0: bus 0 (PCI0) acpiprt2 at acpi0: bus 1 (BR1A) acpiprt3 at acpi0: bus -1 (BR1B) acpiprt4 at acpi0: bus 2 (BR2A) acpiprt5 at acpi0: bus -1 (BR2B) acpiprt6 at acpi0: bus -1 (BR2C) acpiprt7 at acpi0: bus -1 (BR2D) acpiprt8 at acpi0: bus 3 (BR3A) acpiprt9 at acpi0: bus -1 (BR3B) acpiprt10 at acpi0: bus -1 (BR3C) acpiprt11 at acpi0: bus -1 (BR3D) acpiprt12 at acpi0: bus 4 (RP01) acpiprt13 at acpi0: bus 5 (RP02) acpiprt14 at acpi0: bus -1 (RP03) acpiprt15 at acpi0: bus 6 (RP04) acpiprt16 at acpi0: bus 8 (RP05) acpiprt17 at acpi0: bus -1 (RP06) acpiprt18 at acpi0: bus -1 (RP07) acpiprt19 at acpi0: bus -1 (RP08) acpipci0 at acpi0 UNC0 "ACPI0004" at acpi0 not configured acpibtn0 at acpi0: PWRB(wakeup) acpipci1 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 "PNP0003" at acpi0 not configured acpicmos0 at acpi0 tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x5000, device 0x001a15d1 rev 0x10 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu4 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu5 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu6 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS acpicpu7 at acpi0: C2(350@41 mwait.3@0x20), C1(1000@1 mwait.1), PSS cpu0: using VERW MDS workaround (except on vmm entry) cpu0: Enhanced SpeedStep 3491 MHz: speeds: 3501, 3500, 3300, 3200, 3000, 2800, 2700, 2500, 2300, 2200, 2000, 1900, 1700, 1500, 1400, 1200 MHz pci0 at mainbus0 bus 255 "Intel E5 v3 QPI Monitor" rev 0x02 at pci0 dev 11 function 0 not configured "Intel E5 v3 QPI Monitor" rev 0x02 at pci0 dev 11 function 1 not configured "Intel E5 v3 QPI Monitor" rev 0x02 at pci0 dev 11 function 2 not configured "Intel E5 v3 Unicast" rev 0x02 at pci0 dev 12 function 0 not configured "Intel E5 v3 Unicast" rev 0x02 at pci0 dev 12 function 1 not configured "Intel E5 v3 Unicast" rev 0x02 at pci0 dev 12 function 2 not configured "Intel E5 v3 Unicast" rev 0x02 at pci0 dev 12 function 3 not configured "Intel E5 v3 Unicast" rev 0x02 at pci0 dev 12 function 4 not configured "Intel E5 v3 Unicast" rev 0x02 at pci0 dev 12 function 5 not configured "Intel E5 v3 Ring Agent" rev 0x02 at pci0 dev 15 function 0 not configured "Intel E5 v3 Ring Agent" rev 0x02 at pci0 dev 15 function 1 not configured "Intel E5 v3 SAD" rev 0x02 at pci0 dev 15 function 4 not configured "Intel E5 v3 SAD" rev 0x02 at pci0 dev 15 function 5 not configured "Intel E5 v3 SAD" rev 0x02 at pci0 dev 15 function 6 not configured "Intel E5 v3 PCIE Ring" rev 0x02 at pci0 dev 16 function 0 not configured "Intel E5 v3 PCIE Monitor" rev 0x02 at pci0 dev 16 function 1 not configured "Intel E5 v3 Scratch" rev 0x02 at pci0 dev 16 function 5 not configured "Intel E5 v3 Scratch" rev 0x02 at pci0 dev 16 function 6 not configured "Intel E5 v3 Scratch" rev 0x02 at pci0 dev 16 function 7 not configured "Intel E5 v3 Home Agent" rev 0x02 at pci0 dev 18 function 0 not configured "Intel E5 v3 Home Agent" rev 0x02 at pci0 dev 18 function 1 not configured "Intel E5 v3 Memory" rev 0x02 at pci0 dev 19 function 0 not configured "Intel E5 v3 RAS" rev 0x02 at pci0 dev 19 function 1 not configured "Intel E5 v3 TAD" rev 0x02 at pci0 dev 19 function 2 not configured "Intel E5 v3 TAD" rev 0x02 at pci0 dev 19 function 3 not configured "Intel E5 v3 TAD" rev 0x02 at pci0 dev 19 function 4 not configured "Intel E5 v3 TAD" rev 0x02 at pci0 dev 19 function 5 not configured "Intel E5 v3 DDR Broadcast" rev 0x02 at pci0 dev 19 function 6 not configured "Intel E5 v3 DDR Broadcast" rev 0x02 at pci0 dev 19 function 7 not configured "Intel E5 v3 Thermal" rev 0x02 at pci0 dev 20 function 0 not configured "Intel E5 v3 Thermal" rev 0x02 at pci0 dev 20 function 1 not configured "Intel E5 v3 Error" rev 0x02 at pci0 dev 20 function 2 not configured "Intel E5 v3 Error" rev 0x02 at pci0 dev 20 function 3 not configured "Intel E5 v3 DDRIO" rev 0x02 at pci0 dev 20 function 6 not configured "Intel E5 v3 DDRIO" rev 0x02 at pci0 dev 20 function 7 not configured "Intel E5 v3 Thermal" rev 0x02 at pci0 dev 21 function 0 not configured "Intel E5 v3 Thermal" rev 0x02 at pci0 dev 21 function 1 not configured "Intel E5 v3 Error" rev 0x02 at pci0 dev 21 function 2 not configured "Intel E5 v3 Error" rev 0x02 at pci0 dev 21 function 3 not configured "Intel E5 v3 TA" rev 0x02 at pci0 dev 22 function 0 not configured "Intel E5 v3 DDR Broadcast" rev 0x02 at pci0 dev 22 function 6 not configured "Intel E5 v3 DDR Broadcast" rev 0x02 at pci0 dev 22 function 7 not configured "Intel E5 v3 Thermal" rev 0x02 at pci0 dev 23 function 0 not configured "Intel E5 v3 DDRIO" rev 0x02 at pci0 dev 23 function 4 not configured "Intel E5 v3 DDRIO" rev 0x02 at pci0 dev 23 function 5 not configured "Intel E5 v3 DDRIO" rev 0x02 at pci0 dev 23 function 6 not configured "Intel E5 v3 DDRIO" rev 0x02 at pci0 dev 23 function 7 not configured "Intel E5 v3 PCU" rev 0x02 at pci0 dev 30 function 0 not configured "Intel E5 v3 PCU" rev 0x02 at pci0 dev 30 function 1 not configured "Intel E5 v3 PCU" rev 0x02 at pci0 dev 30 function 2 not configured "Intel E5 v3 PCU" rev 0x02 at pci0 dev 30 function 3 not configured "Intel E5 v3 PCU" rev 0x02 at pci0 dev 30 function 4 not configured "Intel E5 v3 VCU" rev 0x02 at pci0 dev 31 function 0 not configured "Intel E5 v3 VCU" rev 0x02 at pci0 dev 31 function 2 not configured pci1 at mainbus0 bus 0 pchb0 at pci1 dev 0 function 0 "Intel E5 v3 Host" rev 0x02 ppb0 at pci1 dev 1 function 0 "Intel E5 v3 PCIE" rev 0x02: msi pci2 at ppb0 bus 1 ppb1 at pci1 dev 2 function 0 "Intel E5 v3 PCIE" rev 0x02: msi pci3 at ppb1 bus 2 radeondrm0 at pci3 dev 0 function 0 "ATI Radeon HD 5450" rev 0x00 drm0 at radeondrm0 radeondrm0: msi ppb2 at pci1 dev 3 function 0 "Intel E5 v3 PCIE" rev 0x02: msi pci4 at ppb2 bus 3 "Intel E5 v3 Address Map" rev 0x02 at pci1 dev 5 function 0 not configured "Intel E5 v3 Hot Plug" rev 0x02 at pci1 dev 5 function 1 not configured "Intel E5 v3 Error Reporting" rev 0x02 at pci1 dev 5 function 2 not configured "Intel E5 v3 I/O APIC" rev 0x02 at pci1 dev 5 function 4 not configured "Intel C610 MS SPSR" rev 0x05 at pci1 dev 17 function 0 not configured vendor "Intel", unknown product 0x2827 (class mass storage subclass RAID, rev 0x05) at pci1 dev 17 function 4 not configured xhci0 at pci1 dev 20 function 0 "Intel C610 xHCI" rev 0x05: apic 8 int 19, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel C610 MEI" rev 0x05 at pci1 dev 22 function 0 not configured vendor "Intel", unknown product 0x8d3d (class communications subclass serial, rev 0x05) at pci1 dev 22 function 3 not configured em0 at pci1 dev 25 function 0 "Intel I218-LM" rev 0x05: msi, address ec:b1:d7:2c:86:f5 ehci0 at pci1 dev 26 function 0 "Intel C610 USB" rev 0x05: apic 8 int 18 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci1 dev 27 function 0 "Intel C610 HD Audio" rev 0x05: msi azalia0: codecs: Realtek ALC221 audio0 at azalia0 ppb3 at pci1 dev 28 function 0 "Intel C610 PCIE" rev 0xd5 pci5 at ppb3 bus 4 ppb4 at pci1 dev 28 function 1 "Intel C610 PCIE" rev 0xd5: msi pci6 at ppb4 bus 5 ppb5 at pci1 dev 28 function 3 "Intel C610 PCIE" rev 0xd5: msi pci7 at ppb5 bus 6 ppb6 at pci7 dev 0 function 0 "ITExpress IT8893E PCIE-PCI" rev 0x52 pci8 at ppb6 bus 7 ppb7 at pci1 dev 28 function 4 "Intel C610 PCIE" rev 0xd5: msi pci9 at ppb7 bus 8 ehci1 at pci1 dev 29 function 0 "Intel C610 USB" rev 0x05: apic 8 int 18 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci1 dev 31 function 0 "Intel C610 LPC" rev 0x05 ahci0 at pci1 dev 31 function 2 "Intel C610 AHCI" rev 0x05: msi, AHCI 1.3 ahci0: port 0: 1.5Gb/s ahci0: port 1: 6.0Gb/s scsibus1 at ahci0: 32 targets cd0 at scsibus1 targ 0 lun 0: removable sd0 at scsibus1 targ 1 lun 0: naa.5001b448bc61c8d6 sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin ichiic0 at pci1 dev 31 function 3 "Intel C610 SMBus" rev 0x05: apic 8 int 18 iic0 at ichiic0 isa0 at pcib0 isadma0 at isa0 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: VMX/EPT efifb at mainbus0 not configured uhidev0 at uhub0 port 11 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/24.30 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 8 buttons, Z and W dir wsmouse0 at ums0 mux 0 uhidev1 at uhub0 port 12 configuration 1 interface 0 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 3 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev2 at uhub0 port 12 configuration 1 interface 1 "Logitech HID compliant keyboard" rev 1.10/1.80 addr 3 uhidev2: iclass 3/0, 2 report ids ucc0 at uhidev2 reportid 1: 76 usages, 2 keys, array wskbd2 at ucc0 mux 1 uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0 uhub3 at uhub0 port 13 configuration 1 interface 0 "Texas Instruments product 0x8142" rev 2.10/1.00 addr 4 uhub4 at uhub0 port 19 configuration 1 interface 0 "Texas Instruments product 0x8140" rev 3.00/1.00 addr 5 uhub5 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2 uhub6 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (da4625ca1ef15298.a) swap on sd0b dump on sd0b radeondrm0: CEDAR radeon_audio_component_init: stub radeondrm0: 1920x1080, 32bpp wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation)