Page 1 of 1

Severe lag when playing mp4 video file

Posted: Sun Jul 11, 2021 12:25 pm
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)


Re: Severe lag when playing a video file

Posted: Sun Jul 11, 2021 4:01 pm
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?


Re: Severe lag when playing a video file

Posted: Sun Jul 11, 2021 8:48 pm
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.


Re: Severe lag when playing mp4 video file

Posted: Mon Jul 12, 2021 1:29 am
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?


Re: Severe lag when playing mp4 video file

Posted: Mon Jul 12, 2021 2:27 pm
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.


Re: Severe lag when playing mp4 video file

Posted: Thu Jul 29, 2021 3:43 am
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?


Re: Severe lag when playing mp4 video file

Posted: Thu Jul 29, 2021 11:19 am
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?


Re: Severe lag when playing mp4 video file

Posted: Fri Jul 30, 2021 7:57 am
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 :(


Re: Severe lag when playing mp4 video file

Posted: Fri Jul 30, 2021 9:46 am
by BologneChe

@Maybe

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


Re: Severe lag when playing mp4 video file

Posted: Fri Jul 30, 2021 11:49 am
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


Re: Severe lag when playing mp4 video file

Posted: Fri Jul 30, 2021 3:17 pm
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.


Re: Severe lag when playing mp4 video file

Posted: Sun Aug 01, 2021 7:34 pm
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


Re: Severe lag when playing mp4 video file

Posted: Sun Aug 01, 2021 7:42 pm
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)


Re: Severe lag when playing mp4 video file

Posted: Mon Aug 02, 2021 7:04 am
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


Re: Severe lag when playing mp4 video file

Posted: Tue Aug 03, 2021 4:18 am
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)


Re: Severe lag when playing mp4 video file

Posted: Tue Aug 03, 2021 9:14 am
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.


Re: Severe lag when playing mp4 video file

Posted: Tue Aug 03, 2021 3:34 pm
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)


Re: Severe lag when playing mp4 video file

Posted: Tue Aug 03, 2021 4:01 pm
by FeodorF

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


Re: Severe lag when playing mp4 video file

Posted: Wed Aug 04, 2021 11:14 am
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


Re: Severe lag when playing mp4 video file

Posted: Wed Aug 04, 2021 12:45 pm
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').


Re: Severe lag when playing mp4 video file

Posted: Wed Aug 04, 2021 4:00 pm
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


Re: Severe lag when playing mp4 video file

Posted: Thu Aug 05, 2021 3:48 am
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.


Re: Severe lag when playing mp4 video file

Posted: Mon Aug 16, 2021 10:29 am
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 740 times

Re: Severe lag when playing mp4 video file

Posted: Fri Nov 05, 2021 1:37 pm
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


Re: Severe lag when playing mp4 video file

Posted: Fri Nov 05, 2021 1:50 pm
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.


Re: Severe lag when playing mp4 video file

Posted: Fri Nov 19, 2021 1:02 am
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.