Go to advanced search

by Torben
Fri Jun 30, 2017 9:37 am
Forum: Raspbian
Topic: Where is the boot log?
Replies: 7
Views: 51253

Re: Where is the boot log?

MarcGa wrote:Is it possible to see the logs of a previous boot?
Did you find a solution for this problem?
by Torben
Wed Apr 13, 2016 5:59 am
Forum: Advanced users
Topic: Changing the behaviour of cleaning tmp-files
Replies: 3
Views: 437

Re: Changing the behaviour of cleaning tmp-files

I don't have my pi available now, and somebody will probably give you exact info on this-- but you might try this: search for a phrase from the message in all files under /etc, for example grep -r a_word_from_the_message /etc If you find it, you can probably figure out how to alter that file. Tip: ...
by Torben
Tue Apr 12, 2016 1:20 pm
Forum: Advanced users
Topic: Changing the behaviour of cleaning tmp-files
Replies: 3
Views: 437

Changing the behaviour of cleaning tmp-files

Hello, I just noticed a message on my Raspberry Pi with Rasbpian Jessie, that I never saw before. There is a message that the cleaning of the temporary files has been successfully done. Since the message comes some time after the boot, I would like to disable the notification. To make a long story s...
by Torben
Mon Aug 03, 2015 6:21 am
Forum: Graphics programming
Topic: Changing video resolution on the fly?
Replies: 16
Views: 59053

Re: Changing video resolution on the fly?

Can you connect a keyboard and press a key to ensure the display is not blanked (due to inactivity)? Even with the keyboard there is no change. I've also tried different DMT and CEA modes to ensure that the monitor is not a problem, but the results were always the same. I'm currently running the la...
by Torben
Fri Jul 31, 2015 7:30 am
Forum: Graphics programming
Topic: Changing video resolution on the fly?
Replies: 16
Views: 59053

Re: Changing video resolution on the fly?

You may need to provoke a change, or it may be blanked. Normally pressing a key on keyboard wake it up. From ssh you may have to launch something that writes to fb. I'm already running a programm that writes to the framebuffer. Even if I trigger a new video output after changing the hdmi settings, ...
by Torben
Thu Jul 30, 2015 1:28 pm
Forum: Graphics programming
Topic: Changing video resolution on the fly?
Replies: 16
Views: 59053

Re: Changing video resolution on the fly?

rpdom wrote:Did you try the

Code: Select all

fbset -depth 8 && fbset -depth 16
after setting the resolution?
I tried this but the monitor still stays black...

Edit:

Maybe important: I'm connected over SSH to the Raspberry Pi
by Torben
Tue Jul 28, 2015 10:26 am
Forum: C/C++
Topic: RGB order for framebuffer (Framebuffer API)
Replies: 3
Views: 654

Re: RGB order for framebuffer (Framebuffer API)

PeterO wrote:What value are you getting in the msb_right field ?
Currently running the newer firmware (2015-05-05), there I get Zero
by Torben
Tue Jul 28, 2015 8:13 am
Forum: C/C++
Topic: RGB order for framebuffer (Framebuffer API)
Replies: 3
Views: 654

Re: RGB order for framebuffer (Framebuffer API)

I just did some further investigations and tried some one color pictures. It seems that the offset is calculated from the left. Not like written here https://www.kernel.org/doc/Documentation/fb/api.txt from the right. So for the example: So if my red.offset is 0, my green.offset is 8, my blue.offset...
by Torben
Tue Jul 28, 2015 7:57 am
Forum: C/C++
Topic: RGB order for framebuffer (Framebuffer API)
Replies: 3
Views: 654

RGB order for framebuffer (Framebuffer API)

Hello, once again I do need some help. I using the framebuffer to display a picture with the Raspberry Pi. Since I noticed that the RGB order changed since my last firmware update, I need to adapt my programm. Therefore I am trying to not hardcode the RGB order but make depedent from the firmware. H...
by Torben
Mon Jul 27, 2015 9:24 am
Forum: C/C++
Topic: Which Clock for Framerate Limiter?
Replies: 9
Views: 884

Re: Which Clock for Framerate Limiter?

Maybe a little bit offtopic but relevant to my code: Did the RGB order change for the Raspbian? I just loaded a red bmp and filled it with RGB order in the framebuffer and the monitor displayed a blue picture... I then changed the order to BGR and the monitor picture is red like expected. The same c...
by Torben
Fri Jul 24, 2015 2:02 pm
Forum: C/C++
Topic: Which Clock for Framerate Limiter?
Replies: 9
Views: 884

Re: Which Clock for Framerate Limiter?

