You are not logged in.

#1 2025-02-03 22:40:49

PurpleAce
Member
Registered: 2025-02-03
Posts: 4

MPV is unable to initialize drivers.

On starting MPV to play anything, I get a whole bunch of errors about being unable to start OpenGL, and then Vulkan.
My GPU is the integrated graphics running on a Pentium 4 2.40 Ghz CPU

 (+) Video --vid=1 'H.264/AVC Video' (h264 960x720 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) 'English: 5.1ch' (aac 6ch 48000Hz)
     Audio --aid=2 --alang=jpn 'Japanese: 5.1ch' (aac 6ch 48000Hz)
     Audio --aid=3 --alang=jpn 'Commentary Track' (aac 2ch 44100Hz)
     Subs  --sid=1 --slang=eng 'English Titles/Signs' (ass)
     Subs  --sid=2 --slang=eng 'English Subtitles' (ass)
     Subs  --sid=3 --slang=eng 'Commentary Subtitles' (ass)
[vo/gpu] Failed to setup EGL.
MESA: warning: Driver does not support the 0x2572 PCI ID.
MESA: warning: Driver does not support the 0x2572 PCI ID.
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:907)
[vo/gpu-next] Can't handle VT release - signal already used
[vo/gpu-next/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next] Failed to setup EGL.
MESA: warning: Driver does not support the 0x2572 PCI ID.
MESA: warning: Driver does not support the 0x2572 PCI ID.
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:907)
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)

I installed Vulkan hoping that MPV could use it as a fallback or something, but it only added more errors.

eglinfo -B gives

GBM platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel Open Source Technology Center
OpenGL compatibility profile renderer: Mesa DRI Intel(R) 865G x86/MMX/SSE2
OpenGL compatibility profile version: 1.3 Mesa 21.3.9-arch.6.2 Amber
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel Open Source Technology Center
OpenGL ES profile renderer: Mesa DRI Intel(R) 865G x86/MMX/SSE2
OpenGL ES profile version: 1.3 Mesa 21.3.9-arch.6.2 Amber
OpenGL ES profile shading language version: 1.20

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
eglinfo: eglInitialize failed

Surfaceless platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel Open Source Technology Center
OpenGL compatibility profile renderer: Mesa DRI Intel(R) 865G x86/MMX/SSE2
OpenGL compatibility profile version: 1.3 Mesa 21.3.9-arch.6.2 Amber
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel Open Source Technology Center
OpenGL ES profile renderer: Mesa DRI Intel(R) 865G x86/MMX/SSE2
OpenGL ES profile version: 1.3 Mesa 21.3.9-arch.6.2 Amber
OpenGL ES profile shading language version: 1.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel Open Source Technology Center
OpenGL compatibility profile renderer: Mesa DRI Intel(R) 865G x86/MMX/SSE2
OpenGL compatibility profile version: 1.3 Mesa 21.3.9-arch.6.2 Amber
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel Open Source Technology Center
OpenGL ES profile renderer: Mesa DRI Intel(R) 865G x86/MMX/SSE2
OpenGL ES profile version: 1.3 Mesa 21.3.9-arch.6.2 Amber
OpenGL ES profile shading language version: 1.20

Device #1:

Platform Device platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa/X.org
OpenGL core profile renderer: softpipe
OpenGL core profile version: 3.3 (Core Profile) Mesa 21.3.9-arch.6.2 Amber
OpenGL core profile shading language version: 3.30
OpenGL compatibility profile vendor: Mesa/X.org
OpenGL compatibility profile renderer: softpipe
OpenGL compatibility profile version: 3.3 (Compatibility Profile) Mesa 21.3.9-arch.6.2 Amber
OpenGL compatibility profile shading language version: 3.30
OpenGL ES profile vendor: Mesa/X.org
OpenGL ES profile renderer: softpipe
OpenGL ES profile version: OpenGL ES 3.1 Mesa 21.3.9-arch.6.2 Amber
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.10

According to this Xorg is unable to initialize OpenGL, but I can start Xorg and use it just fine.

My installed drivers are mesa-amber, xf86-video-intel, vulkan-intel
I tried replacing mesa-amber with mesa, throws the exact same errors.

I'm not sure if this is an error specifically related to Arch32 or not. If it isn't I'll take this over to the main Arch Forums.

Offline

#2 2025-02-04 10:59:16

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,056
Website

Re: MPV is unable to initialize drivers.

Can you post the results of an 'lspci -vv' or so?

Offline

#3 2025-02-04 15:33:52

PurpleAce
Member
Registered: 2025-02-03
Posts: 4

Re: MPV is unable to initialize drivers.

Here

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
	Subsystem: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel
	Kernel modules: intel_agp

00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
	Region 1: Memory at ffa80000 (32-bit, non-prefetchable) [size=512K]
	Region 2: I/O ports at ec00 [size=8]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]

