Go to advanced search

by luc4
Sun May 09, 2021 10:04 am
Forum: Ubuntu
Topic: Official rpi kernel on Ubuntu 64 bits
Replies: 5
Views: 398

Re: Official rpi kernel on Ubuntu 64 bits

Did you find the answer to the question there?
by luc4
Sun May 09, 2021 9:47 am
Forum: Ubuntu
Topic: Official rpi kernel on Ubuntu 64 bits
Replies: 5
Views: 398

Official rpi kernel on Ubuntu 64 bits

Hello! Anyone who knows if it is possible to use the official rpi kernel https://github.com/raspberrypi/linux for Ubuntu for rpi? I'm trying to git bisect the kernel to find a bug (which is present in both kernels), but I'd need to do it on Ubuntu. It seems that Ubuntu is using u-boot and needs a in...
by luc4
Sat Mar 07, 2020 11:47 am
Forum: OpenMAX
Topic: egl_render on the vc4 driver
Replies: 13
Views: 4640

Re: egl_render on the vc4 driver

I agree. Thanks 6by9 for the info!
by luc4
Mon Mar 02, 2020 12:51 pm
Forum: OpenMAX
Topic: egl_render on the vc4 driver
Replies: 13
Views: 4640

Re: egl_render on the vc4 driver

There is one point that is not clear to me: do you mean I should rewrite my code entirely using V4L2 to decode and place decoded frames into dmabufs, or do you mean there is a way for me to keep my code unaltered and just ask OpenMAX to output to dmabufs, that will then be imported as EGLImage's? I ...
by luc4
Sat Feb 22, 2020 11:04 am
Forum: OpenMAX
Topic: egl_render on the vc4 driver
Replies: 13
Views: 4640

egl_render on the vc4 driver

Hello! I read that the OpenMAX egl_render component is not going to work on the new KMS stack based on the vc4 driver. Is this correct? Do you plan to support it in the future or is it never going to be available anymore? What are the options now to stream frames efficiently into an OpenGL applicati...
by luc4
Thu Dec 12, 2019 11:52 pm
Forum: Graphics programming
Topic: Gstreamer with a running KMS client
Replies: 0
Views: 716

Gstreamer with a running KMS client

Hello! I read a lot of discussions related to the topic of gstreamer, v4l2h264dec and kmssink. My understanding is that these components can be used to efficiently play a video on full KMS, but kmssink requires to be the master. I tested this and it seemed to work properly. But how can I render a vi...
by luc4
Sat Oct 26, 2019 10:09 am
Forum: OpenGLES
Topic: Stencil buffer and depth buffer
Replies: 1
Views: 2629

Re: Stencil buffer and depth buffer

I listed all the configurations in EGL and proper configurations including stencil and depth buffers exist. So the problem was somehow only related to Qt. Fixed setting the proper surface format explicitly.
by luc4
Tue Oct 15, 2019 11:20 am
Forum: OpenGLES
Topic: Stencil buffer and depth buffer
Replies: 1
Views: 2629

Stencil buffer and depth buffer

Hello! I built Qt libraries to work on drm/fkms. I tried to run applications that runs properly on any pi on the old gles2 driver on dispmanx, and I'm getting this: Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues w...
by luc4
Wed Sep 04, 2019 8:37 am
Forum: Graphics programming
Topic: Hardware cursor and zpos using fkms
Replies: 5
Views: 1224

Re: Hardware cursor and zpos using fkms

I expected that. So, for the moment I still can run omxplayer together with another client cause I'm on fkms. What will happen on full kms? Will it still be possible to somehow stack an application over omxplayer somehow?
Thanks!
by luc4
Wed Sep 04, 2019 8:34 am
Forum: Graphics programming
Topic: HDMI mode in DRM/KMS
Replies: 6
Views: 3207

Re: HDMI mode in DRM/KMS

Hello, thank you for your detailed explanation. I'm not sure how the system maps my screen to https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/gpu/drm/drm_edid.c#L106, the product id? I probably lost that point. That quirk reports "Acer AL1706", but my screen is "Acer AL17...
by luc4
Tue Sep 03, 2019 2:47 pm
Forum: Graphics programming
Topic: HDMI mode in DRM/KMS
Replies: 6
Views: 3207

Re: HDMI mode in DRM/KMS

I'm not sure actually if this is a Qt question. I have two pi's in front of me. cpuinfo seems to report those are both 3b 1.2. One starts my app at the proper resolution, the other does not. Same sdcard. Same hardware attached. Same screen and adapter. The pi that is showing proper resolution seems ...
by luc4
Tue Sep 03, 2019 12:33 pm
Forum: Graphics programming
Topic: HDMI mode in DRM/KMS
Replies: 6
Views: 3207

Re: HDMI mode in DRM/KMS

Thanks for answering. Unfortunately that is not of much help I fear. That question is related to eglfs_brcm, which is using the older stack, which actually works properly for me with this specific screen. Also, the solution he reported is to ignore data from the screen and set the mode manually, whi...
by luc4
Tue Sep 03, 2019 10:45 am
Forum: Graphics programming
Topic: Hardware cursor and zpos using fkms
Replies: 5
Views: 1224

Re: Hardware cursor and zpos using fkms

Hello, thanks for explaining. But, according to this behavior, it means that if multiple processes are executed, it is not possible to stack them somehow like it was possible in dispmanx, right? I cannot set GUI to plane 1 and cursor to plane 2 for instance, cause both would be normalized to 0 and 1...
by luc4
Tue Sep 03, 2019 10:18 am
Forum: Graphics programming
Topic: HDMI mode in DRM/KMS
Replies: 6
Views: 3207

