Go to advanced search

by luc4
Sat Oct 26, 2019 10:09 am
Forum: OpenGLES
Topic: Stencil buffer and depth buffer
Replies: 1
Views: 1432

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: 1432

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: 492

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: 688

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 AL1716S", very simi...
by luc4
Tue Sep 03, 2019 2:47 pm
Forum: Graphics programming
Topic: HDMI mode in DRM/KMS
Replies: 6
Views: 688

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: 688

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: 492

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: 688

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: 251

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: 251

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: 492

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: 243

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: Raspbian
Topic: Failed to mount NFSD configuration filesystem
Replies: 1
Views: 1595

Re: Failed to mount NFSD configuration filesystem

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

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: 7244

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 omx...
by luc4
Thu Dec 17, 2015 7:55 am
Forum: Troubleshooting
Topic: Unable to mount ext4 read write
Replies: 8
Views: 10098

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: 960

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: 3082

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: 3082

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...
by luc4
Sun Jun 08, 2014 9:05 pm
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3082

Re: egl_render and vsync

Thank you for your advice. Unfortunately my code is open and intentionally very similar to that of XBMC and omxplayer, but still it is much code so I'm having a hard time trying to get what is causing this. I used sudo vcdbg log msg, but I got no message while running my code. Any other way to "moni...
by luc4
Sun Jun 08, 2014 3:12 pm
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3082

Re: egl_render and vsync

If the texture being decoded to by OpenMAX is also the current texture being read from when rendering the current GL scene, then yes you will get tearing. You will need to a queue textures that OpenMAX writes to, and only return them to be reused by OpenMAX when rendering has finished. There is cod...
by luc4
Mon Jun 02, 2014 4:13 pm
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3082

Re: egl_render and vsync

For some reason I never noticed this issue before now... Thanks for the information!
by luc4
Mon Jun 02, 2014 10:20 am
Forum: Graphics, sound and multimedia
Topic: egl_render and vsync
Replies: 10
Views: 3082

egl_render and vsync

Hello, anybody who noticed vsync issues while using the egl_render component recently? I never noticed that but on recent firmwares it seems there is some tearing in the texture rendered using the egl_render component. The tearing effect manifests only in that texture, not in the rest of the OpenGL ...
by luc4
Sun May 25, 2014 9:50 pm
Forum: Graphics programming
Topic: Profile GPU activity
Replies: 1
Views: 2029

Profile GPU activity

Hello, is there any tool that I can use to profile the GPU usage? I do concurrent hardware video decoding and OpenGL processing and I would like to see how much GPU is stressed runtime. Is there some kind of "top" for the GPU?
by luc4
Tue Jun 04, 2013 6:07 am
Forum: Graphics, sound and multimedia
Topic: gst-omx hardware rendering
Replies: 14
Views: 8064

Re: gst-omx hardware rendering

Hi albertd,

I don't think the code is ready to be included in a filesystem. It is more like a proof of concept at the moment and needs fixes and improvements.

Go to advanced search