00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 4: I/O ports at c800 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 19
	Region 4: I/O ports at cc00 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.2 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 18
	Region 4: I/O ports at d000 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 4: I/O ports at d400 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin D routed to IRQ 23
	Region 0: Memory at ffa7fc00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: b000-bfff [size=4K] [16-bit]
	Memory behind bridge: ff800000-ff8fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [32-bit]
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA+ VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr+ DiscTmrStat- DiscTmrSERREn-

00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Kernel driver in use: lpc_ich
	Kernel modules: intel_rng, lpc_ich

00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 18
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374
	Region 4: I/O ports at ffa0 [size=16]
	Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=1K]
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, pata_acpi, ata_generic

00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) (prog-if 8f [PCI native mode controller, supports both channels switched to ISA compatibility mode, supports bus mastering])
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 18
	Region 0: I/O ports at e800 [size=8]
	Region 1: I/O ports at e400 [size=4]
	Region 2: I/O ports at e000 [size=8]
	Region 3: I/O ports at dc00 [size=4]
	Region 4: I/O ports at d800 [size=16]
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, pata_acpi, ata_generic

00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin B routed to IRQ 17
	Region 4: I/O ports at c400 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 17
	Region 2: Memory at ffa7f800 (32-bit, non-prefetchable) [size=512]
	Region 3: Memory at ffa7f400 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: snd_intel8x0
	Kernel modules: snd_intel8x0

01:00.0 Multimedia audio controller: C-Media Electronics Inc CMI8738/CMI8768 PCI Audio (rev 10)
	Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (500ns min, 6000ns max)
	Interrupt: pin A routed to IRQ 21
	Region 0: I/O ports at b800 [size=256]
	Capabilities: <access denied>
	Kernel driver in use: snd_cmipci
	Kernel modules: snd_cmipci

01:05.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02) (prog-if 01 [Hayes/16450])
	Subsystem: PCTel Inc Device 0001
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at bc00 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: serial

01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 01)
	Subsystem: Intel Corporation Desktop Board D865GBF
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (2000ns min, 14000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at ff8ff000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at b400 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: e100
	Kernel modules: e100

Offline

#4 2025-02-05 11:47:32

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,056
Website

Re: MPV is unable to initialize drivers.

mesa seems to use vulkan. You can try to configure vulkan to use Intel, but I wouldn't be astonished, if mesa support for that is lacking
(at least on Arch32). Xorg uses the 2D-drivers (video-intel), mpv relies on vulkan. Maybe there is also a way to tell mpv to use opengl
or something else, maybe with environment variables.
(sorry, a little bit vague here)

Offline

#5 2025-02-05 19:49:28

PurpleAce
Member
Registered: 2025-02-03
Posts: 4

Re: MPV is unable to initialize drivers.

Well, let's see.

LIBGL_ALWAYS_SOFTWARE=true mpv
MESA_DRIVER_LOADER_OVERRIDE=i830 mpv
MESA_DRIVER_LOADER_OVERRIDE=i915 mpv
MESA_DRIVER_LOADER_OVERRIDE=i965 mpv
MESA_DRIVER_LOADER_OVERRIDE=kms_swrast mpv
MESA_DRIVER_LOADER_OVERRIDE=nouveau_vieux mpv #I'm not sure why this was on my system; if I remember correctly nouveau is Nvidia drivers, I have nothing related to nvidia as far as I'm aware
MESA_DRIVER_LOADER_OVERRIDE=r200 mpv
MESA_DRIVER_LOADER_OVERRIDE=radeon mpv
MESA_DRIVER_LOADER_OVERRIDE=swrast mpv

That's forcing mpv to use every libgl driver I have, all threw the same error of failing to load the driver.
I tried doing the same thing with Vulkan, didn't fix anything, but running

VK_DRIVER_FILES=/usr/share/vulkan/icd.d/lvp_icd.json mpv

no longer threw errors related to vulkan, however it still failed to start a video output, and complained about EGL.

Offline

#6 2025-02-06 07:23:24

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,056
Website

Re: MPV is unable to initialize drivers.

Cool new world with the new graphic software stack of Linux. ;-)

To be frank, I don't even know if the mesa or vulkan people care about 32-bit and old GPUs at all..

Offline

#7 2025-02-06 23:09:49

PurpleAce
Member
Registered: 2025-02-03
Posts: 4

Re: MPV is unable to initialize drivers.

Well yeah. They probably don't.

I'm not exactly sure if it's a problem specific to the 32-bit architecture; I could've sworn I had this exact problem with a different computer running on a 64-bit system, I just can't for the life of me remember what I did to fix it.

Do you know what the

MESA: warning: Driver does not support the 0x2572 PCI ID.

means exactly? What exactly is the 0x2572 PCI ID a reference to? I would imagine that's a reference to my GPU? If that can be figured out, perhaps I can figure out what driver would support the 0x2572 PCI ID.

Offline

Board footer

Powered by FluxBB