Go to advanced search

by hanzelpeter
Thu Jun 12, 2014 12:30 pm
Forum: User groups and events
Topic: JAM in Slovak Republic in Bratislava
Replies: 1
Views: 1571

JAM in Slovak Republic in Bratislava

Hello.

What about to do RPi JAM in Bratislava?
by hanzelpeter
Wed Jun 11, 2014 7:59 am
Forum: Advanced users
Topic: Headless Pi
Replies: 7
Views: 1843

Re: Headless Pi

Hello.

I made https://github.com/hanzelpeter/dispmanx_vnc for accelerated graphics.
You need to compile it and run with sudo and then you can connect via vnc.
by hanzelpeter
Thu Jun 05, 2014 1:46 pm
Forum: Bare metal, Assembly language
Topic: RPi VC4 QPU binary blob
Replies: 8
Views: 6987

Re: RPi VC4 QPU binary blob

Ok I see.

Does someone know how to run self compiled VC4 code on RPi?
by hanzelpeter
Fri May 30, 2014 12:42 pm
Forum: Bare metal, Assembly language
Topic: RPi VC4 QPU binary blob
Replies: 8
Views: 6987

RPi VC4 QPU binary blob

Hello. I am following all info for RPi and also know about broadcom released info for QPU. Now I also found a LLVM backend for VC4. I also know there is some blob inside RPi. Can someone explain to me how all this is connected together. Or why there is a QPU and also VC4 and so on.
by hanzelpeter
Wed May 28, 2014 3:24 pm
Forum: OpenGLES
Topic: AMD GLESv2 NINJA sample.
Replies: 3
Views: 3685

Re: AMD GLESv2 NINJA sample.

Hello.

Finally I managed to get it work. I was not using VBOs. Now with VBO I get 60FPS for whole ninja with correct output.
main_vbo.zip is attached.
by hanzelpeter
Fri May 16, 2014 7:54 am
Forum: OpenGLES
Topic: AMD GLESv2 NINJA sample.
Replies: 3
Views: 3685

Re: AMD GLESv2 NINJA sample.

Hello. I finally managed to get it work. It was not enough to call glDrawArrays(GL_TRIANGLES, arraystart, arraycount/2); glDrawArrays(GL_TRIANGLES, arraycount/2, arraycount/2); So I changed the bind pointer for the first part of ninja for one glDrawArrays call and then second bind with second part o...
by hanzelpeter
Tue May 13, 2014 5:43 pm
Forum: OpenGLES
Topic: AMD GLESv2 NINJA sample.
Replies: 3
Views: 3685

Re: AMD GLESv2 NINJA sample.

Hello. I tried to play with count of triangles, that are drawing ninja. (total count of triangles is 73248). I found when I draw only 43686 triangles ninja is good (see picture good_43686). But when I draw 43687 triangles ninja is not OK (see picture bad_43687). The texture is not good and also for ...
by hanzelpeter
Sun May 11, 2014 12:30 pm
Forum: OpenGLES
Topic: GL ES with FFT: Any Problems ? Works on PI2
Replies: 43
Views: 20932

Re: GL ES with FFT: Any Problems ?

Can you write where was the problem?
by hanzelpeter
Wed Apr 09, 2014 3:19 pm
Forum: OpenGLES
Topic: AMD GLESv2 NINJA sample.
Replies: 3
Views: 3685

AMD GLESv2 NINJA sample.

Hello. I have tried to port AMD ninja sample GLESv2 SDK demo to RPi. The original is here: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/gles_sdk.zip I have attached the source code of port to RPI. You need to copy ninja folder from original AMD sdk. The problem is that texture on n...
by hanzelpeter
Fri Mar 14, 2014 3:53 pm
Forum: OpenVG
Topic: Blinking l in Polle in with drawGlyphs on HDMI monito
Replies: 3
Views: 2090

Re: Blinking l in Polle in with drawGlyphs on HDMI monito

The funny thing is I have tried it with full screen on text and nothing blinks. But when I just write out "Hello" the second "l" blinks. Crazy.
by hanzelpeter
Fri Mar 07, 2014 10:01 am
Forum: OpenVG
Topic: Blinking l in Polle in with drawGlyphs on HDMI monito
Replies: 3
Views: 2090

Re: Blinking l in Polle in with drawGlyphs on HDMI monito

I tried to update raspbian, but it didn't help. I tried also to play with getchar after swapBuffers and it starts to do funny stuff. It waits for keypress and "l" is not displayed, I press ENTER and ENTER and "l" is still not displayed. But I press "SPACE" (one or two t...
by hanzelpeter
Thu Mar 06, 2014 6:19 pm
Forum: OpenVG
Topic: Blinking l in Polle in with drawGlyphs on HDMI monito
Replies: 3
Views: 2090

