Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Poor Gentoo performance with 4K video - Galaxy S5 is better
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Mon Jul 06, 2015 7:54 am    Post subject: Poor Gentoo performance with 4K video - Galaxy S5 is better Reply with quote

Hi

I use i5 Intel + nvidia 1GB + 8GB ram and I realized, when play 4K video (by Mplayer) is unwatchable - I have only few FPS (even my screen size is only 1600x900, so 1GB Nvidia should manage). In compare my Galaxy S5 play 4K video smoothly on Full HD screen...

I use ~amd64 Gentoo with the newest driver.

Code:
# cat /proc/mtrr
reg00: base=0x000000000 (    0MB), size= 8192MB, count=1: write-back
reg01: base=0x200000000 ( 8192MB), size= 1024MB, count=1: write-back
reg02: base=0x0cb800000 ( 3256MB), size=    8MB, count=1: uncachable
reg03: base=0x0cc000000 ( 3264MB), size=   64MB, count=1: uncachable
reg04: base=0x0d0000000 ( 3328MB), size=  256MB, count=1: uncachable
reg05: base=0x0e0000000 ( 3584MB), size=  512MB, count=1: uncachable
reg06: base=0x22fe00000 ( 8958MB), size=    2MB, count=1: uncachable
reg07: base=0x230000000 ( 8960MB), size=  256MB, count=1: uncachable


Code:
# emerge --info
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.20-r2, 4.1.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.1.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8080124 total,   4219824 free
KiB Swap:    9767484 total,   9767484 free
Timestamp of repository gentoo: Mon, 06 Jul 2015 07:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo                                                                                                                                                 
    location: /usr/portage                                                                                                                             
    sync-type: rsync                                                                                                                                   
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/video/tmp"
USE="X a52 aac acl acpi aes alsa amd64 avx berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus declarative demosaic djvu dri dts dv dvd dvdr ebook embedded emboss encode exif fam ffmpeg firefox flac fortran frei0r gdbm gde gif glamor gles2 gpm gtk iconv icu ios ipv6 java jpeg kde kdenlive kipi lcms ldap libkms libnotify lm_sensors mad melt minizip mlt mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ogg ois opengl openmp opus pam pango pcre pcre16 pdf phonon plasma png policykit popcnt ppds qt3support qt4 readline reports scanner script sdl semantic-desktop session smp sna soprano spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd threads tiff tools truetype udev udisks unicode upower usb uxa vaapi vcd vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xmp xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Dorsai!
Apprentice
Apprentice


Joined: 27 Jul 2008
Posts: 285
Location: Bavaria

PostPosted: Mon Jul 06, 2015 8:48 am    Post subject: Reply with quote

Hello,

Did you try to use vo=vdpau with mplayer? Are you using any frontend (smplayer for example)?
What format is this 4k video in? H.264?

Normally (depending on the video card) your hardware should be more than capable of decoding 4k resolutions when the GPU is used, but decoding in CPU alone can be quite taxing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Mon Jul 06, 2015 9:22 am    Post subject: Reply with quote

Xywa,

Code:
VIDEO_CARDS="nvidia intel"
thats the warning sign for an Optimus laptop.
Why do you think the nVidia card is in use?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Jul 08, 2015 3:48 pm    Post subject: Reply with quote

I can use pure Nvidia and Nvidia by Bumblebee - the same. Intel (with -vaapi) was much better for me, but Mplayer2 is dead project now and there is still no suport Maplayer with -vaapi in Gentoo. I was trying to change Nvidia X server settings, but still the same. Even Full HD in 60fps play terrible, freeze, lost audio sync. Dargon Plaer or VLC are even worst.

Maybe my hardware is too old? I have Intel Core-TM-_i5-2450M_CPU_@_2.50GH + Nvidia + NVIDIA Corporation [GeForce GT 630M] 1GB.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Wed Jul 08, 2015 4:47 pm    Post subject: Reply with quote

Xywa,

The hardware design prevents you using "pure nVidia" as the nVidia graphics has no connection to the display surface.
When nVidia is in use for rendering the image, the intel graphics is still used to update the display.
Updating the display is a trivial task for any GPU, so we can rule that out.

Your hardware is more that capable of HD graphics rendering. I would be surprised if it could not do 4k too.

