slarm64This forum is for the discussion of slarm64.
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'll start this by saying it could possibly be a dud video, but I tried to watch one of a series last night in VLC. The video froze but the sound carried on.
So I tried mpv. That went better, but I couldn't find my place without upsetting it. If I made the screen small, paused for a while, and then started play, things would synchronize eventually. The video would start silently, then the sound would come in. But I got these errors on STDOUT
Code:
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
and the other one says
Code:
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
I have a RazPi 4B @1.5Ghz, an early model, running slarm64-15.0. VLC is version 3.0.16, and I don't know what the dependencies are so I can't pass version numbers. But they're all 15.0 or later IIRC.
I got video advice previously here, implemented it, and obeyed rule #1
Quote:
If it works, don't fix it!
Any ideas or diagnostic tests welcome. The videos are hdmi, 720 or 1080p h264, other ones work fine but I've had issues with a number of random videos recently.
Last edited by business_kid; 10-07-2022 at 05:01 PM.
I'll start this by saying it could possibly be a dud video, but I tried to watch one of a series last night in VLC. The video froze but the sound carried on.
So I tried mpv. That went better, but I couldn't find my place without upsetting it. If I made the screen small, paused for a while, and then started play, things would synchronize eventually. The video would start silently, then the sound would come in. But I got these errors on STDOUT
Code:
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
and the other one says
Code:
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
I have a RazPi 4B @1.5Ghz, an early model, running slarm64-15.0. VLC is version 3.0.16, and I don't know what the dependencies are so I can't pass version numbers. But they're all 15.0 or later IIRC.
I got video advice previously here, implemented it, and obeyed rule #1
Any ideas or diagnostic tests welcome. The videos are hdmi, 720 or 1080p h264, other ones work fine but I've had issues with a number of random videos recently.
this seems to be due to the specific encoded video with its settings and since everything is decoded by the software this problem occurs and overclocking the cpu can help.
I could overclock, but I've the earlier 4B brfore they improved the power supply. If I try for 2.0Ghz, what sort of "overvolts=" setting would I need? Can I even use the overvolts adjustment in config.txt? I'm on the early firmware that allows usb boot. I know I'd have to work up gradually. But I can do that fairly painlessly by overclocking while booting on the SSD, and simply having a standard MMC card handy for when I inevitably screw up.
When you say 'it's all done in software', we're talking the swrast driver here, aren't we? That's bad.
Here's an idea: Could I run a video like this through ffmpeg to make something useful of it?
Last edited by business_kid; 10-08-2022 at 04:14 AM.
I could overclock, but I've the earlier 4B brfore they improved the power supply. If I try for 2.0Ghz, what sort of "overvolts=" setting would I need? Can I even use the overvolts adjustment in config.txt? I'm on the early firmware that allows usb boot. I know I'd have to work up gradually. But I can do that fairly painlessly by overclocking while booting on the SSD, and simply having a standard MMC card handy for when I inevitably screw up.
When you say 'it's all done in software', we're talking the swrast driver here, aren't we? That's bad.
Here's an idea: Could I run a video like this through ffmpeg to make something useful of it?
programmatically, this means that SoC decoding blocks are not used.
mpv is already using ffmpeg.
I overclocked to 2147
Code:
# Turbo mode: 0 = enable dynamic freq/voltage - 1 = always max
force_turbo=0
# Start in turbo mode for 30 seconds or until cpufreq sets a frequency
initial_turbo=30
over_voltage=6
arm_freq=2147
I also have a simple aluminum radiator in size SoC.
If you paint it matt black it keeps the cpu cooler by radiating the heat better. It's physics. Thermal models are compared with a a black body radiator.
If you paint it matt black it keeps the cpu cooler by radiating the heat better. It's physics. Thermal models are compared with a a black body radiator.
Not really. The difference between white and black radiator efficiency is 1% and it is lost when you put a layer of paint on your radiator because it acts as insulator. Besides, to gain this 1% the radiator must be black in infrared range of lightwaves, this is something human eye cannot see. LOL
programmatically, this means that SoC decoding blocks are not used.
mpv is already using ffmpeg.
I overclocked to 2147
Code:
# Turbo mode: 0 = enable dynamic freq/voltage - 1 = always max
force_turbo=0
# Start in turbo mode for 30 seconds or until cpufreq sets a frequency
initial_turbo=30
over_voltage=6
arm_freq=2147
OK, I'm overclocked with "over_voltage=5" & "arm_freq=2000". No problems, but no improvement. I'm still getting the same errors. It seems mpv freezes one stream (video or sound) until the other catches up, and then synchronizes them. I'm not sure what vlc is doing. I tried cvlc in a terminal and trapped these errors
Code:
[h264 @ 0x7f8cce9370] co located POCs unavailable
[h264 @ 0x7f8cce9370] co located POCs unavailable
[h264 @ 0x7f8cc5c6f0] mmco: unref short failure
[h264 @ 0x7f8ccee410] co located POCs unavailable
[h264 @ 0x7f8cc5c6f0] co located POCs unavailable
[h264 @ 0x7f8cc5c6f0] co located POCs unavailable
[h264 @ 0x7f8cce40a0] mmco: unref short failure
[0000007f8cde6480] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0000007f8cde6480] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.