Blinking l in Polle in with drawGlyphs on HDMI monito

Hello. I am trying to implement a library to draw texts using OpenVG with DrawGlyphs. I am doing it at home with ssh + dispmanx_vnc to see it on my laptop. The source code is attached. You need to add arial.ttf font to make it work and compile with makeit_raspi. So on my home laptop text is normally...
by hanzelpeter
Mon Oct 21, 2013 8:31 am
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello.

Look for file /dev/uinput. When it is present try to run dispmanx_vcnserver with

Code: Select all

sudo dispmanx_vncserver

If not present try

Code: Select all

modprobe uinput.
.

You can also check in /dev/uinput is not in /dev/misc/uinput or somewhere else in /dev folder.
by hanzelpeter
Wed Oct 02, 2013 7:35 am
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello.

I have some issue when evdev kernel module is not loaded. So you need to somehow try:

Code: Select all

sudo modprobe evdev
by hanzelpeter
Mon Sep 09, 2013 3:18 pm
Forum: Advanced users
Topic: weston demos too slow
Replies: 3
Views: 1356

Re: weston demos too slow

Hello.

Weston resizor and smoke are simple clients from weston package. On ArchLinux their are defaultly installed with weston package. With raspbian I compiled then from source code.
by hanzelpeter
Thu Sep 05, 2013 6:01 pm
Forum: Advanced users
Topic: weston demos too slow
Replies: 3
Views: 1356

weston demos too slow

Hello. I have tried weston/wayland on RPi, both on rasbian and on archlinux. I have tried weston-resizor but resizing with keys is too slow. Also the weston-smoke is too slow. Also the simple-egl is not working. Has someone also such exprierence or do I have some kind of problem. I installed weston ...
by hanzelpeter
Fri Aug 23, 2013 5:28 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Also first try on google found this:
https://bugs.gentoo.org/show_bug.cgi?id=425698

So it look like problem of libvncserver 0.9.9.
We can try downgrade to libvncserver 0.9.8
by hanzelpeter
Fri Aug 23, 2013 5:14 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello. Sorry for being late. I was on business trip. So far I have downloaded Arch Linux ARM and tried to compile and run dispmanx_vnc. It run as you described. So I have also buffer overflow. Then I tried to debug it via GDB. And a problem appears. See this: http://lists.opensuse.org/opensuse-arm/2...
by hanzelpeter
Fri Aug 16, 2013 2:32 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

I can try it. Did you download the ARCH arm from raspberrypi.org downloads? What version is it?
by hanzelpeter
Fri Jul 26, 2013 2:11 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

That's sad to here. I will try this. But I was confused with searching for VNCViewer that supports H264 encoding.
I had a look in libvncclient and there is a condition compilation and so on. So I don't know if for example RealVNC viewer for windows supports H264 encoding.

Does someone knows?
by hanzelpeter
Wed Jul 17, 2013 10:40 am
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello. The keyboard and mouse can be tricky. I use "kernel uinput system". So it is like adding new virtual keyboard to system. And the application must be capable of handling this. For example if I want to use DispmanX_VNC with X window system I need to modprobe evdev. (it is not loaded a...
by hanzelpeter
Tue Jul 16, 2013 4:12 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello. As you can see on github I merged the pull request. With the mouse it will be fun. I tried only with X window and due to headless TV out and overscan framebuffer I get the mouse working but VNC cursor if above/left to X windows pointer. I then tried to run minecraft and the mouse was woking t...
by hanzelpeter
Tue Jul 16, 2013 12:02 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello.

I have created github project on it.
Check this: https://github.com/hanzelpeter/dispmanx_vnc
We can start on collaborate. In this version also first mouse draft is done.
by hanzelpeter
Mon Jul 15, 2013 4:43 pm
Forum: Graphics programming
Topic: Dispmanx VNC Server
Replies: 77
Views: 84251

Re: Dispmanx VNC Server

Hello. to AndyD: Yes, that's a bug and once I upload it to github.com or somewhere I will try to fix. to danversj: Yes, that's also my idea to transfer screens as video. I have been looking into encode.c and found also OMX_COLOR_Format16bitBGR565 in definitions for color format. Does this works for ...
by hanzelpeter
Fri Jul 12, 2013 12:39 pm
Forum: Raspberry Pi OS
Topic: When will be weston in repos
Replies: 2
Views: 843

Re: When will be weston in repos

Oki. That was what I thought. So maybe I start my build.....

Go to advanced search