Another approach that might work if you're using OpenGL is using eglSwapInterval and the just draw a different texture between calls to eglSwapBuffers. It might not be perfect, since eglSwapInterval specifies a minimum interval. Thanks for the input! But I don't use OpenGL. I write my data directly...
by Torben
Fri Jul 24, 2015 7:24 am
Forum: C/C++
Topic: Which Clock for Framerate Limiter?
Replies: 9
Views: 884

Re: Which Clock for Framerate Limiter?

Try adding the following paths (corrected for cross-compiling) /opt/vc/include /opt/vc/include/interface/vcos/pthreads /opt/vc/include/interface/vmcs_host/linux This does the job! I've tired it with your excample from this post https://github.com/raspberrypi/userland/issues/218 and it worked like e...
by Torben
Thu Jul 23, 2015 2:27 pm
Forum: C/C++
Topic: Which Clock for Framerate Limiter?
Replies: 9
Views: 884

Re: Which Clock for Framerate Limiter?

I'm trying to implement the vsync callback, but get the following error message that I can't solve... "error: vcos_platform_types.h: No such file or directory" I've tired to google it, but could not find a matching solution, since I'm using VisualGDB with VisualStudio for cross-compiling. I don't wa...
by Torben
Thu Jul 23, 2015 6:26 am
Forum: C/C++
Topic: Which Clock for Framerate Limiter?
Replies: 9
Views: 884

Re: Which Clock for Framerate Limiter?

Do you need a clock or would a callback for each vsync be a better option. If your code is specific to the Raspberry Pi have a look at vc_dispmanx_update_submit . With it you can register a callback that is called for every vsync event. A callback on the vsync would be even better! I was looking fo...
by Torben
Wed Jul 22, 2015 2:01 pm
Forum: C/C++
Topic: Which Clock for Framerate Limiter?
Replies: 9
Views: 884

Which Clock for Framerate Limiter?

Hello to everyone, I'm trying to write a framerate limiter to change the video ouput every 4 frames. The video signal has 60fps, therefore my limiter should work with 15fps. Thus I need to measure the time as accurately as possible. Since there are a few clocks available on the Raspberry, I'm not su...
by Torben
Fri Feb 06, 2015 12:16 pm
Forum: Advanced users
Topic: hdmi_timings does not produce the desired output
Replies: 2
Views: 417

Re: hdmi_timings does not produce the desired output

Ok some further notes:

The parameter v_sync_polarity doesn´t have a affect on the signal. The polarity of HSync and VSync is only determined by the parameter h_sync_polarity. A value of Zero for h_sync_polarity induces a negativ pulse for HSync and VSync and a value of One induces a positive pulse.
by Torben
Thu Feb 05, 2015 1:26 pm
Forum: Advanced users
Topic: hdmi_timings does not produce the desired output
Replies: 2
Views: 417

hdmi_timings does not produce the desired output

Hello, I am trying to use the hdmi_timings inside config.txt to create a desired, non-VESA-standard output. Since the hardware after the hdmi output is extremly sensitive to the right timings, I really need to achieve the correct values. But it seems that hdmi_timings does not allow to create any ti...
by Torben
Wed Feb 04, 2015 3:20 pm
Forum: Troubleshooting
Topic: Non VESA HDMI Timings
Replies: 1
Views: 232

Re: Non VESA HDMI Timings

Hello, I´ve been trying to use the Raspberry Pi to work with a special monitor. My problem is, that the monitor needs non VESA conform HDMI timings. I hoped that I could use the hdmi_timings command to create the desired timings, but unfortunately there seems to be a problem with my timings... Thes...
by Torben
Wed Feb 04, 2015 10:09 am
Forum: Troubleshooting
Topic: Non VESA HDMI Timings
Replies: 1
Views: 232

Non VESA HDMI Timings

Hello, I´ve been trying to use the Raspberry Pi to work with a special monitor. My problem is, that the monitor needs non VESA conform HDMI timings. I hoped that I could use the hdmi_timings command to create the desired timings, but unfortunately there seems to be a problem with my timings... These...
by Torben
Wed Feb 04, 2015 8:08 am
Forum: Advanced users
Topic: STICKY: HOWTO: Create Custom HDMI modes
Replies: 169
Views: 181270

Re: Custom HDMI modes

latest "next" firmware has some changes to custom hdmi modes. CVT now uses a single config string to set up. (First post edited) You can also play with the raw hdmi timings: The hdmi_timings parameters are: hdmi_timings=<h_active_pixels> <h_sync_polarity <h_front_porch> <h_sync_pulse> <h_back_porch...

Go to advanced search