Go to advanced search

by dividuum
Tue Nov 12, 2019 6:19 pm
Forum: Graphics programming
Topic: MMal saying "unhandled 128"
Replies: 4
Views: 104

Re: MMal saying "unhandled 128"

Some videos when played with mmal produce a lot of "unhandled 128" lines on stdout. What does it mean? Which library is producing this output? I've also noticed these errors and I'm pretty sure that error is from Mesa 3D. I think somewhere shader related. But I cannot find that code using the githu...
by dividuum
Thu Oct 31, 2019 1:50 pm
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 49
Views: 4903

Re: rpi-eeprom beta package - VL805 updates

The ROM scans through all FAT partitions until recovery.bin is found before trying the EEPROM. It does not look at the PM_RSTS register so there's no way to skip ignore a recovery.bin Ok. Thanks for confirming. The current recovery.bin does not scan through all the partitions so the files need to b...
by dividuum
Thu Oct 31, 2019 11:09 am
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 49
Views: 4903

Re: rpi-eeprom beta package - VL805 updates

Hey. I toyed around with the boot upgrade mechanism and have a few questions: If I have two FAT32 partitions (/dev/mmcblk0p1 / /dev/mmcblk0p2 in Linux notation), it seems that the built-in boot rom also detects the recovery.bin file on the second partition. At least once I place it there, the normal...
by dividuum
Wed Oct 30, 2019 8:56 pm
Forum: Graphics programming
Topic: How to use mmal to decode jpeg image
Replies: 7
Views: 3436

Re: How to use mmal to decode jpeg image

stefano.setti wrote:
Mon Oct 28, 2019 3:53 pm
I didn't find an example that do what I need: decode and image and render on screen without x11.
If that's your goal, what's wrong with the advice I gave you in another thread? https://www.raspberrypi.org/forums/view ... 7&t=254969
by dividuum
Thu Oct 24, 2019 7:44 pm
Forum: Graphics programming
Topic: how to change the screen layer (frame buffer) number for python
Replies: 6
Views: 771

Re: how to change the screen layer (frame buffer) number for python

However, on my my Pi 2 using -128 for omxplayer gives sound but no video. That's expected and what I meant with my XRGB8888 note. If the layer above isn't transparent, a video behind it will not be visible. I am still wondering if there is a way of wrestling the command line away from -127. Probabl...
by dividuum
Wed Oct 23, 2019 5:24 pm
Forum: Graphics programming
Topic: Raspberry Pi 3 B Decode and render image with GLES2
Replies: 1
Views: 504

Re: Raspberry Pi 3 B Decode and render image with GLES2

The linked code sounds overly complicated. Also you don't necessarily need GL for any of that. You might have a look at a rather small tool I wrote in 2015: https://github.com/info-beamer/tools/tr ... r/showjpeg. Modifying the dst_rect should allow you to place it freely on the screen.
by dividuum
Wed Oct 23, 2019 10:39 am
Forum: Graphics programming
Topic: how to change the screen layer (frame buffer) number for python
Replies: 6
Views: 771

Re: how to change the screen layer (frame buffer) number for python

I have tried that, but omxplayer will not accept a negative layer number It does, at least with the version I have here on my test Pi4: $ omxplayer --layer -128 demo1/optical.mp4 You can confirm that by running vcgencmd dispmanx_list and check the layer numbers. The framebuffer is at -127 by defaul...
by dividuum
Tue Oct 22, 2019 11:12 pm
Forum: Graphics programming
Topic: how to change the screen layer (frame buffer) number for python
Replies: 6
Views: 771

Re: how to change the screen layer (frame buffer) number for python

You could place the video below the frame buffer layer instead of trying to move the frame buffer itself.
by dividuum
Thu Oct 10, 2019 8:02 pm
Forum: Graphics, sound and multimedia
Topic: Pi 4's driving 4k lcd monitor wall
Replies: 3
Views: 753

Re: Pi 4's driving 4k lcd monitor wall

