Re: [gentoo-user] i965 (Valley View) video acceleration

2014-10-29 Thread Grant
 [...]  Are
 all the smart people switching from mplayer to mplayer2? [...]

 FWIW, I switched to mpv after using mplayer2 for a while.


And it supports VAAPI?  I think I'm in love.  Be sure to USE=lua to
get the On Screen Controller.

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-10-28 Thread wabenbau
Am Montag, 27.10.2014 um 23:00
schrieb Marc Joliet mar...@gmx.de:

[...]
  [...]  Are
  all the smart people switching from mplayer to mplayer2? [...]
 
 FWIW, I switched to mpv after using mplayer2 for a while.  See
 https://github.com/mpv-player/mpv/blob/master/DOCS/man/changes.rst
 for a comparison between mpv and mplayer (and mplayer2).  For
 example, on-screen text (like subtitles, or the position when
 pressing P) is rendered using libass, which looks *so* much better
 than mplayer or mplayer2, or the addition of an on-screen display
 (using the new support for Lua scripting), and lots more. Oh, and
 both mplayer2 and mpv won't unpause when you change the window size.
 
 Perhaps you will, like me, see no reason for using mplayer after
 having gone through that document and/or trying out mpv ;) .
[...]

After I read your mail, I tried mpv. It really works perfect. Video
playback of HD-videos is smoother on my machine and also some other
functions (e.g. toggling deinterlacing, switching audio language) are
working much better than with mplayer/mplayer2.

I was a mplayer/mplayer2 user for many many years but now I'm
converted. ;-)

Regards
wabe



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-10-28 Thread Frank Steinmetzger
On Mon, Oct 27, 2014 at 11:00:46PM +0100, Marc Joliet wrote:

 Old thread, I know, but I was without internet for about 2 months due to a 
 move.

  [...]  Are
  all the smart people switching from mplayer to mplayer2? [...]

 FWIW, I switched to mpv after using mplayer2 for a while.  See
 https://github.com/mpv-player/mpv/blob/master/DOCS/man/changes.rst for a
 comparison between mpv and mplayer (and mplayer2). […]

Another thank-you-mail here.

 Perhaps you will, like me, see no reason for using mplayer after having gone
 through that document and/or trying out mpv ;) .

It took me maybe an hour to read through the manpage and migrate my mplayer
settings, but mpv looks really great. Plus its install footprint is only 3
megs instead of 20 (including debug stuff).

I was virtually an mplayer-only-user ever since I switched to linux. I tried
mplayer2 long ago, but ditched it (I think due to the lack of mencoder).
Recently I had been using vlc for playback with complex subtitles in Japanese
anime series, but otherwise actually liked mplayer 1’s subtitle output, b/c
it allowed for subs to be shown in the black margins below the video in
fullscreen mode.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The advantage of RSS jokes is that you always know the newest one.


signature.asc
Description: Digital signature


Re: [gentoo-user] i965 (Valley View) video acceleration

2014-10-27 Thread Marc Joliet
Old thread, I know, but I was without internet for about 2 months due to a move.

Am Tue, 9 Sep 2014 20:11:09 -0700
schrieb Grant emailgr...@gmail.com:

 [...]  Are
 all the smart people switching from mplayer to mplayer2? [...]

FWIW, I switched to mpv after using mplayer2 for a while.  See
https://github.com/mpv-player/mpv/blob/master/DOCS/man/changes.rst for a
comparison between mpv and mplayer (and mplayer2).  For example, on-screen text
(like subtitles, or the position when pressing P) is rendered using libass,
which looks *so* much better than mplayer or mplayer2, or the addition of an
on-screen display (using the new support for Lua scripting), and lots more. Oh,
and both mplayer2 and mpv won't unpause when you change the window size.

Perhaps you will, like me, see no reason for using mplayer after having gone
through that document and/or trying out mpv ;) .

(Perusing through the aforementioned link, I see that mpv added a replacement
for mencoder, which mplayer2 lacks, IIRC. The referenced sections refer to man
page sections.)

HTH
-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] i965 (Valley View) video acceleration

2014-10-11 Thread Grant
 When you get a chance, I'd be interested to know which opengl package
 has vaapi/vdpau USE and also your output for:

 # eselect opengl list

 - Grant


 Hi Grant,

 I haven't forgotten, just been really busy with work.

 Here's some info -


[snip]

Thank you Daniel, all is working now.

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-18 Thread Daniel Frey
On 09/11/2014 10:34 AM, Grant wrote:
 When you get a chance, I'd be interested to know which opengl package
 has vaapi/vdpau USE and also your output for:
 
 # eselect opengl list
 
 - Grant
 

Hi Grant,

I haven't forgotten, just been really busy with work.

Here's some info -

Card:

00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7
(rev 0c)
Subsystem: Intel Corporation Device 2055
Kernel driver in use: i915


opengl  mesa:

~ # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
~ # eselect mesa list
i915 (Intel 915, 945)
  [1]   classic
  [2]   gallium *
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic
  [2]   gallium *

USE flags:
USE=-ldap -ipv6 -gnome -kde X lirc python mmx sse sse2 ssse3 sse3 sse4
sse4_1 sse4_2 aac alsa mp3 rtmp vorbis x264 xvid threads theora vaapi
libass opengl flac mad jpeg png gif xv mpeg qt3support cec dvd ass
consolekit

Some installed versions:
# equery list opengl mesa ffmpeg
 * Searching for opengl ...
[IP-] [  ] virtual/opengl-7.0-r1:0

 * Searching for mesa ...
[IP-] [  ] media-libs/mesa-10.0.4:0

 * Searching for ffmpeg ...
[IP-] [  ] media-video/ffmpeg-1.2.6-r1:0

# emerge -pv opengl mesa ffmpeg mplayer2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] media-libs/mesa-10.0.4  USE=classic egl gallium llvm
nptl -bindist -debug -gbm -gles1 -gles2 -llvm-shared-libs -opencl
-openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau
-wayland -xa -xvmc ABI_X86=(64) (-32) (-x32) VIDEO_CARDS=intel
(-freedreno) -i915 -i965 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon
-radeonsi -vmware 0 kB
[ebuild   R] virtual/opengl-7.0-r1  ABI_X86=(64) (-32) (-x32) 0 kB
[ebuild   R] media-video/ffmpeg-1.2.6-r1  USE=X aac alsa bzip2
encode hardcoded-tables iconv libass mmx mp3 network rtmp sdl ssse3
theora threads truetype vaapi vorbis x264 xvid zlib -3dnow -3dnowext
-aacplus (-altivec) -amr -avx -bindist -bluray -cdio (-celt)
-cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig
-frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libcaca -libsoxr
-libv4l -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic
-pulseaudio -schroedinger -speex -static-libs {-test} -twolame -v4l
-vdpau (-vis) -vpx ABI_X86=(64) (-32) (-x32) FFTOOLS=aviocat cws2fws
ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart
trasher 0 kB
[ebuild   R] media-video/mplayer2-2.0_p20130126  USE=X a52 alsa
cdio dts dv dvd dvdnav enca faad gif iconv jpeg lcms libass lirc mad mmx
mng mp3 network opengl png postproc rar rtc sdl shm speex sse sse2 ssse3
theora unicode vorbis xscreensaver xv xvid -3dnow -3dnowext (-altivec)
(-aqua) -bluray -bs2b -cddb -cpudetection -debug -directfb -doc -dvb
-fbcon -ftp -ipv6 -jack -joystick -ladspa -libcaca -md5sum -mmxext -nut
-oss -pnm -portaudio -pulseaudio -pvr -quvi -radio -samba (-selinux)
-symlink -tga -v4l -vcd -vdpau -xanim -xinerama -yuv4mpeg 0 kB

# uname -a
Linux htpcbedroom 3.14.14-gentoo #3 SMP Sat Aug 30 14:51:20 PDT 2014
x86_64 Intel(R) Celeron(R) CPU N2820 @ 2.13GHz GenuineIntel GNU/Linux

As you can see, ffmpeg is built with vaapi and threading support. I'm
pretty sure mplayer2 uses ffmpeg. I also seem to remember kernels 3.13
are required, as is mesa 9.2 (in the case of the NUC.)

I don't remember why I switched to mplayer2 now, but quite a while back
I was having a problem with mplayer and someone on IRC somewhere said to
try mplayer2. It solved whatever issue I had and I've been using it
since. Wish I could remember what it was though...

As I said, CPU usage as reported by top while playing 1080p with
mplayer2 was 80-90% so it must be doing it on the CPU. I tried playing a
1080i recording with mplayer with 5 channel audio and it takes 5-10%. I
know for sure xbmc and mythtv are using vaapi and it works beautifully.


Dan



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-18 Thread Daniel Frey
On 09/11/2014 10:34 AM, Grant wrote:
 When you get a chance, I'd be interested to know which opengl package
 has vaapi/vdpau USE and also your output for:
 

Argh! My last post to the list - I played the 1080i with 5 channel audio
(using 5-10%) with _mythtv_ not mplayer2.

Dan




Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-11 Thread Grant
 Daniel, no rush, but I'm still curious how you got mplayer2
 accelerating.  I tried everything up to mplayer2- with -vo gl but
 no accel.


 Hi Grant,

 Now that I think about it, I think that maybe mplayer2 wasn't
 accelerating. If it was, it was because opengl was built with
 vaapi/vdpau support.

 It's possible that the N2820 in the NUC is powerful enough to do 1080p
 on the CPU without acceleration, and now that I think about it, i
 believe CPU usage was 80-90% - but I am also certain that the N2820 is
 an integrated CPU/GPU...

 I have to run off again. Hopefully tomorrow or Friday for sure I can
 look into it. Sorry for the delay... Work is hell right now :-(


When you get a chance, I'd be interested to know which opengl package
has vaapi/vdpau USE and also your output for:

# eselect opengl list

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-11 Thread Grant
 No luck.  Weird.  It's working in xbmc so I can't be far off.  What
 could I be missing?


 Sorry I've been crazy busy. I hope tomorrow I'll have some time to power
 up the NUC and check some settings.

 I'll get the USE flags and my /etc/portage/package.use if I have one,
 the profile I'm using and perhaps some versions of software I have
 installed.


 It turns out xbmc and vlc support both vdpau and vaapi.  mplayer
 supports vdpau and also vaapi via libvdpau-va-gl (x11 overlay).  I
 haven't installed mplayer2 but it sounds like it supports vaapi.  Are
 all the smart people switching from mplayer to mplayer2?  For me: xbmc
 accelerates, vlc does not, mplayer claims it's accelerating via vdpau
 in the console output but all I get is a black window.  Have you tried
 vlc?


 Just got mplayer accelerating.  I needed to upgrade from
 libvdpau-va-gl-0.3.4 to libvdpau-va-gl-.  vlc is still a mystery.


I got vlc accelerating by upgrading from libva-intel-driver-1.3.0 to
1.3.2 and launching vlc like this:

$ vlc --avcodev-hw=vaapi

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-10 Thread Grant
 No luck.  Weird.  It's working in xbmc so I can't be far off.  What
 could I be missing?


 Sorry I've been crazy busy. I hope tomorrow I'll have some time to power
 up the NUC and check some settings.

 I'll get the USE flags and my /etc/portage/package.use if I have one,
 the profile I'm using and perhaps some versions of software I have
 installed.


 It turns out xbmc and vlc support both vdpau and vaapi.  mplayer
 supports vdpau and also vaapi via libvdpau-va-gl (x11 overlay).  I
 haven't installed mplayer2 but it sounds like it supports vaapi.  Are
 all the smart people switching from mplayer to mplayer2?  For me: xbmc
 accelerates, vlc does not, mplayer claims it's accelerating via vdpau
 in the console output but all I get is a black window.  Have you tried
 vlc?


Just got mplayer accelerating.  I needed to upgrade from
libvdpau-va-gl-0.3.4 to libvdpau-va-gl-.  vlc is still a mystery.

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-10 Thread Grant
 No luck.  Weird.  It's working in xbmc so I can't be far off.  What
 could I be missing?


 Sorry I've been crazy busy. I hope tomorrow I'll have some time to power
 up the NUC and check some settings.

 I'll get the USE flags and my /etc/portage/package.use if I have one,
 the profile I'm using and perhaps some versions of software I have
 installed.


 It turns out xbmc and vlc support both vdpau and vaapi.  mplayer
 supports vdpau and also vaapi via libvdpau-va-gl (x11 overlay).  I
 haven't installed mplayer2 but it sounds like it supports vaapi.  Are
 all the smart people switching from mplayer to mplayer2?  For me: xbmc
 accelerates, vlc does not, mplayer claims it's accelerating via vdpau
 in the console output but all I get is a black window.  Have you tried
 vlc?


 Just got mplayer accelerating.  I needed to upgrade from
 libvdpau-va-gl-0.3.4 to libvdpau-va-gl-.  vlc is still a mystery.


Daniel, no rush, but I'm still curious how you got mplayer2
accelerating.  I tried everything up to mplayer2- with -vo gl but
no accel.

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-10 Thread Daniel Frey
On 09/10/2014 11:28 AM, Grant wrote:
 
 Daniel, no rush, but I'm still curious how you got mplayer2
 accelerating.  I tried everything up to mplayer2- with -vo gl but
 no accel.
 

Hi Grant,

Now that I think about it, I think that maybe mplayer2 wasn't
accelerating. If it was, it was because opengl was built with
vaapi/vdpau support.

It's possible that the N2820 in the NUC is powerful enough to do 1080p
on the CPU without acceleration, and now that I think about it, i
believe CPU usage was 80-90% - but I am also certain that the N2820 is
an integrated CPU/GPU...

I have to run off again. Hopefully tomorrow or Friday for sure I can
look into it. Sorry for the delay... Work is hell right now :-(

Dan




Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-09 Thread Daniel Frey
On 09/08/2014 03:02 PM, Grant wrote:
 
 No luck.  Weird.  It's working in xbmc so I can't be far off.  What
 could I be missing?
 

Sorry I've been crazy busy. I hope tomorrow I'll have some time to power
up the NUC and check some settings.

I'll get the USE flags and my /etc/portage/package.use if I have one,
the profile I'm using and perhaps some versions of software I have
installed.

Dan




Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-09 Thread Grant
 No luck.  Weird.  It's working in xbmc so I can't be far off.  What
 could I be missing?


 Sorry I've been crazy busy. I hope tomorrow I'll have some time to power
 up the NUC and check some settings.

 I'll get the USE flags and my /etc/portage/package.use if I have one,
 the profile I'm using and perhaps some versions of software I have
 installed.


It turns out xbmc and vlc support both vdpau and vaapi.  mplayer
supports vdpau and also vaapi via libvdpau-va-gl (x11 overlay).  I
haven't installed mplayer2 but it sounds like it supports vaapi.  Are
all the smart people switching from mplayer to mplayer2?  For me: xbmc
accelerates, vlc does not, mplayer claims it's accelerating via vdpau
in the console output but all I get is a black window.  Have you tried
vlc?

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-08 Thread Grant
 I can't seem to get video acceleration working on my Gigabyte Brix
 2807 device which lspci identifies as Valley View.  1080p playback is
 still stuttery.  I've tried every trick I know and Googled a lot.
 Could anyone throw me some suggestions?


 What kernel are you running? I had this problem initially with my NUC -
 I updated to gentoo-sources:3.14.14, enabled the vaapi thread globally,
 rebuilt, and forced mplayer2 to use opengl (-vo gl).

 After that, I am even able to play 1080p with no glitches.

 Apparently Intel made a lot of enhancements to the intel in-kernel
 driver with the 3.14 series.


Acceleration is now working in xbmc but still not in vlc or mplayer.
I'm recompiling some things and I'll report back.

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-08 Thread Grant
 I can't seem to get video acceleration working on my Gigabyte Brix
 2807 device which lspci identifies as Valley View.  1080p playback is
 still stuttery.  I've tried every trick I know and Googled a lot.
 Could anyone throw me some suggestions?


 What kernel are you running? I had this problem initially with my NUC -
 I updated to gentoo-sources:3.14.14, enabled the vaapi thread globally,
 rebuilt, and forced mplayer2 to use opengl (-vo gl).

 After that, I am even able to play 1080p with no glitches.

 Apparently Intel made a lot of enhancements to the intel in-kernel
 driver with the 3.14 series.


 Acceleration is now working in xbmc but still not in vlc or mplayer.
 I'm recompiling some things and I'll report back.


No luck.  Weird.  It's working in xbmc so I can't be far off.  What
could I be missing?

- Grant



[gentoo-user] i965 (Valley View) video acceleration

2014-09-07 Thread Grant
I can't seem to get video acceleration working on my Gigabyte Brix
2807 device which lspci identifies as Valley View.  1080p playback is
still stuttery.  I've tried every trick I know and Googled a lot.
Could anyone throw me some suggestions?

- Grant



Re: [gentoo-user] i965 (Valley View) video acceleration

2014-09-07 Thread Daniel Frey
On 09/07/2014 09:25 PM, Grant wrote:
 I can't seem to get video acceleration working on my Gigabyte Brix
 2807 device which lspci identifies as Valley View.  1080p playback is
 still stuttery.  I've tried every trick I know and Googled a lot.
 Could anyone throw me some suggestions?
 

What kernel are you running? I had this problem initially with my NUC -
I updated to gentoo-sources:3.14.14, enabled the vaapi thread globally,
rebuilt, and forced mplayer2 to use opengl (-vo gl).

After that, I am even able to play 1080p with no glitches.

Apparently Intel made a lot of enhancements to the intel in-kernel
driver with the 3.14 series.

Dan