NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "xv" video with intel graphics?



On Mon, 28 Sep 2020, nia wrote:

> On Sun, Sep 27, 2020 at 09:54:30AM -0500, John D. Baker wrote:
> > PR?
> 
> Please. As a temporary workaround, LIBGL_ALWAYS_SOFTWARE=1.

On a sample video file, using the above environment variable, 'ffplay4'
starts playing audio right away, but takes several seconds to display
choppy video.  It then hangs after the end of the file and keeps running
until I press Ctrl-C.

With the variable set, 'mpv' and 'mplayer both default to "xv" as the video
output.  'mpv' opens a window but never paints it while 'mplayer' opens a
black window.  The audio in the sample file plays and both players exit
otherwise normally.

Forcing "-vo sdl" in 'mplayer' opens a black window and the sample file
audio plays while a stream of:

[...]
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 352x240 => 352x240 Planar YV12 
Movie-Aspect is 1.34:1 - prescaling to correct movie aspect.
VO: [sdl] 352x240 => 352x262 Planar YV12 
X11 error: BadAlloc (insufficient resources for operation)
A:   0.3 V:   0.2 A-V:  0.026 ct:  0.000   2/  2 ??% ??% ??,?% 0 0 
X11 error: BadAlloc (insufficient resources for operation)
A:   0.3 V:   0.3 A-V:  0.026 ct:  0.003   3/  3 ??% ??% ??,?% 0 0 
[...]

scrolls up the terminal window.

Forcing "--vo=sdl" in 'mpv' seems to work reasonably well.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index