Slow video in VLC and mplayer, but not in browsers

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

Slow video in VLC and mplayer, but not in browsers

Maximilian Pichler
Hi,

I'm getting slow and choppy (non-accelerated?) video in both VLC and
mplayer on OpenBSD 6.1. However, when watching the same video inside
chromium or firefox the quality is decent. What might cause this?

$ dmesg | grep vga
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 630" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

$ glxinfo
[...]
direct rendering: Yes
[...]
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: softpipe (0xffffffff)
    Version: 13.0.6
    Accelerated: no
    Video memory: 16068MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0

Btw, for VLC I also need to export
LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.1 to work around undefined
symbols in swrast_dri.so, as described in
https://marc.info/?l=openbsd-ports&m=146532946103283.

Thanks for any hints!

Maxim

Reply | Threaded
Open this post in threaded view
|

Re: Slow video in VLC and mplayer, but not in browsers

Maurice McCarthy
On Wed, May 17, 2017 at 01:25:11AM -0400 or thereabouts, Maximilian Pichler wrote:

> Hi,
>
> I'm getting slow and choppy (non-accelerated?) video in both VLC and
> mplayer on OpenBSD 6.1. However, when watching the same video inside
> chromium or firefox the quality is decent. What might cause this?
>
> $ dmesg | grep vga
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 630" rev 0x04
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>
> $ glxinfo
> [...]
> direct rendering: Yes
> [...]
> Extended renderer info (GLX_MESA_query_renderer):
>     Vendor: VMware, Inc. (0xffffffff)
>     Device: softpipe (0xffffffff)
>     Version: 13.0.6
>     Accelerated: no
>     Video memory: 16068MB
>     Unified memory: no
>     Preferred profile: core (0x1)
>     Max core profile version: 3.3
>     Max compat profile version: 3.0
>     Max GLES1 profile version: 1.1
>     Max GLES[23] profile version: 3.0
>
> Btw, for VLC I also need to export
> LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.1 to work around undefined
> symbols in swrast_dri.so, as described in
> https://marc.info/?l=openbsd-ports&m=146532946103283.
>
> Thanks for any hints!
>
> Maxim
>

I too get this kind of effect but I'm not clever enough to sort it out. An
example from running mpv over a chess game for a few seconds. :

$ mpv nakamura-kramnik.mkv                                                      
Playing: nakamura-kramnik.mkv
 (+) Video --vid=1 (*) (vp9)
 (+) Audio --aid=1 (*) (aac)
libEGL warning: DRI2: failed to authenticate
AO: [sdl] 44100Hz stereo 2ch s32
VO: [opengl] 1280x720 yuv420p
AV: 00:00:00 / 00:31:42 (0%) A-V:  0.000 Dropped: 3

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:00:02 / 00:31:42 (0%) A-V:  0.000 Dropped: 62


Exiting... (Quit)
pthread_mutex_destroy on mutex with waiters!


The paragraph beginning Audio/Video is highlighted in a yellow colour. (Colorls is
installed and I use reverse video.) Playing for longer gets the same desynch
error repeated often.

Thanks
Moss