Hi Folks , #1 whenever i play a video the"i7 6700k with water cooling" all cores jumps above 50 , correct and guid me please , if am using the gpu accelration then the cpu should not be involved here right ? even though why that much of cpu,my vlc settings are output “VDPAU output” and Hardware -accelerated decoding to “VPAU video decoder”
nvidia driver for my GTX9700 overcooking edition from the nvidia community repo + libgstvdpau + libva-vdpau-driver + libvdpau-devel + libvdpau1 + libvdpau_trace1 + vlc-vdpau + libvdpau_va_gl1 + vlc-codecs
#2 same hardware on debian 9 why do i get better graphics/ i just can feel it , i get better colores and general feelings over texts / i can set for houres and my eyes are ok , but now with leap my eyes hurts too and general feels so so if you compare.
#3 even the pc is idle the cpu will be runing a lot , tryed to figure out what process is consuming power which i did not find any , just cpu will keep working , with debian 9 i do not face such issue , why do you think so ? and how to optimize my pc for bet performance .
#4 i have already a cpupower.service make all cpu cores run on performance gov, beside this what can you do to tweak the whole pc , which i use to experiment code opening multiple session on IDE same time plus render media too.
Many thanks.
we need some more info before we can give real advice
like is that a laptop or a desktop, if a laptop does it have an external graphic card
sudo lspci | grep VGA
you mention vdpau but intel gpu’s use libvdpau-va-gl to redirect vdpau to vaapi so you’d be better off selecting va-api as the preferred renderer but if you’re using a discrete nvidia or ati card vdpau is a better choice
you should also tell us your repo list
zypper lr -d
another thing to consider is what video formats your graphic card supports so try running
vdpauinfo
or
vainfo
to see the video formats your graphic card can decode if for example you’re playing h265 and your gfx does not support h265 then h265 decoding will be done in software and unfortunately there was a compiler issue with packman and a few multimedia libraries wore compiled without extended instruction set support http://lists.links2linux.de/pipermail/packman/2018-March/015586.html
this has been fixed it’s just a waiting game until the update gets pushed (maybe it has I haven’t checked)
VLC Repo, multimedia:libs Repo and Packman Repo at same time is not a good choice.
I would diable and delete the first two one and only hold Packman.
After that I would switch all installed package to Packman:
vainfo is not installed by default it’s part of the vaapi-tools package
you can get it if you want to
zypper in vaapi-tools
but as you’re on an nvidia device you’re better off using vdpau
as Sauerland said you need to do a full vendor change to the packman repo (your repo #16 is packman)
zypper dup --from 16
you should also consider removing the vlc repo as it contains incomplete and incompatible multimedia packages the multimedia:libs repo has patent restricted packages and should be removed while multimedia:apps has a few applications that are not on packman but they need packman packages like mpc-qt https://software.opensuse.org/package/mpc-qt
or mcomix https://software.opensuse.org/package/mcomix
which is only found on multimedia:apps
Hi ,yes already done that ,
now whenever i play a video as i mentioned earlier using vdpau , the cpu consumtions jumps up , now why would cpu be used at all here while we are using vdpau ?
vainfolibva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib64/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
I saw you had the nvidia repo but did you install the nvidia driver as noveau does not support hardware accelerated decoding what’s the output of
zypper se -si nvidia*
it could be a driver issue or if you’re trying to play h265 or vp9 video (which are not supported by your hardware) the decoding will be done with the cpu
you can use media info to see info about your video
zypper in mediainfo
mediainfo /path/to/your/video
you should also note that not all h264 profiles and levels are supported by your graphic cards
your card supports up to level 4.1 anything above will be decoded by the cpu so check your video with media info to see it’s profile and level https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels
zypper se -si nvidia*Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+---------------------------+---------+----------------------+--------+------------------------
i+ | nvidia-computeG04 | package | 390.48-6.1 | x86_64 | nVidia Graphics Drivers
i+ | nvidia-gfxG04-kmp-default | package | 390.48_k4.4.76_1-6.1 | x86_64 | nVidia Graphics Drivers
i | nvidia-glG04 | package | 390.48-6.1 | x86_64 | nVidia Graphics Drivers
mediainfo Samsung_UHD_Soccer_Barcelona_Atletico_Madrid.ts
General
Complete name : Samsung_UHD_Soccer_Barcelona_Atletico_Madrid.ts
Format : MPEG-4
Format profile : Base Media
Codec ID : iso4 (iso4/hvc1)
File size : 1.24 GiB
Duration : 3 min 52 s
Overall bit rate mode : Variable
Overall bit rate : 45.8 Mb/s
Encoded date : UTC 2014-06-03 22:43:24
Tagged date : UTC 2014-06-03 22:43:24
FileExtension_Invalid : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5.1@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 3 min 51 s
Bit rate : 45.7 Mb/s
Maximum bit rate : 116 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.110
Stream size : 1.23 GiB (100%)
Title : Encoded with IFME v3.2.1.0
Encoded date : UTC 2014-06-03 22:43:24
Tagged date : UTC 2014-06-03 22:43:32
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 67
Duration : 3 min 52 s
Bit rate mode : Variable
Bit rate : 118 kb/s
Maximum bit rate : 143 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 3.26 MiB (0%)
Title : Track 1
Encoded date : UTC 2014-06-03 22:43:31
Tagged date : UTC 2014-06-03 22:43:32
what do you think i should do to improve graphics experience and cpu power ?
Hi,
tried installing the mentioned package , surprisingly its says package already installed and the highest version.
what could be the alter solution here?
your GPU only supports h264 main profiles up to level 4.1 there’s nothing wrong with your pc’s behavior you could re-encode the video with a lower level but you’ll lose on quality and bit rate and time
from your vdpauinfo,
another thing worth mentioning is that because of compiler issues on packman libx264 was build without optimizations and was quite slow but this has been fixed so if you haven’t updated in a while do
all up to date, now how do i get better pixel colors ,i have two monitores pluged to my nvidia , how to get better pixel color and hertez ?
here is my xorg.conf ,and i tried o sudo nvidia-xconfig as well.
better pixel colors is vague you’ll get the colors the video is encoded with as the h264 standard is extremely well defined
your video is at level 5.1 which your gpu does not support but your cpu does your original issue about slow decoding might be due to the old libx264 from packman which wore build without asm support but that was fixed
you might want to calibrate your monitor for that you can try DisplayCAL https://displaycal.net/
but that’s a completely different issue from slow decoding the nvidia-settings tool has a few options to tweak regarding calibration but those are rather rudimentary
about video decoding lets say all ok now ,
but reading text is awful experience ,my eyes hurts ,text seems to be fuzzy not clear to read i have to have “the big eyes look” to read an article .
what settings /tweaks /package should be dealt with ?