HDMI mode in DRM/KMS

Hello! I'm running Qt applications using vc4 on fkms. My problem is that it seems that Qt is selecting an HDMI mode that is not supported by the screen. What I see is that it is selecting 1080p@60Hz, but I don't think the screen supports 1080p. This is what Qt prints to stdout/stderr when the app ru...
by luc4
Tue Sep 03, 2019 9:40 am
Forum: Graphics programming
Topic: Debug logs from the GPU
Replies: 2
Views: 837

Re: Debug logs from the GPU

Hello 6by9, my problem is that I noticed that my softwares have issues during gles2 animations when the pi is plugged into a 1366x768 screen, but not when it is plugged into another 1080p screen. Kernel version is: Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux...
by luc4
Tue Sep 03, 2019 9:05 am
Forum: Graphics programming
Topic: Debug logs from the GPU
Replies: 2
Views: 837

Debug logs from the GPU

Hello! I'm porting gles2 softwares from the old gles2 brcm drivers to the new vc4 stack. I'm getting an error from the kernel in dmesg only on some screens: [drm] Resetting GPU Is there any way to debug this somehow? I tried this: sudo vcdbg log msg Failed to allocate -505734863 bytes for message bu...
by luc4
Sat Aug 31, 2019 12:29 pm
Forum: Graphics programming
Topic: Hardware cursor and zpos using fkms
Replies: 5
Views: 1224

Hardware cursor and zpos using fkms

Hello! When talking about the vc4 driver using fkms, I know I can set the zpos to control what layer the plane will use in dispmanx. But what about the hardware cursor? I suspect it will use another dispmanx layer, is this correct? Is it responsibility of the application to set the zpos for the curs...
by luc4
Wed Apr 10, 2019 10:47 pm
Forum: Advanced users
Topic: HDMI resolution stuck at 640x480
Replies: 1
Views: 779

HDMI resolution stuck at 640x480

Hello! I have a weird situation. I have a Pi that is stuck at 640x480 (when not forced otherwise). On the same screen, another Pi with the same sdcard outputs 1080p. If I change sdcard with one that runs 1080p on another Pi on the same screen, I still get 640x480 on that Pi. If I change screen, stil...
by luc4
Thu Oct 04, 2018 10:45 pm
Forum: Raspberry Pi OS
Topic: Failed to mount NFSD configuration filesystem
Replies: 1
Views: 3073

Re: Failed to mount NFSD configuration filesystem

It seems that rebooting fixed everything immediately.
by luc4
Thu Oct 04, 2018 7:19 pm
Forum: Raspberry Pi OS
Topic: Failed to mount NFSD configuration filesystem
Replies: 1
Views: 3073

Failed to mount NFSD configuration filesystem

Hello! I tried to install NFS in Stetch. I installed three packages as reported in many tutorials online (rpcbind nfs-common nfs-kernel-server). When I try to start the nfs-kernel-server service I see this in system logs: Oct 4 00:04:37 raspberrypi systemd[1]: Mounting NFSD configuration filesystem....
by luc4
Thu Nov 23, 2017 9:29 pm
Forum: OpenGLES
Topic: OpenGL ES 2.0 - play .mp4 on texture
Replies: 9
Views: 8834

Re: OpenGL ES 2.0 - play .mp4 on texture

If you want my code uses OMX_UseEGLImage to play video to texture. This is the relevant portion: https://github.com/carlonluca/pot/blob/master/piomxtextures_src/omxplayer_lib/OMXVideo.cpp. This is the result: https://www.youtube.com/watch?v=SeJxQN-W2uA&t=3s you can get. Performance is worst than...
by luc4
Thu Dec 17, 2015 7:55 am
Forum: Troubleshooting
Topic: Unable to mount ext4 read write
Replies: 8
Views: 12255

Re: Unable to mount ext4 read write

I'm experiencing pretty much the same I suppose: [529738.146801] sd 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 [529738.146848] sd 0:0:0:0: [sda] Sense Key : 0x3 [current] [529738.146867] sd 0:0:0:0: [sda] ASC=0x11 ASCQ=0x0 [529738.146891] sd 0:0:0:0: [sda] CDB: opcode=0x28 ...
by luc4
Fri Apr 17, 2015 9:14 pm
Forum: Graphics, sound and multimedia
Topic: How to do QT\QML+Video (Cross-Comlinig) ?
Replies: 1
Views: 1273

Re: How to do QT\QML+Video (Cross-Comlinig) ?

You can use prebuilt packages of PiOmxTextures: http://thebugfreeblog.blogspot.it/2015/ ... ed-qt.html. The rest is more or less like using regular Qt Multimedia.
by luc4
Tue Jan 06, 2015 1:41 pm
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3759

Re: egl_render and vsync

It took me a few hours but I finally made it work. Probably stuck because I didn't set the total number of buffers I intended to use. This is the final result: http://youtu.be/SeJxQN-W2uA. I didn't expect such a good performance actually. And my bad/buggy code can surely be improved! Thank you for p...
by luc4
Sun Jun 08, 2014 11:18 pm
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3759

Re: egl_render and vsync

The xbmc code I linked to has multiple OMX_UseEGLImage textures. Perhaps have a look at the differences? I installed XBMC following this: http://www.raspbian.org/RaspbianXBMC. I chose the prebuilt package so I used the indications in http://michael.gorven.za.net/raspberrypi/xbmc as suggested. I don...

Go to advanced search