Re: mpv won't play video : "Consider fixing your graphic drivers"

2024-01-20 Thread Sylvain Saboua

Le 2023-12-20 20:42, Mihai Popescu a écrit :

Please post your dmesg. If you don't know what it is or how to get it
please search the internet.

Tell the list how the /home/media is mounted. Again , if you don't
know how ... search the internet.

If you are using some configuration options inside a file for mpv
please list them here.

I don't think someone on this list is an expert in paranormal nor
telepathy guessing and even there is someone it won't be for free :) .


You didn't forward your response email to my address !
Hence my late reply.

The /home/media is a regular mountpoint, I don't think it is
the cause for the problem/bug since it also happens when reading
file stored in my home folder or from the internet.

I don't use specific configuration options for mpv, the bug has
been happening ever since I installed and used both openbsd and mpv.

Here's my dmesg:

OpenBSD 7.4-current (GENERIC.MP) #1607: Thu Jan 18 00:25:09 MST 2024
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8449818624 (8058MB)
avail mem = 8172941312 (7794MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xda571018 (40 entries)
bios0: vendor American Megatrends Inc. version "4.6.5" date 11/11/2013
bios0: CLEVO CO. W240EU/W250EUQ/W270EUQ
efi0 at bios0: UEFI 2.3.1
efi0: American Megatrends rev 0x4028d
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG SSDT HPET SSDT SSDT SSDT DMAR 
BGRT
acpi0: wakeup devices P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) USB7(S3) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) PXSX(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2693.99 MHz, 06-2a-07, 
patch 002f
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
64b/line 8-way L2 cache, 4MB 64b/line 16-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.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2694.08 MHz, 06-2a-07, 
patch 002f
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache

cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2694.13 MHz, 06-2a-07, 
patch 002f
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache

cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2694.12 MHz, 06-2a-07, 
patch 002f
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache

cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus 2 (RP03)
acpiprt4 at acpi0: bus 3 (RP04)
acpiec0 at acpi0
acpipci0 at acpi0 PCI0: 0x0010 0x0011 0x
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB(wakeup)
acpibtn1 at acpi0: SLPB(wakeup)
acpi

Re: mpv won't play video : "Consider fixing your graphic drivers"

2023-12-20 Thread Sylvain Saboua




Le 2023-12-21 04:55, Anthony J. Bentley a écrit :

Sylvain Saboua writes:

[vo/sdl] Using opengl
[vo/sdl] Warning: this legacy VO has bad performance. Consider fixing
your graphics drivers, or not forcing the sdl VO.


This message is specific to the sdl and xv outputs. The mpv manpage 
says:


The recommended output driver is --vo=gpu, which is the default. 
All

other drivers are for compatibility or special purposes. If the
default does not work, it will fallback to other drivers (in the 
same

order as listed by --vo=help).

So either you're specifying sdl manually (in a config file?) or the
default is not working and mpv is falling back to sdl. Can you confirm
which it is?


Second, it's a fallback. Nothing even plays and the warning displays
in red when specifying --vo=gpu :

$mpv --vo=gpu /home/media/E\ -\ Séries/Salem/Salem\ 
S01/Salem.S01E07.VOSTFR.720p.HDTV.x264-RUDY.mkv

 (+) Video --vid=1 (*) 'Video' (h264 1280x720 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) 'Audio' (ac3 6ch 48000Hz)
 Subs  --sid=1 --slang=fre (*) 'Subs' (subrip)
[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)
$


What could go wrong ? I doubt that it would only be that my
computer isn't powerful enough. I have tried different --vo
arguments without success.


What does "without success" mean? That it continues to fall back to
sdl and print that message (say, if you specify --vo=gpu)?


I mean that it does not change the behavior at all.
I was not aware that the default was overrun however,
and hadn't tried --vo=gpu.
The error above I got for the first time.

--
Sylvain Saboua
linktr.ee/Sylvain



Re: mpv won't play video : "Consider fixing your graphic drivers"

2023-12-20 Thread Anthony J. Bentley
Sylvain Saboua writes:
> [vo/sdl] Using opengl
> [vo/sdl] Warning: this legacy VO has bad performance. Consider fixing 
> your graphics drivers, or not forcing the sdl VO.

This message is specific to the sdl and xv outputs. The mpv manpage says:

The recommended output driver is --vo=gpu, which is the default. All
other drivers are for compatibility or special purposes. If the
default does not work, it will fallback to other drivers (in the same
order as listed by --vo=help).

So either you're specifying sdl manually (in a config file?) or the 
default is not working and mpv is falling back to sdl. Can you confirm
which it is?

> What could go wrong ? I doubt that it would only be that my
> computer isn't powerful enough. I have tried different --vo
> arguments without success.

What does "without success" mean? That it continues to fall back to
sdl and print that message (say, if you specify --vo=gpu)?



Re: mpv won't play video : "Consider fixing your graphic drivers"

2023-12-20 Thread Mihai Popescu
Please post your dmesg. If you don't know what it is or how to get it
please search the internet.

Tell the list how the /home/media is mounted. Again , if you don;t
know how ... search the internet.

If you are using some configuration options inside a file for mpv
please list them here.

I don't think someone on this list is an expert in paranormal nor
telepathy guessing and even there is someone it won't be for free :) .



mpv won't play video : "Consider fixing your graphic drivers"

2023-12-20 Thread Sylvain Saboua

I own a 2013 Clevo laptop. Running obsd as daily driver and
default/minimalist tools such as cwm, tmux, st, mpv, cmus &tc.

I have a dedicated partition mounted on /home/media for storing
multimedia files : music, movies, series &tc.

mpv is reluctant to correctly play videos if another process
is using the slightest amount of computer resources.
For instance at the moment I have only a tmux session inside
st running cp to put some music on an sd card. Yet the video
won't play, only audio, whereas if mpv is the only process
running I can enjoy my series without trouble.

$mpv /home/media/E\ -\ Séries/Salem/Salem\ 
S01/Salem.S01E06.VOSTFR.720p.HDTV.x264-RUDY.mkv

 (+) Video --vid=1 (*) 'Video' (h264 1280x720 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) 'Audio' (ac3 6ch 48000Hz)
 Subs  --sid=1 --slang=fre (*) 'Subs' (subrip)
[vo/sdl] Using opengl
[vo/sdl] Warning: this legacy VO has bad performance. Consider fixing 
your graphics drivers, or not forcing the sdl VO.

AO: [sndio] 48000Hz 5.1(alsa) (5.1) 6ch s16
VO: [sdl] 1280x720 yuv420p
AV: 00:00:02 / 00:42:55 (0%) A-V: -0.000

Exiting... (Quit)
$

What could go wrong ? I doubt that it would only be that my
computer isn't powerful enough. I have tried different --vo
arguments without success.
--
Sylvain Saboua
linktr.ee/Sylvain