wants: -manage the display of all tvs from centralized location. instead of ssh/or some x11 client to each PI, i would like to be able to configure what is displayed on each tv from central location. -would be great if it can have condition events.(site a issues REST'ful request, this "software" se...
by dividuum
Tue Oct 01, 2019 4:26 pm
Forum: Graphics programming
Topic: Lost video signal on screenshot capture @4K
Replies: 2
Views: 901

Re: Lost video signal on screenshot capture @4K

Sounds like your analysis might well be rigth - you are effectively try to do 2 4kp60 renders which overloads the system (the reason why we don't support 2 x 4kp60 displays, and limited to p30) . Have you tried overclocking the videocore? Should be able to get to 600. I think its 500 by default. Th...
by dividuum
Tue Oct 01, 2019 3:42 pm
Forum: Graphics programming
Topic: Lost video signal on screenshot capture @4K
Replies: 2
Views: 901

Lost video signal on screenshot capture @4K

Hey. For my service, I capture snapshots on what's currently on the screen using my pretty basic dispmanx->jpeg snapshot tool from https://github.com/info-beamer/tools/tree/master/screenshot This worked pretty well so far, but with 4K@60 output and especially now with rendering 4K videos as well, th...
by dividuum
Mon Sep 30, 2019 8:21 am
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

Just a quick update: I've now release a first public version of my software info-beamer with support for both dual HDMI display output and HEVC video decoding support. So you can now place a 3840x1080 HEVC video across two displays. You can learn more about both features in the blog post here: https...
by dividuum
Fri Sep 20, 2019 7:57 pm
Forum: Graphics programming
Topic: How to start OpenGL for RPI4
Replies: 4
Views: 1251

Re: How to start OpenGL for RPI4

pi@raspberrypi ~ $ gcc -o hello_egl hello_egl.c -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads/ -I/opt/vc/include/interface/vmcs_host/linux -L/opt/vc/lib -lbcm_host -lEGL -lGLESv1_CM The Pi4 no longer supports the closed source Broadcom GL driver. You'll have to rewrite that to either ...
by dividuum
Fri Sep 20, 2019 5:27 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

Thanks a lot the the quick response! I'll digest all that and see how far I get. With regards to converting 10bit into textures: I already feel like FullHD is close to the limit of what makes sense. So realistically it would probably make sense to not support HEVC, which is probably mainly used for ...
by dividuum
Fri Sep 20, 2019 4:59 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

And I've managed to make all of that work. I can now decode H264>GL, H264>dispmanx, HEVC>dispmanx. All of that works across two displays as well. Here's a screenshot: https://usercontent.infobeamer.com/info-beamer-pi-decoding-modes.jpg Still missing is HEVC>GL. I'm a bit confused on how that's suppo...
by dividuum
Thu Sep 19, 2019 2:02 pm
Forum: OpenMAX
Topic: Dual HEVC decoding
Replies: 3
Views: 1044

Re: Dual HEVC decoding

I haven't played with it yet, but I know the person who has been integrating hardware acceleration into VLC and Chromium has. I've asked him the question of whether he had multiple encodes sorted. I think he had, but had done a couple of fixes. I recall something along the lines of a block of memor...
by dividuum
Wed Sep 18, 2019 2:59 pm
Forum: OpenMAX
Topic: Dual HEVC decoding
Replies: 3
Views: 1044

Dual HEVC decoding

I've modified dom's 2711 FFmpeg branch and I'm playing with it trying to decode multiple HEVC streams at the same time. From what I understand, the code should support multiple threads working with the argon (is there an official name for it?) hardware decoder. At least that's what I understand from...
by dividuum
Mon Sep 16, 2019 3:50 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

For very basic example apps of MMAL video_decode feeding DRM or GL see https://github.com/6by9/drm_mmal/blob/export/drm_mmal.c and https://github.com/6by9/drm_mmal/blob/x11_export/drm_mmal.c respectively. I haven't tested them that recently, but believe they were functional. They are. The existing ...
by dividuum
Mon Sep 16, 2019 1:25 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

So the answer is it is our code and are happy to licence it under any terms that make it most useful for projects. Any specific requests, or is LGPL2.1+ sufficient for your use case? LGPL is perfectly fine for that as that part is intermingled with FFmpeg anyway, so a more permissive license wouldn...
by dividuum
Mon Sep 16, 2019 1:06 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

dom wrote:
Mon Sep 16, 2019 12:59 pm
I've pushed an update to clarify LGPL 2.1 in headers to match ffmpeg's source code.
Thanks a lot!
by dividuum
Mon Sep 16, 2019 1:05 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

Right now I’m not sure if it’s possible to decode two videos at once, for example. I don't believe it is currently, but I'm slightly out of the loop on this. The hardware will follow the V4L2 stateless codec API, therefore it should allow multiple concurrent decodes. With the current FFmpeg solutio...
by dividuum
Mon Sep 16, 2019 12:55 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

I would say create an issue on Dom's repo, but it looks like issues have been disabled on it. I'll ask the question. Thanks a lot! It will certainly be deprecated once V4L2 is available. FFmpeg should be able to use either with very similar API calls, so if you use it then you should be in a good p...
by dividuum
Mon Sep 16, 2019 12:32 pm
Forum: Graphics programming
Topic: Atomic Plane updates with drm & fkms
Replies: 8
Views: 1167

Re: Atomic Plane updates with drm & fkms

Well I got most things working. Only issue seems to be that if I update multiple planes in one atomic commit it takes longer than it should, ie 2 frames (well vblanks) instead of one. I would be interested if you find a solution for that. I haven't tried using the atomic API yet, but with the legac...
by dividuum
Mon Sep 16, 2019 11:57 am
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 986

Re: Span images/videos across two monitors 3840x1080

Got a first version working. Still very much unfinished, but splitting a 4K (or 3840x1080/1920x2160) video across two displays is indeed possible.

Go to advanced search