Go to advanced search

by dom
Thu Sep 22, 2022 11:35 am
Forum: Graphics programming
Topic: STICKY: All about accelerated video on the Raspberry Pi [thanks all contributors!]
Replies: 60
Views: 35678

Re: STICKY: All about accelerated video on the Raspberry Pi [thanks all contributors!]

egnor wrote:
Wed Sep 21, 2022 5:16 pm
It's super early days, but perhaps consider https://github.com/egnor/pivid ?
That does look interesting.
by dom
Wed Sep 21, 2022 12:46 pm
Forum: Advanced users
Topic: Add MGLRU to Raspberry Pi kernel?
Replies: 5
Views: 375

Re: Add MGLRU to Raspberry Pi kernel?

I actually brought this up during the Linux Plumbers Conference last week. I've been testing MGLRU on Pi 400, and will post the benchmark results once I have them. Please do. It's not clear if MGLRU will be enabled by default when merged upstream, or will be opt in. Any evidence of clear benefits (...
by dom
Tue Sep 20, 2022 6:01 pm
Forum: Media centres
Topic: Kodi on Bullseye RPiOS
Replies: 341
Views: 80135

Re: Kodi on Bullseye RPiOS

Great. It may also work if you set "WANT_PULSE=1" as an env variable,
although without testing, I'm not sure where is best to be picked up by the desktop launcher, rather that an interactive shell.
by dom
Tue Sep 20, 2022 10:50 am
Forum: Media centres
Topic: Kodi on Bullseye RPiOS
Replies: 341
Views: 80135

Re: Kodi on Bullseye RPiOS

Can you try editing:
/usr/share/applications/kodi.desktop

and change the three instances of "Exec=kodi" with "Exec=kodi --pulse" (plus the existing options)
by dom
Mon Sep 19, 2022 12:24 pm
Forum: Media centres
Topic: Kodi on Bullseye RPiOS
Replies: 341
Views: 80135

Re: Kodi on Bullseye RPiOS

Because neither the video decode nor memcpy are done by the arm cpu.
by dom
Thu Sep 15, 2022 10:26 am
Forum: Troubleshooting
Topic: Suspect GPU and Hardware accelleration problem, please help!
Replies: 5
Views: 265

Re: Suspect GPU and Hardware accelleration problem, please help!

I tried to uncomment the hdmi_force_hotplug=1 option in /boot/config.txt and rebooted but nothing change when I connect via VNC Thankyou hdmi_force_hotplug only applies to the firmware display driver which is no longer used (the kernel driver vc4-kms-v3d is now the default). Try adding video=video=...
by dom
Wed Sep 14, 2022 3:18 pm
Forum: Troubleshooting
Topic: Suspect GPU and Hardware accelleration problem, please help!
Replies: 5
Views: 265

Re: Suspect GPU and Hardware accelleration problem, please help!

Try running without VNC to see what the performance should be. VNC will slow down the display update rate, and some users experience very slow update rate when no display is attached. Also test the VNC update rate when the Pi is booted with a display attached. If that is better there are ways of fak...
by dom
Wed Sep 14, 2022 2:12 pm
Forum: Raspberry Pi OS
Topic: MultiArch Kodi installation fails
Replies: 4
Views: 370

Re: MultiArch Kodi installation fails

I tried that a while ago,and asked the packaging guy about it, and the answer was that mutiarch support isn't automatic in a package, and the kodi package would need significant work to support it. From: https://wiki.debian.org/Multiarch/HOWTO There is a 'Multi-Arch' header in the package metadata o...
by dom
Tue Sep 13, 2022 6:37 pm
Forum: Raspberry Pi OS
Topic: HDMI console blanked 4 days after reboot
Replies: 4
Views: 260

Re: HDMI console blanked 4 days after reboot

The issue sounds like an issue recently fixed.
Make sure you are up to date (sudo apt update && sudo apt full-upgrade).
by dom
Tue Sep 13, 2022 12:33 pm
Forum: General discussion
Topic: Kernel Update
Replies: 12
Views: 578

Re: Kernel Update

From my pi with the older kernel => and the question why this kernel is not on 103 which is the latest kernel for 5.10 imo I'd guess the stuck kernel has had the kernel "updated" outside of apt. Perhaps with rpi-update or by manual copying. Try running: sudo apt update sudo apt install --...
by dom
Tue Sep 13, 2022 11:26 am
Forum: General discussion
Topic: Kernel Update
Replies: 12
Views: 578

Re: Kernel Update

I having problems with the understanding how kernel updates are done properly on a Raspbian Setup. I have two rpis which run debian buster, when I want to upgrade the kernel with the following command (downloading the kernel via my package manager) the kernel does not seem to update: The issue is y...
by dom
Mon Sep 12, 2022 2:48 pm
Forum: Troubleshooting
Topic: [solved] VLC framebuffer fullscreen is only limited RGB?
Replies: 2
Views: 140

Re: VLC framebuffer fullscreen is only limited RGB?

Does launching vlc with --drm-vout-no-modeset help?
by dom
Mon Sep 12, 2022 12:54 pm
Forum: Troubleshooting
Topic: Pi 4B 8GB low video performance
Replies: 5
Views: 250

Re: Pi 4B 8GB low video performance

I believe in theory wayland/weston supports multiple planes, including video planes, but I don't believe this is actually usable yet.
by dom
Mon Sep 12, 2022 12:20 pm
Forum: Troubleshooting
Topic: Pi 4B 8GB low video performance
Replies: 5
Views: 250

Re: Pi 4B 8GB low video performance

Kodi, and vlc running fullscreen are able to display the decoded video, untouched to a video plane using the hardware video scaler (HVS). X doesn't support video planes, so the video needs to be resized, converted to an RGB format and composited with the rest of the desktop. These operations tend to...
by dom
Thu Sep 08, 2022 3:39 pm
Forum: Debian
Topic: 'Kernel 6.0.0-0.rc2'
Replies: 17
Views: 855

Re: 'Kernel 6.0.0-0.rc2'

Then it is due to the lower resolution ( 4k before ) ? Change one thing at a time to be sure whether a change is beneficial or not. But, sure, 1080p decode is easier than 4k decode (especially if software decoded) And displaying in a 1080p hdmi mode is easier than displaying in a 4k mode (unless th...
by dom
Thu Sep 08, 2022 1:39 pm
Forum: Debian
Topic: 'Kernel 6.0.0-0.rc2'
Replies: 17
Views: 855

Re: 'Kernel 6.0.0-0.rc2'

With double the previous GPU memory and Wayland (experimental) display, the @1080p vide o on full HD monitor is really good except for 'Full Screen Display". Are you sure increasing gpu_mem actually helped? It is only used for legacy interfaces and generally increasing it just makes that memor...
by dom
Fri Sep 02, 2022 6:20 pm
Forum: Beginners
Topic: Raspberry Pi 400 HDMI Cable
Replies: 12
Views: 479

Re: Raspberry Pi 400 HDMI Cable

I was going to use my Samsung Galaxy Tab 2 as the monitor as I already have a cable that excepts a normal HDMI connector. I expect the Tab 2 has a HDMI *output* port. I don't think it will display a picture form a HDMI source. You can test this by connecting another HDMI source to it (e.g. STB, DVD...
by dom
Fri Sep 02, 2022 11:07 am
Forum: Graphics, sound and multimedia
Topic: RPI (4) low latency video playback - experimental analysis
Replies: 26
Views: 1055

Re: RPI (4) low latency video playback - experimental analysis

Is it possible that since I am dealing with frames / raw data allocated by the decoder I get these tearing lines ? As a first experiment, I wanted to create a dummy buffer (as the buffer that then becomes the single frame buffer to copy data into) instead of just taking the first frame, but haven't...
by dom
Thu Sep 01, 2022 3:33 pm
Forum: Graphics, sound and multimedia
Topic: RPI (4) low latency video playback - experimental analysis
Replies: 26
Views: 1055

Re: RPI (4) low latency video playback - experimental analysis

However, there are some really weird tearing issues comming with it, most notably from the SAND format. I am not sure if it is worth putting more time into this - e.g. implementing a smart memcopy that looks at the current VSYNC position and copies the frame either trailing or chasing the VSYNC lin...
by dom
Wed Aug 31, 2022 4:25 pm
Forum: Graphics, sound and multimedia
Topic: RPI (4) low latency video playback - experimental analysis
Replies: 26
Views: 1055

Re: RPI (4) low latency video playback - experimental analysis

If you can live with tearing then just have drm showing the same framebuffer, and memcpy decoded frames over it. Parts of the frame will just have the decode latency + memcpy (less than decode) latency. The way commercial solutions do it is to vary the clock (either of the source or sink) to minimis...
by dom
Wed Aug 31, 2022 10:18 am
Forum: Troubleshooting
Topic: Sluggish video and no sound from soundbar after installing Kodi on rpi OS (no desktop environment)
Replies: 18
Views: 617

Re: Sluggish video and no sound from soundbar after installing Kodi on rpi OS (no desktop environment)

It's not kodi that is the issue here. "aplay -l" shows the problem (it was reported as showing no soundcards and on the working system it will report working soundcards). Kodi won't work with no soundcard. Unfortunately there are may ways you could break audio output. I'd check config.txt,...
by dom
Tue Aug 30, 2022 12:41 pm
Forum: Troubleshooting
Topic: Sluggish video and no sound from soundbar after installing Kodi on rpi OS (no desktop environment)
Replies: 18
Views: 617

Re: Sluggish video and no sound from soundbar after installing Kodi on rpi OS (no desktop environment)

i think you need gpu_mem=256 for kodi Not on RPiOS bullseye which uses kms. 3d and hevc allocations come from cma on the arm side. The default gpu_mem is enough for 1080p decode for h264 (BluRay/level 4.1). Increasing gpu_mem unnecessarily just makes that memory unavailable. See this post for confi...
by dom
Fri Aug 26, 2022 10:19 am
Forum: Troubleshooting
Topic: Turning off powerLED doesn't work after update Pi OS
Replies: 10
Views: 608

Re: Turning off powerLED doesn't work after update Pi OS

As a work-around to the problem while waiting for the Bullseye folks to identify and correct the problem; I added the following two lines to /etc/rc.local Did you read the link in preceding post? The new behaviour is correct, so there will be no fix. The old behaviour was wrong, and requires updati...

Go to advanced search