Is it drivers /What?

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)

Hi,
its a pc"Desktop computer"


sudo lspci | grep VGA


01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)



zypper lr -d


Repository priorities are without effect. All enabled repositories share the same priority.


#  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                               | Service
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------------------------+--------
 1 | Tehuti                              | Tehuti                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Leap_42.3_Update/ |        
 2 | VLC                                 | VLC                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Leap_42.3                                               |        
 3 | download.nvidia.com-leap            | nVidia Graphics Drivers                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/42.3                                                    |        
 4 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                                 |        
 5 | download.opensuse.org-non-oss_1     | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                                            |        
 6 | download.opensuse.org-oss           | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                                     |        
 7 | download.opensuse.org-oss_1         | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss                                                 |        
 8 | google-chrome                       | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                               |        
 9 | http-download.opensuse.org-088d04c7 | openSUSE:Leap:42.3:Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.3:/Update/standard/                  |        
10 | http-download.opensuse.org-0d980c81 | home:Ronis_BR                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Ronis_BR/openSUSE_Leap_42.3/                      |        
11 | http-download.opensuse.org-52b1bea5 | multimedia:libs                         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_42.3/                    |        
12 | http-download.opensuse.org-f7a81f3a | multimedia:apps                         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Leap_42.3/                    |        
13 | http-download.videolan.org-3dd7819f | SuSE                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.videolan.org/SuSE/Leap_42.3/                                                      |        
14 | openSUSE-Leap-42.3-0                | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Fit_4C530005971210122031-0:0-part2               |        
15 | opensuse-guide.org-repo             | Libdvdcss Repository                    | No      | ----      | ----    |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.3/                                                |        
16 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                                  |        
17 | repo-debug                          | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                               |        
18 | repo-debug-non-oss                  | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/                           |        
19 | repo-debug-update                   | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                                          |        
20 | repo-debug-update-non-oss           | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                                      |        
21 | repo-source                         | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                              |        
22 | repo-source-non-oss                 | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/                          |        




vdpauinfo
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  390.48  Wed Mar 21 23:47:29 PDT 2018


Video surface:


name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 


Decoder capabilities:


name                        level macbs width height
----------------------------------------------------
MPEG1                           0 65536  4080  4080
MPEG2_SIMPLE                    3 65536  4080  4080
MPEG2_MAIN                      3 65536  4080  4080
H264_BASELINE                  41 65536  4096  4096
H264_MAIN                      41 65536  4096  4096
H264_HIGH                      41 65536  4096  4096
VC1_SIMPLE                      1  8190  2048  2048
VC1_MAIN                        2  8190  2048  2048
VC1_ADVANCED                    4  8190  2048  2048
MPEG4_PART2_SP                  3  8192  2048  2048
MPEG4_PART2_ASP                 5  8192  2048  2048
DIVX4_QMOBILE                   0  8192  2048  2048
DIVX4_MOBILE                    0  8192  2048  2048
DIVX4_HOME_THEATER              0  8192  2048  2048
DIVX4_HD_1080P                  0  8192  2048  2048
DIVX5_QMOBILE                   0  8192  2048  2048
DIVX5_MOBILE                    0  8192  2048  2048
DIVX5_HOME_THEATER              0  8192  2048  2048
DIVX5_HD_1080P                  0  8192  2048  2048
H264_CONSTRAINED_BASELINE      41 65536  4096  4096
H264_EXTENDED                  41 65536  4096  4096
H264_PROGRESSIVE_HIGH          41 65536  4096  4096
H264_CONSTRAINED_HIGH          41 65536  4096  4096
H264_HIGH_444_PREDICTIVE       41 65536  4096  4096
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---


Output surface:


name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 


Bitmap surface:


name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384


Video mixer:


feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -


parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4


attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  




vainfo
If 'vainfo' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf vainfo



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:

zypper dup --from http://packman.inode.at/suse/openSUSE_Leap_42.3/

PS:
VLC is twice in your list, so don’t forget the second to delete.

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 ?

The X11 Package from Nvidia is missing?
https://download.nvidia.com/opensuse/leap/42.3/x86_64/x11-video-nvidiaG04-390.48-6.1.x86_64.rpm

Hi,
tried installing the mentioned package , surprisingly its says package already installed and the highest version.
what could be the alter solution here?

You have enabled vdpau as Output in your Player?

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,

Decoder capabilities:


name                        level macbs width height
----------------------------------------------------
MPEG1                           0 65536  4080  4080
MPEG2_SIMPLE                    3 65536  4080  4080
MPEG2_MAIN                      3 65536  4080  4080
H264_BASELINE                  41 65536  4096  4096
H264_MAIN                      41 65536  4096  4096
H264_HIGH                      41 65536  4096  4096
VC1_SIMPLE                      1  8190  2048  2048
VC1_MAIN                        2  8190  2048  2048
VC1_ADVANCED                    4  8190  2048  2048
MPEG4_PART2_SP                  3  8192  2048  2048
MPEG4_PART2_ASP                 5  8192  2048  2048
DIVX4_QMOBILE                   0  8192  2048  2048
DIVX4_MOBILE                    0  8192  2048  2048
DIVX4_HOME_THEATER              0  8192  2048  2048
DIVX4_HD_1080P                  0  8192  2048  2048
DIVX5_QMOBILE                   0  8192  2048  2048
DIVX5_MOBILE                    0  8192  2048  2048
DIVX5_HOME_THEATER              0  8192  2048  2048
DIVX5_HD_1080P                  0  8192  2048  2048
H264_CONSTRAINED_BASELINE      41 65536  4096  4096
H264_EXTENDED                  41 65536  4096  4096
H264_PROGRESSIVE_HIGH          41 65536  4096  4096
H264_CONSTRAINED_HIGH          41 65536  4096  4096
H264_HIGH_444_PREDICTIVE       41 65536  4096  4096
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

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

zypper up

yes ,i did , what cpu consumption gets to the tops whenever i play a video then?

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.


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.48  (buildmeister@swio-display-x86-rhel47-07)  Thu Mar 22 01:07:32 PDT 2018




Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection


Section "Files"
EndSection


Section "InputDevice"


    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    Option         "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"


    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection


Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection


Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



nvidia-xconfig is not the best choice, also xorg.conf is also not the best choice and depreciated.

I do not use both.

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

what do you use instead ?
what do you advice me to use in my case with two monitors ?

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 ?

I only use nvidia-settings without using a xorg.conf.
Also I do not use kscreen (systemsettings5 to configure the X)

And for me, I have nothing to do to get my 2 Monitors working.