What format is your 4k video in and why do you think the nVidia GPU is doing the rendering?

Can we see your xorg.conf please?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Wed Jul 08, 2015 5:00 pm    Post subject: Reply with quote

vlc is not an option?
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Jul 08, 2015 5:06 pm    Post subject: Reply with quote

Bellow file info and xorg.conf

Code:
$ ffmpeg -i Downloads/20150324_132929.mp4
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Gentoo 4.9.2 p1.5, pie-0.6.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags=' ' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --disable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --enable-libopus --disable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --disable-libvpx --disable-libzvbi --disable-libbs2b --disable-libflite --enable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libaacplus --disable-libfaac --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-avx2 --disable-fma3 --disable-fma4 --disable-xop --cpu=host
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Downloads/20150324_132929.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2015-03-24 13:29:39
  Duration: 00:00:09.28, start: 0.000000, bitrate: 47520 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 3840x2160, 47851 kb/s, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2015-03-24 13:29:39
      handler_name    : VideoHandle
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 249 kb/s (default)
    Metadata:
      creation_time   : 2015-03-24 13:29:39
      handler_name    : SoundHandle


Code:
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    # e.g. BusID "PCI:1:0:0"
    Option "ConnectedMonitor" "CRT-0"
    Option "CustomEDID" "CRT-0:/lib/firmware/edid/1920x1080_Clevo_W670SR.bin"
    Option "UseEDID" "True"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    Option "CustomEDID" "CRT-0:/lib/firmware/edid/1920x1080_Clevo_W670SR.bin"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Wed Jul 08, 2015 5:16 pm    Post subject: Reply with quote

Is direct rendering working?

Code:
glxinfo |grep Yes
direct rendering: Yes
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Wed Jul 08, 2015 5:31 pm    Post subject: Reply with quote

Xywa,

xorg.conf looks good. You have a set of custom EDID data. That should be visible in /var/log/Xorg.0.log.
Can you pastebin that file after you have attempted to play the video please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Jul 08, 2015 6:39 pm    Post subject: Reply with quote

Code:
$ glxinfo |grep Yes
direct rendering: Yes


Pastebin:
http://pastebin.com/FpDsvE3A

Maybe Mplayer info during watching will be useful? I have no idea how to swich messages into English language - but the info says, your computer is too slow...
Code:
$ mplayer Downloads/20150324_132929.mp4
MPlayer SVN-r37373 (Gentoo)-4.9.2 (C) 2000-2015 MPlayer Team

Odtwarzam Downloads/20150324_132929.mp4.
libavformat version 56.36.100 (external)
Wykryto format pliku libavformat.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  3840x2160  24bpp  30.000 fps  47851.6 kbps (5841.3 kbyte/s)
Informacje o klipie:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2015-03-24 13:29:39
Load subtitles in Downloads/
==========================================================================
Otwieram dekoder video: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.41.100 (external)
Wybrany kodek video: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Otwieram dekoder audio: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 249.0 kbit/8.11% (ratio: 31130->384000)
Wybrany kodek audio: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Odtwarzam...
Format filmu nie zdefiniowany - nie stosuję zmiany formatu.
VO: [vdpau] 3840x2160 => 3840x2160 Planar YV12
A:   3.8 V:   1.7 A-V:  2.163 ct:  0.167   0/  0 178% 19% 13.6% 50 0


           ************************************************
           ********* Twój komputer jest za słaby ! ********
           ************************************************

Prawdopodobne przyczyny, problemy, rozwiązania:
- Najczęściej: wadliwe/błędne sterowniki _audio_
  - Spróbuj -ao sdl lub użyj emulacji OSS w ALSA.
  - Poeksperymentuj z różnymi wartościami -autosync, '30' to dobry początek.
- Wolne odtwarzanie obrazu
  - Spróbuj innego sterownika -vo (lista: -vo help) lub spróbuj -framedrop!
- Wolny procesor
  - Nie próbuj odtwarzać dużych DVD/filmów DivX na wolnym procesorze! spróbuj lavdopts,
    np. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Zepsuty plik
  - Spróbuj różnych kombinacji -nobps -ni -forceidx -mc 0.
