Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Video playback stutter in multiple distros, but not all


  • Please log in to reply
25 replies to this topic

#16 lti

lti
  • Topic Starter

  •  Avatar image
  • Members
  • 779 posts
  • OFFLINE
  •  
  • Local time:06:10 AM

Posted 04 November 2024 - 10:08 AM

That looks like you don't need a special driver for VAAPI stuff anymore. Even hardware video encoding works in FFmpeg.

 

I've been using Linux on this computer for a while, and I've noticed that some of the stutters correspond to disk activity when playing video from a hard drive instead of an SSD. It's obvious because that 8TB HDD in the inxi output above has strangely loud seek noise (not a failing drive). It's even worse when editing video using Kdenlive (Flatpak version) because there's a pause when playing the preview every time it needs to load another video clip. That doesn't happen in Windows.



BC AdBot (Login to Remove)

 


#17 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 36,797 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:10 PM

Posted 04 November 2024 - 10:28 AM

So can you clearify how you have linux installed and where the videos are that you are watching, and that Western Digital platter drive is very slow 5600rpm and 256Meg Cache. I would highly recommend that you replace it with SSD or a faster hard drive with more cache. I would also steer clear of Western Digital just as a person preferrence due to past issues ive had with them.
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/1h62
Arch Laptop - hhttps://www.termbin.com/98dd
Ubuntu Server - https://termbin.com/ng9t

#18 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...


  •  Avatar image
  • Moderator
  • 4,914 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:01:10 PM

Posted 05 November 2024 - 05:26 AM

So can you clearify how you have linux installed and where the videos are that you are watching, and that Western Digital platter drive is very slow 5600rpm and 256Meg Cache. I would highly recommend that you replace it with SSD or a faster hard drive with more cache. I would also steer clear of Western Digital just as a person preferrence due to past issues ive had with them.

Dan, you can't just blithely suggest to folks that they spend lots of their money to replace stuff just because YOU think they should..! Come ON....  :rolleyes:

 

As for Western Digital, well; for me, perhaps I've been lucky. I've had several of their drives over the years, and have generally had a very positive experience with them...

 

(*shrug...*)

 

 

Mike.  :mellow:


Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

Forum-Spex.gif
 
 


#19 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 36,797 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:10 PM

Posted 05 November 2024 - 06:51 AM

Video editing takes higher end hardware that needs faster reads and writes and a 5600rpm drive doesn't meet that as stated by the op
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/1h62
Arch Laptop - hhttps://www.termbin.com/98dd
Ubuntu Server - https://termbin.com/ng9t

#20 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...


  •  Avatar image
  • Moderator
  • 4,914 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:01:10 PM

Posted 05 November 2024 - 09:10 AM

Video editing takes higher end hardware that needs faster reads and writes and a 5600rpm drive doesn't meet that as stated by the op

Yah, well; maybe on Windows.....and perhaps under most mainstream Linux distros. I get away with it, though, using Puppy, simply because all the software is so lightweight to start with!

 

 

Mike.  :mellow:


Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

Forum-Spex.gif
 
 


#21 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 36,797 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:10 PM

Posted 05 November 2024 - 09:14 AM

Its not so much the lightweight nature of the software it's the Input and Output operations of video editing that make it require higher end hardware. 7200rpm or faster drives will yield faster read/writes over the slower drives aimed at conserving energy.

Also 256meg cache is rather low on an 8TB drive.
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/1h62
Arch Laptop - hhttps://www.termbin.com/98dd
Ubuntu Server - https://termbin.com/ng9t

#22 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...


  •  Avatar image
  • Moderator
  • 4,914 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:01:10 PM

Posted 05 November 2024 - 10:43 AM

Its not so much the lightweight nature of the software it's the Input and Output operations of video editing that make it require higher end hardware. 7200rpm or faster drives will yield faster read/writes over the slower drives aimed at conserving energy.

Also 256meg cache is rather low on an 8TB drive.

True, true. 3 or 4 GB of cache - or more! - WOULD be better, there's no denying that. I'm still surprised just how well a 3.7 GHz dual-core Pentium Gold (albeit with H/T) does in fact cope with rendering. Nobody was more surprised at that than me..!

 

I do actually 'work' with the video rendering on my primary drive, a 1 TB Crucial MX500. It's only when finished that I then save it my secondary data drive, a much slower 3 TB Seagate 'Barracuda' HDD. I don't think I'd try rendering directly to that one.

 

 

Mike.  :wink:


Edited by Mike_Walsh, 10 November 2024 - 03:57 PM.

Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

Forum-Spex.gif
 
 


#23 lti

lti
  • Topic Starter

  •  Avatar image
  • Members
  • 779 posts
  • OFFLINE
  •  
  • Local time:06:10 AM

Posted 05 November 2024 - 11:11 PM

I have Linux installed on a 256GB SSD (/dev/nvme1n1). Windows is installed on the 1TB SSD shown in the first post (/dev/nvme0n1), and data is split between the Windows SSD and the 8TB HDD. It is a slow drive, but it replaced an even slower 4TB Seagate (I mostly buy Seagate drives) that I filled up. I feel like video editing goes smoother on Windows, but I'll have to switch back to Windows to compare.


Edited by lti, 05 November 2024 - 11:12 PM.


#24 lti

lti
  • Topic Starter

  •  Avatar image
  • Members
  • 779 posts
  • OFFLINE
  •  
  • Local time:06:10 AM

Posted 09 November 2024 - 03:44 PM

I switched back to Windows, and it really does perform better. When I drag the cursor in the timeline, the preview updates much more quickly in Windows. Also, the preview plays perfectly smoothly in Windows. In Linux, every time a new clip starts, there is a pause followed by a second of disk thrashing. These are both using the same version of Kdenlive, the same project file, and every video clip is on the same hard drive.



#25 compis

compis

  •  Avatar image
  • Members
  • 766 posts
  • OFFLINE
  •  
  • Local time:08:10 AM

Posted Yesterday, 08:18 PM

I have noticed a similar video performance. I noted that you pointed out that youtube played perfectly which I noticed on all the distro's I tried.

 

My suspicion is that the video apps themselves are not optimizing or the Distro is not allowing them to optimize to the video performed.

 

An example I have is VLC. I have a local .mov file which it cannot play. I played the sam .MOV video with my browser's and another video app and it played correctly. VLC forum does not have an answer yet but I found it strange that the system log kicked out a kernel code

 

Debian kernel: Code: 00 00 00 00 00 0f 1f 44 00 00 48 8b 47 20 ff 60 30 66 0f 1f 84 00 00 00 00 00 48 8b 47 20 ff 60 38 66 0f 1f 84 00 00 00 00 00 <48> 8b 47 20 ff 60 40 66 0f 1f 84 00 00 00 00 00 ff 67 48 66 2e 0f.

 

Why does Youtube play flawlessly is it browser properly translating video information?



#26 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 36,797 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:10 PM

Posted Yesterday, 08:57 PM

.mov is apple proprietary format.
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/1h62
Arch Laptop - hhttps://www.termbin.com/98dd
Ubuntu Server - https://termbin.com/ng9t




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users