[SOLVED] Higher quality video frame drops and blank screens

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] Higher quality video frame drops and blank screens

Postby ItsShowtime » 2019-12-29 18:42

Update: Unsupported packages were installed through unofficial channels. I went through a fresh Debian 10 install as adviced by forum users. At this moment I am still hesitant as to how I should proceed with installing the libcuda package (see comment http://forums.debian.net/viewtopic.php?f=6&t=144757&p=715510&e=715510).

Hi Everyone,

I am experiencing severe issues (frame drops, blank screens...) when playing back high quality videos on my Debian 9 machine.

I am running 64 bit Debian 9 with GNOME 3.22.2 on a desktop computer with 16G RAM, SSD hard drives, an i7-4790K and the GTX 770.

I'm currently using the nvidia 390.116 driver.

You can find the Debug log of a 1 min 2704 x 2028 video @ 60fps played by VLC on the following link: https://mega.nz/#F!7vYTzQCJ!fQvXi9sLIF5qsmMlHe74Zw

Can someone please tell me what the possible issue could be? It is not related to the video player, I tried with many of them. It can hardly be related to video player settings, as I searched for possible config issues and tried everything without success.


Thanks in advance for the help!
Last edited by ItsShowtime on 2020-02-19 11:46, edited 4 times in total.
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21

Re: Higher quality video frame drops and blank screens

Postby stevepusser » 2019-12-29 19:55

Please install mediainfo and post the information it gives for the video.

Your Nvidia card supports hardware accelerated decoding with vdpau, so please tell us what you've done to enable that, and what "vdpauinfo" reports for your machine.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.6, Blender 2.8.2, 5.5 kernels, Chromium with va-api, Telegram-desktop 1.9.21, Clipgrab 3.8.11
User avatar
stevepusser
 
Posts: 11550
Joined: 2009-10-06 05:53

Re: Higher quality video frame drops and blank screens

Postby ItsShowtime » 2020-01-11 16:12

Thank you for the reply!

I feel like an idiot right now, I cannot seem to get mediainfo installed because the installer is behaving really weird.

Let me explain with the output included.

First weird behavior is that te dpkg indicates that my system is amd64 instead of i386, but I thought this was about the phisical processor used in your system (Intel vs AMD) and I use an Intel I7
Code: Select all
root@Desktop:/home/maxim# dpkg -i Downloads/mediainfo-gui_19.09-1_i386.Debian_9.0.deb
dpkg: error processing archive Downloads/mediainfo-gui_19.09-1_i386.Debian_9.0.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 Downloads/mediainfo-gui_19.09-1_i386.Debian_9.0.deb


So I went on with the amd deb package

Second weird behavior is that the dependencies require a version that is way behond the versions I currently run
root@Desktop:/home/maxim# dpkg -i Downloads/mediainfo-gui_19.09-1_amd64.Debian_9.0.deb
Selecting previously unselected package mediainfo-gui.
(Reading database ... 191467 files and directories currently installed.)
Preparing to unpack .../mediainfo-gui_19.09-1_amd64.Debian_9.0.deb ...
Unpacking mediainfo-gui (19.09-1) ...
dpkg: dependency problems prevent configuration of mediainfo-gui:
mediainfo-gui depends on libmediainfo0v5 (>= 19.09); however:
Version of libmediainfo0v5:amd64 on system is 0.7.91-1.
mediainfo-gui depends on libwxbase3.0-0v5 (>= 3.0.2+dfsg); however:
Package libwxbase3.0-0v5 is not installed.
mediainfo-gui depends on libwxgtk3.0-0v5 (>= 3.0.2+dfsg); however:
Package libwxgtk3.0-0v5 is not installed.
mediainfo-gui depends on libzen0v5 (>= 0.4.37); however:
Version of libzen0v5:amd64 on system is 0.4.34-1.

dpkg: error processing package mediainfo-gui (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
mediainfo-gui

apt-get update && apt-get upgrade is not changing anything and apt-get install [dependency_package] states that I am running the latest version
Code: Select all
root@Desktop:/home/maxim# apt-get install libmediainfo0v5Reading package lists... Done
Building dependency tree       
Reading state information... Done
libmediainfo0v5 is already the newest version (0.7.91-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Fourth weird behavior is that apt-get -f install removes the mediainfo package instead of installing the dependencies
Code: Select all
root@Desktop:/home/maxim# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  mediainfo-gui
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 570 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 191489 files and directories currently installed.)
Removing mediainfo-gui (19.09-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...



As for the hardware acceleration.

I have just enabled vdpau in VLC to test again with the same results.

The vdpauinfo output:
Code: Select all
root@Desktop:/home/maxim# vdpauinfo
display: :1   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  390.116  Sun Jan 27 06:28:58 PST 2019

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  4032  4048
MPEG2_SIMPLE                    3 65536  4032  4048
MPEG2_MAIN                      3 65536  4032  4048
H264_BASELINE                  41 65536  4032  4080
H264_MAIN                      41 65536  4032  4080
H264_HIGH                      41 65536  4032  4080
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  4032  4080
H264_EXTENDED                  41 65536  4032  4080
H264_PROGRESSIVE_HIGH          41 65536  4032  4080
H264_CONSTRAINED_HIGH          41 65536  4032  4080
H264_HIGH_444_PREDICTIVE       41 65536  4032  4080
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 



Thanks in advance for your help!
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21

Re: Higher quality video frame drops and blank screens

Postby Head_on_a_Stick » 2020-01-11 16:32

Please post the output of
Code: Select all
apt policy
User avatar
Head_on_a_Stick
 
Posts: 11489
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Higher quality video frame drops and blank screens

Postby ItsShowtime » 2020-01-18 09:23

Please post the output of
Code: Select all
apt policy



Here you go:
Code: Select all
root@Desktop:/home/maxim# apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://linux.teamviewer.com/deb stable/main amd64 Packages
     release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=amd64
     origin linux.teamviewer.com
 500 https://updates.signal.org/desktop/apt xenial/main amd64 Packages
     release o=. xenial,a=xenial,n=xenial,l=. xenial,c=main,b=amd64
     origin updates.signal.org
 500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
     release o=Artifactory,a=public,n=public,l=Artifactory,c=main,b=amd64
     origin downloads.plex.tv
 500 https://mega.nz/linux/MEGAsync/Debian_9.0 ./ Packages
     release o=obs://private/DEB/Debian_9.0,n=Debian_9.0,l=DEB,c=
     origin mega.nz
 500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu eoan/main amd64 Packages
     release v=19.10,o=LP-PPA-graphics-drivers,a=eoan,n=eoan,l=Proprietary GPU Drivers,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 http://files2.eid.belgium.be/debian stretch/main amd64 Packages
     release o=FedICT,a=oldstable,n=stretch,l=FedICT,c=main,b=amd64
     origin files2.eid.belgium.be
 500 http://files.eid.belgium.be/debian stretch/main amd64 Packages
     release o=FedICT,a=oldstable,n=stretch,l=FedICT,c=main,b=amd64
     origin files.eid.belgium.be
 500 http://ftp.be.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin ftp.be.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.be.debian.org/debian stretch/non-free amd64 Packages
     release v=9.11,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=amd64
     origin ftp.be.debian.org
 500 http://ftp.be.debian.org/debian stretch/contrib amd64 Packages
     release v=9.11,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=amd64
     origin ftp.be.debian.org
 500 http://ftp.be.debian.org/debian stretch/main amd64 Packages
     release v=9.11,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.be.debian.org
Pinned packages:


Thanks in advance!
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21

Re: Higher quality video frame drops and blank screens

Postby arzgi » 2020-01-18 11:15

arzgi
 
Posts: 567
Joined: 2008-02-21 17:03
Location: Finland

Re: Higher quality video frame drops and blank screens

Postby stevepusser » 2020-01-18 18:36

To elaborate, you have created an unholy union of various versions of Ubuntu and Debian Stretch, which is why you're having trouble installing even simple applications like mediainfo.

Save your data, dust off, and nuke your system from orbit. It's the only way to be sure.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.6, Blender 2.8.2, 5.5 kernels, Chromium with va-api, Telegram-desktop 1.9.21, Clipgrab 3.8.11
User avatar
stevepusser
 
Posts: 11550
Joined: 2009-10-06 05:53

Re: Higher quality video frame drops and blank screens

Postby ItsShowtime » 2020-02-02 16:40

Hi guys,

I appreciate you informing me on this. However, I think it is important for me to understand what has gone wrong, so I won't make the same mistakes after a complete reinstall.

I assume that I've made a mistake when trying to install the NVIDIA drivers? There are way too many guides on the Internet to get this done that do not work or even **** up your system for good. I've found one guide which I trust a bit more, could you please take a look and let me know if this would be the safe and correct way to get the drivers installed after reimaging my system? You can find the guide through the following URL: https://linuxsuperuser.com/install-nvidia-drivers-debian/

If my assumptions are incorrect, please let me know what you think went wrong, and how I should proceed correctly after reimaging my system.

Thanks again for all the help and insight!
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21

Re: Higher quality video frame drops and blank screens

Postby Head_on_a_Stick » 2020-02-02 17:47

ItsShowtime wrote:I think it is important for me to understand what has gone wrong, so I won't make the same mistakes after a complete reinstall

Did you not bother to read the link kindly provided by arzgi? You really should. Hint: it's not the NVIDIA drivers that caused the problem.
User avatar
Head_on_a_Stick
 
Posts: 11489
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Higher quality video frame drops and blank screens

Postby ItsShowtime » 2020-02-03 09:11

Head_on_a_Stick wrote:
ItsShowtime wrote:I think it is important for me to understand what has gone wrong, so I won't make the same mistakes after a complete reinstall

Did you not bother to read the link kindly provided by arzgi? You really should. Hint: it's not the NVIDIA drivers that caused the problem.


Hi sir,

To be honest, I did read the article. However, if not for the GPU drivers, I assume my mistakes were made when installing TeamViewer, Signal, Plex from the website instead of the official Debian repository.

I will go ahead with the fresh installation.

I will always stick to the Debian repository from now on, keeping the guide in mind with every change I make. I was not aware how bad the consequences could be, I should have read an article like this sooner. Well, no harm done so far, just a bit of lost hours and that's okay :wink:

Thanks again to everyone who responded on this thread!
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21

Re: Higher quality video frame drops and blank screens

Postby ItsShowtime » 2020-02-15 15:57

Hi guys,

First of all thanks again for all the help so far. I did go ahead with the fresh installation and am now running a clean Debian 10 with working GPU drivers. However, I would like to install the libcuda1 package for my GPU driver to support video editing software and am a bit confused on how to proceed because of the weird dependencies.

Since I followed the recommended way of installing the stable drivers for my NVIDIA GTX 770 as described in https://wiki.debian.org/NvidiaGraphicsDrivers, I did not expect the libcuda install to require a different version of NVIDIA drivers etc.

Could someone please take a quick look at the following output, and let me know if there is a safe way for me to proceed the package install? Thanks ahead!

Code: Select all
root@Maxim-Desktop:/home/maxim# apt install libcuda1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcuda1 : Depends: nvidia-alternative (= 418.74-1) but 430.64-4~bpo10+1 is to be installed
            Depends: libnvidia-fatbinaryloader (= 418.74-1) but 430.64-4~bpo10+1 is to be installed
            Recommends: nvidia-kernel-dkms (= 418.74-1) but 430.64-4~bpo10+1 is to be installed or
                        nvidia-kernel-418.74
            Recommends: nvidia-smi but it is not going to be installed
            Recommends: libnvidia-cfg1 (= 418.74-1) but 430.64-4~bpo10+1 is to be installed
            Recommends: libcuda1-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21

Re: Higher quality video frame drops and blank screens

Postby Head_on_a_Stick » 2020-02-15 16:18

You seem to be using the backported version of the NVIDIA drivers so try the backported version of libcuda1 as well.
User avatar
Head_on_a_Stick
 
Posts: 11489
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Higher quality video frame drops and blank screens

Postby stevepusser » 2020-02-15 17:48

If the original playback of HD video problem is fixed, please mark this thread SOLVED in the title of your first post, and start another thread for the unrelated libcuda issue.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.6, Blender 2.8.2, 5.5 kernels, Chromium with va-api, Telegram-desktop 1.9.21, Clipgrab 3.8.11
User avatar
stevepusser
 
Posts: 11550
Joined: 2009-10-06 05:53

Re: Higher quality video frame drops and blank screens

Postby trinidad » 2020-02-16 12:55

Please notice the difference. This is the second post today from a user who is using root from the wrong file path.

Code: Select all
trinidad@debianamd1:~$ su
Password:
root@debianamd1:/home/trinidad# exit
exit
trinidad@debianamd1:~$ su -
Password:
root@debianamd1:~#


TC
You can't believe your eyes if your imagination is out of focus.
trinidad
 
Posts: 115
Joined: 2016-08-04 14:58

Re: Higher quality video frame drops and blank screens

Postby ItsShowtime » 2020-02-19 11:45

stevepusser wrote:If the original playback of HD video problem is fixed, please mark this thread SOLVED in the title of your first post, and start another thread for the unrelated libcuda issue.


DONE


trinidad wrote:Please notice the difference. This is the second post today from a user who is using root from the wrong file path.

Code: Select all
trinidad@debianamd1:~$ su
Password:
root@debianamd1:/home/trinidad# exit
exit
trinidad@debianamd1:~$ su -
Password:
root@debianamd1:~#


TC


Thank you for noticing.
ItsShowtime
 
Posts: 20
Joined: 2019-02-28 14:21


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable