Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I watch 4K video very well on Youtube, but playing 4K movies on my local hard drive is lagged. Can anyone help?
My system is:
Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
SSD 300GB Sata 3
The "4K" and "HD" video on many websites is highly compressed, more than a Blu_Ray would be. Just because it says it is "4K" doesn't mean it has the same bit rate as a true 4K movie. If you downloaded a 4K movie onto your SSD offline it could have a much higher bit rate than anything off of YouTube.
Quote:
but playing 4K movies on my local hard drive is lagged.
SSD 300GB Sata 3
Do you have a spinning hard drive ? You just mention your SSD. There is of course a major speed difference between a spinning HDD and a SSD which could be one explanation.
In the nvidia-settings application it will show how much your GPU is being utilized to play video. I have a feeling that your hardware is too old to play it at that bitrate. Maybe try 10,000-20,000 kbps.
A 4K video I downloaded off Youtube with QMPlay2 had a bit rate of ~18,000 kbps.
What does top show concerning cpu usage?
Last edited by RadicalDreamer; 01-21-2018 at 11:51 PM.
I do not see the indicator of GPU usage in the NVIDIA Control Panel. The CPU usage is about 90% when playing the movie.
90% is a lot. I wonder if cuda is being used. QMPlay2 gives me this under the Information tab while playing a file:
Code:
Video streams:
Stream 1 - CUVID decoder, OpenGL 4.6 CUVID
.
Results from QMPlay2:
A 4k ~18000 kbps bitrate video file utilizes 3% of my GPU with 16% Video Engine Utilization. Top shows about 1-1.6 percent of the CPU is being used by user and about 0.5 to 1.0 by system.
Results from VLC on the same file:
A 4k ~18000 kbps bitrate video file utilizes 9-10% of my GPU with 0% Video Engine Utilization. Top shows about 18-22.5 percent of the CPU is being used by user and about 0.5 to 1.0 by system.
VLC uses 10 times the CPU with VA-API than QMPlay2 uses with CUVID on a recent NVIDIA card.
In the long and short branch drivers the nvidia-settings have a menu with
Code:
X Server Information
X Server Display Configuration
X Screen 0
GPU 0 (name of graphics card)<--this line would have that information if you highlighted it.
Application Profiles
nvidia-settings Configuration
Last edited by RadicalDreamer; 01-22-2018 at 11:13 AM.
No CUVID for you then. Maybe try to set FFmpeg VDPAU Decoder (highlight it and use the arrows to make it first priority) in Playback settings. Maybe try VA-API after that. These things are probably not properly supported for your card. I have an old 9800m gts and QMPlay2 gives similar information for it that you received.
Yes, I have a spinning hard drive, but I put the movies on the SSD. The movie bit rate is about 70000 kb/s.
Then you shouldn't talk about your "local hard drive" if you are using an SSD. A bit rate of 70000 kb/s is more compactly termed 70Mb/s and would be much higher than anything off YouTube. Most desktop environments have a hardware monitor that can show the instantaneous network bit rate as you are watching a "4K" YouTube video. Try this.
A 70Mb/s bit rate seems to be overwhelming your hardware.
Quote:
A 4K video I downloaded off Youtube with QMPlay2 had a bit rate of ~18,000 kbps.
This is what I suspected. 19 Mbps is considered a normal HD bitrate and 4K should have 4X the detail. The YouTube "4K" bit rate is over 3X lower than the movie you downloaded.
I recommend trying NVidia VDPAU as well. I don't know if Quadro supports this.
Nvidia VDPAU Feature Sets[31] are different hardware generations of GPU's supporting different levels of (Nvidia PureVideo) hardware decoding capabilities. For feature sets A, B and C, the maximum video width and height are 2048 pixels, minimum width and height 48 pixels, and all codecs are currently limited to a maximum of 8192 macroblocks (8190 for VC-1/WMV9).
Therefore although your GPU does support VDPAU for level C the maximum size is 2048X2048 so it can't do 4K video.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.