- Wolne źródło (zasoby NFS/SMB , DVD, VCD itp)
  - Spróbuj -cache 8192.
- Czy używasz opcji -cache do odtwarzania plików AVI bez przeplotu?
  - Spróbuj -nocache.
Zobacz DOCS/HTML/en/video.html, znajdziesz tam wskazówki jak przyspieszyć odtwarzanie.
Jeśli nie znalazłeś nic pomocnego zobacz DOCS/HTML/en/bugreports.html.

A:   9.5 V:   4.4 A-V:  5.178 ct:  0.311   0/  0 182% 17% 14.5% 127 0

Wychodzę... (Wyjście)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Wed Jul 08, 2015 8:10 pm    Post subject: Reply with quote

Xywa,

/var/log/Xorg.0.log:
[    42.535] (II) NVIDIA(0): NVIDIA GPU GeForce GT 630M (GF108) at PCI:1:0:0 (GPU-0)


Looking up a GT 630M, the nVidia site says
Code:
Display Support:
Maximum Digital Resolution Up to 2560x1600
Maximum VGA Resolution Up to 2048x1536

Your hardware does not support 4k.

This probably means that the GPU cannot decode it as it won't fit in the pixel buffer, so it all falls back on the CPU to decode and downsample to something that the GPU can use.
The CPU can't do it in real itime ....

How long does it take to transcode to a lower resolution?
I suspect that at 2560x1600 or less, the GPU will do the decoding.as you would expect.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hephooey
n00b
n00b


Joined: 24 Feb 2003
Posts: 74

PostPosted: Wed Jul 08, 2015 9:23 pm    Post subject: Reply with quote

Xywa wrote:

Maybe Mplayer info during watching will be useful? I have no idea how to swich messages into English language - but the info says, your computer is too slow...
Code:
$ mplayer Downloads/20150324_132929.mp4

==========================================================================
Otwieram dekoder video: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.41.100 (external)
Wybrany kodek video: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Otwieram dekoder audio: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 249.0 kbit/8.11% (ratio: 31130->384000)
Wybrany kodek audio: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Odtwarzam...
Format filmu nie zdefiniowany - nie stosuję zmiany formatu.
VO: [vdpau] 3840x2160 => 3840x2160 Planar YV12
A:   3.8 V:   1.7 A-V:  2.163 ct:  0.167   0/  0 178% 19% 13.6% 50 0


I have not used mplayer for a while now so this might be outdated, but from the output, you are using vdpau video output, and still using the software based codec (ffh264). In the old days you need to specify vc=ffh264vdpau to use the vdpau codec. Not sure if it is more automatic now, I guess you can try it anyway. But you might still run into the resolution limit NeddySeagoon was talking about.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Jul 08, 2015 10:36 pm    Post subject: Reply with quote

Many thanks lads! This did the trick -> vc=ffh264vdpau

4K is to big for this vdpau codec so mplayer cannot run with this codec, but e.g. HD movies with 60fps FINALLY I can play smoothly (as I could not before, only 30fps were fine).
:P 8) 8) 8) 8) :P :P :P

This is my ~/.mplayer/config file:
Code:
##################
# video settings #
##################

# Specify default video driver (see -vo help for a list).
vo=vdpau


############
# Profiles #
############

# The options declared as part of profiles override global default settings,
# but only take effect when the profile is active.

[vo.vdpau]
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,
# Most video filters do not work with vdpau.
vf-clr=yes
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Jul 09, 2015 3:25 pm    Post subject: Reply with quote

You do know mplayer has been superseded by mpv, right?
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Jul 09, 2015 5:16 pm    Post subject: Reply with quote

Buffoon wrote:
You do know mplayer has been superseded by mpv, right?


No? What is mpv? I am old fashion Gentoo user (10 years now ) so I am not clever with any news as longs as things works fine.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Jul 09, 2015 6:26 pm    Post subject: Reply with quote

https://packages.gentoo.org/package/media-video/mpv

This is the mplayer successor, it is under active development.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Jul 09, 2015 8:32 pm    Post subject: Reply with quote

Buffoon wrote:
https://packages.gentoo.org/package/media-video/mpv

This is the mplayer successor, it is under active development.


How to use it? To have the same options (vdpau) as in posts above? {just compiling it}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum