Severe lag when playing mp4 video file

Moderator: BarryK

Post Reply
Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Severe lag when playing mp4 video file

Post by Maybe »

Hello! I noticed that the image is very slow during the video file playback. What can be done to make the video show smoother?

From: Dmitry (Russia)

User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: Severe lag when playing a video file

Post by bigpup »

What version of EasyOS?

what are the computer specs?
Processor?
Ram?
Graphics hardware?

Are these videos you download and play, or play from a web site, you access, in a browser?

What video player program or browser are you using?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing a video file

Post by Maybe »

bigpup wrote: Sun Jul 11, 2021 4:01 pm

What version of EasyOS?

what are the computer specs?
Processor?
Ram?
Graphics hardware?

Are these videos you download and play, or play from a web site, you access, in a browser?

What video player program or browser are you using?

EasyOS 2.8.3
Processor AMD c50
RAM 3 Gb
Video file 480p.mp4
Graphic hardware... I don't remember. Some simple integrated graphic.

There is an oddity. I watched the same video on the same hardware using Windows 7 and using Puppy Focal Fossa. The result is no braking. The video ran smoothly.

User avatar
Flash
Moderator
Posts: 978
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 51 times
Been thanked: 127 times

Re: Severe lag when playing mp4 video file

Post by Flash »

Maybe, when you play the file, do you just click on the file to play it, or do you open a program to play it? Can you tell what program is playing the file?

Chaos coordinator :?
User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: Severe lag when playing mp4 video file

Post by bigpup »

The name of the program used to play the video we need.
All these programs have internal settings.
changing something, in these settings, usually fixes issues.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

bigpup wrote: Mon Jul 12, 2021 2:27 pm

The name of the program used to play the video we need.
All these programs have internal settings.
changing something, in these settings, usually fixes issues.

On my Acer Aspire One 522 series netbook, I tried playing the same video files on different puppies. Only on FossaPup the video playback was excellent. But Xenial64, Easy Pup, Easy OS, Slako64_7.0, the video lags behind, the sound is played normally.

I really liked Easy OS. What can be done to remedy the situation?

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

You will be pointed an index number while booting EasyOS.

Working drive read speed test (lower the better): ????

What does your drive show?

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

FeodorF wrote: Thu Jul 29, 2021 11:19 am

You will be pointed an index number while booting EasyOS.

Working drive read speed test (lower the better): ????

What does your drive show?

161

I also tried installing VLC, I thought it was together. this video player will install codecs. But installing VLC and all its dependencies did not change the result. The video is still very slow, like a slideshow :(

User avatar
BologneChe
Posts: 510
Joined: Sun Aug 23, 2020 12:29 am
Location: Stoneham, Québec
Has thanked: 318 times
Been thanked: 140 times

Re: Severe lag when playing mp4 video file

Post by BologneChe »

@Maybe

161...slow!!! Usb 2 connection?

Born to lose; live to win

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

BologneChe wrote: Fri Jul 30, 2021 9:46 am

@Maybe

161...slow!!! Usb 2 connection?

Yes, USB 2.

But it seems to me that USB speed matters when the system boots, and then it works from RAM.

There is one more thing I tried. EasyOS bootloader on a USB flash drive, then tried it on three different laptops. The result is the same. Video as a slideshow

Conclusion, video playback is equally poor, whether EasyOS is installed on a hard drive or from a USB flash drive

Feek
Posts: 398
Joined: Sun Oct 18, 2020 8:48 am
Location: cze
Has thanked: 54 times
Been thanked: 90 times

Re: Severe lag when playing mp4 video file

Post by Feek »

Just an idea:
did you try to copy the mp4 file to /root and play it from there? It should be played "from ram" this way, which should be faster than to play it from hdd or usb. The only condition is that your mp4 file has to be smaller than the size of your current personal storage.

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

Feek wrote: Fri Jul 30, 2021 3:17 pm

Just an idea:
did you try to copy the mp4 file to /root and play it from there? It should be played "from ram" this way, which should be faster than to play it from hdd or usb. The only condition is that your mp4 file has to be smaller than the size of your current personal storage.

Thank you for the idea. i tried it but didn't help

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

I run mpv through the terminal, in the terminal there is an entry:

messa loader: failed to open r600

I understand that the r600 is a video driver. It looks like a problem with the video driver. Will you correct me if I am wrong?

what to do about this error? Please tell me

From Dmitry (Russia)

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

Run 'glxinfo' in the terminal.
/usr/lib/xorg/modules/dri/tls/r600_dri.so is missing.

https://bbs.archlinux.org/viewtopic.php?id=170943

You can find this file in the old Quirky 8.5 built from BarryK. It's size is 11 M, so I can not upload it right here.
It's there at: /usr/lib/x86_64-linux-gnu/dri

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

FeodorF wrote: Mon Aug 02, 2021 7:04 am

Run 'glxinfo' in the terminal.
/usr/lib/xorg/modules/dri/tls/r600_dri.so is missing.

https://bbs.archlinux.org/viewtopic.php?id=170943

You can find this file in the old Quirky 8.5 built from BarryK. It's size is 11 M, so I can not upload it right here.
It's there at: /usr/lib/x86_64-linux-gnu/dri

@FeodorF Thanks a lot for the tip. I downloaded Quirky and found the r600_drv_video.so file!

What do I need to do with this file now? How do I put it in the right folder? @BarryK talked about the layered EasyOS system, so I'm a little confused, where exactly should I pasted the r600_drv_video.so file? And do I need to rename this file? :roll:

From Dmitry (Russia)

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

Hello Dmitry,

all you need to do is copy 'r600_drv_video.so' to this location:

/usr/lib/xorg/modules/drivers while running EasyOS.

f.e. copy the file to a USB stick, boot up your EasyOS system, use ROX-filer to change to the rigth folder '/usr/lib/xorg/modules/drivers' and drop the file from the USB stick right there. Do not change the file name. Reboot EasyOS and use 'glxinfo' to see if anything is missing.

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

FeodorF wrote: Tue Aug 03, 2021 9:14 am

Hello Dmitry,

all you need to do is copy 'r600_drv_video.so' to this location:

/usr/lib/xorg/modules/drivers while running EasyOS.

f.e. copy the file to a USB stick, boot up your EasyOS system, use ROX-filer to change to the rigth folder '/usr/lib/xorg/modules/drivers' and drop the file from the USB stick right there. Do not change the file name. Reboot EasyOS and use 'glxinfo' to see if anything is missing.

Dear @FeodorF, I followed your instructions very closely. Downloaded Quirky 8.5 form this

http://distro.ibiblio.org/quirky/quirky ... xerus-8.5/

Unfortunately it didn't help. I do not understand why. After rebooting, in the terminal I entered the command
'glxinfo', and the message came out: libGL error: failed to load driver: r600

From Dmitry (Russia)

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

Have you copied the 'r600_dri.so' too? If not please do so.

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

FeodorF wrote: Tue Aug 03, 2021 4:01 pm

Have you copied the 'r600_dri.so' too? If not please do so.

I am very grateful to you for helping me.

That's exactly what I did. Here are screenshots:


Alas, the result has not changed

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

Dmitry, could you please show the MESA-LOADER search path in it's entirty /usr/... .

Further down in the glxinfo listing there is:

Extended renderer info (GLX_MESA_query_renderer):
Vendor: ??
Device: ??
Version: ??

What does it report?

Beside that since you already downloaded the Quirky-8.5 iso file you could check whether this version will work properly with the r600 driver ('glxinfo').

Maybe
Posts: 120
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 93 times
Been thanked: 19 times

Re: Severe lag when playing mp4 video file

Post by Maybe »

FeodorF wrote: Wed Aug 04, 2021 12:45 pm

Dmitry, could you please show the MESA-LOADER search path in it's entirty /usr/... .

Further down in the glxinfo listing there is:

Extended renderer info (GLX_MESA_query_renderer):
Vendor: ??
Device: ??
Version: ??

What does it report?

Beside that since you already downloaded the Quirky-8.5 iso file you could check whether this version will work properly with the r600 driver ('glxinfo').

Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware , Inc. (0xffffffff)
Device: softpipe (0xffffffff)
Version: 20.0.2

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

Did some reading over there: https://en.wikipedia.org/wiki/Radeon_HD_2000_series

R600 family
GPU core Product PCI device ID
RV610 Radeon HD 2400 Pro 94C4
RV630 Radeon HD 2600 Pro 9587
RV630 Radeon HD 2600 XT 9586

The graphic card you are using is from 2007 and was never fully supported by ATI/AMD to function properly on Linux.

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: Severe lag when playing mp4 video file

Post by FeodorF »

Did some more testing about playing videos on EasyOS Dunfell 2.8.4.

I got caught by surprise after watching a movie on DVD - there were traces left behind at the root.

DVD-leaves-trace.png
DVD-leaves-trace.png (13.07 KiB) Viewed 1238 times
User avatar
BarryK
Posts: 2703
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: Severe lag when playing mp4 video file

Post by BarryK »

In latest EasyOS, in /usr/lib/dri:

Code: Select all

i915_dri.so
i965_dri.so
kms_swrast_dri.so
nouveau_dri.so
nouveau_vieux_dri.so
r200_dri.so
r300_dri.so
radeon_dri.so
swrast_dri.so
virtio_gpu_dri.so
vmwgfx_dri.so

I didn't compile r600_dri.so in OpenEmbedded, there was a reason, but I don't recall why not.

Regarding Firefox, it has a problem loading those drivers, due to it running in a sandbox, will be fixed in next release:

https://bkhome.org/news/202111/firefox- ... ibdrm.html

User avatar
BarryK
Posts: 2703
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: Severe lag when playing mp4 video file

Post by BarryK »

Just now read here:

https://dri.freedesktop.org/wiki/ATIRadeon/

...says that r600 GPUs are supported by the radeon driver, for 2D acceleration.

User avatar
BarryK
Posts: 2703
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: Severe lag when playing mp4 video file

Post by BarryK »

I have recompiled the 'mesa' package in OpenEmbedded, added 'r600' and radeonsi' drivers. Blog announcement:

https://bkhome.org/news/202111/libdrm-n ... ivers.html

This will be in the next release of Easy, 3.1.11.

Rohan77
Posts: 1
Joined: Sat Sep 28, 2024 8:45 am
Contact:

Re: Severe lag when playing mp4 video file

Post by Rohan77 »

It sounds like the lag you're experiencing when playing MP4 files could be due to several factors. First, check if your hardware is powerful enough to handle the file format and resolution. You may also want to update your media player and graphics drivers. Another possibility is that the file itself is corrupted. Trying a different media player or lowering the resolution might help resolve the issue.

Post Reply

Return to “EasyOS”